Ethx_Cfg; Table 9: Input Parameters (Ethx_Cfg) - 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.2

ETHx_CFG

By calling up the ETHx_CFG subroutine, you induce the CP 243-1 to read in the
configuration data that are stored in the S7-200 CPU memory. The CP 243-1
automatically performs a reset after these data are read in. The configuration read
in from the S7-200 CPU memory becomes effective when the system restarts after
the reset.
You will require this subroutine if you wish to dynamically reprogram a CP 243-1
from your S7-200 user program while this program is running. It is only generated
by the Ethernet Wizard in STEP 7 Micro/WIN 32 if the CRC mechanism for your
configuration is not enabled there. If the ETHx_CFG subroutine is called up, the
CP 243-1 aborts all existing connections and performs a reset. However, as soon
as you have enabled the CRC mechanism, you can no longer change the associ-
ated configuration from a user program. It then can only be modified using the
Ethernet Wizard in STEP 7 Micro/WIN 32.
Call:
Fig. 9. Calling up the ETHx_CFG subroutine
Input parameters:
Name
START

Table 9: Input parameters (ETHx_CFG)

CP 243-1
J31069-D0428-U001-A1-7618
ETHx_CFG
Always_On
EN
START_BIT
START
Type
BOOL
Done
DONE
Error
ERR
Meaning
Entry conditions for activating a new configura-
tion
0:
Do not activate new configuration
1:
Activate new configuration
Programming
53

Advertisement

Table of Contents
loading

Table of Contents