AMX NetLinx Custom Panel Interface NXP-CPI16 Operation/Reference Manual page 11

Netlinx custom panel interface
Hide thumbs Also See for NetLinx Custom Panel Interface NXP-CPI16:
Table of Contents

Advertisement

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.
STATUS-OFF
Puts the NXP-
CPI16 in Default
Mode (non-Dis-
crete Output
Mode).
STATUS-ON
Puts the NXP-
CPI16 in Discrete
Output Mode.
NXP-CPI16 NetLinx Custom Panel Interface
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.
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.
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.
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
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)
7

Advertisement

Table of Contents
loading

Table of Contents