9. Program
40
9.4. Variables
The table below lists the variables used in this program.
9.4.1. List of Variables
The data types, external variables (user-defined global variables/system-defined variables),
and internal variables used in this program are listed below.
●
Data type (Structure)
[Communications processing status flags]
Name
Data type
Description
sStatus
STRUCT
Structure of the communications processing status flags
Busy BOOL
Communications processing in progress flag
TRUE: Processing is in progress.
FALSE: Processing is not in progress.
Done BOOL
Communications processing normal end flag
TRUE: Normal end / FALSE: Other than normal end
Error BOOL
Communications processing error end flag
TRUE: Error end / FALSE: Other than error end
[Socket service instruction execution flags]
Name
Data type
Description
sControl STRUCT
Socket
service
instruction execution flags
Send
BOOL
Send processing instruction
TRUE: Executed / FALSE: Not executed
Recv
BOOL
Receive processing instruction
TRUE: Executed / FALSE: Not executed
Open
BOOL
Connect processing instruction
TRUE: Executed / FALSE: Not executed
Close
BOOL
Close processing instruction
TRUE: Executed / FALSE: Not executed
Status
BOOL
TCP socket status read processing instruction
TRUE: Executed / FALSE: Not executed
[Timer enable flags]
Name
Data type
Description
sTimerControl
STRUCT
Time monitoring timer enable flags
Tfs
BOOL
Send processing time monitoring timer instruction
TRUE: Enabled / FALSE: Not enabled
Tfr
BOOL
Receive processing time monitoring timer instruction
TRUE: Enabled / FALSE: Not enabled
Topen
BOOL
Connect processing time monitoring timer instruction
TRUE: Enabled / FALSE: Not enabled
Tclose
BOOL
Close processing time monitoring timer instruction
TRUE: Enabled / FALSE: Not enabled
Tr
BOOL
Receive waiting time monitoring timer instruction
TRUE: Enabled / FALSE: Not enabled
Содержание 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...