NJR-TW01UHD/NJR-RW01UHD Command Guide
34
4.5.2.5 Setting RS-232C
@GCTB / @SCTB
RS-232C communication
Getting
Command
@GCTB, device, ch, reserved
Response
@GCTB, device, ch, reserved, baudrate, databit, stopbit, parity
Setting
Command
@SCTB, device, ch, reserved, baudrate, databit, stopbit, parity
Response
@SCTB, device, ch, reserved, baudrate, databit, stopbit, parity
Parameter
device: Model
1 = NJR-TW01UHD (RS-232C model), 2 = NJR-RW01UHD
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
Getting
example
Command
Response
@GCTB,1,1,1
@GCTB,1,1,1,4,8,1,0
Description Getting the RS-232C communication setting of NJR-TW01UHD
(RS-232C model) Channel 1
- Baud rate : 57600 bps
- Data bit length : 8 bit
- Stop bot : 1 bit
- Parity check : NONE
Setting
example
Command
Response
@SCTB,1,1,1,4,8,1,0
@SCTB,1,1,1,4,8,1,0
Description Setting the RS-232C communication setting of NJR-TW01UHD
(RS-232C model) Channel 1 as follows:
- Baud rate : 57600 bps
- Data bit length : 8 bit
- Stop bot : 1 bit
- Parity check : NONE
Completed
Remarks
This command can be input only via the NJR-CTB command server.
Values for the control mode are fixed and cannot be changed.