MB_PortParameter
(STRUCT)
TYPE MB_PortParameter : STRUCT
- InOut:
Name
Type
Initial
Comment
udiBaudrate
UDINT
19200
1200, 2400, 4800, …, 115000 bps
usiMedium
USINT
0
RS232:=0, RS485:=1 or ETH:=2
usiParity
USINT
2
EVEN:=2, ODD:=1 or NONE:=0
usiDataBits
USINT
8
Number of Data Bits
usiStopBits
USINT
1
Number of Stop Bits
xPolarization
BOOL
FALSE
Polarization and Termination Resistors
COMPORT
COM_PORTS
0
Number of the COM Port to use