Kaiyi — 6.19.2 Explanation of Communication Instructions

Chapter 6 Applied Instruction API 1810 Symbol: S : Device in which the parameter is stored Word S 1 : Local device from which the data is written Double word n : Data length Word D : Remote device into which the data is written Bit/Word/Double word Explanation: 1. Before using the instruction, users need to complete the network configuration in NWCONFIG in ISPSoft, and download the routing information to the devices. Please refer to the actual setting in NWCONFIG in ISPSoft for more information related to S. Bit0 Bit7 Bit15 S S+1 S+2 S+3 S+4 The setting ranges for the parameters are as follows.

6-426 Instruction code Operand Function WRITE S, S , n, D 1 Writing the data into the remote device through routing Device X Y M S T C HC D L SM SR E PR K 16# “$” DF S    S 1      n      D     Pulse instruction 16-bit instruction (5 steps) 32-bit instruction ─ AH ─ Netwrok number Node number Unit number Number of times the sending of the command is retried Interval of retrying the sending of the command Station address Item Setting Range Network number 1-247 Node number 1-247 Unit number 0: PLC 252: COM1 253: COM2 254: Ethernet