9. Program
44
●
Internal variables
Variable name
Data type
Description
Local_Status sStatus
Communications processing status flags
This variable is defined as sStatus structure.
Local_State DINT
Processing
number
Local_ErrCode uErrorFlgs
An area in which an error code is edited.
This variable is defined as uErrorFlgs union.
Local_ExecFlgs sControl
Socket service instruction execution flags
This variable is defined as sControl structure.
Local_SrcDataByte
UINT
The number of bytes to send
Local_SrcData
ARRAY[0..255]
OF BYTE
An area that stores the send data of the SktTCPSend
instruction (256 bytes)
Local_RecvData
ARRAY[0..2000]
OF BOOL
An area that stores the receive data of the SktTCPRcv
instruction (2000 bytes)
Local_ReceiveMessage STRING[256]
An area that stores the receive data that was converted
into a string. (256 characters
)
Local_ReceiveSize
UINT
The size of the receive data of the SktTCPRcv instruction
Local_RecvDataLength UINT
The
total
byte length of the receive data
Local_RecvCHNo UINT
The array number of the receive data stored in
Local_RecvData
Local_RecvCheckFlg BOOL
Destination device error detection instruction execution
flag
TRUE: Executed / FALSE: Not executed
Local_InitialSettingOK
BOOL
Initialization processing normal setting flag
Local_TONFlgs sTimerControl
Timer enable flags
This variable is defined as sTimerControl structure.
Local_ComType sComType
Send/Receive processing required/not required setting
flags
This variable is defined as sControl structure.
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...