User`s manual
4 - 20
4 PREDEFINED PROTOCOL SUPPORT FUNCTION
GX Works2
Screen button
●
Changes the type of the packet element. ( Section 4.7.3)
●
Adds a new packet element. ( Section 4.7.1)
●
Copies the packet element at the cursor position.
●
Pastes the copied packet element to the row next to the cursor position.
●
Deletes the packet element at the cursor position.
■ Display examples of element settings
Element type Display content Display example
Header
Static Data
Terminator
"Code Type" is 'ASCII
String'
Display the set value (ASCII string) with
" ", and data length with ( ).
"TEXT"(4Byte)
"Code Type" is 'ASCII
Control Code'
Display the set value (ASCII control
code) with [ ], and data length with ( ).
[CR](1Byte)
"Code Type" is 'HEX'
Display the set value (HEX), and data
length with ( ).
1AB2C3(3Byte)
Length
Range for calculation of data length Object element3-8
Display the code type using elliptical expressions.
ASCII Hexadecimal : Hexadecimal
ASCII Decimal : Decimal
HEX : HEX
Hexadecimal
Display the data flow using elliptical expressions.
Forward Direction (Upper Byte -> Lower Byte) : Forward
Reverse Direction (Lower Byte -> Upper Byte) : Reverse
Byte Swap (by Word) : Byte
Forward
Data size 2Byte
Non-conversion
Variable
For 'Fixed Length', display the address range of a device or
buffer to be specified as a variable with [ ].
For 'Variable Length', additionally display the starting address of
a device or buffer memory which specifies the data length (or
number of data) with another [ ].
Fixed Length: [D1-D2]
Variable Length: [D1] [D2-D11]
Fixed length/Variable length Fixed Length
Length of send/receive data 600Byte
Displays the unit of stored data using elliptical expressions.
Lower Byte + Upper Byte : Lower/Upper Byte
Lower Bytes Only : Lower Byte
Lower/Upper Byte
Displays the byte swap using elliptical expressions.
Disable (Lower -> Upper) : No Swap
Enable (Upper -> Lower) : Swap
Swap