Siemens CP 1243-8 IRC Operating Instructions Manual page 85

Simatic net s7-1200 telecontrol
Table of Contents

Advertisement

Triggering sending of messages
One of the following events triggers sending of the message:
● CPU changes to STOP.
● CPU changes to RUN.
● The connection to the partner is interrupted.
● The connection to the partner is re-established.
● A trigger signal is fired.
For the trigger signal to send the message, the edge change (0 → 1) of a trigger bit is
evaluated that is set by the user program. When necessary, a separate trigger bit can be
configured for each message.
If the memory area of the trigger bit is in the bit memory or in a data block, the trigger bit
is reset to zero when the message is sent.
Requirements and necessary information
Remember the following requirements in the CP configuration for the transfer of SMS
messages and e-mails:
● Enabling telecontrol communication ("Communication types") parameter group
● Activating security functions
Only for SMS:
● Either an ST7 connection is configured via the serial interface of the CP or a message in
the data point and message editor of STEP 7 Basic.
● A GSM module is connected to the RS-232 interface.
Only for e-mails.
● Configuring the "E-mail configuration" parameter group
To do this, you require the following information:
– Access data of the SMTP server: Address, port number, user name, password
– Email address of the recipient
– When using STARTTLS or SSL/TLS: Certificate of the e-mail service provider
Text of the message optionally with the value of a PLC tag
In the text of every message, you can not only transfer the configured text but also the value
of a PLC tag. To do this enter "$$" as a placeholder for the value to be sent in the message
text. For the configuration, refer to the next section "Include value".
Enable status identifier / External status
If this option is enabled in STEP 7, a status is output on the CP that provides information
about the processing status of the sent message. The status is written to a PLC tag of the
type DWORD that is specified in the "External status" box.
CP 1243-8 IRC
Operating Instructions, 06/2015, C79000-G8976-C385-01
Configuration and operation
4.7 Configuration in STEP 7 Basic
85

Advertisement

Table of Contents
loading

Table of Contents