Delta DVP-ES3 — 6.19.2 Explanation of Communication Instructions

Chapter 6 Applied Instructions 3. Set D10=16#0001 (mode: 1), D11=300 (set the timeout value to 300 ms). 4. Enable the contact M0. 5. PLC sends 4 pieces of data. 6. Sending data: PLC→external equipment 31 32 33 34. 7. After the external equipment receives the data from the PLC, it sends 5 consecutive data to the PLC, each sent in less than 20 ms. External equipment→PLC 35 36 37 38 39. 8. D200=5 (number of data received), and the content of data received: D201=16#3635, D202=16#3837, D203=16#0039. 9. SM100=ON: reception of data is complete. 10. To send more data, set the flag SM100 to OFF to start the operation again. NOTE:

When the sending of data is complete, the receiving flag SM98 is ON, and then the PLC starts to receive data. You set the timeout between each data reception in D11. When the interval time exceeds the set timeout and no data is received, SM100 is ON. Example 3 The mode in D 2 is 2 (the data received ends with a specific character.) and you set the mode of sending and receiving 6_ data to 8-bit mode (SM106=ON). 1. Set the length of the data to be sent: D20=0, meaning the PLC will not send data but only receives data. 2. Set D10=16#0002 (mode: 2), D11=16#000A (the ending character is 16#0A). 3. Enable the contact M0. 4. The PLC waits to receive data from the external equipment.

D20=0 means that the PLC does not send data to the external equipment. 5. The external equipment sends data to the PLC. External equipment → PLC 31 32 33 34 35 0A. 6-555