Zlinx Radio Modem ZP Series Documentation Number: ZP9D-115RM-LR-0812 pn#7697R4 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. 2 Manual Documentation Number: ZP9D-115RM-LR-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.
Table of Contents Introduction PACKAGE CONTENTS 4 4 Hardware Installation DIP SWITCH SETTINGS MOUNTING AND POWER SERIAL CONNECTIONS RS-232 RS-422/485 WIRELESS LINK FAILURE OUTPUT RADIO FREQUENCY INFORMATION Zlinx Manager Software INSTALLATION SET UP ON-LINE CONFIGURATION TEST / TROUBLESHOOT FIRMWARE UPDATE 5 5 5 6 6 7 8 8 10 10 10 12 16 18 Specifications 19 Special Consideration for Class 1 DIV 2 21 Advanced Programming 22 AT COMMANDS 22 BINARY COMMANDS 23 COMMAND REFERENCE TABLE 24 ZLINX COMMANDS
Introduction Easy to install, up to 14 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.
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 85 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 Manual Documentation Number: ZP9D-115RM-LR-0812 5 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 Wiring Terminal Identification DB9F Pin Signal Name Direction 1 Data Carrier Detect* --2 Receive Data Out 3 Transmit Data In 4 Data Terminal Ready In 5 Signal Ground --6 Data Set Ready* --7 Request To Send In 8 Clear To Send Out 9 Not used --* - 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-422/485 RS-485 (2Wire) RS-422/485 (4Wire) Manual Documentation Number: ZP9D-115RM-LR-0812 7 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.
The ZP9D-115RM-LR has an indoor range of up to 3000 feet and an outdoor range of up to 14 miles. These ranges are for line of sight installations using the supplied antenna. Performance may vary depending on your particular installation. The antenna connection on the radio modem is an RPSMA female plug. B&B Electronics has a wide variety of accessory antennas. Visit www.bb-elec.com for more information.
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. Manual Documentation Number: ZP9D-115RM-LR-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.
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. 12 Manual Documentation Number: ZP9D-115RM-LR-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.
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. Manual Documentation Number: ZP9D-115RM-LR-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.
5. Click OK. The following screen will appear. 14 Manual Documentation Number: ZP9D-115RM-LR-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.
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 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.
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. 16 Manual Documentation Number: ZP9D-115RM-LR-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.
Manual Documentation Number: ZP9D-115RM-LR-0812 17 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. 4.
Specifications RF Properties Physical Standard Range Frequency Transmit Power Software Support Features Proprietary radio up to 3000 feet indoor or 14 miles outdoor 900MHz 1W (selectable) Zlinx Radio Modem Windows 2000, 2003 Server, XP, and Vista AT Command Terminal emulation RSSI signal range test Modem emulation Antenna Options External Reverse Polarity SMA male jack connector, omni directional (included with product) Radio Address Defaulted at factory, set by software otherwise Serial settings Baud
Power Consumption 5.0W max Dimensions 1.2W x 3.3D x 4.
Special Consideration for Class 1 DIV 2 Special Instructions for Installation and Operation in a Class 1 Div 2 Environment When this device is operated in a Class 1 Div 2 environment, the following PRECAUTIONS and WARNINGS must be observed: 1. Power, input and output (I/O) wiring must be in accordance with Class 1 Division 2 wiring methods [Article 501.10(B) of the National Electrical Code, NFPA 70] and in accordance with the authority having jurisdiction. 2.
Advanced Programming AT Commands Example: Using Hyper Terminal Software to change the module's DT (Destination Address) parameter and save the new address to non-volatile memory. A serial connection to a PC is required.
Binary Commands To Send Binary Commands: Example: Use binary commands to change the RF module's destination address to 0x1A0D and save the new address to non-volatile memory. RT Command must be set to '1' in AT Command Mode to enable binary 1. programming. 2. Assert CMD (Pin 10 is driven high). (Enter Binary Command Mode) 3.
Command Reference Table Zlinx Commands (Zlinx Radio Modems expect numerical values in hexadecimal. Hexadecimal values are designated by a “0x” prefix. Decimal equivalents are designated by a “d” suffix.) AT _ Command Binary _ Command AT Command Name Parameter Range Command _ Category # Bytes Returned Factory Default %V 0x3B (59d) Board Voltage 0x2CCCA 0x5BFFA [read-only] Diagnostics 4 -- AM 0x40 (64d) Auto-set MY -- -- -- AP v2.
E1 0x0B (11d) Echo On Receive Error Count Force Wake-up Initializer Software Flow Control ER 0x0F (15d) FH 0x0D (13d) FL 0x07 (7d) FS 0x3E (62d) Forced Sync Time FT 0x24 (36d) Flow Control Threshold GD 0x10 (16d) Receive Good Count Hopping Channel -- Command Mode Options -- -- 0 - 0xFFFF Diagnostics 2 0 -- Sleep (Low Power) -- -- 0-1 Serial Interfacing 1 0 2 0 0 - 0xFFFF [x 10 msec] RF Interfacing 0 - (DI buffer size 0x11) [Bytes] Serial Interfacing 2 DI buffer size
ZP9D-115RM-LR Commands (Zlinx Radio Modems expect numerical values in hexadecimal. Hexadecimal values are designated by a “0x” prefix. Decimal equivalents are designated by a “d” suffix.) AT _ Command Binary _ Command PE v2.
msec] TP 0x38 (56d) TR 0x1B (27d) TT 0x1A (26d) TX 0x3F (63d) VL -- VR 0x14 (20d) WA -- WN -- WR 0x08 (8d) -- WS Board Temperatu re Delivery Failure Count 0 - 0x7F [readonly] 0 - 0xFFFF [readonly] 0 - 0xFFFF [0 = disabled] Diagnostics 1 -- Diagnostics 2 0 Networking & Security 2 0 0-1 RF Interfacing 1 0 Returns string Diagnostics -- -- 0 - 0xFFFF [readonly] Diagnostics 2 -- Returns string Diagnostics -- -- Returns string Diagnostics -- -- Write -- (Special
Command Descriptions Commands in this section are listed alphabetically. Command categories are designated between the "< >" symbols that follow each command title. By default, Zlinx Radio Modems expect numerical values in hexadecimal since the default value of the CF (Number Base) Parameter is '1'. Hexadecimal values are designated by the "0x" prefix and decimal values by the "d" suffix. %V (Board Voltage) Command %V Command is used to read the current voltage of the module circuit board.
AT (Guard Time After) Command AT Command is used to set/read the time-of-silence that follows the command sequence character (CC Command) of the AT Command Mode Sequence (BT + CC + AT). By default, 1 second must elapse before and after the command sequence character.
Non-standard Interface Data Rates: Any value above 0x38 will be interpreted as an actual baud rate. When a value above 0x38 is sent, the closest interface data rate represented by the number is stored in the BD register. For example, a rate of 19200 bps can be set by sending the following command line "ATBD4B00". When the BD command is sent with a non-standard interface data rate, the UART will adjust to accommodate the requested interface rate.
Refer to the „AT Command Mode‟ section for more information regarding the AT Command Mode Sequence. AT Command: ATCC CC (Command Sequence Character) Command Binary Command: 0x13 (19 decimal) Parameter Range: 0x20 - 0x7F The CC command is used to set/read the ASCII character Default Parameter Value: 0x2B (ASCII “+”) used between guard times of Number of bytes returned: 1 the AT Command Mode Sequence (BT + CC + AT).
CF (Number Base) Command CF command is used to set/read the command formatting setting.
CT (Command Mode Timeout) Command The CT command is used to set and read the amount of inactive time that elapses before the module automatically exits from AT Command Mode and returns to Idle Mode. Use the CN (Exit AT Command Mode) command to exit AT Command Mode manually.
E0 (Echo Off) Command E0 Command turns off character echo in AT Command Mode. AT Command: ATE0 Binary Command: 0x0A (10 decimal) By default, echo is off. E1 (Echo On) Command AT Command: ATE1 E1 Command enables character Binary Command: 0x0B (11 decimal) echo in AT Command Mode. Each typed character will be echoed back to the terminal when ATE1 is active. E0 (Echo Off) is the default.
AT Command: ATFS FS (Forced Synch Time) Command Binary Command: 0x3E (62 decimal) The FS Parameter Range: 0 - 0xFFFF [x 10 command only applies to milliseconds] streaming data. Normally, only the first packet of a continuous Default Parameter Value: 0 stream contains the full RF initializer. Zlinx Radio Modems Number of bytes returned: 2 then remain synchronized for subsequent packets of the stream. This parameter can be used to periodically force an RF initializer during such streaming.
HP (Hopping Channel) Command The HP command is used to set/read the RF module's hopping channel number. A channel is one of three layers of filtration available to the module.
ID (Modem VID) Command The ID command is used to set/read the VID (Vendor Identification Number) of the RF module. Zlinx Radio Modems must have matching VIDs in order to communicate.
AT Command: ATLH LH (Wake-up Initializer Timer) Command Binary Command: 0x0C (12 decimal) The LH Command is used to set/read Parameter Range: 0 - 0xFF [x 100 milliseconds] the duration of time during which the wake-up initializer is sent.
AT Command: ATMK MK (Address Mask) Command The MK Binary Command: 0x12 (18 decimal) command is used to set/read the Parameter Range: 0 - 0xFFFF Address Mask of a module. All RF data packets contain the Default Parameter Value: 0xFFFF (65535d) Destination Address of the TX Number of bytes returned: 2 (transmitting) module.
MY (Source Address) Command The MY command is used to set/read the Source Address of the RF module. AT Command: ATMY Binary Command: 0x2A (42 decimal) Parameter Range: 0 - 0xFFFF Default Parameter Value: 0xFFFF (Disabled DT (Destination Address) parameter serves as both source and destination address.
PD (Minimum Polling Delay) Command The PD command is used to set/read Polling Delay (Base, MD=3) or Polling Timeout (Remote, MD=4). AT Command: ATPD Binary Command: 0x47 (71 decimal) Parameter Range: 0 - 0xFFFF_ (Base: [x 1ms], Remote: [x 10ms]) Default Parameter Value: 0 Number of bytes returned: 2 Polling Delay (Base) is the time between polling cycles. The Polling Base will start the polling cycle after sending the first poll.
Changes to the PK parameter may have a secondary effect on the RB (Packetization Threshold) parameter. RB must always be less than or equal to PK. If PK is changed to a value that is less than the current value of RB, the RB value is automatically lowered to be equal to PK. * When BR = 0 (9600 baud), the maximum PK value is 0x100 (256d). When BR = 1 (115,200 baud), the maximum PK value is 0x800 (2048d).
AT Command: ATRB RB (Packetization Threshold) Command Binary Command: 0x20 (32 decimal) The RB Parameter Range: 0 - PK parameter value (up command is used to set/read the to 0x800 Bytes) character threshold value.
channels are repeatedly scanned for that number of seconds. The maximum power level seen for each channel is reported (i.e. peak hold). A graphical spectrum analyzer can be implemented by repeatedly sending the RM command (with no arguments) and reading the resultant 50 power levels (this is easiest to do when CF = 1 or 2). Sample output [when CF = 0]: Ch 0: -100 dBm Ch 1: -103 dBm ... Ch 49: -99 dBm Sample output [when CF = 1]: 64 67 ...
• RB characters have been received by the UART RB and RO criteria only apply to the first packet of a multi-packet transmission. If data remains in the DI Buffer (UART receive) after the first packet, transmissions will continue in a streaming manner until there is no data left in the DI Buffer.
parameter is a non-zero value, the Config pin is configured as an output and set low until the first RF packet is received. With a non-zero RP parameter, the Config pin is an input for RP ms after power up. RR (Retries) Command The RR command is used to set/read the maximum number of retries sent for a given RF packet. When RR Command is enabled (RR>0), RF packet retries and ACKs (acknowledgements) are enabled.
SH (Serial Number High) Command SH Command is used to set/read the serial number high word of the RF module. AT Command: ATSH Binary Command: 0x25 (37 decimal) Parameter Range (read-only): 0 - 0xFFFF Default Parameter Value: varies Number of bytes returned: 2 Related Commands: SL (Serial Number Low) SL (Serial Number Low) Command SL Command is used to set/read the serial number low word of the RF module.
ST (Time before Sleep) Command The ST Command is used to set/read the period of time (in milliseconds) in which the RF module remains inactive before entering Sleep Mode.
and allows other modules time to transmit (once it sends TT bytes of data). Inserted random delay lasts between 1 & 'RN + 1' delay slots, where each delay slot lasts 38 ms. The TT command can be used to simulate full-duplex behavior. TX (Transmit Only) Command The TX command is used to set/read the transmit/receive behaviors of the RF module. Setting a module to TX-only (TX = 1) may reduce latency because the transmitting module will never be confined to receiving data from other modules.
WN (Warning Data) Command AT Command: ATWN WN command is used to report the following data Parameter Range: returns string for all active and sticky warnings: • Warning number & description • Number of occurrences since the last WN or WS command • Whether the warning is currently active Warnings, which are not currently active and have not been active since the last issuance of the WN or WS commands, are not displayed.
AT Command: ATWR WR (Write) Command <(Special)> The WR Binary Command: 0x08 command is used to write configurable parameters to non-volatile memory (Values remain in the module's memory until overwritten by another use of WR Command). If changes are made without writing them to non-volatile memory, the module will revert back to previously saved parameters the next time the module is powered-on. If the non-volatile user configuration is not correct, WR will re-attempt (up to 3x).
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. 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.
Example: TX Packet API 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 NOTE: “STATUS = 1” occurs when all retries are expired and no ACK is received. “STATUS = 3” occurs when a packet is purged due to a „Polled Remote‟ not receiving a poll.