Send_Commands (Cont.)
LVL_SZ |
| The default is byte | |||||||||
Sets the size (data |
| Syntax: |
|
|
|
|
|
| |||
type) of the value |
| ‘LVL_SZ <level #> <data type of level value>’ | |||||||||
that will be used by |
| ||||||||||
| Variables: |
|
|
|
|
|
| ||||
the |
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
| |
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 | |||||||||
|
| I - Integer (16 bits); range of 0 - 65,535 | |||||||||
|
| S - Signed Integer (signed | |||||||||
|
| Example: |
|
|
|
|
|
| |||
|
| SEND_COMMAND ’LVL_SZ 2 S’ | |||||||||
|
| Quadrature Input 2's data type is now Signed Integer. | |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
| Syntax: |
|
|
|
|
|
| |||
Puts the NXP- |
|
|
|
|
|
|
| ||||
CPI16 in Default |
| The CPI16 remembers the last Mode it was set for. Therefore, once a | |||||||||
Mode |
| ||||||||||
| Send_Command is received, Default Mode becomes the | ||||||||||
crete Output |
| ||||||||||
| is not necessary to send a | ||||||||||
Mode). |
| ||||||||||
| ered. Once the CPI16 is programmed for Default Mode, it remains in that mode until a | ||||||||||
|
| ||||||||||
|
| ||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
|
|
| Channels 9 - 16 (On/Off only) |
|
| |||
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
| It is not necessary to send a |
|
| |||||||
|
| powered. Once the CPI16 is programmed for Default Mode, it will remain in Default | |||||||||
|
| Mode until a | |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
| Syntax: |
|
|
|
|
|
| |||
Puts the NXP- |
|
|
|
|
|
|
|
| |||
CPI16 in Discrete |
| The CPI16 remembers the last Mode it was set for. Therefore, once a | |||||||||
Output Mode. |
| ||||||||||
| Send_Command is received, Discrete Output Mode becomes the | ||||||||||
|
| ||||||||||
|
| CPI16. It is not necessary to send a | |||||||||
|
| device is powered. Once the CPI16 is programmed for Discrete Output Mode, it remains | |||||||||
|
| in that mode until a | |||||||||
|
|
|
|
|
|
|
|
|
| ||
|
| 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 |
|
|
| Channels 25 - 32 (On/Off only) |
| ||||
|
|
|
|
|
| ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 | |
|
|