Delta DVP-ES2 User Manual Page 469

  • Download
  • Add to my manuals
  • Print
  • Page
    / 702
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 468
3. Instruction Set
3-353
Registers for data to be sent (sending messages)
Register Data Descriptions
D1256 01 H Address
D1257 0F H Function
D1258 05 H
D1259 00 H
Data Address
D1260 00 H
D1261 10 H
Number of Data(count by bit)
D1262 02 H Byte Count
D1263 34 H Data content 1 Content of D0: H34
D1264 12 H Data content 2 Content of D1: H12
D1265 21 H CRC CHK Low
D1266 ED H CRC CHK High
Registers for received data (responding messages)
Register Data Descriptions
D1070 01 H Address
D1071 0F H Function
D1072 05 H
D1073 00 H
Data Address
D1074 00 H
D1075 10H
Number of Data(count by bit)
D1076 54H CRC CHK Low
D1077 CB H CRC CHK High
Program example 10: COM1 (RS-232) / COM3 (RS-485), Function Code H0F
1. Function code K15 (H0F): write in multiple bit devices. Up to 64 bits can be written
2. PLC1 connects to PLC2: (M1143 = OFF, ASCII mode), (M1143 = ON, RTU mode)
3. PLC COM1/COM3 will not process the received data.
4. Take the connection between PLC1 (PLC COM3) and PLC2 (PLC COM1) for example, the
tables below explain the status when PLC1 force ON/OFF Y0~Y17 of PLC2.
Set value: K4Y0=1234H
Device Status Device Status Device Status Device Status
Y0 OFF Y1 OFF Y2 ON Y3 OFF
Y4 ON Y5 ON Y6 OFF Y7 OFF
Y10 OFF Y11 ON Y12 OFF Y13 OFF
Y14 ON Y15 OFF Y16 OFF Y17 OFF
z If PLC applies COM1 for communication, the below program can be usable by changing:
1. D1109D1036: communication protocol
2. M1136M1138: retain communication setting
Page view 468
1 2 ... 464 465 466 467 468 469 470 471 472 473 474 ... 701 702

Comments to this Manuals

No comments