Special memory (SM) and system symbol names
D.4 SMB2: Freeport receive character
S7-200 SMART
804
System Manual, V2.3, 07/2017, A5E03822230-AF
D.4
SMB2: Freeport receive character
Special memory byte 2 is the Freeport receive character buffer. While in Freeport mode, the
CPU stores each character that the CPU receives in this byte for easy access by your
program.
Table D- 3 SMB2 Freeport received character
S7-200 SMART
symbol name
SM address
Description
Receive_Char
SMB2
This byte contains each character that the CPU receives from Port 0 or Port 1 during
Freeport communication.
Note
Port 0 and Port 1 share SMB2 and SMB3
When the CPU receives a character on Port 0, note the following:
•
The CPU executes the interrupt routine attached to that event (interrupt event 8).
•
SMB2 contains the character received on Port 0.
•
SMB3 contains the parity status of the received character.
Likewise, when the CPU receives a character on Port 1, note the following:
•
The CPU executes the interrupt routine attached to that event (interrupt event 25).
•
SMB2 contains the character received on Port 1.
•
SMB3 contains the parity status of the received character.
D.5
SMB3: Freeport character error
The CPU sets SM3.0 TRUE when Freeport communication detects a parity, framing, break,
or overrun error on a received character. Use this bit to discard the message.
Table D- 4 SMB3 Freeport character error
S7-200 SMART
symbol name
SM address
Description
Parity_Err
SM3.0
This bit indicates that the CPU received a parity, framing, break, or overrun error
from Port 0 or Port 1:
•
FALSE: no error
•
TRUE: error
Содержание 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 ...