DataIDs 400 through 404
are utilized to access the configuration for a controller's primary
RS-232 serial port, /dev/com1.
If a controller is equipped with additional serial ports, such
as a secondary RS-232 line or a RS-485 line, the parameters for
these ports can be accessed via DataIDs 405 through
409 and specifying the parameter's unitnumber
as follows:
unit = 1: /dev/com2
unit = 2: /dev/com3
unit = 3: /dev/com4 (RS-485)
For example, to access the baud rate of the RS-485 port, the DataID
specification would be "405,3,0,1"
| ID | Name | Type | #Val | Min | Max | Attr | Description |
|---|---|---|---|---|---|---|---|
|
400 |
Baud rate |
Uint32 |
|
110 |
3000000 |
|
Specifies the transmission and reception rate of the primary serial communication line.
See the bottom of the Serial Communicationspage for allowable Baud rates. |
| 401 | Bits per character: 7 or 8 | Uint8 | 7 | 8 | Specifies the character size, in bits, for the primary serial communications line. Allowed values are 7 or 8. | ||
| 402 | Stop bits: 1 or 2 | Uint8 | 1 | 2 | Specifies the number of stop bits for the primary serial communications line. Allowed values are 1 or 2. | ||
| 403 | Parity:0 = None, 1 = Odd,2 = Even | Uint8 | 0 | 2 | Specifies the parity, for characters on the primary serial communications line. Allowed values are: 0 for no parity, 1 for odd parity, 2 for even parity. | ||
| 404 | Hardware flow control | BOOL | Specifies if the primary serial
communications line should use hardware flow control via the RTS/CTS
signals. Set to 1 for flow control, 0 for no flow control. NOTE: NOT ALL GUIDANCE CONTROLLERS SUPPORT HARDWARE FLOW CONTROL. |
||||
|
405 |
Baud rate |
Uint32 |
|
50 |
6000000 |
|
Specifies the transmission and reception rate of any additional serial communication lines (/dev/com2, /dev/com3, /dev/com4). Note, the communication port is specified using the "units" field of the parameter specification. |
|
406 |
Bits per character: 7 or 8 |
Uint8 |
|
7 |
8 |
|
Specifies the character size, in bits, for the additional serial communication line. Allowed values are 7 or 8.
com4 RS485 port is always 8. |
|
407 |
Stop bits: 1 or 2 |
Uint8 |
|
1 |
2 |
|
Specifies the number of stop bits for the additional serial communication line. Allowed values are 1 or 2.
com4 RS485 port is always 1. |
|
408 |
Parity:0 = None, 1 = Odd,2 = Even |
Uint8 |
|
0 |
2 |
|
Specifies the parity, for characters on the additional serial communication line. Allowed values are: 0 for no parity, 1 for odd parity, 2 for even parity.
com4 RS485 port is always 0. |
|
409 |
Hardware flow control |
BOOL |
|
|
|
|
Specifies if the additional serial communication line should use hardware flow control via the RTS/CTS signals. Set to 1 for flow control, 0 for no flow control.
NOTE: NOT ALL GUIDANCE CONTROLLERS SUPPORT HARDWARE FLOW CONTROL. |