Sending/Receiving communication frames at communication intervals
The following is the example of a communication system and frame composition between a master CIMON-PLC and a slave CIMON-PLC by using CIMON-PLC exclusive protocol.
A master PLC requests 5-word data of Memory Device ‘D0000’ at every 100ms.
Enter parameters as follows.
Master PLC : User Protocol
Slave PLC : HMI Protocol
Request Frame Format of CIMON-PLC Exclusive Protocol
ENQ | Stn H | Stn L | Cmd | Leng H | Leng L | Data | BCC H | BCC L | EOT |
ENQ | 0 | 1 | R | 0 | A | D0000000 05 | ? | ? | EOT |
Response Frame Format of CIMON-PLC Exclusive Protocol
STX | Stn H | Stn L | Cmd | Leng H | Leng L | Data | BCC H | BCC L | ETX |
STX | 0 | 1 | R | 1 | 4 | 0000 0000 0000 0000 0000 | ? | ? | ETX |
Response frame of master side
This is used to define the response frame received from a slave CIMON-PLC.
Sending frames are sent from a master PLC and expected receiving frames are registered.
Request frame of master side
This is used to define the request frames sent to a slave CIMON-PLC.
Sending frame is sent from a master PLC at every 100ms and the above-defined receiving frame is registered to the receiving frame for sending.
If a sending frame is sent and a registered frame is received, the bit corresponding to the frame number of communication result memory device(If frame number is 1, communication result bit is M0001) will be on for one scan.