7. Connection Procedure
6
When the communications ends
normally, each error code
changes to 0.
The TCP connection status
(
Output_EtnTcpSta
) changes to
_CLOSED
.
*In the case of error end, the
error code corresponding to the
error is stored. For details on
error codes, refer to
9.7 Error
Process
.
The Online value of
Local_Status.Done
, which
indicates the execution status of
the program, changes to True. In
the case of error end,
Local_Status.Error
changes to
True.
*When
Input_Start
changes to
FALSE, each
Local_Status
variable also changes to False.
For details, refer to
9.6 Timing
Charts
.
7
The response data received from
the destination device is stored
in
Output_RecvMess.
(
ETN_SendMessageSet_instanc
e.Send_Data
is a send
command.)
In the Watch Tab Page 1, specify
an area to reference as shown in
the right figure.
*The response data differ
depending on the device used
*Refer to
9.2. Destination Device
Command
for details on the
command.
Receive data
•Send command: “GETR”
•Response code: “0000” (normal)
•Model: ”typ=$”V750-BA50C04-US$””
•Firmware version: “fwv=102-102-103-0”
•Terminator: “$L”([LF])
27
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...