IoDrvModbusComPort.UpdateComParameters (METH)¶
METHOD UpdateComParameters
- InOut:
Scope
Name
Type
Initial
Comment
Input
udiBaudrateUDINT19200
1200, 2400, 4800, …, 115000 bps
usiMediumUSINT0
RS232:=0, RS485:=1 or ETH:=2
usiParityUSINT2
EVEN:=2, ODD:=1 or NONE:=0
usiDataBitsUSINT8
Number of Data Bits
usiStopBitsUSINT1
Number of Stop Bits
xPolarizationBOOLFALSE
Polarization and Termination Resistors
COMPORTINT0
Number of the COM Port to use