How to handle when receiving Undefined Structure
Undefined Structure The message does not specify a message format, so it is unknown how the message will be received.
So you cant read Item with methods such as GetU1Item () and GetAsciiItem () right away.
[Use Return Value]
Retrurn value of GetSecsMsg () function and GetxxxItem It uses return value of (), but if error occurs, it returns the value less than 0. If not error, it returns Format value of next item.
Returns No item (63) if there is no next Item.
Item Format table
Item Format
LIST
Binary
Boolean
ASCII
JIS-8
1-byte Signed Integer
2- byte Signed Integer
4-byte Signed Integer
8-byte Signed Integer
1-byte Unsigned Integer
2-byte Unsigned Integer
4-byte Unsigned Integer
8-byte Unsigned Integer
4-byte Floating Point
8-byte Floating Point
No Item