Programming, Levels – AMX NetLinx Custom Panel Interface NXP-CPI16 User Manual

Page 9

Advertising
background image

Programming

5

NXP-CPI16 NetLinx Custom Panel Interface

Programming

There are two modes of Channel Assignments: Discrete Output and Default Mode. Both modes are set
using the ‘STATUS-ON’ and ‘STATUS-OFF’ commands. Discrete Output mode should be used if
channel status feedback for the outputs needs to be separate from the inputs. The tables below provide
channel assignment information on both modes. For more information, refer to the
Send_Commands section on page 6.

Levels

By default all levels have a data type of byte (8-bits), which gives a range of 0-255 for the Level Value.
The ‘LVL_SZ’ Send_Command sets the size of the value for levels 1 - 4. It is important that the variable
in any SEND_LEVEL command and CREATE_LEVEL statement in the NetLinx program match the
data type selected by the ‘LVL_SZ’ Send_Command. Incorrect levels may occur if the data types do not
match.

The values of Levels 1 and 2 (quadrature inputs) will be sent whenever the input changes.

Status ON Mode Channel Assignment

I/O

Corresponding Channel

Assignment

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)

Status OFF Mode Channel Assignment

I/O

Corresponding Channel

Assignment

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)

The input and output Level values will not be sent until a ’LEVON’ command
message is received by the CPI16. A transmission of levels will cease after the
receipt of a ’LEVOFF’ command.

Levels

Level Function

1

Quadrature Input 1

2

Quadrature Input 2

3

Bargraph 1 (Outputs 1 - 8) - if configured for bargraph mode

4

Bargraph 2 (Outputs 9 - 16) - if configured for bargraph mode

Advertising