Flex i/o port use, Relay port use, Esponding – Extron Electronics IPCP 505 User Guide User Manual

Page 67: Relay port commands

Advertising
background image

IPCP 505 • SIS Pr

ogramming and Contr

ol

61

Command/Response Table for SIS Commands (continued)

Command

ASCII (Telnet)

(host to IPCP)

URL Encoded (web)

(host to IPCP)

Response

(IPCP to host)

Additional description

Flex I/O port use

For flex I/O commands,

X4)

= Flex I/O mode:

0 = digital input

4 = analog input

1 = digital output

5 = analog input with +5 VDC pull-up

2 = digital input with +5 VDC pull-up

6 = digital input with adjusted thresholds (requires

X5%

and

X5^

thresholds)

3 = digital output with +5 VDC pull-up

7 = digital input with adjusted thresholds with +5 VDC pull-up (requires

X5%

and

X5^

thresholds)

NOTES: • Modes 6 and 7 (

X4)

= 6 or 7) allow you to specify the digital input signal voltage range.

• The default signal range for digital input modes 0 and 2 is 1-2 VDC.

X4#

= Flex I/O port status:

0 = off
1 = on
n (0-4095), analog port voltage increments of about 0.006 V per step (for analog in modes, based on 12-bit A-to-D conversion

over a range of 0 to about 24 V)

X5%

= Upper signal transition threshold

(detection of a “1”) for digital inputs:

0-04095 (0-25.3 VDC)
328 = default ≈ 2 VDC

X5^

= Lower signal transition threshold

(detection of a “0”) for digital inputs:

0-04095 (0-25.3 VDC)

164 = default ≈ 1 VDC.

NOTE: The lower threshold (

X5^

)

must be smaller than the upper
threshold (

X5%

).

X6#

= Pulse time in 20 ms increments.

If this parameter is missing or = 0, then

pulse length = default = 25 = 500 ms.
1 = 20 ms (minimum pulse time) to
65535 = 1310700 ms (maximum pulse time).

Set I/O mode 0-5

X!

*

X4)

[

X!

%2A

X4)

%5B

Cpn

X!

•Iom

X4)]

Set flex I/O port

X!

to function as a digital

input, digital output, or analog input; with or
without using the +5 VDC pull-up resistor.

Set I/O mode 6-7

X!

*

X4)

*

X5%

*

X5^

[

X!

%2A

X4)

%2A

X5%

%2A

X5^

%5B

Cpn

X!

•Iom

X4)

,

X5%

,

X5^]

View I/O mode 0-5

X!

[

X!

%5B

X4)]

View I/O mode 6-7

X!

[

X!

%5B

X4)

,

X5%

,

X5^]

Pulse I/O state

14

X!

*3*

X6#

]

X!

%2A 3 %2A

X6#

%5D

Cpn

X!

•Sio

X4#]

Toggle I/O state

14

X!

*2]

X!

%2A 2 %5D

Cpn

X!

•Sio

X4#]

Set I/O state on

14

X!

*1]

X!

%2A 1 %5D

Cpn

X!

•Sio1

]

Set I/O state off

14

X!

*0]

X!

%2A 0 %5D

Cpn

X!

•Sio0

]

View I/O state

X!

]

X!

%5D

X4# ]

Relay port use

Pulse relay

X!

*3*

X6#

O

X!

%2A 3 %2A

X6#

O

Cpn

X!

• Rly

X% ]

X!

= Relay port number:

01-08 = Relay port 1-8.

X6#

= Pulse time (see details above).

X%

= On/off status:

0 = off, 1 = on.

Turn relay off (open)

X!

*0O

X!

%2A 0O

Cpn

X!

• Rly 0

]

Turn relay on (close)

X!

*1O

X!

%2A 1O

Cpn

X!

• Rly 1

]

Toggle relay

X!

*2O

X!

%2A 2O

Cpn

X!

• Rly

X%

]

View relay state

X!

O

X!

O

X% ]

Advertising