CP 243-1
Operating Instructions, 03/2012, C79000-G8976-C244-02
93
Programming
4
Use STEP 7 Micro/WIN 32 to develop S7-200 user programs. The STEP 7 Micro/WIN 32
version must be V3.2.3 or higher so that you can use the functions of the CP 243-1 in these
programs.
To be able to use the CP 243-1 as an S7, e-mail or FTP client, at least one of the
communication channels of the CP 243-1 must be configured for this purpose. The user
program of the S7-200 must have the relevant programming.
The CP 243-1 is programmed in the S7-200 user program with the following subroutines.
The position at which a CP 243-1 is located in the S7-200 system is reflected in the name of
the subroutines:
●
ETHx_CTRL (x corresponds to the slot position, possible values: 0,1, ...6)
●
ETHx_CFG (x corresponds to the slot position, possible values: 0,1, ...6)
●
ETHx_XFR (x corresponds to the slot position, possible values: 0,1, ...6)
●
ETHx_EMAIL (x corresponds to the slot position, possible values: 0,1, ...6)
●
ETHx_FTPC (x corresponds to the slot position, possible values: 0,1, ...6)
When the configuration is complete, these subroutines are generated by the Internet wizard
integrated in STEP 7 Micro/WIN 32. You will then find these subroutines in STEP 7
Micro/WIN 32 in the window with the operations tree under the entry "Subroutine". The data
you entered during configuration decides which subroutines the wizard creates at the end of
the configuration.
Note
Regardless of the timeouts defined in Appendix C, we strongly recommend that all
application programmers define an application-specific timeout in the STL program for these
functions after the S7, e-mail or FTP client requests are started. When this time is exceeded,
the request can be terminated by the "abort command" of subroutines ETHx_XFR,
ETHx_EMAIL or ETHx_FTPC.
Calls for a Web browser to the HTTP server of the CP 243-1 can usually be canceled by
clicking a button in the Web browser dialog.
NOTICE
The subroutines for programming the CP 243-1 must not be called by interrupt routines in
the S7-200 user program.
Summary of Contents for SIMATIC NET CP 243-1
Page 6: ...Preface CP 243 1 6 Operating Instructions 03 2012 C79000 G8976 C244 02 ...
Page 10: ...Table of contents CP 243 1 10 Operating Instructions 03 2012 C79000 G8976 C244 02 ...
Page 104: ...Programming 4 5 ETHx_FTPC CP 243 1 104 Operating Instructions 03 2012 C79000 G8976 C244 02 ...
Page 124: ...Certification CP 243 1 124 Operating Instructions 03 2012 C79000 G8976 C244 02 ...
Page 138: ...Sample program CP 243 1 138 Operating Instructions 03 2012 C79000 G8976 C244 02 ...
Page 142: ...Index CP 243 1 142 Operating Instructions 03 2012 C79000 G8976 C244 02 ...