
Program instructions
7.3 Communication
S7-200 SMART
System Manual, V2.3, 07/2017, A5E03822230-AF
199
7.3.2
Transmit and receive (Freeport on RS485/RS232)
You can use the Transmit (XMT) and Receive (RCV) instructions for communication
between a S7-200 SMART CPU and other devices through the CPU serial port(s). Each
S7-200 SMART CPU provides an integrated RS485 port (Port 0). The standard CPUs
additionally support an optional CM01 Signal Board (SB) RS232/RS485 port (Port 1). The
communication protocol must be implemented in the user program.
Note
The CPU models CPU CR20s, CPU CR30s, CPU CR40s, and CPU CR60s do not support
the use of signal boards.
LAD / FBD
STL
Description
XMT TBL, PORT
The Transmit instruction (XMT) is used in Freeport mode to transmit data
by means of the communications port(s).
RCV TBL, PORT
The Receive instruction (RCV) initiates or terminates the receive message
function. You must specify a start and an end condition for the Receive
box to operate. Messages received through the specified port (PORT) are
stored in the data buffer (TBL). The first entry in the data buffer specifies
the number of bytes received.
Содержание SIMATIC S7-200
Страница 30: ...Product overview 1 7 Programming software S7 200 SMART 30 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 267: ...Program instructions 7 6 Counters S7 200 SMART System Manual V2 3 07 2017 A5E03822230 AF 267 HSC modes 3 and 4 ...
Страница 394: ...Program instructions 7 18 Subroutine S7 200 SMART 394 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 425: ...Communication 8 5 PROFIBUS S7 200 SMART System Manual V2 3 07 2017 A5E03822230 AF 425 ...
Страница 786: ...Technical specifications A 11 S7 200 SMART cables S7 200 SMART 786 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 798: ...Error codes C 4 PLC fatal error codes S7 200 SMART 798 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 848: ...Ordering information F 6 Human Machine Interface devices S7 200 SMART 848 System Manual V2 3 07 2017 A5E03822230 AF ...