X20 system modules • X20 electronics module communication • X20CS1020
1538
X20 system User's Manual 3.10
4.18.5.6.4 General information
The module is connected to the CPU via X2X Link and offers the possibility to manage an EIA232 interface (RS232).
This interface is handled either via the FlatStream interface or via the DV Frame library (starting with Automation
Runtime B2.93). The selection is made using the function model configuration item. The function models are based
on the library algorithms. They are handled in the same way (details can be found in the DV Frame library manual).
4.18.5.6.5 Serial interface – Configuration
The user has to configure 5 registers to operate the serial interface.
4.18.5.6.5.1 Mode_IF
Name:
phyMode
phyMode_CANIO
This register is used to determine the current operating mode of the interface.
Enabling the interface is only permitted after complete configuration of the other registers. If parameters need to
be changed, the interface must first be disabled.
Data type
Value
Description
0
RS232 interface disabled (default)
USINT
2
RS232 interface enabled
4.18.5.6.5.2 Baudrate_IF
Name:
phyBaud
phyBaud_CANIO
This register is used to set the baud rate of the interface in bit/s.
Data type
Value
Description
1200
1.2 kbaud
2400
2.4 kbaud
4800
4.8 kbaud
19200
19.2 kbaud
38400
38.4 kbaud
57600
57.6 kbaud
UDINT
115200
115.2 kbaud
4.18.5.6.5.3 Databit_IF
Name:
phyData
phyData_CANIO
This register is used to specify the number of bits to be transferred for each character.
Data type
Value
Description
7
7 data bits
USINT
8
8 data bits (default)
4.18.5.6.5.4 Stoppbit_IF
Name:
phyStop
phyStop_CANIO
This register is used to define the number of stop bits.
Data type
Value
Description
2
1 stop bit (default)
USINT
4
2 stop bits
Summary of Contents for X20 System
Page 2: ......