beautypg.com

8 rsh command function, 1 rsh commands – PATLITE NHL User Manual

Page 30

background image

30

3

3.8 RSH Command Function

3.8.1 RSH Commands

RSH (remote shell) is a CUI program which executes a shell command from one computer to another computer
via a computer network. The following explains how to control the Signal Tower via the RSH command.
The command syntax which this product can receive is indicated below. For the setting method of the "RSH
Command Connection Authentication /Operation after Reception", refer to "4.8 RSH Command Reception
Setup Screen".

Table 3.8.1 Receivable Commands

Command

Contents

alert

Controls Signal Tower/Buzzer

clear/doclear

Returns to Normal Mode

status

Acquisitions the Signal Tower Status

test/dotest

Executes a Self-test

Using the RSH Commands
Command Input Method

rsh IP address [-l Login Name ] Command [Option]

Command Input Method (when the designated sender address is inactive)

rsh IP address -l Common login name when designated sender address is inactive Command [Option]

alert Command

Contents

: To control the Signal Tower and buzzer.

Syntax

: alert rygbcz [sec]

Return Value : Status after command is executed
Option

: Refer to Table 3.8.2.

Table 3.8.2 RSH Command Option Explanation

Type

Explanation

rygbc Turning on and off of the Signal Tower LED Units and Buzzer Alarms

r

r: Red

(0) Light Off

(1) Lighting (2) Flashing Pattern1 (3) Flashing Pattern2 (9) No Change

y

y: Amber

(0) Light Off

(1) Lighting (2) Flashing Pattern1 (3) Flashing Pattern2 (9) No Change

g

g: Green

(0) Light Off

(1) Lighting (2) Flashing Pattern1 (3) Flashing Pattern2 (9) No Change

b

b: Blue

(0) Light Off

(1) Lighting (2) Flashing Pattern1 (3) Flashing Pattern2 (9) No Change

c

c: White

(0) Light Off

(1) Lighting (2) FlashingPattern1 (3) Flashing Pattern2 (9) No Change

z

z: Buzzer Alarm (0) Buzzer Off (1) Pattern1 (2) Pattern2

(3) Pattern3 (4) Pattern4

(9) No Change

sec

Restores the Signal Tower to its previous command status. When the time exceeds the set value, it returns

to the previous Signal Tower condition. The time can be set from zero to 99. The status will not return if no

input or a zero has been entered.

[Command Transmission Example]
Ex. 1) A product with an IP address of [192.168.10.10] and designated sender user name of "root",

with Red Lighting, Green Lighting and Buzzer Pattern2 On:

rsh 192.168.10.10 -l root alert 101002

Ex. 2) A product with an IP address of [192.168.10.10] and a common login name of "patlite",

with Red Lighting and White Flashing Pattern2:

rsh 192.168.10.10 -l patlite alert 100020

: indicates a space. [ ]: indicates an option.

The use of login abbreviations for the login name is limited to when the account name and the PC

are registered (in half-width alphanumeric characters) on the command reception screen which

transmits the RSH command.

Note