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
Summary of Contents for V750 series
Page 51: ...9 Program 2 Initialization processing 48...
Page 52: ...9 Program 49...
Page 53: ...9 Program 3 Connect processing 50...
Page 54: ...9 Program 4 Send processing 51...
Page 55: ...9 Program 5 Receive processing 52...
Page 56: ...9 Program 53...
Page 57: ...9 Program 6 Close processing 54...
Page 58: ...9 Program 7 Processing number error process 55...
Page 60: ...9 Program Program 57...
Page 62: ...9 Program Program 59...
Page 64: ...9 Program Program 61...
Page 78: ...2013 0911 P543 E1 01...