Sample Program For The Modem Module; S7-200 Cpus That Support Intelligent Modules; Special Memory Location For The Modem Module - Siemens SIMATIC S7-200 System Manual

Programmable controller
Hide thumbs Also See for SIMATIC S7-200:
Table of Contents

Advertisement

Sample Program for the Modem Module

Example: Modem Module

S7-200 CPUs that Support Intelligent Modules

The Modem module is an intelligent expansion module designed to work with the S7-200 CPUs
shown in Table 10-9.
Table 10-9
EM 214 Module Compatibility with S7-200 CPUs
CPU
CPU 222 Rel. 1.10 or greater
CPU 224 Rel. 1.10 or greater
CPU 224XP Rel. 2.00 or greater
CPU 226 Rel. 1.00 or greater

Special Memory Location for the Modem Module

Fifty bytes of special memory (SM) are allocated to each intelligent module based on its physical
position in the I/O expansion bus. When an error condition or a change in status is detected, the
module indicates this by updating the SM locations corresponding to the module's position. If it is
the first module, it updates SMB200 through SMB249 as needed to report status and error
information. If it is the second module, it updates SMB250 through SMB299, and so on. See
Table 10-10.
Table 10-10 Special Memory Bytes SMB200 to SMB549
Intelligent
Module in
Slot 0
SMB200 to
SMB250 to
SMB249
SMB299
Table10-11 shows the Special Memory data area allocated for the Modem module. This area is
defined as if this were the intelligent module located in Slot 0 of the I/O system.
CPU 222 DC/DC/DC and CPU 222 AC/DC/Relay
CPU 224 DC/DC/DC and CPU 224 AC/DC/Relay
CPU 224XP DC/DC/DC and CPU 224XP AC/DC/Relay
CPU 226 DC/DC/DC and CPU 226 AC/DC/Relay
Special Memory Bytes SMB200 to SMB549
Intelligent
Intelligent
Module in
Module in
Slot 1
Slot 2
SMB300 to
SMB349
Creating a Program for the Modem Module
Network 1
LD
SM0.0
CALL
MOD0_CTRL
Network 2
LD
I0.0
EU
=
L63.7
LD
I0.0
CALL
MOD0_MSG, L63.7, Cell Phone,
Message1, M0.0, VB10
Network 3
LD
I0.1
EU
=
L63.7
LD
I0.1
CALL
MOD0_XFR
Transfer1, M0.0, VB10
Description
Intelligent
Intelligent
Module in
Module in
Slot 3
Slot 4
SMB350 to
SMB400 to
SMB399
SMB449
Chapter 10
// Call the MOD0_CTRL
// subroutine on every scan.
// Send a text message
//to a cell phone.
// Transfer data to
a remote CPU.
L63.7, Remote CPU,
,
Intelligent
Intelligent
Module in
Module in
Slot 5
Slot 6
SMB450 to
SMB500 to
SMB499
SMB549
323

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents