Mitsubishi Electric FX5 User Manual page 190

Melsec iq-f series
Hide thumbs Also See for FX5:
Table of Contents

Advertisement

Caution
■A string other than '0'-'9', 'A'-'F', or 'a'-'f' is received
When Conversion is ASCII HexadecimalHEX, an error may occur if a string other than '0'-'9', 'A'-'F', or 'a'-'f' is received.
■A string other than '0'-'9' is received
When Conversion is ASCII DecimalHEX, an error may occur if a string other than '0'-'9' is received. However, the error does
not occur in the following cases.
Item
Sign/Sign Character
Number of Decimals
Delimiter
■A data of which number of digits exceeds the upper limit is received
When Number of Send Digits of Data is Variable Number of Digits, an error may occur if the number of digits of received data
exceeds the upper limit shown below.
Conversion unit
Word
Double word
■A data whose decimal point position is greater than the number of digits is specified
When Number of Decimals is Variable Point in a send packet, a error may occur if the decimal point position is greater than
the number of digits.
■A data whose number of digits is '0' is received
When Number of Send Digits of Data is Variable Number of Digits, an error may occur if the number of digits of received data
is '0'.
■A data whose number of digits are fewer than the digits specified in Number of Send Digits of
Data are received
An error may occur if data whose number of digits are fewer than the digits specified in Number of Send Digits of Data are
received.
When Number of Send Digits of Data is set to 4 digits
Ex.
Receive data
■A data whose number exceeds Maximum number of data is received
When receiving data of which the number exceeds the Maximum number of data, CPU module stores data as many as the
maximum number of data and omits the rest. (The protocol completes successfully.)
■A data that cannot be distinguished between Terminator or a Static data
In received packet data from counterpart devices, CPU module needs to be able to distinguish data corresponding to a
conversion variable from those of a Terminator or a Static data following a Conversion variable. The reception processing may
not be performed normally if they cannot be distinguished.
When the value of terminator or a static data following the conversion variable is used as a conversion variable, CPU
Ex.
module recognizes it as a terminator or a fixed data following the conversion variable, verifies, and performs reception
processing.
6 PREDEFINED PROTOCOL SUPPORT FUNCTION
188
6.7 Packet Setting
CPU module operation
When Signed is selected, a signed character can be received.
However, when a signed character which is not at the head of data is received, an error may occur.
When any other than [No decimal point] is selected, '. ' (a period) can be received.
However an error may occur when '. ' (a period) which is not at the specified number of digits of data is received.
An error may also occur when Variable point is selected and '. ' (a period) which is at the head or end of a unit of data
is received.
When any other than No delimiter is selected, a delimiter can be received.
However an error may occur when a delimiter which is not at a boundary of data is received.
Conversion content
ASCII Decimal  HEX
ASCII Hexadecimal  HEX
ASCII Decimal  HEX
ASCII Hexadecimal  HEX
Conversion variable
"1"
"2"
"3"
Terminator
ETX
An error occurs when conversion variable of the received
data ends up with three digits while the setting of Number
of Digits of Data is four digits.
Upper limit of number data to be received
5 digits
4 digits
10 digits
8 digits

Advertisement

Table of Contents
loading

Table of Contents