Send_Commands (Cont.)

LVL_SZ

 

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

Sets the size (data

 

Syntax:

 

 

 

 

 

 

type) of the value

 

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

that will be used by

 

 

Variables:

 

 

 

 

 

 

the NXP-CPI16

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

when receiving

 

Where <level #>

 

 

 

 

 

 

and sending

 

1 - Quadrature Input 1

LEVEL messages.

 

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

 

Syntax:

 

 

 

 

 

 

Puts the NXP-

 

‘STATUS-OFF’

 

 

 

 

 

 

CPI16 in Default

 

The CPI16 remembers the last Mode it was set for. Therefore, once a ’STATUS-OFF’

Mode (non-Dis-

 

 

Send_Command is received, Default Mode becomes the power-up mode of the CPI16. It

crete Output

 

 

is not necessary to send a ’STATUS-OFF’ Send_Command each time the device is pow-

Mode).

 

 

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.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Inputs 1 - 8

 

 

 

Channels 1 - 8 (Push/Release only)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Outputs 1 - 8

 

 

 

Channels 1 - 8 (On/Off only)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Inputs 9 - 16

 

 

 

Channels 9 - 16 (Push/Release only)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Outputs 9 -16

 

 

 

Channels 9 - 16 (On/Off only)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

 

Syntax:

 

 

 

 

 

 

Puts the NXP-

 

‘STATUS-ON’

 

 

 

 

 

 

CPI16 in Discrete

 

The CPI16 remembers the last Mode it was set for. Therefore, once a ’STATUS-ON’

Output Mode.

 

 

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

 

 

 

 

 

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Outputs 1 - 8

 

 

 

 

Channels 9 - 16 (On/Off only)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Inputs 9 - 16

 

 

 

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Outputs 9 -16

 

 

 

Channels 25 - 32 (On/Off only)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

NXP-CPI16 NetLinx Custom Panel Interface

7

 

 

Page 11
Image 11
AMX NXP-CPI16 manual Lvlsz