Possibly in the stack stored data are lost without any instructions. After that no further
connection is automatically established. The connection may again be established by the
control job CN_STARTCON. An entry is also generated in the diagnostic buffer in which
the job result may be found.
RESULT Hex value/
range
Description
RESULT 1 0000 0001h The job was transferred to the CP successfully. The connection abort was trig-
gered.
0000 0002h This job could not be transferred to the CP because the service was not started on
the CP (for example CP in STOP).
RESULT 2 0000 0000h Default
CN_STARTCON - start connection
This command establishes a connection, which was selected by ID and LADDR and
aborted by the control job CN_DISCON before. An entry is also generated in the diag-
nostic buffer in which the job result may be found.
RESULT Hex value/
range
Description
RESULT 1 0000 0001h The job was transferred to the CP successfully. The connection abort was trig-
gered.
0000 0002h This job could not be transferred to the CP because the service was not started on
the CP (for example CP in STOP).
RESULT 2 0000 0000h Default
8.2.5 FC 62 - C_CNTR - Querying the Connection Status
Query a connection status with FC 62. The current status of the communication that has
been determined via ID is queried after the system function has been called with value 1
at the control input EN_R.
Parameter Declaration Data Type Memory
Area
Description
EN_R INPUT BOOL I, Q, M, D,
constant
Control parameter enabled to receive, signals ready to
receive if the input is set.
ID INPUT WORD M, D, con-
stant
Addressing parameter ID,
RET_VAL OUTPUT INT I, Q, M, D, L Error information
ERROR OUTPUT BOOL I, Q, M, D, L Status parameter ERROR and STATUS
CMD 7
Description
Parameters
VIPA SPEED7
Network Communication
Ethernet Communication > FC 62 - C_CNTR - Querying the Connection Status
HB00 | OPL_SP7 | Operation list | en | 18-30 151