IDK IP-NINJAR NJR-CTB Installation manual

IP-NINJAR Management and Control Box
NJR-CTB
<Command Reference Guide>
Ver.1.1.1
●Thank you for choosing our product.
●To ensure the best performance of this product, please read this Command Guide and Users Guide
fully and carefully before using your product.
IDK Corporation

NJR-CTB Command Guide
2
Trademarks
The terms HDMI and HDMI High-Definition Multimedia Interface, and the HDMI Logo are trademarks or
registered trademarks of HDMI Licensing Administrator, Inc. in the United States and other countries.
Connection Reset and IP-NINJAR are registered trademarks of IDK Corporation in Japan.
All other company and product names mentioned in this manual are either registered trademarks or
trademarks of their respective owners. In this manual, the “®”or “™” marks may not be specified.

NJR-CTB Command Guide
3
Before reading this manual
●All rights reserved.
●Some of the contents in this command guide such as product appearance in diagrams, menu operations,
communication commands, and so on may differ from one NJR-CTB model to another.
●This command guide is subject to change without notice. You can download the latest version from IDK’s
website at: http://www.idkav.com
The reference manual for the NJR-CTB consists of the two following volumes:
■Users guide: Please download from the website above.
■Command guide (this document): Please download from the website above.

NJR-CTB Command Guide
4
Table of Contents
1How to read this Guide......................................................................................................................... 5
2About this Guide................................................................................................................................... 6
3Communication configuration and Specifications .................................................................................. 7
3.1 LAN communication ........................................................................................................................ 7
3.1.1 Setup of LAN communication............................................................................................... 7
3.1.2 LAN port specification.......................................................................................................... 8
3.1.3 LAN communication specification ........................................................................................ 8
3.1.4 Limit on the number of TCP-IP connections and port overload management........................ 9
3.2 Connecting LAN cable....................................................................................................................10
4Command ...........................................................................................................................................11
4.1 Summary........................................................................................................................................11
4.2 Command list .................................................................................................................................12
4.3 Parameter input format...................................................................................................................14
4.4 Details of commands......................................................................................................................15
4.4.1 Error status.............................................................................................................................15
4.4.2 Basic settings..........................................................................................................................16
4.4.2.1 Setting channel information.............................................................................................16
4.4.2.2 Setting video...................................................................................................................17
4.4.2.3 Setting audio...................................................................................................................19
4.4.2.4 Setting EDID...................................................................................................................20
4.4.3 Setting transmission................................................................................................................21
4.4.3.1 Video and audio..............................................................................................................21
4.4.4 Switching channel...................................................................................................................25
4.4.4.1 Video and Audio..............................................................................................................25
4.4.4.2 RS-232C.........................................................................................................................28
4.4.5 Setting communication interface values...................................................................................29
4.4.5.1 Setting RS-232C.............................................................................................................29
4.4.5.2 CTB LAN settings............................................................................................................30
4.4.6 Maintenance ...........................................................................................................................32
4.4.6.1 CTB version querry.........................................................................................................32
4.4.6.2 Initialization and Reboot..................................................................................................32

NJR-CTB Command Guide
5
1 How to read this Guide
This guide contains the procedure for using an NJR-CTB Control Box to command IP-NINJAR series
products via LAN communication. The NJR-CTB is for 4K@60 and HDCP2.2 supported HDMI extenders
(NJR-T01UHD, transmitter and NJR-R01UHD, receiver) when usedwith a 10G LAN switch or within an
extended 10G LAN fabric environment*.
*An NJR-CTB is not required for point to point applications where and NJR-T01UHD is connected directly to
an NJR-R01UHD.
IP network
Fiber optic cable
10 GbE switch
Source device
HDMI
NJR-T01UHD (Transmitter)
Source device
HDMI
NJR-T01UHD (Transmitter)
NJR-R01UHD (Receiver)
HDMI
NJR-R01UHD (Receiver)
HDMI
4K supported
monitor
Monitor
PC for control
(For NJR-CTB)
LAN
LAN
Control box (NJR-
CTB)
PC for control
(For communication
command)
RS-232C
PC for control
(For communication
command)
RS-232C
4K@60
video
1080p
video
4K@60
video
1080p
video
Ch.2 to 4
Product outline, Communication setting and specification (Ch.3.2), Command
Ch.2 to 4
Product outline, Communication setting and specification (Ch.3.1), Command
PC for control
(For IP-NINJAR Configurator)
LAN
[Figure 1.1] Document structure
[Table 1.1] Documents for IP-NINJAR products
Model number
User’s guide
Command guide
NJR-T01UHD / NJR-R01UHD
NJR-T01UHD / NJR-R01UHD
User’s guide
NJR-T01UHD / NJR-R01UHD
Command guide
NJR-T04HD / NJR-R04HD
NJR-T04HD / NJR-R04HD
User’s guide
NJR-T04HD / NJR-R04HD
Command guide
NJR-CTB
NJR-CTB
User’s guide
NJR-CTB
Command guide
IP-NINJAR Configurator (for free)
IP-NINJAR Configurator User’s guide

NJR-CTB Command Guide
6
2 About this Guide
This guide explains how to control the NJR-CTB using commands through LAN communication.
■Communication commands enables the following main operations:
・Setting input, output, and audio
・Displaying information
・Switching channels
・Loading and setting crosspoint preset
・Loading and setting video wall

NJR-CTB Command Guide
7
3 Communication configuration and Specifications
3.1 LAN communication
The NJR-CTB can be accessed and controlled through LAN communication.
Connecting a control device to the NJR-CTB’s LAN port enables system control and status querries per the
Command List.
Information:
The NJR-CTB can also be controlled from the WEB browser. Refer to “NJR-CTB User’s Guide”for details.
3.1.1 Setup of LAN communication
Follow the procedure below.
(1) Connect the control device to the MAINTENANCE port of NJR-CTB or LAN port of NJR-T01UHD /
NJR-R01UHD through a LAN cable.
(2) Factory default values of LAN communication are as follows.
IP address: 192.168.1.199
Subnet mask: 255.255.255.0
Default gateway: 192.168.1.200
Establish the connection from the control device to the TCP port number 1100.
(3) Send communication command from the control device to the NJR-CTB.
You can control the NJR-CTB or NJR-T01UHD / NJR-R01UHD and get the status information using
communication command.
MAINTENANCE port
Tablet
MAINTENANCE
NJR-CTB
PC for control
Step(1)
LAN cable*2
Step(3)
Communication
command
TCP:1100 Command
server
WEB
Server
Browser
HTTP:80
LAN
LAN port
HUB
LAN cable*1 10 GbE switch
Step(2)
Fiber optic cable
LAN port
NJR-T01UHD (Transmitter) or NJR-R01UHD (Receiver)NJR-CTB
NJR-T01UHD (Transmitter)
The LAN port of NJR-CTB should be connected to the LAN port of NJR-T01UHD / NJR-R01UHD or the 10 GbE switch.
※1PC for control should be connected to the MAINTENANCE port of NJR-CTB or the LAN port of NJR-T01UHD/NJR-R01UHD.
※2
NJR-T01UHD (Transmitter) NJR-R01UHD (Receiver)
NJR-R01UHD (Receiver)
Fiber optic cable
[Figure 3.1] LAN communication setup

NJR-CTB Command Guide
8
3.1.2 LAN port specification
LAN and MAINTENANCE port assignments are as follows.
Since Auto MDI / MDI-X that distinguishes and switches straight/cross cables automatically is supported,
extra care is not necessary to connect the NJR-CTB to PC, HUB or the like.
18
8-pin RJ-45 module
connector
[Figure 3.2] LAN / MAINTENANCE port
3.1.3 LAN communication specification
[Table 3.1] LAN communication
Physical layer
10Base-T (IEEE802.3i)/100Base-TX (IEEE802.3u)/1000Base-T (IEEE802.3ab)
Network layer
ARP, IP, ICMP
Transport layer
TCP
Port used for command control: 1100
Port used for WEB browser control (HTTP): 80
Application layer
HTTP
Note: Up to 8 connections can be used simultaneously for command control.
Pin
number
Signal name
MDI
MDI-X
1000BASE-T
100BASE-TX/10BASE-
T
1000BASE-T
100BASE-TX/10BAS
E-T
1
TRX+ (Transmitted/Received
data+)
TX+ (Transmitted
data+)
TRX+ (Transmitted/Received
data+)
RX+ (Received
data+)
2
TRX- (Transmitted/Received
data-)
TX- (Transmitted
data-)
TRX- (Transmitted/Received
data-)
RX- (Received data-)
3
TRX+ (Transmitted/Received
data+)
RX+ (Received data+)
TRX+ (Transmitted/Received
data+)
TX+ (Transmitted
data+)
4
TRX+ (Transmitted/Received
data+)
N.C. (No Connection)
TRX+ (Transmitted/Received
data+)
N.C. (No Connection)
5
TRX- (Transmitted/Received
data-)
N.C. (No Connection)
TRX- (Transmitted/Received
data-)
N.C. (No Connection)
6
TRX- (Transmitted/Received
data-)
RX- (Received data-)
TRX- (Transmitted/Received
data-)
TX- (Transmitted
data-)
7
TRX+ (Transmitted/Received
data+)
N.C. (No Connection)
TRX+ (Transmitted/Received
data+)
N.C. (No Connection)
8
TRX- (Transmitted/Received
data-)
N.C. (No Connection)
TRX- (Transmitted/Received
data-)
N.C. (No Connection)

NJR-CTB Command Guide
9
3.1.4 Limit on the number of TCP-IP connections and port overload management
The NJR-CTB’s maintenance port supports a maximum of eight simultaneous connections (eight logical
ports). To maintain optimal system accessibility, it is advisable to issue “port-open”and “port-close”
commands before and after command or query strings are issured. This approach enables eight or more
control devices to be effectively interfaced simultaneously and without concernfor communication errors. As a
safeguard, the NJR-CTB incorporates a 30-second timeout window for each port. If any port is inactive for
more than 30 seconds, it will be closed automatically.
[Table 3.2] Increasing connections
Your PC software
NJR-CTB
Connecting TCP-IP
→
(Occupying 1 port)
Sending command (@xxx)
→
←
Replying command (@xxx)
Closing TCP-IP
→
(Releasing 1port)
Note:
If no command is sent from the PC side to the NJR-CTB for 30 seconds, the NJR-CTB automatically
disconnects from that device.

NJR-CTB Command Guide
10
3.2 Connecting LAN cable
The NJR-T01UHD and NJR-R01UHD send broadcast packets through the 10G LAN ports periodically for the
purposes of internal system management. If the 10G LAN port is connected to an existing network, it may
cause a broadcast storm* and may severely interefere with normal network operation. Contact IDK before
attempting to connect the 10G LAN ports of an IP-NINJAR syetem to any existing network infrastructure.
*A broadcast storm occurs when a network is overwhelmed by continuous broadcast traffic resulting in a
network meltdown.
During installation, it is important to avoid the creation of network loops. Contact IDK if you require assistance
with network implementation.

NJR-CTB Command Guide
11
4 Command
4.1 Summary
A command consists of “@”(“40”in hexadecimal), 3 or 4 one-byte alphabetical characters (upper and lower
cases) followed by parameters (one-byte numbers). For some commands, multiple parameter values can be
specified. Processing is executed by sending a delimiter at the end of the command.
Example: @RCPP,0,0,1,1
“,”(a comma, “2C”in hex) is indicated between a command and parameter and between two parameters.
“ ” is indicated as a delimiter CR LF (return+line feed, “0D”and “0A”in hex).
■If an error occurs:
An error response is returned if an undefined command or inappropriate parameter is included.
Example: @RCPP,0
@ERR,1

NJR-CTB Command Guide
12
4.2 Command list
■Error status
Command
Function
Page
@ERR
Error status
15
■Setting channel information
Command
Function
Page
@GCHI / @SCHI
Channel
16
■Setting video
Command
Function
Page
@GVOS / @SVOS
Output video
17
■Setting audio
Command
Function
Page
@GAOS / @SAOS
Output audio
19
■Setting EDID
Command
Function
Page
@RMEC
Copying EDID
20
■Video and audio
Command
Function
Page
@GWDS / @SWDS
Video and audio transmission
21
@GVDS / @SVDS
Video
22
@GADS / @SADS
Audio transmission
23
@GNDS / @SNDS
Analog audio
24
■Setting
Command
Function
Page
@GSW / @SSW
Switching video and audio channel simultaneously
25
@GSV / @SSV
Switching video channel
26
@GSA / @SSA
Switching audio channel
26
@GSAA / @SSAA
Switching analog audio channel
27
@GSWR / @SSWR
Switching RS-232Cchannel
28
■RS-232C
Command
Function
Page
@GSWR / @SSWR
Switching RS-232Cchannel
28
■CTB LAN
Command
Function
Page
@GIPS / @SIPS
Setting
30
@GMCC
MAC address
31

NJR-CTB Command Guide
14
4.3 Parameter input format
Specify the target channel in order to control multiple NJR-T01UHDs and NJR-R01UHDs connected through
a network switch.
Example: The command for setting mute of digital audio output
Format
@SAM, device, ch, port, mute
Parameter
device: Model type
1 = NJR-T01UHD, 2 = NJR-R01UHD
ch: Channel
1 to 512 = Channel1 to Channel512
If a command is input from the RS-232C port of NJR-T01UHD/NJR-R01UHD or
from IP-NINJAR Configurator (Software for setting IP-NINJAR) through LAN, the
value is “1”(static).
port: Connector
“1”(static)
mute: Audio mute
0 = Mute OFF [Default], 1 = Mute ON
10 GbE switch
LAN cable
Fiber optic cable
@SAM,1,64,1,1
PC for control
NJR-T01UHD (Transmitter) NJR-R01UHD (Receiver)
Input channel1
LAN cable
NJR-T01UHD (Transmitter) NJR-R01UHD (Receiver)
Input channel64
Output channel1
Output channel64
@SAM,2,1,1,1
NJR-CTB
[Figure 4.1] Command input from NJR-CTB

NJR-CTB Command Guide
15
4.4 Details of commands
4.4.1 Error status
@ERR
Error status
Format
Return value only
Return value
@ERR, error
Parameter
error: Error status
1 = Erroneous parameter format or value
2 = Undefined command or wrong format
3 = Currently cannot be used.
99 =Error other than errors above
Example
@GCHI
@ERR,1
Sending @GCHI command.
Parameter error
Remarks
-

NJR-CTB Command Guide
16
4.4.2 Basic settings
4.4.2.1 Setting channel information
@GCHI / @SCHI
Channel information
Function
Getting
Setting
Format
@GCHI, type_1, ch_1, reserved_1 (,
type_2, ch_2, reserved_2・・・)
@SCHI, type_1, ch_1, reserved_1,
mac_1, hdmi_1 (, type_2, ch_2,
reserved_2, mac_2, hdmi_2・・・)
Return value
@GCHI, type_1, ch_1, reserved_1,
mac_1, hdmi_1 (, type_2, ch_2,
reserved_2, mac_2, hdmi_2・・・)
@SCHI, type_1, ch_1, reserved_1,
mac_1, hdmi_1 (, type_2, ch_2,
reserved_2, mac_2, hidmi_2・・・)
Parameter
type_1 to type_512: Type
1 = Input, 2 = Output
ch_1 to ch_512: Channel
1 to 512 = Channel1 to Channel512
reserved_1 to reserved_512: Reservation
“1”fixed
mac_1 to mac_512: MAC address
00 to FF = 8 bit (in hex) ×6 combinations
hdmi_1 to hdmi_512:HDMI
0 = All connectors, 1 to 4 = Connector1 to 4
Example
@GCHI,1,2,1
@GCHI,1,2,1,0008E5690000,0
Getting information of Input Channel2.
All connectors whose MAC address is
00:08:E5:69:00:00 are assigned.
@SCHI,1,2,1,0008E5690000,0
@SCHI,1,2,1,0008E5690000,0
Assigning all connectors whose MAC
address is 00:08:E5:69:00:00 to Input
Channel2.
Completed normally.
Remarks
-

NJR-CTB Command Guide
17
4.4.2.2 Setting video
@GVOS /
@SVOS
Output video
Function
Getting
Setting
Format
@GVOS, type_1, ch_1, reserved_1
(, type_2, ch_2, reserved_2・・・)
@SVOS, type_1, ch_1, reserved_1,
mode_1, submode_1, resolution_1
(, type_2, ch_2, reserved_2, mode_2,
submode_2, resolution_2・・・)
Return value
@GVOS, type_1, ch_1, reserved_1,
mode_1, submode_1, resolution_1
(, type_2, ch_2, reserved_2, mode_2,
submode_2, resolution_2・・・)
@SVOS, type_1, ch_1, reserved_1,
mode_1, submode_1, resolution_1
(, type_2, ch_2, reserved_2, mode_2,
submode_2, resolution_2・・・)
Parameter
type_1 to type_512: Type
“2”fixed.
ch_1 to ch_512: Channel
0 = All channels, 1 to 512 = Channel1 to Channel512
reserved_1 to reserved_512: Reservation
“1”fixed.
mode_1 to mode_512: Switching mode
0 = Standard [Default], 1 = Fast & Scaling
submode_1 to submode_512: Sub mode
“0”fixed.
resolution_1 to resolution_512: Resolution
-1 = Not changing previous setting
1 = VGA@60 (640x480),
3 = XGA@60 (1024x768),
5 = WXGA@60 (1280x800),
7 = SXGA@60 (1280x1024),
9 = WXGA@60 (1366x768),
11 = WXGA+@60 (1440x900),
13 = UXGA@60 (1600x1200),
15 = VESAHD@60 (1920x1080),
17 = QWXGA@60 (2048x1152),
19 = WQXGA@60 (2560x1600),
21 = 480p@59.94 (720x480),
24 = 720p@50 (1280x720),
26 = 720p@60 (1280x720),
30 = 1080p@50 (1920x1080),
32 = 1080p@60 (1920x1080),
40 = 2160p@24 (3840x2160),
42 = 2160p@30 (3840x2160),
44 = 2160p@60 (3840x2160),
45 = 2160p@24 (4096x2160),
47 = 2160p@30 (4096x2160),
49 = 2160p@60 (4096x2160)
2 = SVGA@60 (800x600),
4 = WXGA@60 (1280x768),
6 = QuadVGA@60 (1280x960),
8 = WXGA@60 (1360x768),
10 = SXGA+@60 (1400x1050),
12 = WXGA++@60 (1600x900),
14 = WSXGA+@60 (1680x1050),
16 = WUXGA@60 (1920x1200),
18 = WQHD@60 (2560x1440),
23 = 576p@50 (720x576),
25 = 720p@59.94 (1280x720),
31 = 1080p@59.94 (1920x1080),
41 = 2160p@25 (3840x2160),
43 = 2160p@50 (3840x2160),
46 = 2160p@25 (4096x2160),
48 = 2160p@50 (4096x2160),

NJR-CTB Command Guide
18
@GVOS /
@SVOS
Output video (Cont’d)
Example
@GVOS,2,1,1
@GVOS,2,1,1,1,0,32
Getting video setting of Ouput Channel1.
Fast & Scaling mode, 1080p@60
@SVOS,2,1,1,1,0,32
@SVOS,2,1,1,1,0,32
Setting video setting of Ouput Channel1
to Fast & Scaling mode 1080p@60.
Completed normally.
Remarks
-

NJR-CTB Command Guide
19
4.4.2.3 Setting audio
@GAOS /
@SAOS
Output audio
Function
Getting
Setting
Format
@GAOS, type_1, ch_1, reserved_1
(, type_2, ch_2, reserved_2・・・)
@SAOS, type_1, ch_1, reserved_1,
analog_1, hdmi_1 (, type_2, ch_2,
reserved_2, analog_2, hdmi_2・・・)
Return value
@GAOS, type_1, ch_1, reserved_1,
analog_1, hdmi_1 (, type_2, ch_2,
reserved_2, analog_2, hdmi_2・・・)
@SAOS, type_1, ch_1, reserved_1,
analog_1, hdmi_1 (, type_2, ch_2,
reserved_2, analog_2, hdmi_2・・・)
Parameter
type_1 to type_512: Type
“2”fixed
ch_1 to ch_512: Channel
0 = All channels, 1 to 512 = Channel1 to Channel512
reserved_1 to reserved_512: Reservation
“1”fixed
hdmi_1 to hdmi_512: HDMI audio ouput
2 = HDMI audio [Default], 3= Analog input audio
analog_1 to analog_512: Audio output connector
2 = HDMI audio, 3= Analog input audio [Default]
Example
@GAOS,2,1,1
@GAOS,2,1,1,2,3
Getting audio setting of Output Channel1.
HDMI audio output: HDMI audio; Audio output
connector: Analog input audio
@SAOS,2,1,1,2,3
@SAOS,2,1,1,2,3
Setting HDMI audio ouput of Output Channel1 to
output analog input audio from HDMI audio output
and audio outout connector.
Completed normally.
Remarks
-

NJR-CTB Command Guide
20
4.4.2.4 Setting EDID
@RMEC
Copying EDID
Function
Getting
Format
@RMEC, type, ch, reserved, input_1, output_1 (, input _2, output_2・・・)
Return value
@RMEC, type, ch, reserved, input_1, output_1 (, input _2, output_2・・・)
Parameter
type: Type
“0”fixed.
ch: Channel
“0”fixed.
reserved: Reservation
“1”fixed.
input_1 to input_512: Input Channel
0 = All inputs, 1 to 512 = Input Channnel1 to Input Channel512
output_1 to output_512: Output Channel
1 to 512 = Output Channel1 to Ouput Channel512
Example
@RMEC,0,0,1,1,2
@RMEC,0,0,1,1,2
Copying Output Channel2’s EDID to Input
Channel1.
Completed normally.
Remarks
-
Table of contents
Popular Control Unit manuals by other brands

Frequency Central
Frequency Central System X Amplifier Build documentation

SMC Networks
SMC Networks SY3000 SERIES Operation manuals

Thermocable
Thermocable ProReact DSCU-EN installation instructions

Lawler
Lawler 4000 Series Installation & maintenance manual

Aspect
Aspect DPG1C instructions

FrSky
FrSky TANDEM X20 Pro instruction manual