NJR-T01SDI Command Guide
24
4.5.2.4 RS-232C settings
@GCTB /
@SCTB
RS-232C communication setting
Command group
N/A (only for NJR-CTB command server)
Function
Getting
Setting
Format
@GCTB, device, ch, reserved
@SCTB, device, ch, reserved, baudrate,
databit, stopbit, parity
Return value
@GCTB, device, ch, reserved, baudrate,
databit, stopbit, parity
@SCTB, device, ch, reserved, baudrate,
databit, stopbit, parity
Parameter
device: Model
“1” (fixed).
ch: Channel
1 to 512 = Channel 1 to Channel 512
reserved: Reservation
“1” (fixed).
baudrate: Baud rate
0 = 4800 bps, 1 = 9600 bps [Default], 2 = 19200 bps, 3 = 38400 bps,
4 = 57600 bps, 5 = 115200 bps
databit: Data bit length
7 = 7 bit, 8 = 8 bit [Default]
stopbit: Stop bit
1 = 1 bit [Default], 2 = 2 bit
parity: Parity check
0 = NONE [Default], 1 = ODD, 2 = EVEN
Example
@GCTB,1,1,1
@GCTB,1,1,1,4,8,1,0
Getting the RS-232C communication setting of channel1.
- Baud rate
: 57600 bps
- Data bit length : 8 bit
- Stop bit
: 1 bit
- Parity check
: NONE
@SCTB,1,1,1,4,8,1,0
@SCTB,1,1,1,4,8,1,0
Setting the RS-232C communication setting of channel1
as follows:
- Baud rate
: 57600 bps
- Data bit length : 8 bit
- Stop bit
: 1 bit
- Parity check
: NONE
Completed normally.
Remarks
This command can be input only via the NJR-CTB command server.
Values for the control mode are fixed and cannot be changed.