background image

 

ZP9D-115RM-LR Radio Modem

 

 

32 

 

KY (AES Encryption Key) Command 

<Networking & Security> The KY 

command is used to set the 256-bit 

AES (Advanced Encryption 

Standard) key for encrypting / 

decrypting data. 

Once set, the key cannot be read out 

of the module by any means. The 

entire payload of the packet is 

encrypted using the key and the 

CRC is computed across the cipher 

text. 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 256-bit value (= 64 hex digits = 32 

bytes). Any other value, including entering ATKY by itself with no parameters, causes an 

error. 

 

A module with the wrong key (or no key) will receive encrypted data, but the data driven out 

the serial port will be meaningless. Likewise, a module with a key will receive unencrypted 

data sent from a module without a key, but the output will be meaningless. Because CBC 

mode is utilized, repetitive data appears differently in different transmissions due to the 

randomly-generated IV. 

 

 

 

LH (Wake-up Initializer Timer) 

Command 

<Sleep (Low Power)> The LH 

Command is used to set/read the 

duration of time during which the 

wake-up initializer is sent. When 

receiving modules are in Cyclic 

Sleep Mode, they power-down after 

a period of inactivity (as specified by 

the ST parameter) and will 

periodically wake and listen for 

transmitted data. In order for the 

receiving modules to remain awake, 

they must detect ~35ms of the wake-up initializer. 

 

LH Command must be used whenever a receiving module is operating in Cyclic Sleep 

Mode. The Wake-up Initializer Time must be longer than the cyclic sleep time that [as 

determined by SM (Sleep Mode) parameter]. If the wake-up initializer time were less than 

the Cyclic Sleep interval, the connection would be at risk of missing the wake-up initializer 

transmission.  

 

Refer to figures located under the SM command description to view diagrams of correct 

and incorrect configurations. The images emphasize that the LH value must be greater 

than the SM value. 

 

 

 

 

 

AT Command: ATKY  
Binary Command: 0x3C (60 decimal)  
Parameter Range: 0 - (any other 64-digit hex 

valid key)  
Default Parameter Value: 0 (disabled)  
Number of Bytes Returned: 2  
Number Base: Always Hexadecimal  

AT Command: ATLH  
Binary Command: 0x0C (12 decimal)  

Parameter Range: 0 - 0xFF [x 100 milliseconds]  

Default Parameter Value: 1  
Number of Bytes Returned: 1  
Related Commands: HT (Time before Wake-up 

Initializer), SM (Sleep Mode), ST (Time before 

Sleep)  

Содержание Zlinx ZP9D-115RM-LR

Страница 1: ...Zlinx Radio Modem Model ZP9D 115RM LR USER MANUAL ...

Страница 2: ...as 707 Dayton Road Ottawa IL 61350 USA Phone 1 815 433 5100 Fax 1 815 433 5105 Advantech European Headquarters Westlink Commercial Park Oranmore Co Galway Ireland Phone 353 91 792444 Fax 353 91 792445 www advantech com Documentation Number ZP9D 115RM LR_1519m ...

Страница 3: ...ass B computing device pursuant to Part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communicatio...

Страница 4: ... 422 485 4 Wireless Link Failure Output 5 Radio Frequency Information 6 Zlinx Manager Software 7 Installation 7 Set Up 7 On Line Configuration 8 Test Troubleshoot 12 Firmware Update 13 Specifications 14 Special Precautions for UL Class 1 Division 2 16 Advanced Programming 17 AT Commands 17 Binary Commands 18 Command Reference Table 19 Zlinx Commands 19 Command Descriptions 23 API Operation 48 API ...

Страница 5: ...DIN rail mounting Heavy duty wide temperature design handles most industrial power configurations and tough indoor outdoor environments Model Number Frequency Radio Power RF Data Rate ZP9D 115RM LR 900 MHz Configurable 1 mW to 1W Configurable 9600bps to 115kbps CONTENTS OF PACKAGE The package includes Radio Modem Antenna Software CD Manual on CD Quick Start Guide on CD Requires 18 30VAC or 10 48VD...

Страница 6: ... wire 2 wire 2 4 wire 2 wire 3 No termination Termination 4 RS 422 RS 485 MOUNTING AND POWER Install on properly grounded DIN rail o Operating Temperature 40 to 85 C o Operating Humidity 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 ...

Страница 7: ...ut 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 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 Once enabled lowering the DTR signal will put the radio in sleep mode and raising the DTR signal will put the radio in idle mode r...

Страница 8: ...ZP9D 115RM LR Radio Modem 4 RS 422 485 4 wire RS 422 485 ...

Страница 9: ... Modem offers a source PNP transistor output when the wireless signal strength drops below a critical level link failure or miss packets 40 mA maximum current Note In order for the RSSI LED to continuously indicate the signal strength set the RP command RSSI PWM timer to FF ...

Страница 10: ...ange of up to 22 5 km 14 mi 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 Model Frequency Radio Power RF Data Rate ZP9D 115RM LR 900 MHz 1mW to 1W selectable 9600 bps to 115 kbps ...

Страница 11: ...n included 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 Manager Software and click on the Radio Modem button 3 The radio modem launcher screen will appear ...

Страница 12: ...ration Button Offline to configure the modem offline Follow the on screen directions Note using the off line configuration button skips the auto modem discovery process ON LINE CONFIGURATION 1 Click the Radio Modem Configuration button The following screen appears 2 Use the pull down menu items to set up the communication parameters ...

Страница 13: ...io Modem 9 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 ...

Страница 14: ...ZP9D 115RM LR Radio Modem 10 5 Click OK The following screen will appear ...

Страница 15: ...tton to save the parameters Click the Restore Defaults button to revert to the default configuration 6 Use the Advanced Modem Setting 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 conf...

Страница 16: ...HOOT 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 Options box to customize the test ...

Страница 17: ...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 choose which firmware version to load 4 Select the firmware version to load from the pull down menu and click the Update button ...

Страница 18: ... 2400 4800 9600 19200 38400 57600 115200 230400 Data Bit 7 8 Parity None even odd mark space Stop Bit 1 2 RS 232 Connector DB9F DCE Lines TX RX RTS CTS DTR RI GND Connector Removable terminal block Lines TX RX GND RS 422 Connector Removable terminal block Lines 2 or 4 wire TX TX RX RX GND 2 or 4 wire dipswitch selectable Termination 120 Ohm dipswitch selectable RS 485 Connector Removable terminal ...

Страница 19: ...Copper Wire Only Size Type 28 to 16 AWG solid copper Temperature Rating 105 C 221 F minimum Terminal Torque 0 2 Nm Newton meters Regulatory FCC Part 15 CFR Title 47 Digital Apparatus IC ICES 003 Class B Digital Apparatus UL UL cUL Class 1 Division 2 Groups A B C D CE Standards EMC ETSI EN 301 489 1 V1 9 2 Applied in accordance with specific requirements of ETSI EN 301 489 17 V2 2 1 EMC Radio Spect...

Страница 20: ...B C ET D OU DANS DES ENDROITS NON HASARDEUX WARNING EXPLOSION HAZARD WHEN IN HAZARDOUS LOCATIONS TURN OFF POWER BEFORE REPLACING ANTENNA AVERTISSEMENT RISQUE D EXPLOSION LORSQU IL EST DANS DES ENDROITS DANGEREUX COUPER L ALIMENTATION AVANT DE REMPLACER L ANTENNE WARNING EXPLOSION HAZARD DO NOT DISCONNECT EQUIPMENT UNLESS POWER HAS BEEN SWITCHED OFF OR THE AREA IS KNOWN TO BE NONHAZARDOUS AVERTISSE...

Страница 21: ...Write to non volatile memory _ ATCN Enter OK CR Exit Command Mode Method 2 Multiple commands on one line Send AT Command System Response OK CR Enter into Command Mode ATDT Enter current value CR Read Destination Address ATDT1A0D WR CN Enter OK CR Execute commands Note When using hyper terminal to program a modem PC COM port settings must match the baud interface data rate parity stop bits paramete...

Страница 22: ...address to 0x1A0D and save the new address to non volatile memory 1 RT Command must be set to 1 in AT Command Mode to enable binary programming 2 Assert CMD Pin 10 is driven high Enter Binary Command Mode 3 Send Bytes parameter bytes must be 2 bytes long 00 Send DT Destination Address Command 0D Least significant byte of parameter bytes 1A Most significant byte of parameter bytes 08 Send WR Write ...

Страница 23: ...ta Rate 0 8 standard rates 0x39 0x1C9C38 non standard rates Serial Interfacing 4 3 BR 0x39 57d RF Data Rate 0 1 RF Interfacing 1 1 BT 0x04 4d Guard Time Before 0 0xFFFF x 100 msec Command Mode Options 2 0x0A 10d CC 0x13 19d Command Sequence Character 0x20 0x7F Command Mode Options 1 0x2B 43d CD 0x28 40d GPO2 Configuration 0 4 Serial Interfacing 1 2 CF Number Base 0 2 Command Mode Options 1 1 CN 0x...

Страница 24: ...sion 0 0xFFFF read only Diagnostics 2 ID 0x27 39d Modem VID 0x11 0x7FFF user settable 0x8000 0xFFFF factory set read only Networking Security 2 0x3332 13106d KY 0x3C 60d AES Encryption Key 0 Any other 64 digit hex valid key Networking Security 2 0 LH 0x0C 12d Wake up Initializer Timer 0 0xFF x 100 msec Sleep Low Power 1 1 MD v2 x20 0x31 49d RF Mode 0 6 Networking Security 1 0 MK 0x12 18d Address M...

Страница 25: ...o parameter 0x7D0 Diagnostics 2 RN 0x19 25d Delay Slots 0 0xFF slots Networking Security 1 0 RO 0x21 33d Packetization Timeout 0 0xFFFF x UART character time Serial Interfacing 2 3 RP 0x22 34d RSSI PWM Timer 0 0xFF x 100 msec Diagnostics 1 0x20 32d RR 0x18 24d Retries 0 0xFF Networking Security 1 0x0A 10d RT 0x16 22d GPI1 Configuration 0 2 Serial Interfacing 1 0 SB 0x37 55d Stop Bits 0 1 Serial In...

Страница 26: ...d only Diagnostics 2 WA Active Warning Numbers Returns string Diagnostics WN Warning Data Returns string Diagnostics WR 0x08 8d Write Special WS Sticky Warning Numbers Returns string Diagnostics Firmware version in which command and parameter options were first supported ...

Страница 27: ...Y Command Networking Security AM Command is used to automatically set the MY Source Address parameter from the factory set serial number of the module The address is formed with bits 29 28 and 13 0 of the serial number in that order The resulting value is displayed as a result of this command AP API Enable Command Serial Interfacing The AP command is used to enable the module to operate using the ...

Страница 28: ...fect until the CN Exit AT Command Mode command is issued and the system returns the OK response When parameters 0 8 are sent to the module the respective interface data rates are used as shown in the table on the right The RF data rate is not affected by the BD parameter If the interface data rate is set higher than the RF data rate a flow control configuration may need to be implemented The range...

Страница 29: ...eters Stored BD Parameter Sent HEX Interface Data Rate bps BD Parameter Stored HEX 0 1200 0 4 19200 4 7 115200 7 12C 300 12B 1C200 115200 1B207 BR RF Data Rate Command RF Interfacing The BR command is used to set and read the RF data rate rate that RF data is transmitted over the air of the module BT Guard Time Before Command AT Command Mode Options The CC command is used to set read the ASCII cha...

Страница 30: ...yload Refer to the AT Command Mode section for more information regarding the AT Command Mode Sequence CD GPO2 Configuration Command Serial Interfacing CD Command is used to select read the behavior of the GPO2 line pin 3 AT Command ATCC Binary Command 0x13 19 decimal Parameter Range 0x20 0x7F Default Parameter Value 0x2B ASCII Number of Bytes Returned 1 Related Commands AT Guard Time After BT Gua...

Страница 31: ...ntrol control the TX enable signal for RS 485 or RS 422 operations By default GP01 provides RS 232 CTS Clear to Send flow control AT Command ATCF Parameter Range 0 2 Parameter Configuration 0 Commands utilize default number base decimal commands may output units 1 All commands forced to unsigned unit less hex 2 Commands utilize their default number base no units are output Default Parameter Value ...

Страница 32: ... means an RF packet has not yet been received DT Destination Address Command Networking Security DT Command is used to set read the networking address of an RF module The modules utilize three filtration layers Vendor ID Number ATID Channel ATHP and Destination Address ATDT The DT command assigns an address to a module that enables it to communicate only with other modules having the same address ...

Страница 33: ...FH command is used to force a Wake up Initializer to be sent on the next transmission Use only with cyclic sleep modes active on remote modules ATFH will not send a long header if ATHT 0xFFFF WR Write Command does not need to be issued with FH Command FL Software Flow Control Command Serial Interfacing The FL command is used to configure software flow control Hardware flow control is implemented w...

Страница 34: ...odule s memory after a power up sequence Once the Receive Good Count reaches its maximum value up to 0xFFFF it remains at its maximum count value until the maximum count value is manually changed or the module is reset The GD parameter is not reset by pin serial port or cyclic sleep modes HP Hopping Channel Command Networking Security The HP command is used to set read the RF module s hopping chan...

Страница 35: ...e longer than the cyclic sleep interval to ensure that sleeping modules detect incoming data When HT time elapses the TX module knows it needs to send a wake up Initializer for all RX modules to remain awake and receive the next transmission HV Hardware Version Command Diagnostics The HV command is used to read the hardware version of the RF module ID Modem VID Command Networking Security The ID c...

Страница 36: ... the duration of time during which the wake up initializer is sent When receiving modules are in Cyclic Sleep Mode they power down after a period of inactivity as specified by the ST parameter and will periodically wake and listen for transmitted data In order for the receiving modules to remain awake they must detect 35ms of the wake up initializer LH Command must be used whenever a receiving mod...

Страница 37: ...ally ANDed bitwise with the Address Mask of the RX receiving module The resulting value must match the Destination Address or Address Mask of the RX module for the packet to be received and sent out the RX module s DO Data Out pin If the ANDed value does not match the Destination Address or Address Mask of the RX module the packet is discarded Sniffer Mode when MK 0 ACK requests are ignored and ev...

Страница 38: ...revents all listening modules from transmitting at once upon conclusion of a multiple transmission event when RN 0 Note The actual number of forced transmissions is the parameter value plus one For example if MT 1 two transmissions of each packet will be sent MY Source Address Command Networking Security The MY command is used to set read the Source Address of the RF module AT Command ATMT Binary ...

Страница 39: ...ing Remote responds by sending the data from the Data In buffer following the RB RO parameters When there is no eligible data to send the Polling Remote will not respond The Polling Base will move to the next address in the polling sequence after a short delay AT Command ATNB Binary Command 0x23 35 decimal Parameter Range 0 4 Parameter Configuration 0 8 bit no parity or 7 bit any parity 1 8 bit ev...

Страница 40: ... The Polling Base MD 3 cycles through a sequential range of addresses polling each Polling Remote MD 4 The base then waits for a response proceeds to the next Polling Remote Each Polling Remote responds by sending data from the DI buffer following the RB RO parameters When there is no eligible data to send the Polling Remote will not respond The Polling Base will move to the next address in the po...

Страница 41: ... 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 PL TX Power Level Command RF Interfacing The PL command is used to set read the power level at which the RF module transmits data AT Command ATPK Binary Comman...

Страница 42: ...DI Buffer and either of the following criteria is met RB characters received by the UART RO character times of silence detected on the UART receive lines after receiving at least 1 Byte of data If PK Max RF Packet Size is lowered below the value of RB RB is automatically lowered to match the PK value If RO 0 RB bytes must be received before beginning transmission Note RB and RO criteria only apply...

Страница 43: ...rt power levels on all channels If no parameter is given the channels are scanned one time If a parameter is given the 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...

Страница 44: ...ceiving at least 1 byte 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 When RO is the transmission beginning criteria The actual time between the reception o...

Страница 45: ...is shared between PWM output and Config input When the module is powered the Config pin is an input During the power up sequence if RP 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 Networking Security The RR command is used ...

Страница 46: ... used to set read the serial number high word of the RF module AT Command ATRT Binary Command 0x16 22 decimal Parameter Range 0 2 Parameter Configuration 0 Disabled 1 Enable Binary Programming 2 Enable RTS Flow Control Default Parameter Value 0 Number of Bytes Returned 1 AT Command ATSB Binary Command 0x37 55 decimal Parameter Range 0 1 Parameter Configuration 0 1 stop bit 1 2 stop bits Default Pa...

Страница 47: ...varies Number of Bytes Returned 2 Related Commands SH Serial Number High AT Command ATSM Binary Command 0x01 Parameter Range 0 8 3 is reserved Parameter Configuration 0 Disabled 1 Pin Sleep 2 Serial Port Sleep 3 reserved 4 Cyclic 1 0 second sleep RF module wakes every 1 0 seconds 5 Cyclic 2 0 second sleep 6 Cyclic 4 0 second sleep 7 Cyclic 8 0 second sleep 8 Cyclic 16 0 second sleep Default Parame...

Страница 48: ...parameter is not non volatile and is reset to zero when the RF module is reset TT Streaming Limit Command Networking Security The TT command is used to set read the limit on the number of bytes that can be sent out before a random delay is issued If an RF module is sending a continuous stream of RF data a delay is inserted which stops its transmission and allows other modules time to transmit once...

Страница 49: ...in four significant digits A B C D If B 2 the module is programmed for operation in Australia only WA Active Warning Numbers Command Diagnostics The WA command reports the warning numbers of all active warnings one warning number per line No further information is shown and warning counts are not reset Sample Output indicates warnings 1 and 3 are currently active 1 3 OK AT Command ATTX Binary Comm...

Страница 50: ...ive The warning is deactivated when the temperature falls to 100 C 5 Power reduced This is caused if the transmit power has to be reduced from the level programmed by PL Command due to insufficient supply voltage The 1 W power level requires 4 75 V or higher 500 mW requires 3 0 V or higher 100 mW 10 mW and 1 mW require 2 8 V or higher 6 Default calibration data in flash This is caused if the modul...

Страница 51: ...on If the non volatile user configuration is not correct WR will re attempt up to 3x If all three attempts fail the command will return an ERROR alert WS Sticky Warning Numbers Command Diagnostics The WS command reports warning numbers of all warnings active since the last use of the WS or WN command including any warnings which are currently active This command also resets all non zero warning co...

Страница 52: ...able API operation requires that communication with the module be done through a structured interface data is communicated in frames in a defined order The API specifies how commands command responses and module status messages are sent and received from the module using a UART Data Frame API FRAME SPECIFICATIONS Two API modes are supported and both can be enabled using the AP API Enable command U...

Страница 53: ... Frame Delimiter 0x7D Escape 0x11 XON 0x13 XOFF Example Raw UART Data Frame before escaping interfering bytes 0x7E 0x00 0x02 0x23 0x11 0xCB 0x11 needs to be escaped which results in the following frame 0x7E 0x00 0x02 0x23 0x7D 0x31 0xCB Note In the above example the length of the raw data excluding the checksum is 0x0002 and the checksum of the non escaped data excluding frame delimiter and length...

Страница 54: ... specific data Refer to the sections that follow for more information regarding the supported API types Note that multi byte values are sent big endian RF Module Status API Identifier 0x8A RF module status messages are sent from the module in response to specific conditions RF Module Status Frames TX Transmit Request 16 bit address API Identifier Value 0x01 A TX Request message will cause the modu...

Страница 55: ...ket 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 RX Receive Packet 16 bit address API Identifier Value 0x81 When the module receives an RF packet it is sent out the UART using this message type RX Packet 16 bit addre...

Страница 56: ... Radio Modem 52 TECHNICAL SUPPORT USA Canada 1 800 346 3119 Ottawa IL USA location Europe 353 91 792444 Ireland location Email support advantech bb com Web www advantech com Documentation Number ZP9D 115RM LR_1519m ...

Отзывы: