Delta DVP-ES3 — 6.19.2 Explanation of Communication Instructions

Chapter 6 Applied Instructions 9. To send more data, set the flag SM100 to OFF to start the operation again. NOTE: When the data sending is complete, the receiving flag SM98 is ON and then the PLC is ready to receive data. When the PLC receives the starting character 16#3A, it starts receiving data until receiving the ending character 16#0A, and SM100 is ON. If the communication timeout occurs but the starting character 16#3A or the ending character 16#0A is still not received, the communication timeout flag SM104 is ON. Example 7 The mode in D 2 is 6 (the received data length) and you set the mode of sending and receiving data to 8-bit mode (SM106=ON). 1. The length for the data to be sent:

D20=4. 2. The contents for the data to be sent: D100=16#0031, D101=16#0032, D102=16#0033, D103=16#0034. 3. Set D10=16#0006 (mode: 6), D11=16#0008 (8 pieces of data to be received). 6_ 4. Enable the contact M0. 5. The PLC sends out 4 pieces of data. Sending data: PLC→external equipment 31 32 33 34 6. The external equipment receives data from the PLC and then sends 8 consecutive data to the PLC. External equipment → PLC 32 33 34 35 36 37 38 39 7. D200=8 (number of the data received), and the content of the received data: D201=16#0032, D202=16#0033, D203=16#0034, D204=16#0035, D205=16#0036, D206=16#0037, D207=16#0038, D208=16#0039. 8. SM100=ON: reception of data is complete. 9.

To send more data, set the flag SM100 to OFF to start the operation again. NOTE: When the data sending is complete, the receiving flag SM98 is ON and then the PLC is ready to receive data. When receiving a set quantity of data, the SM100 is ON. If the communication timeout occurs but the set quantity of data is still not received, the communication timeout flag SM104 is ON. 6-559