Mitsubishi Electric MELSEC iQ-R Series User Manual page 38

Serial communication module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

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.
Item
Element Name
Code Type
Setting Value
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.
Item
Element Name
Code Type
Setting Value
• Only one terminator can be used in a packet.
• Only a check code and static data can be placed after a terminator.
2 DATA COMMUNICATION USING PREDEFINED PROTOCOL
36
2.3 Packet
Description
Set a name of the element.
Select a data type of the setting value.
ASCII String/ASCII Control Code/HEX
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
Description
Set a name of the element.
Select a data type of the setting value.
ASCII String/ASCII Control Code/HEX
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
Remarks
Setting example
• ASCII String: 'ABC'
• ASCII Control Code: US
• HEX : FFFF
Remarks
Setting example
• ASCII String: 'ABC'
• ASCII Control Code: ETX
• HEX : FFFF

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents