Considerations for configuring packet element
• Only one check code can be placed in a packet.
• A check code can be placed in any position of the data portion or after a terminator. However, one or more elements are
needed before the check code.
Caution
• When Code Type is [ASCII Hexadecimal], an error may occur if a string other than '0' to '9' 'A' to 'F' 'a' to 'f' is received.
• When Code Type is [ASCII Decimal], an error may occur of characters if a string other than '0' to '9' is received.
• When a calculated check code (Sum check/Horizontal parity/16-bit CRC) does not match a received check code, a error
may occur.
Non-verified reception
Use this element when received data includes unnecessary data while receiving data.
CPU module skips the specified number of characters if a receive packet includes a non-verified reception.
For data examples of non-verified reception, refer to Page 231 Data examples of Non-verified reception.
Window
Item
Element Name
Data Length
Considerations for configuring packet element
■When Data Length is '1 to 2048', the following requirements need to be met
Multiple Non-verified receptions can be used in a packet and placed in any position of the data portion.
■When Data Length is '0', the following requirements need to be met
Only one Non-verified reception can be placed in a packet, and one of the following requirements need to be met.
• Place any of the following data immediately after a Non-verified reception.
- Static data
- Terminator
- Check code + Static data
- Check code + Terminator
• Place length before a non-verified reception and include the non-verified reception in the calculating range.
In addition, two or more of the following four elements cannot be placed in the same packet.
• Conversion variable [Variable number of data]
• Conversion variable [Fixed number of data and Variable number of digits] (Excluding the case when the number of data is
'1' with delimiter.)
• Non-conversion variable [Variable length]
• Non-verified reception [Variable number of characters]
6 PREDEFINED PROTOCOL SUPPORT FUNCTION
190
6.7 Packet Setting
Description
Set the name of the element.
0 (variable number of characters)
1 to 2048 (specified number of characters)
Set this item when the number of characters not to be verified varies in each
communication.
Set the number of characters not to be verified.