Zlinx Radio Modem ZP Series Documentation Number: ZP24D-250RM-SR-0812 pn#7337R4 This product designed and manufactured in Ottawa, Illinois USA of domestic and imported parts by 707 Dayton Road -- P.O. Box 1040 -- Ottawa, IL 61350 USA Phone (815) 433-5100 -- General Fax (815) 433-5105 Phone (815) 433-5100 -- General Fax (815) 433-5105 Website: www.bb-elec.com European Headquarters B&B Electronics Westlink Commercial Park -- Oranmore, Co.
This document contains information that is proprietary and confidential to B&B Electronics Mfg. Co. Inc. The methods described herein are for the exclusive use of B&B Electronics authorized personnel. Any unauthorized use or dissemination of the information contained in the document is strictly forbidden. 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.
Table of Contents Introduction 1 Hardware Installation 2 DIP SWITCH SETTINGS MOUNTING AND POWER SERIAL CONNECTIONS RS-232 RS-422/485 WIRELESS LINK FAILURE OUTPUT LED INDICATORS RADIO FREQUENCY INFORMATION 2 2 3 3 4 5 6 6 Zlinx Manager Software INSTALLATION SET UP ON-LINE CONFIGURATION TEST / TROUBLESHOOT FIRMWARE UPDATE 7 7 7 9 13 15 Specifications 16 Advanced Programming 19 SAMPLE CONFIG: MODIFY RF DESTINATION ADDRESS COMMAND REFERENCE TABLE COMMAND DESCRIPTIONS API OPERATION Manual Documentat
Introduction Easy to install, up to 1 mile range. No wires, no cables! Zlinx radio modems get your data moving farther, easier, and at less cost than running cable. Plug-n-play, Modbus compatible, signal strength indicator, space saving DIN rail mounting. Heavy-duty, wide temperature design handles most industrial power configurations and tough indoor/outdoor environments. Model # ZP24D-250RM-SR Frequency 2.
Hardware Installation Dip switch Settings Dipswitch 1 2 3 4 OFF 4-wire 4-wire No termination RS-422 ON 2-wire 2-wire Termination RS-485 Mounting and Power Install on properly grounded DIN rail o Operating Temperature is -40 to 85C o Operating Humidity is 10-90% non-condensing Connect Power Supply o Power supply is 10-48 VDC or 18-30 VAC 10-48 VDC or 18-30 VAC 2 Manual Documentation Number: ZP24D-250RM-SR-0812 B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100
Serial Connections RS-232 RS-232 always present on DB9 DB9F Pin 1 2 3 4 5 6 7 8 9 Signal Name Data Carrier Detect* Receive Data Transmit Data Data Terminal Ready Signal Ground Data Set Ready* Request To Send Clear To Send Not used Direction --Out In In ----In Out --- * - Pins 1 & 6 are not used. They are tied together Note: The DTR input is used to put the radio into sleep mode. The radio sleep option must be enabled first using the configuration software.
RS-232 RS-422/485 RS-485 (2-Wire) 4 RS-422/485 (4-Wire) Manual Documentation Number: ZP24D-250RM-SR-0812 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.
Wireless Link Failure Output Zlinx Radio modems offer a source (PNP)transistor output when the wireless signal strength drops below a critical level (link failure or miss packets) 40 mA max current Note: In order for the RSSI LED to continuously indicate the signal strength, set the RP command (RSSI PWM Timer) to FF. Manual Documentation Number: ZP24D-250RM-SR-0812 5 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.
LED Indicators Front Panel LED Power RSSI (Signal Strength) Wireless Data Status Red = ON OFF = No Power Green = Strong Yellow = OK Red = Weak OFF = No Signal Green = Blink ON with data Note: In order for the RSSI LED to continuously indicate the signal strength, set the “RP” command (RSSI PWM Timer) to FF. Radio Frequency Information The ZP24D-250RM-SR has an indoor range up to 300 feet and an outdoor range up to one mile. These ranges are for line of sight installations using the supplied antenna.
Zlinx Manager Software Installation The Zlinx Manager Software is contained CD. Insert the CD into the drive. The installation program should auto start. Follow the on screen prompts. Set Up 1. Connect your PC to the modem using a straight through serial cable. 2. Start the Zlinx Manage Software and click on the radio modem button. 3.
3. Click on the Radio Modem Configuration button to configure the modem on-line or the Radio Modem Configuration Button (offline) to configure the modem offline. Follow the on screen directions to configure the modem. Note: using the off-line configuration button skips the auto modem discovery process. 8 Manual Documentation Number: ZP24D-250RM-SR-0812 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.
On-Line Configuration 1. Click the Radio Modem Configuration Button. The following screen will appear. 2. Use the pull down menu items to set up the communication parameters. Manual Documentation Number: ZP24D-250RM-SR-0812 9 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.
3. Click the Auto Modem Search button. The Zlinx Manager software will find the radio modem. If the modem is not found, the following screen will appear. 4. When the modem is found, the following screen will appear. 10 Manual Documentation Number: ZP24D-250RM-SR-0812 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.
5. Click OK. The following screen will appear. 5. On the Basic Modem setting tab, configure a unique channel number, network identifier, and destination address. This will prevent interference from other modems. Click the Update Manual Documentation Number: ZP24D-250RM-SR-0812 11 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.
button to save the parameters. Click the Restore Defaults button to revert to the default configuration. 6. Use the advanced tab to configure additional parameters. When each option is highlighted, the text box will display an explanation of the command and the associated hex range. Click the update button to save the parameters. Click the Restore Defaults button to revert to the default configuration.
Test / Troubleshoot 1. The RSSI Range Test allows you test your installation. Cross connect TD and RD on the remote modem before running the test. 2. The basic screen shows test results and signal strength. Check the Show Advanced Option Box to customize the test. Manual Documentation Number: ZP24D-250RM-SR-0812 13 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.
14 Manual Documentation Number: ZP24D-250RM-SR-0812 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.
Firmware Update 1. Connect your PC to the radio modem using a straight through serial cable and the auto connect function. The new firmware must be stored on the PC’s local drive. 2. From the Zlinx Manager Radio Modem launch screen, click the firmware update button. 3. Once connected, the software will determine which firmware versions are available on the PC and what version is loaded in the modem. The following screen allows you to chose which firmware version to load. BLANK BLANK 4.
Specifications RF Properties Physical Standard Range Frequency Transmit Power Software Support Antenna Options Radio Address Serial settings Baud Data bit Parity Stop bit IEEE 802.15.4 up to 300 feet indoor or 1 mile outdoor 2.
Termination Transistor link failure Connector Output type Power Supply Connector Input Voltage Power Consumption Dimensions Environmental Operating Temperature Storage Temperature Operating Humidity Enclosure Rating Rating Mounting 120 Ohm Dipswitch selectable No wireless signal or RSSI LED off Removable terminal block with RS-422/485 Open collector, dry contact, 40mA Removable terminal block 10–48VDC, 18-30VAC 2.0W max 1.2W x 3.3D x 4.
UL 18 EN61000-4-3 RFI EN61000-4-4 EFT EN61000-4-5 Surge EN61000-4-6 CI EN61000-4-8 Power Frequency Magnetic EN61000-4-11 Voltage Dips & Interruptions UL, cUL Manual Documentation Number: ZP24D-250RM-SR-0812 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.
Advanced Programming Setup The programming examples in this section require the installation of a hyper terminal program and a serial connection to a PC. (B&B stocks RS-232 and USB boards to facilitate interfacing with a PC.) Mount the RF module to an interface board, then connect the module assembly to a PC. Launch the terminal software and select the 'PC Settings' tab. Verify the baud and parity settings of the Com Port match those of the RF module.
Command Reference Table Zlinx Radio Modems expect numerical values in hexadecimal. Hexadecimal values are designated by a “0x” prefix. Decimal equivalents are designated by a “d” suffix. Commands are contained within the following command categories (listed in the order that their tables appear): • Special • Networking & Security • RF Interfacing • Sleep (Low Power) • Serial Interfacing • I/O Settings • Diagnostics • AT Command Options All modules within a PAN should operate using the same firmware version.
to all PANs. Networking {Addressing} DH Networking {Addressing} DL MY Networking {Addressing} SH Networking {Addressing} SL Networking {Addressing} RR ( v1.xA0*) Networking {Addressing} RN Networking {Addressing} Destination Address High. Set/Read the upper 32 bits of the 64-bit destination address. When combined with DL, it defines the destination address used for transmission. To transmit using a 16-bit address, set DH parameter to zero and DL less than 0xFFFF.
Networking {Addressing} MM ( v1.x80*) NI ( v1.x80*) Networking {Identification} ND ( v1.x80*) Networking {Identification} NT ( v1.xA0*) Networking {Identification} DN ( v1.x80*) Networking {Identification} 22 MAC Mode.Set/Read MAC Mode value. MAC Mode enables/disables the use of a B&B header in the 802.15.4 RF packet. When Mode 0 is enabled (MM=0), duplicate packet detection is enabled as well as certain AT commands. Modes 1 and 2 are strict 802.15.4 modes. Node Identifier.
1. DL and DH are set to the address of the module with the matching Node Identifier. 2. “OK” is returned. 3. RF module automatically exits AT Command Mode If there is no response from a module within 200 msec or a parameter is not specified (left blank), the command is terminated and an “ERROR” message is returned. CE ( v1.x80*) Networking {Association} SC ( v1.x80*) Networking {Association} SD ( v1.x80*) Networking {Association} Coordinator Enable. Set/Read the coordinator setting. Scan Channels.
A1 ( v1.x80*) Networking {Association} A2 ( v1.x80*) Networking {Association} 24 results for a 13 channel scan: If SD = 0, time = 0.18 sec SD = 8, time = 47.19 sec SD = 2, time = 0.74 sec SD = 10, time = 3.15 min SD = 4, time = 2.95 sec SD = 12, time = 12.58 min SD = 6, time = 11.80 sec SD = 14, time = 50.33 min End Device Association. Set/Read End Device association options.
AI ( v1.x80*) Networking {Association} change. bit 1 - ReassignChannel – 0 - Coordinator will not perform Energy Scan to determine free channel. It will operate_ on the channel determined by the CH parameter. 1 - Coordinator will perform Energy Scan to find a free channel, then operate on that channel. bit 2 - AllowAssociation – 0 - Coordinator will not allow any devices to associate to it. 1 - Coordinator will allow devices to associate to it. bits 3 - 7 are reserved Association Indication.
DA ( v1.x80*) Networking {Association} FP ( v1.x80*) Networking {Association} AS ( v1.x80*) 26 Networking {Association} an Invalid Parameter 0x0E - Association Request Channel Access Failure.
dBm) TimeStamp (3 bytes) A carriage return is sent at the end of the AS command. The Active Scan is capable of returning up to 5 PanDescriptors in a scan. The actual scan time on each channel is measured as Time = [(2 ^SD PARAM) * 15.36] ms. Note the total scan time is this time multiplied by the number of channels to be scanned. Also refer to SD command description. Energy Scan. Send an Energy Detect Scan. This parameter determines the length of scan on each channel.
performed to detect energy on the channel. If the detected energy is above the CCA Threshold, the module will not transmit the packet. *Firmware version in which the command was first introduced (firmware versions are numbered in hexadecimal notation.) Commands-Sleep (Low Power) AT_ Command SM ST 28 Command_ Category Name and Description Parameter Range Default Sleep_ (Low Power) Sleep Mode. Set/Read Sleep Mode configurations.
SP Sleep_ (Low Power) DP (1.x80*) Sleep_ (Low Power) Cyclic Sleep Period. Set/Read sleep period for cyclic sleeping remotes. Coordinator and End Device SP values should always be equal. To send Direct Messages, set SP = 0. End Device- SP determines the sleep period for cyclic sleeping remotes. Maximum sleep period is 268 seconds (0x68B0). Coordinator- If non-zero, SP determines the time to hold an indirect message before discarding it.
transmission. Set to zero to transmit characters as they arrive instead of buffering them into one RF packet. API Enable. Disable/Enable API Mode. AP (v1.x80*) PR (v1.x80*) Serial _ Interfacing Serial _ Interfacing Pull-up Resistor Enable.
D6 (v1.x80*) D5 (v1.x80*) I/O Settings DIO6 Configuration. Select/Read settings for the DIO6 line (pin 16) of the RF module. Options include RTS flow control and I/O line settings. I/O Settings DIO5 Configuration. Configure settings for the DIO5 line (pin 15) of the RF module. Options include Associated LED indicator (blinks when associated) and I/O line settings. D0 - D4 (v1.xA0*) I/O Settings IU (v1.xA0*) I/O Settings IT (v1.xA0*) I/O Settings IS (v1.xA0*) I/O Settings IO (v1.
Sample Rate. Set/Read sample rate. When set, this parameter causes the module to sample all enabled inputs at a specified interval. ADC Voltage Reference. Set/Read ADC reference voltage switch. I/O Input Address. Set/Read addresses of module to which outputs are bound. Setting all bytes to 0xFF will not allow any received I/O packet to change outputs. Setting address to 0xFFFF will allow any received I/O packet to change outputs. (D0 - D7) Output Timeout.
*Firmware version in which the command was first introduced (firmware versions are numbered in hexadecimal notation.) Commands-Diagnostics AT_ Command Command_ Category VR Diagnostics VL (v1.x80*) Diagnostics HV (v1.x80*) Diagnostics DB Diagnostics EC (v1.x80*) Diagnostics EA (v1.x80*) Diagnostics ED (v1.x80*) Diagnostics Name and Description Firmware Version. Read firmware version of the RF module. Firmware Version - Verbose.
*Firmware version in which the command was first introduced (firmware versions are numbered in hexadecimal notation.) Commands-AT Command Options AT_ Command Command_ Category CT AT Command Mode Options CN AT Command Mode Options AC (v1.xA0*) AT Command Mode Options GT AT Command Mode Options CC AT Command Mode Options Name and Description Command Mode Timeout.
A1 (End Device Association) Command The A1 command is used to set and read association options for an End Device. Use the table below to determine End Device behavior in relation to the A1 parameter.
Bit number 0ReassignPanID 1ReassignChannel 2 -AllowAssociate 3-7 End Device Association Option 0 - Coordinator will not perform Active Scan to locate available PAN ID. It will operate on ID (PAN ID). 1 - Coordinator will perform Active Scan to determine an available ID (PAN ID). If a PAN ID conflict is found, the ID parameter will change. 0 - Coordinator will not perform Energy Scan to determine free channel. It will operate on the channel determined by the CH parameter.
Returned Value (Hex) 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0A 0x0B 0x0C 0x0D 0x0E 0x0F 0x10 0x11 0x12 0x13 Association Indication Successful Completion - Coordinator successfully started or End Device association complete Active Scan Timeout Active Scan found no PANs Active Scan found PAN, but the Coordinator Allow Association bit is not set Active Scan found PAN, but Coordinator and End Device are not configured to support beacons Active Scan found PAN, but Coordinator ID (PAN ID) value does
AS (Active Scan) Command AT Command: ATAS The AS command is used to send a Beacon Parameter Range: 0 - 6 Request to a Broadcast Related Command: SD (Scan Address (0xFFFF) and Broadcast PAN Duration), DL (Destination Low (0xFFFF) on every channel. The Address), DH (Destination High parameter determines the amount of time Address), ID (PAN ID), CH (Channel) the RF module will listen for Beacons on Minimum Firmware Version Required: each channel. A „PanDescriptor‟ is created v1.
AV (ADC Voltage Reference) Command The AV command is used to set/read the ADC reference voltage switch. AT Command: ATAV Parameter Range:0 - 1 Parameter Configuration 0 BD (Interface Data Rate) Command The BD command is used to set and read the serial interface data rate usedbetween the RF module and host. This parameterdetermines the rate at which serial data is sent to the module from the host.
CA (CCA Threshold) Command CA command is used to set and read CCA (Clear Channel Assessment) thresholds. AT Command: ATCA Parameter Range: 0 - 0x50 [dBm] Prior to transmitting a packet, a CCA is performed to detect energy on the transmit channel. If the detected energy is above the CCA Threshold, the RF module will not transmit the packet. Minimum Firmware Version Required: v1.
CH (Channel) Command The CH command is used to set/read the operating channel on which RF connections are made between RF modules. The channel is one of three addressing options available to the module. The other options are the PAN ID (ID command) and destination addresses (DL & DH commands).
D0 - D4 (DIOn Configuration) Commands The D0, D1, D2, D3 and D4 commands are used to select/read the behavior of their respective AD/DIO lines (pins 20, 19, 18, 17 and 11 respectively). Options include: • Analog-to-digital converter • Digital input • Digital output AT Commands: _ ATD0, ATD1, ATD2, ATD3, ATD4 Parameter Range:0 - 5 Parameter Configuration 0 Disabled 1 n/a 2 ADC 3 DI 4 DO low 5 DO high Default Parameter Value:0 Minimum Firmware Version Required: 1.x.
D6 (DIO6 Configuration) Command The D6 command is used to select/read the behavior of the DIO6 line (pin 16). Options include: • RTS flow control • Analog-to-digital converter • Digital input • Digital output AT Command: ATD6 Parameter Range:0 - 5 Parameter Configuration 0 Disabled 1 RTS Flow Control 2 n/a 3 DI 4 DO low 5 DO high Default Parameter Value:0 Parameters 3-5 supported as of firmware version 1.
DA (Force Disassociation) AT Command: ATDA Command <(Special)> The DA command is Minimum Firmware Version Required: v1.x80 used to immediately disassociate an End Device from a Coordinator and reattempt to associate. DB (Received Signal Strength) AT Command: ATDB Command DB parameter is Parameter Range: 0 - 0x64 [read-only] used to read the received signal strength (in dBm) of the last RF packet received. Reported values are accurate between -40 dBm and the RF module's receiver sensitivity.
DN (Destination Node) AT Command: ATDN Command The Parameter Range: 20-character ASCII String DN command is used to resolve a Minimum Firmware Version Required: v1.x80 NI (Node Identifier) string to a physical address. The following events occur upon successful command execution: 1. DL and DH are set to the address of the module with the matching NI (Node Identifier). 2. „OK‟ is returned. 3. RF module automatically exits AT Command Mode.
ED (Energy Scan) Command AT Command: ATED The Parameter Range:0 - 6 ED command is used to send an “Energy Detect Scan”. This Related Command: SD (Scan Duration), SC parameter determines the length (Scan Channel) of scan on each channel. The Minimum Firmware Version Required: v1.x80 maximal energy on each channel is returned and each value is followed by a carriage return. An additional carriage return is sent at the end of the command.
FP (Force Poll) Command The FP command is used to request indirect messages being held by a Coordinator. AT Command: ATFP Minimum Firmware Version Required: v1.x80 FR (Software Reset) Command AT Command: ATFR The FR command is Minimum Firmware Version Required: v1.x80 used to force a software reset on the RF module. The reset simulates powering off and then on again the module.
IC (DIO Change Detect) AT Command: ATIC Command The IC command is Parameter Range:0 - 0xFF [bitfield] used to enable the monitoring of Default Parameter Value:0 (disabled) the change detect feature on DIO lines 0-7. If a change is detected, Minimum Firmware Version Required: 1.xA0 data is transmitted with DIO data only. Any samples queued and waiting for transmission are sent first.
All bytes are converted to ASCII: number of samples channel mask DIO data (If DIO lines are enabled ADC channel Data <-This will repeat for every enabled ADC channel (end of data noted by extra ) 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.
The entire payload of the packet is encrypted using the key and the CRC is computed across the ciphertext. When encryption is enabled, each packet carries an additional 16 Bytes to convey the random CBC Initialization Vector (IV) to the receiver(s). The KY value may be “0” or any 128-bit value. Any other value, including entering ATKY by itself with no parameters, will cause an error.
MM (MAC Mode) Command AT Command: ATMM The MM command is used to set and Parameter Range:0 - 2 read the MAC Mode value. The Parameter Configuration MM command disables/enables the use of a Max-Stream header B&B Mode contained in the 802.15.4 RF 0 (802.15.4 + B&B packet. By default (MM = 0), B&B header) Mode is enabled and the module adds an extra header to the data 1 802.15.4 (no ACKs) portion of the 802.15.4 packet. 2 802.15.
receive three carriage returns at the end of the command. If no responses are received, the application should only receive one carriage return. When in API mode, the application should receive a frame (with no data) and status (set to „OK‟) at the end of the command. When the ND command packet is received, the remote sets up a random time delay (up to 2.
P0 (PWM0 Configuration) Command The P0 command is used to select/read the function for PWM0 (Pulse Width Modulation output 0). This command enables the option of translating incoming data to a PWM so that the output can be translated back into analog form. AT Command: ATP0_ The second character in the command is the number zero (“0”), not the letter “O”.
PR (Pull-up Resistor Enable) Command The PR command is used to set and read the bit field that is used to configure internal the pull-up resistor status for I/O lines. “1” specifies the pull-up resistor is enabled. “0” specifies no pull up. AT Command: ATPR Parameter Range: 0 - 0xFF Default Parameter Value: 0xFF _ (all pull-up resistors are enabled) Minimum Firmware Version Required: v1.
CSMA-CA stands for "Carrier Sense Multiple Access - Collision Avoidance". Unlike CSMA-CD (reacts to network transmissions after collisions have been detected), CSMA-CA acts to prevent data collisions before they occur. As soon as a module receives a packet that is to be transmitted, it checks if the channel is clear (no other module is transmitting). If the channel is clear, the packet is sent over-the-air.
received. The PWM output will also be set low at power-up until the first RF packet is received. A parameter value of 0xFF permanently enables the PWM output and it will always reflect the value of the last received RF packet. RR Command The RR command is used set/read the maximum number of retries the module will execute in addition to the 3 retries provided by the 802.15.4 MAC. AT Command: ATRR Parameter Range: 0 - 6 Default: 0 Minimum Firmware Version Required: 1.
Coordinator - If the „ReassignPANID‟ option is set on the Coordinator [refer to A2 parameter], the SD parameter determines the length of time the Coordinator will scan channels to locate existing PANs. If the „ReassignChannel‟ option is set, SD determines how long the Coordinator will perform an Energy Scan to determine which channel it will operate on. Scan Time is measured as ((# of Channels to Scan) * (2 ^ SD) * 15.36ms). The number of channels to scan is set by the SC command.
SM (Sleep Mode) Command The SM command is used to set and read Sleep Mode settings. By default, Sleep Modes are disabled (SM = 0) and the RF module remains in Idle/Receive Mode. When in this state, the module is constantly ready to respond to either serial or RF activity. AT Command: ATSM Parameter Range: 0 - 6 Parameter Configuration 0 Disabled 1 Pin Hibernate 2 Pin Doze 3 SM command options vary according to the networking system type.
ST (Time before Sleep) Command The ST command is used to set and read the period of inactivity (no serial or RF data is sent or received) before activating Sleep Mode.
<(Special)> The WR command is AT Command: ATWR used to write configurable parameters to the RF module's nonvolatile memory. Parameter values remain in the module's memory until overwritten by subsequent use of the WR Command. If changes are made without writing them to non-volatile memory, the module reverts back to previously saved parameters the next time the module is powered-on.
API Operation (AP parameter = 1) When this API mode is enabled (AP = 1), the UART data frame structure is defined as follows: UART Data Frame Structure: MSB = Most Significant Byte, LSB = Least Significant Byte API Operation - with Escape Characters (AP parameter = 2) When this API mode is enabled (AP = 2), the UART data frame structure is defined as follows: UART Data Frame Structure with escape control characters: MSB = Most Significant Byte, LSB = Least Significant Byte Escape characters.
To verify: Add all bytes (include checksum, but not the delimiter and length). If the checksum is correct, the sum will equal 0xFF. 3.4.2. API Types Frame data of the UART data frame forms an API-specific structure as follows: UART Data Frame & API specific Structure: The cmdID frame (API-identifier) indicates which API messages will be contained in the cmdData frame (Identifier-specific data). Refer to the sections that follow for more information regarding the supported API types.
AT Command API Identifier Value: 0x08 The “AT Command” API type allows for module parameters to be queried or set. When using this command ID, new parameter values are applied immediately. This includes any register set with the “AT Command - Queue Parameter Value” (0x09) API type. AT Command Frames Example: API frames when reading the DL parameter value of the module. Example: API frames when modifying the DL parameter value of the module.
AT Command Response API Identifier Value: 0x88 Response to previous command. In response to an AT Command message, the module will send an AT Command Response message. Some commands will send back multiple frames (for example, the ND (Node Discover) and AS (Active Scan) commands). These commands will end by sending a frame with a status of ATCMD_OK and no cmdData. AT Command Response Frames.
TX (Transmit) Status API Identifier Value: 0x89 When a TX Request is completed, the module sends a TX Status message. This message will indicate if the packet was transmitted successfully or if there was a failure. TX Status Frames NOTES: • “STATUS = 1” occurs when all retries are expired and no ACK is received. • If transmitter broadcasts (destination address = 0x000000000000FFFF), only “STATUS = 0 or 2” will be returned. • “STATUS = 3” occurs when Coordinator times out of an indirect transmission.
RX Packet (16 bit address) Frames 66 Manual Documentation Number: ZP24D-250RM-SR-0812 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.