Delta AH500 — 6.19.2 Explanation of Communication Instructions

Chapter 6 Applied Instruction Example 1: 1. Function code 01 (16#01): The AH500 series PLC reads the data from several bit devices which are not discrete input devices. (16 peiece of data is read in this example.) 2. AH500 series is connected to the DVP-ES2 series PLC. ASCII Mode: The AH500 series PLC is connected to the DVP-ES2series PLC. When SM96 and X0.0 are on, the AH500 series PLC sends and receives the Y0~Y15 (Y0 address is 16#0500) commands from DVP-ES2. 3. The data which the AH500 series PLC receives from the DVP-ES2 series PLC is stored in D10.0~D10.15. 4. After the reception of data is complete, it will check the data format of what have been sent from the DVP-ES2 series PLC.

If the format is correct, SM100 will be ON, and if not, SM102 will be ON. Example 2: 1. Function code 03 (16#03): The AH500 series PLC reads the data from several bit devices which are not discrete input devices. (8 peiece of data is read in this example.) 2. AH500 series is connected to the DVP-ES2 series PLC. ASCII Mode: The AH500 series PLC is connected to the DVP-ES2series PLC. When SM96 and X0.0 are on, the AH500 series PLC sends and receives the D20~D27 (D20 address is 16#1020) commands from DVP-ES2. 3. The data which the AH500 series PLC receives from the DVP-ES2 series PLC is stored in D10~D17. 4.

After the reception of data is complete, it will check the data format of what have been sent from the DVP-ES2 series PLC. If the format is correct, SM100 will be ON, and if not, SM102 will be ON. 6-419