Ethx_Ctrl; Table 7: Input Parameters (Ethx_Ctrl) - Siemens SIMATIC NET CP 243-1 Technical Manual

Communications processor for industrial ethernet
Hide thumbs Also See for SIMATIC NET CP 243-1:
Table of Contents

Advertisement

09/02
5.1

ETHx_CTRL

The ETHx_CTRL subroutine is used to initialize and monitor the CP 243-1. You
must call up this subroutine in your S7-200 user program at the start of each cycle
if you wish to access the functions of a CP 243-1. Calling up the subroutine causes
the CP 243-1 to restart when the CRC check is switched on, provided the
CP 243-1 has recognized a change in the configuration data. In contrast, if the
CRC check is switched off, the CP 243-1 is always restarted after a user program
or a new configuration is downloaded into the S7-200 CPU from STEP 7 Mi-
cro/WIN 32 and the S7-200 CPU is subsequently started.
The return values provide information on the general state of the CP 243-1 and the
state of the up to eight possible communication channels. If an error occurred in
the CP 243-1, you can read out the associated error code from the Error return pa-
rameter. The ETHx_CTRL subroutine is always generated by the Ethernet Wizard
in STEP 7 Micro/WIN 32 as soon as you have finished configuring the CP 243-1.
Call:
Fig. 8. Calling the ETHx_CTRL subroutine
Input parameters:
Name
-

Table 7: Input parameters (ETHx_CTRL)

CP 243-1
J31069-D0428-U001-A1-7618
ETHx_CTRL
Always_On
EN
CP_Ready
CH_Ready
Type
-
CP_READY
CH_READY
Error
ERR
Programming
Meaning
-
51

Advertisement

Table of Contents
loading

Table of Contents