9. Program
41
[Send/Receive processing required/not required setting flag]
Name
Data type
Description
sComType STRUCT
Send/Receive
processing required/not required setting flags
Send
BOOL
Send processing TRUE: Required / FALSE: Not required
*Specify this when sending a command.
Recv
BOOL
Receive processing TRUE: Required / FALSE: Not required
*Specify this when receiving a response.
Error
BOOL
Send/Receive processing required/not required setting error
flag (This flag changes to ON when a setting error occurred.)
●
Data type (Union)
[Error code processing]
Name
Data type
Description
uErrorFlgs
UNION
Error code processing union
BoolData
ARRAY[0..15]
OF BOOL
2-byte error code is handled in units of 1 bit as 16-bit
string.
: TRUE (Error) / FALSE (Normal)
•Communications error
BoolData[0] : Send processing
BoolData[1] : Receive processing
BoolData[2] : Connect processing
BoolData[3] : Close processing
BoolData[4] : Processing number error
•Timeout error
BoolData[8] : Send processing
BoolData[9] : Receive processing
BoolData[10]: Connect processing
BoolData[11]: Close processing
•Others
BoolData[5] : Send/Receive required/not required
detection error
BoolData[12]: Destination device error
BoolData[6..7],[13..14]: Reserved
BoolData[15]: Error
WordData
WORD
2-byte error code is processed as WORD at once.
Содержание V750 series
Страница 51: ...9 Program 2 Initialization processing 48...
Страница 52: ...9 Program 49...
Страница 53: ...9 Program 3 Connect processing 50...
Страница 54: ...9 Program 4 Send processing 51...
Страница 55: ...9 Program 5 Receive processing 52...
Страница 56: ...9 Program 53...
Страница 57: ...9 Program 6 Close processing 54...
Страница 58: ...9 Program 7 Processing number error process 55...
Страница 60: ...9 Program Program 57...
Страница 62: ...9 Program Program 59...
Страница 64: ...9 Program Program 61...
Страница 78: ...2013 0911 P543 E1 01...