Programming
4.2 ETHx_CFG
CP 243-1
96 Operating Instructions, 03/2012, C79000-G8976-C244-02
4.2 ETHx_CFG
Calling the subroutine ETHx_CFG causes the CP 243-1 to read in the configuration data that
is stored in the memory of the S7-200 CPU. The CP 243-1 then automatically performs a
reset after the ETHx_CFG subroutine is called. The configuration read from the memory of
the S7-200 CPU takes effect after the restart following the reset.
You will need this subroutine if you want to reconfigure a CP 243-1 dynamically from this
program while your S7-200 user program is running. This program is only created by the
Internet wizard in STEP 7 Micro/WIN 32 when the CRC mechanism is not activated for your
configuration. When the subroutine ETHx_CFG is called, the CP 243-1 terminates all
existing connections and performs a reset. As soon as the CRC mechanism is activated,
however, you can no longer change the configuration from a user program. This is then only
possible using the Internet wizard in STEP 7 Micro/WIN 32.
Call
Figure 4-2 Calling the subroutine ETHx_CFG
Input parameters
Name Type Meaning
START BOOL Input condition for triggering a new
configuration
0: Do not trigger new configuration
1: Trigger a new configuration
Input parameters (ETHx_CFG)