03/03
Programming
CP 243-1 IT
J31069-D0429-U001-A0-7618
101
Return parameters:
Name
Type
Meaning
Done
BOOL
Status of the subprogram call
0:
Subprogram not executed yet
1:
Subprogram executed, read/write job
concluded, subprogram ready for next
job
Error
BYTE
Error code
16#00: No
error
Other: Error (for a description, see chapter
6.2)
Table 22
Return parameters (ETHx_XFR)
Caution
The execution time of an S7-200 user program has a direct effect on the duration
of the read/write jobs used therein.
If you want to minimize the execution time of your read/write jobs, try to keep the
cycle time of your user program as short as possible.
5.4 ETHx_EMAIL
Calling the subprogram ETHx_EMAIL causes the CP 243-1 IT to transfer a prede-
fined e-mail to an e-mail server. Both the e-mail to be transmitted and the e-mail
server to be used are specified in the configuration of the CP 243-1 IT.
A total of up to 32 different e-mails can be configured.
The following is specified already during configuration.
•
Which e-mail server is to be used
•
Which data from the S7-200 system, in addition to the actual e-mail text, will be
embedded in the e-mail
•
Who will receive the e-mail
When you call the subprogram ETHx_EMAIL, you specify which of the configured
e-mails will be sent by the subprogram.
The subprogram ETHx_EMAIL is created by the Internet wizard in STEP 7 Mi-
cro/WIN 32 if you activated the e-mail service while configuring the CP 243-1 IT.
Only then can you send e-mails via the CP 243-1 IT from an S7-200 user program.
Only one ETHx_EMAIL subprogram can be active at a time. Since several e-mails
cannot be sent at the same time, we recommend linking the input "START" with
both the return value "Done" of the subprogram ETHx_E-MAIL and the applicable
bit of the return value "CH_Ready" from the subprogram ETHx_CTRL.
Содержание CP 243-1 IT
Страница 46: ...Installation and Commissioning 03 03 CP 243 1 IT J31069 D0429 U001 A0 7618 46 ...
Страница 94: ...Programming 03 03 CP 243 1 IT J31069 D0429 U001 A0 7618 94 ...
Страница 106: ...Diagnosis 03 03 CP 243 1 IT J31069 D0429 U001 A0 7618 106 ...
Страница 120: ...Technical Data 03 03 CP 243 1 IT J31069 D0429 U001 A0 7618 120 ...
Страница 130: ...Example 03 03 CP 243 1 IT J31069 D0429 U001 A0 7618 130 ...