Chapter 9 Deployment CPU 21xSER-1 Manual VIPA CPU 21x
9-2 HB103E - Rev. 05/45
Fast introduction
The CPU 21xSER-1 provides serial interfacing facilities between the
processes of different source and destination systems. For the serial
communication the CPU 21x-2BS12 has got a RS232C interface and the
CPU 21x-2BS32 a RS485 interface.
The CPU supports the ASCII, STX/ETX, 3964R, USS and Modbus
protocols and procedures.
The parameterization happens during runtime by means of the SFC 216
(SER_CFG). The parameters for STX/ETX, 3964R, USS and Modbus have
to be stored in a DB.
With the help of SFCs you control the communication. The sending is
executed with the SFC 217 (SER_SND) and the reception via SFC 218
(SER_RCV).
Another call of the SFC 217 SER_SND, 3964R, USS and Modbus provides
you via RetVal with a return value which contains among others recent
information about the acknowledgement of the partner.
The protocols USS and Modbus allows you to read the acknowledgement
telegram by calling the SFC 218 SER_RCV after a SER_SND.
The SFCs are included in the consignment of the CPU 21xSER-1.
The following SFCs are deployed for the serial communication:
SFC Description
SFC 216 SER_CFG RS232/RS485
Parameterization
SFC 217 SER_SND RS232/RS485
Send
SFC 218 SER_RCV RS232/RS485
Receive
General
Protocols
Parameterization
Communication
Overview over the
SFCs for the serial
communication