7.6
Protocol Setting
Protocols can be selected and edited from the libraries that are pre-registered in GX Works3 or registered by the user.
Execute the protocol setting from a protocol setting window displayed by the following operation in GX Works3.
ToolPredefined Protocol Support FunctionCPU(Serial)New
The fields in the protocol setting window are as follows.
Item
Description
Protocol No.
Displays the protocol number to be used for a predefined protocol dedicated instruction.
Manufacturer
Displays the manufacturer's name of the device to which a protocol to be set is applied.
Model
Displays the model name of the device to which a protocol to be set is applied.
Protocol Name
Displays the name of the protocol to be set.
Communication Type
Displays the communication type of the protocol to be set.
• Send Only: Send one send packet once.
• Receive Only: Receive a packet if it matches any of up-to-16 registered receive packets.
• Send&Receive: Send one send packet, and receives a packet if it matches any of up-to-16 registered receive packets.
→Send
Displays the packet direction.
←Receive
• Send: →
• Receive: ←(n) n: receive packet number (1 to 16)
Packet Name
Displays the packet name.
Packet Setting
Displays the existence or non-existence of variables in an element, and set or unset of the variables.
With 'Variable Unset', 'Element Unset', or 'Element error', the settings cannot be written to a CPU module or SD memory card.
• No Variable: There is no variable in the element.
• Variable Set: All variables are set.
• Variable Unset: There are one or more unset variables.
• Element Unset: There is no element in the editable protocol.
• Element error: The element does not meet requirement.
The procedure to set a protocol on the protocol setting screen is as follows.
1.
Adding protocols
Select or create a protocol from libraries. (Page 194 Adding protocols)
2.
Configuring detailed setting of protocols
Set the information and operation of protocols. (Page 195 Configuring detailed setting of protocols)
3.
Setting packets
Set the packets of protocols. (Page 198 Packet Setting)
7 PREDEFINED PROTOCOL SUPPORT FUNCTION
193
7.6 Protocol Setting
7