Siemens Simatic S7-200 System Manual page 312

Hide thumbs Also See for Simatic S7-200:
Table of Contents

Advertisement

S7-200 Programmable Controller System Manual
MODx_MSG Instruction
The MODx_MSG (Send Message) instruction is used to send a
paging or SMS message from Modem module. This instruction
requires 20 to 30 seconds from the time the START input is
triggered until the Done bit is set.
The EN bit must be on to enable a command to the module, and
should remain on until the Done bit is set, signaling completion of
the process. A MSG command is sent to the Modem module on
each scan when START input is on and the module is not currently
busy. The START input can be pulsed on through an edge detection
element, which only allows one command to be sent.
Phone is the number of one of the message telephone numbers.
You can use the symbolic name you assigned to each message
telephone number the when the number was defined with the
Modem Expansion wizard.
Msg is the number of one of the defined messages. You can use the
symbolic name you assigned to the message when the message
was defined using the Modem Expansion wizard.
Done is a bit that comes on when the Modem module completes the sending of the message to the
service provider.
Error is a byte that contains the result of this request to the module. Table 10-8 defines the possible error
conditions that could result from executing this instruction.
Table 10-7
Inputs/Outputs
START
Phone, Msg
10
Done
Error
300
Parameters for the MODx_MSG Instruction
Data Type
Operands
BOOL
I, Q, M, S, SM, T, C, V, L, Power Flow
BYTE
VB, IB, QB, MB, SB, SMB, LB, AC, Constant, *VD, *AC, *LD
BOOL
I, Q, M, S, SM, T, C, V, L
BYTE
VB, IB, QB, MB, SB, SMB, LB, AC, *VD, *AC, *LD

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents