DVP-ES3 Series Programming Manual 13. See CANRS communication sequence diagram and explanation. : The CANRS instruction is enabled. If no other CANRS instruction occupies the control right, the flags D 2 and D 3 are cleared and then the data are sent out right away. : The data sending is completed and meanwhile the data receiving starts. After the receiving is completed, the completion flag D 2 changes to On. : The instruction sends data again after you clear the flag D 2 . : As the receiving timeout occurs, D 3 changes to On. : If an error is found, you can disable the instruction. Alternatively, you can have the instruction resend data after clearing the flag D 3 .
enable disable CANRS disable S 4 D 1 D 2 _6 D 3 Example 1 Master Mode Using the CANRS instruction, the 6-byte data in D10~D15 are transmitted to the slave and the response data from the slave are stored in the devices starting from D100. M100 changes to On when the sending and receiving are over. See the explanation of relevant parameters. 6-600 Master mode MsgID=2 _ Communication mode 0= master mode, waits to receive the response from the slave after sending out data. Communication ID The MsgID of the sent message D0=1 Sent-data length 6 BYTE