Page 1
Programmable Button Controller SWC-2000 <Command Reference Guide> <Ver.1.2.0> ⚫ Thank you for choosing our product. ⚫ To ensure the best performance of this product, please read this user guide fully and carefully before using it and keep this manual together with the product for future reference as needed.
Page 2
SWC-2000 Command Guide Trademarks ⚫ PJLink is a trademark in Japan, the United States, and other countries/regions. ⚫ 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.
Page 3
⚫ Some information contained in this Command guide such as exact product appearance, diagrams, menu operations, communication commands, and so on may differ depending on the product version. ⚫ This Command guide is subject to change without notice. You can download the latest version from IDK’s website at: http://www.idkav.com...
SWC-2000 Command Guide Table of Contents About this Guide ............................5 Communication Configuration and Specifications ..................6 RS-232C communication ........................6 2.1.1 Setting up of RS-232C communication ..................6 2.1.2 RS-232C connector specification ....................7 2.1.3 RS-232C communication specification ..................7 LAN communication ..........................
SWC-2000 Command Guide 1 About this Guide This guide contains the procedure for controlling the SWC-2000 (hereafter referred to as “SWC”) using commands via RS-232C communication or LAN communication. [Fig. 1.1] Powered ON/OFF RS-232C LAN cable DVI cable LAN cable...
SWC-2000 Command Guide 2 Communication Configuration and Specifications 2.1 RS-232C communication 2.1.1 Setting up of RS-232C communication (1) Connect the SWC and the control device via an RS-232C cable (2) Set up RS-232C communication as follows: ・ RS-232C communication: Baud rate, data bit length, parity check, and stop bit ・...
SWC-2000 Command Guide 2.2 LAN communication 2.2.1 Setting up LAN communication (1) Connect the SWC and the control device via a LAN cable (2) Set up LAN communication as follows: ・ Set IP address and subnet mask ・ Operation mode of LAN communication: “RECEIVER”...
SWC-2000 Command Guide 2.2.2 LAN connector specification It supports Auto MDI/MDI-X, which distinguishes/switches straight and cross cables automatically. Pin assignments of LAN connector: Blinks in green while data is Lights in orange if the send/receive being sent/received. rate is 100 Mbps.
SWC-2000 Command Guide 2.2.4 The number of TCP-IP connections The SWC supports up to seven simultaneous TCP-IP connections (seven 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 issued. This approach enables eight or more control devices to be effectively interfaced simultaneously and without concern for communication errors.
SWC-2000 Command Guide 3 Command 3.1 Summary A command consists of “@” (“40” in hexadecimal), 3 one-byte alphabetical characters (upper and lower cases), followed by parameters (one-byte numbers). For some commands, multiple parameter values can be specified or parameters are not necessary. Processing is executed by sending a delimiter at the end of the command.
SWC-2000 Command Guide 3.2.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...
SWC-2000 Command Guide 3.2.4 LAN communication @GIP / @SIP IP address Function Getting Setting Format @GIP @SIP, unit_1, unit_2, unit_3, unit_4 Return value @GIP, unit_1, unit_2, unit_3, unit_4 @SIP, unit_1, unit_2, unit_3, unit_4 Parameter unit_1: Upper bit of the IP address to unit_4: lower bit of the IP address 0 to 255 = 8 bit (Decimal notation) [Default] 192.168.1.199...
Page 18
SWC-2000 Command Guide @GLF / @SLF LAN communication mode Function Getting Setting Format @SLF, connection, mode (, ip_1, ip_2, @GLF, connection ip_3, ip_4, pjlink, tcp, password) Return value @GLF, connection, mode (, ip_1, ip_2, @SLF, connection, mode (, ip_1, ip_2,...
Page 19
SWC-2000 Command Guide @GLP / @SLP TCP port number Function Getting Setting Format @SLP, connection_1, port_1 (, @GLP connection_2, port_2・・・) Return value @GLP, port_1, port_2, port_3, port_4, @SLP, connection_1, port_1 (, port_5, port_6, port_7 connection_2, port_2・・・) Parameter port_1-7: TCP port number...
SWC-2000 Command Guide 3.2.5 Control commands @EXC Executing control commands Function Setting Format @EXC, command_1 (, command_2・・・) Return value @EXC, command_1 (, command_2・・・) Parameter command_1-10: Control command A to P = Control command button 1 to Control command button 16...
Page 21
SWC-2000 Command Guide @GEC / @SEC Control command (Communication command) Function Getting Setting Format @SEC, no, delay, port, memo, length, @GEC, no command, timeout, retry, interval, retryover, display (, recv_1, recv_2・・・) Return value @GEC, no, delay, port, memo, length, @SEC, no, delay, port, memo, length,...
Page 22
SWC-2000 Command Guide @GEC / @SEC Control command (Communication command) (Cont’d) Parameter recv_1-32: Presence or absence of response command check 1 to 32 For get commands, reply command numbers are separated from each other by a comma. For set commands, the reply command number to be checked can be specified. Up to 32 commands can be specified by separating them by a comma.
Page 23
SWC-2000 Command Guide @GEC / @SEC Control command (Displaying received data) Function Getting Setting Format @SEC, no, delay, port, memo, length, @GEC, no command, timeout, retry, interval, retryover, display, delimiter Return value @GEC, no, delay, port, memo, length, @SEC, no, delay, port, memo, length,...
Page 24
SWC-2000 Command Guide @GEC / @SEC Control command (Displaying received data) (Cont’d) Parameter delimiter: 2 digits of 0 to 9, A to F, a to f = 4 bits per digit (in hexadecimal) for monitoring delimiter 100 = Not monitor...
Page 25
SWC-2000 Command Guide @GRC / @SRC Response command Function Getting Setting Format @SRC, no, process, length, command, @GRC, no mask, memo Return value @GRC, no, process, length, command, @SRC, no, process, length, command, mask, memo mask, memo Parameter no: Control command...
Page 26
SWC-2000 Command Guide @GCC / @SCC Control command link Function Getting Setting Format @GCC, event @SCC, event, c_1 (, c_2, c_3・・・) Return value @GCC, event, c_1 (, c_2, c_3・・・) @SCC, event, c_1 (, c_2, c_3・・・) Parameter event: Control command execution condition For settable values, see the [Table 3.2].
Page 28
SWC-2000 Command Guide @GIT / @SIT Ineffective time during control command execution Function Getting Setting Format @GIT @SIT, time Return value @GIT, time @SIT, time Parameter time: Control command Invalid time 0 to 999999 ms. (0 sec. to 999.999 sec.) [Default] 0 sec.
Page 29
SWC-2000 Command Guide @GTL / @STL Lighting condition of control command button Function Getting Setting Format @STL, button _1, led_1 (,button _2, @GTL, button _1 (,button _2・・・) led_2・・・) Return value @GTL, button _1, led_1 (,button _2, @STL, button _1, led_1 (,button _2, led_2・・・)
Page 30
SWC-2000 Command Guide @GTF / @STF Blinking time of control command button Function Getting Setting Format @STF, button _1, flash_1 (,button _2, @GTF, button _1 (,button _2・・・) flash_2・・・) Return value @GTF, button _1, flash_1 (,button _2, @STF, button _1, flash_1 (,button _2, flash_2・・・)
Need help?
Do you have a question about the SWC-2000 and is the answer not in the manual?
Questions and answers