DB – Baud Rate Setting
Sets the desired baud rate of the serial communication port in bps.
Applies to: CMD-4CR, CMD-4EX-SA, PMX-4EX-SA, PMX-2ED-SA, PMX-2EX
ASCII DB
Syntax:
Read:
DB
Write:
DB=[rate]
Where: [rate] Value from 1 – 5 based on: 1 = 9600 (default setting) |
Reply:
Command is accepted and executed
Read:
Returns the value set (1-5)
Write:
OK
Command cannot be processed
An error message is returned. See Error Codes
Example:
Read:
DB * Returns value for baud rate
Write:
DB=3 * Sets baud rate to 38400 bps
Notes:
- To write the value to the device’s flash memory, use the STORE command. After a complete power cycle, the new baud rate will be written to memory.
- Note that until a power cycle is completed, the settings will not take effect.
- The default RS-485 communication port settings are:
Parameter |
Setting |
Baud Rate |
9600 bps |
Byte Size |
8 bits |
Parity |
None |
Flow Control |
None |
Stop Bit |
1 |