B&B Electronics Zlinx ZP Series User Manual

Page 53

Advertising
background image

Manual Documentation Number: ZP24D-250RM-SR-2508

49

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104 – www.bb-elec.com

B&B Electronics – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91-792444 – Fax +353 91-792445 – www.bb-europe.com

All bytes are converted to ASCII:
number of samples<CR>
channel mask<CR>
DIO data<CR> (If DIO lines are enabled<CR>
ADC channel Data<cr> <-This will repeat for every enabled ADC channel<CR>
<CR> (end of data noted by extra <CR>)



When operating in API mode (AP > 0), the command will immediately return an ‘OK’
response. The data will follow in the normal API format for DIO data.


IT (Samples before TX)
Command
<I/O Settings> The IT command is
used to set/read the number of
DIO and ADC samples to collect
before transmitting data.

One ADC sample is considered complete when all enabled ADC channels have been
read. The module can buffer up to 93 Bytes of sample data. Since the module uses a
10-bit A/D converter, each sample uses two Bytes. This leads to a maximum buffer
size of 46 samples or IT=0x2E.

When Sleep Modes are enabled and IR (Sample Rate) is set, the module will remain
awake until IT samples have been collected.

IU (I/O Output Enable) Command
<I/O Settings> The IU command is
used to disable/enable I/O UART
output. When enabled (IU = 1),
received I/O line data packets are
sent out the UART. The data is
sent using an API frame
regardless of the current AP
parameter value.







KY (AES Encryption Key)
Command
<Networking {Security}> The KY
command is used to set the 128-
bit AES (Advanced Encryption
Standard) key for
encrypting/decrypting data.
Once set, the key cannot be read
out of the module by any means.

AT Command: ATIT

Parameter Range: 1 - 0xFF

Default Parameter Value:1

Minimum Firmware Version Required: v1.xA0

AT Command: ATIU

Parameter Range:0 - 1

Parameter Configuration

0

Disabled -Received I/O

line data packets will
NOT sent out UART.

1

Enabled -Received I/O

line data will be sent out

UART

Default Parameter Value:1

Minimum Firmware Version Required: 1.xA0

AT Command: ATKY

Parameter Range:0 - (any 16-Byte value)

Default Parameter Value:0

Related Command: EE (Encryption Enable)

Minimum Firmware Version Required: v1.xA0

Advertising