The send packet to the counterpart device and the receive packet from the counterpart device of when process is executed
are registered in a protocol. The packet which are set with the predefined protocol support function is created with some
elements. Elements are the data portion of the packet to be sent or received. Up to 32 elements can be set in a packet.
Example of a packet configuration
Example of format of packet from counterpart device
Packet elements setting with the predefined protocol function for the format shown above
Configure the packet in the order of header, data area
placed after the terminator.
*1 Element: Length / static data/ non-conversion variable / conversion variable / check code / non-verified reception
Set the packet in the packet setting screen displayed by the following operation of GX Works3.
Protocol setting screen Desired packet setting
The setting item of above screen is follows.
Displays the protocol number of the selected protocol.
The protocol name of the selected protocol.
The protocol type of the selected protocol. (Send packet
or receive packet)
The packet name of the selected packet.
6 PREDEFINED PROTOCOL SUPPORT FUNCTION
6.7 Packet Setting
"00" to "99"
"0000" to "9999"
, and terminator. Check code and static data can be
Arbitrarily (32 characters)