36
2 DATA COMMUNICATION USING PREDEFINED PROTOCOL
2.3 Packet
Static Data
Use this element when a specific code or character string such as command exists in a packet.
• When sending: Sends a specified code and character string.
• When receiving: Verifies the received data.
Multiple static data elements can be placed to desired positions in the data portion.
Terminator
Use this element when a code or character string indicating the end of the packet is included.
• Only one terminator can be used in a packet.
• Only a check code and static data can be placed after a terminator.
Item Description Remarks
Element Name Set a name of the element.
Code Type Select a data type of the setting value.
ASCII String/ASCII Control Code/HEX
Setting Value Set data within 1 to 50 bytes.
The setting ranges that can be set for each code type are as follows:
• ASCII String: 20H to 7EH
• ASCII Control Code: 00H to 1FH, and control code of 7FH
• HEX: hexadecimal data of 00H to FFH
Setting example
• ASCII String: 'ABC'
• ASCII Control Code: US
• HEX : FFFF
Item Description Remarks
Element Name Set a name of the element.
Code Type Select a data type of the setting value.
ASCII String/ASCII Control Code/HEX
Setting Value Set data within 1 to 50 bytes.
The setting ranges that can be set for each code type are as follows:
• ASCII String: 20H to 7EH
• ASCII Control Code: 00H to 1FH, and control code of 7FH
• HEX: hexadecimal data of 00H to FFH
Setting example
• ASCII String: 'ABC'
• ASCII Control Code: ETX
• HEX : FFFF