AH500 Programming Manual Receiving the data: (External equipment→PLC) 2. The command which is edited is stored in the initial transmission device, and the command which will be sent include the head code and the tail code. The 16-bit data is divided into the high 8-bit data and the low 8-bit data. Sending the data: (PLC→External equipment) Receiving the data: (External equipment→PLC) The data which the PLC receives from the external equipment includes the head and the tail code. Therefore, users have to be aware of the setting of n . Example 2: 1. Write the data which will be sent into the registers starting from D10, and then set SM96 to ON. 2.
When X0.1 and X0.3 are ON, the instruction RS is executed. The data in the n registers starting from D10 is sent. After the sending of the data is complete, SM96 is reset to OFF automatically. (Please do not use the instruction RST to reset SM96.) If there is data which needs to be received, the data is stored in the registers starting from D100. 3. After the receiving of the data is complete, SM100 is ON. Besides, SM100 has to be reset to OFF after the data which has been received is processed. Please do not execute the 6-379