AMX NetLinx Custom Panel Interface NXP-CPI16 User Manual

Page 11

Advertising
background image

7

NXP-CPI16 NetLinx Custom Panel Interface

Send_Commands (Cont.)

LVL_SZ

Sets the size (data
type) of the value
that will be used by
the NXP-CPI16
when receiving
and sending
LEVEL messages.

The default is byte (8-bits), which yields a range of 0 - 255 for the level value.

Syntax:

‘LVL_SZ <level #> <data type of level value>’

Variables:

Where <level #>

1 - Quadrature Input 1

2 - Quadrature Input 2

3 - Bargraph 1 (using outputs 1 - 8)

4 - Bargraph 2 (using outputs 9 - 16) and <data type of level value>

B - Byte (8-bits); range of 0 - 255 [default level data type]

I - Integer (16 bits); range of 0 - 65,535

S - Signed Integer (signed 16-bits); range of -32,768 to 32,767

Example:

SEND_COMMAND ’LVL_SZ 2 S’

Quadrature Input 2's data type is now Signed Integer.

STATUS-OFF

Puts the NXP-
CPI16 in Default
Mode (non-Dis-
crete Output
Mode).

Syntax:

‘STATUS-OFF’

The CPI16 remembers the last Mode it was set for. Therefore, once a ’STATUS-OFF’
Send_Command is received, Default Mode becomes the power-up mode of the CPI16. It
is not necessary to send a ’STATUS-OFF’ Send_Command each time the device is pow-
ered. Once the CPI16 is programmed for Default Mode, it remains in that mode until a
’STATUS-ON’ Send_Command is received; see chart below.

It is not necessary to send a 'STATUS-OFF' Send_Command each time the device is
powered. Once the CPI16 is programmed for Default Mode, it will remain in Default
Mode until a 'STATUS-ON' Send_Command is received.

STATUS-ON

Puts the NXP-
CPI16 in Discrete
Output Mode.

Syntax:

‘STATUS-ON’

The CPI16 remembers the last Mode it was set for. Therefore, once a ’STATUS-ON’
Send_Command is received, Discrete Output Mode becomes the power-up mode of the
CPI16. It is not necessary to send a ’STATUS-ON’ Send_Command each time the
device is powered. Once the CPI16 is programmed for Discrete Output Mode, it remains
in that mode until a ’STATUS-OFF’ Send_Command is received.; see chart below.

Inputs 1 - 8

Outputs 1 - 8

Inputs 9 - 16

Outputs 9 -16

Channels 1 - 8 (Push/Release only)

Channels 9 - 16 (Push/Release only)

Channels 1 - 8 (On/Off only)

Channels 9 - 16 (On/Off only)

Inputs 1 - 8

Outputs 1 - 8

Inputs 9 - 16

Outputs 9 -16

Channels 1 - 8 (On/Push/Off/Release)

Channels 17 - 24 (On/Push/Off/Release)

Channels 9 - 16 (On/Off only)

Channels 25 - 32 (On/Off only)

Advertising