DVP-ES3 Series Programming Manual _6 7. Except for mode 6 and 8, when data received in D 2 exceeds the maximum range of the received data length (256 words) and no ending character is received, the instruction stops executing and treats this operation as a receiving error. D 1 +0 is 0 and D 1 +1– D 1 +n do not store the received data. 8. The interactions among the communication port, the related special auxiliary relays, and the related special data register are described in Section 6.19.3. 9. Timing diagrams Mode for receiving data: 0 When data is sent, you cannot cancel the sending of data.
If the conditional contact preceding the instruction is not enabled, the data will still be sent, but the completion flag will not be set to ON after sending of the data is complete. Mode for receiving data: 1 or 4 6-550 complete. 5–255 milliseconds. 5 The data received starts with a specific character, and ends with a specific character. The setting value in D2+1 is a specific start character, and a specific end character. If a start character is 16#3A, and a stop character is 16#0A, the value in D2+1 is 16#3A0A. 6 A specific quantity of data is received. The setting value in D2+1 is the length of the data to receive. The setting value is between 1–256.
If you want to receive 10 characters, set the value in D2+1 to 10. 7 The data received ends with a specific character and generates communication interrupts. The setting value in D2+1 is a specific end character. If an end character is 16#0A, the value in D2+1 is 16#000A. 8 Set the quantity of data received and then generate communication interrupts. The setting value in D2+1 is the length of the data received. The setting value is between 1–256. If you want to receive 10 characters, set the value in D2+1 to 10. 9 The data received ends with a specific character or a specific quantity of data received; when either condition is met, the transmission is complete.
A specific end character is stored in the high byte in D2+1, and the time is stored in the low byte in D2+1. The time set in the low byte in D2+1 must be between 1–255 milliseconds. If an end character is 16#0A, and time is 15 milliseconds, the data length is 15 words, the value in D2+1 is 16#0A0F. Others If the mode used is not supported, the instruction is not executed.