A724 Series 4 addSWITCH User Guide SMART WIRELESS SOLUTIONS
Proprietary Notice The Adcon logo, Adcon Telemetry, Smart Wireless Solutions, the A720, A724 and A730 series, addIT, addSWITCH, addWAVE, the A840 and A850 series and Telemetry Gateway, AgroExpert, addVANTAGE®, addVANTAGE Lite and addVANTAGE Pro are trademarks or registered trademarks of Adcon Telemetry GmbH. Neither the whole nor any part of the information contained in this publication may be reproduced in any material form except with the prior written permission of Adcon Telemetry GmbH.
Contents Chapter 1. Introduction ____________________________________5 About the A724 Series 4 addSWITCH __________________________5 Conventions _____________________________________________6 Chapter 2.
Contents The VALVE Connector _____________________________________17 Communicating with the RTU ______________________________19 Booting the RTU _________________________________________19 Firmware Mode ______________________________________20 Upgrading the Firmware___________________________________20 Serial communication protocol _____________________________23 General format of a command ___________________________23 General format of an answer ____________________________24 Using terminal commands ____
Chapter 1. Introduction This manual explains the hardware aspects of Adcon’s A724 Series 4 addSWITCH remote telemetry units, including installation issues and certain parameter configurations. The manual has the following chapters: • • • • Introduction, which gives some general information and document conventions. Using the addSWITCH, which details the installation and use of the remote telemetry unit.
CHAPTER 1 Conventions 6.2 Volt rechargeable battery, which is charged either by a solar panel or an external power adapter. A special configuration can be implemented where no internal battery is used, rather the power is obtained exclusively over an external connector. The A724 is a ruggedized unit, complying to the IP65 environmental protection class (NEMA 4). You can easily install and integrate the unit into an Adcon A733 network.
Chapter 2. Using the addSWITCH The A724 Series 4 addSWITCH remote telemetry unit (RTU) is part of the A7xx series. For testing purposes, you should have an A840 or A850 Telemetry Gateway including the A440 Wireless Modem installed before you install the A724 Series 4 RTU. For information about installing the A840 or A850, refer to the device’s user’s guide. Opening the packages The addSWITCH RTU package contains the A724 Series 4 RTU, a valve connector cable, and a ring clamp.
CHAPTER 2 Installing the RTU Figure 1 shows the front view of an addSWITCH RTU. GORE PREVENTTM VALVE CONNECTOR ANALOG ANDCOUNTER INPUTS TO SOLAR PANEL Figure 1. addSWITCH RTU Note: If you turn or manipulate the Gore Prevent element, the unit’s IP65 environmental protection could be affected. Installing the RTU The following restrictions apply: • • In general, the typical “line-of sight” distance the RTU can communicate is 1 km (0.6 miles).
CHAPTER 2 Installing the RTU Field Installation It is relatively easy to install RTUs in the field. You can perform a connectivity check with an LED tool, an example of which is shown in Figure 2. Figure 2. LED Tool Note: The LED tool is a blind plug to be connected to the POWER connector. Follow these steps to install Adcon’s RTU in the field: 1. 2. 3. 4. 5. Note: Review the installation area and choose the best site. Perform a connectivity check using the LED tool: a.
CHAPTER 2 Installing the RTU This completes the installation of your addSWITCH RTU. If one of the I/O connectors is left unused, use the cap provided to protect it against moisture and dust. Be sure to make a note of the following information because you’ll need it when you configure the device in the software: • • Serial number of each RTU and location Type of sensors connected to which port of each RTU More about the LED tool The LED tool allows you to rapidly check the status of an RTU.
CHAPTER 2 Maintaining and servicing the RTU To configure the addSWITCH RTU in your A840 or A850 Telemetry Gateway and addVANTAGE Pro, please check the respective user guide. Maintaining and servicing the RTU A Series 4 RTU needs virtually no maintenance. It is waterproof and designed to withstand harsh environmental conditions (-30 to +70 °C, or -22 to 158 °F), high RH values, water, and other non-corrosive liquids. It conforms to the European protection class IP65.
CHAPTER 2 Maintaining and servicing the RTU messages), it must be replaced. Make sure though, that the problem is really due to the battery and not to a defective or dirty solar panel. Adcon highly recommends that you frequently check and clean your solar panels. Rain and dust can cover the solar panel’s surface with a thin layer of dirt, effectively reducing its power output. Surrounding vegetation can also lower panel efficiency.
CHAPTER 2 Maintaining and servicing the RTU Figure 4. Unplugging the PCB Connector 3. Unscrew the two nuts of the plastic cover that holds the battery pack in place, then remove the cover. Figure 5 shows the battery pack inside the RTU. Figure 5. Battery Pack 4. WARNING Remove the battery pack and replace it with a new one (obtainable from Adcon). 5. Replace the plastic cover and fasten the two nuts. 6. Insert the battery plug into the PCB connector.
CHAPTER 2 Maintaining and servicing the RTU 8. Screw the four cover screws back in, applying a moderate force.
Chapter 3. Performing Advanced Functions With the appropriate knowledge, you can configure addSWITCH devices in the field by using a hyperterminal window. To configure the RTU, you will need a special serial cable adapter (not supplied, but available from your Adcon distributor). CAUTION Do not try to configure your RTUs if you are not sure what to do—the unit might not communicate with the remote measuring station or function with the addVANTAGE software.
CHAPTER 3 Understanding connectors connector contains four pulse counter inputs, one analog input, and a sensor supply voltage output. Figure 6 illustrates the individual pins of an I/O connector. SBAT CNT3 7 AN0 1 6 2 5 CNT0 3 4 CNT2 CNT1 GND Figure 6. Pins on the I/O Connector (Top View) The POWER Connector The RTU also has a POWER connector, which allows for: • • • External supply (battery or any DC source from 5.
CHAPTER 3 The VALVE Connector 5 1 Short + Battery 2 4 3 (5.6 to 10 Volt) Figure 8. A724 Connection with External Battery If you want to use the internal battery with a different power supply (charger) than the provided solar panel, disconnect the solar panel and use the configuration shown in Figure 9. 5 1 Short + 2 4 Charger 3 (9 to 10 Volt, 100 to 300 mA) Figure 9.
CHAPTER 3 The VALVE Connector Valve4 Valve1 1 5 Valve3 6 2 4 3 COM Valve2 COM Figure 11. The Valve Connector WARNING Do not use only one COM wire for all valves. Connect the positive terminals (commonly red) of the valve to the corresponding Valve1-4 pins and the negative terminals (commonly black) to the COM pins. WARNING Be sure to check the cabling, otherwise one or more valves will switch to ON state when the RTU enters misery mode or upon a reset of the RTU. Table 2.
CHAPTER 3 Communicating with the RTU Communicating with the RTU You can use a Windows Hyperterminal window to connect to the addSWITCH RTU. After you have installed the system, follow these steps to configure the device and set the default parameters: Note: To configure the A724 Series 4 RTU, you must have a special adapter cable (item number 200.720.540 from your Adcon distributor) and plug it into the POWER connector. 1. 2. 3. 4. 5. Note: Open a Hyperterminal window.
CHAPTER 3 Upgrading the Firmware In bootloader mode, the command line interface’s prompt is the character >. Therefore, to reboot the RTU just type the following after you see the > prompt: reboot An alternative way to boot the RTU is to disconnect the battery and after a few seconds reconnect it. For a list of the available commands, type Help at the > prompt. Available commands: upgrade [baudrate] ... upgrade from Y-modem download version ... show the version of the bootloader state ...
CHAPTER 3 Upgrading the Firmware you will work within a Windows HyperTerminal window on your computer. Before upgrading the firmware, you must reboot the RTU to access the bootloader mode’s command line interface. Follow the procedure described under Booting the RTU to get into the bootloader. Before you start the upgrade, it is very important that you copy the firmware image to the hard drive of the computer you use in the field. You also need to know which version of the bootloader you are running.
CHAPTER 3 Upgrading the Firmware Figure 12. Hyperterminal and Com Port Properties Dialogs 5. 6. 7. 8. In the Bits per second field, select 115200. Select OK in the com port’s Properties dialog to close it. Select OK in the hyperterminal’s Properties dialog to close it. Back in the hyperterminal window, press Enter to continue the upgrade. --------------------------------------------------The current firmware image must be erased for the upload.
CHAPTER 3 Serial communication protocol 10. From the hyperterminal window’s menu bar, select Transfer Send File to display the dialog shown in Figure 13. Note: You must start the image upload within 60 seconds or a timeout will occur. Figure 13. Dialog to Upload Firmware Image 11. Browse to and select the firmware image. 12. Select the Ymodem Protocol and click Send. 13.
CHAPTER 3 Using terminal commands • Param1 Param2 ... ParamN represent the parameters, which are command dependent. If you type no parameters when you issue a command, it is the equivalent of querying for information (the GET version of a command). If you type parameters, you are issuing the SET version of a command and are setting the command to the parameters you typed. General format of an answer The answers have the following format: ID Command Result1 Result2 ...
CHAPTER 3 Using terminal commands PARAMETERS A control byte specifying the command and the analog input channel number the command is acting on. Please look into the A733 User Guide for a complete command description. RETURNS The current ANLG setting. REMARKS For the A724 Series4, only one analog channel is available. REMOTE Yes.
CHAPTER 3 Using terminal commands BLST DESCRIPTION Lists the stations heard after the last broadcast command was issued. PARAMETERS None. RETURNS The date and time the broadcast was performed, the number of stations heard, and a list with the heard stations’ IDs and their respective RF levels. REMARKS GET only. REMOTE Yes. The remote version will list only the first nine stations heard.
CHAPTER 3 Using terminal commands 41239 cmds ANLG ANRT B BLST CALC DATA DATASDI DPE DYNSLOT FDEV FREQ ID INFO MSTR PMP PORT ROUTE RSSI SBAT SLOT SST TIME TYPE VER VERB XCONF XDATA XIMME 0 # DATA DESCRIPTION Retrieves data frames from RTUs earlier than Series 4. PARAMETERS See the manual for the appropriate pre Series 4 RTU. RETURNS A pre Series 4 data frame. REMARKS Remote only. Support for pre Series 4 RTUs. REMOTE Yes.
CHAPTER 3 Using terminal commands RETURNS The current settings. REMARKS GET/SET. REMOTE Yes, via XCONF. EXAMPLE This example shows a setup where a status change of one of he valve ports will throw a digital port event. Additionally, the state of the valves will be recorded every 3600 seconds with a digital port event. # dpe 240 3600 41239 dpe 0 # dpe 41239 dpe 240 3600 0 # DYNSLOT DESCRIPTION Sets/returns the dynamic slot switching function of the device.
CHAPTER 3 Using terminal commands 4—the limits (depending on limit type): For type=0 /1—one limit. For type=2/3—two limits. Note: The limit values are raw adc values (0-2.5V=0-65535). 5—a bitmask specifying for which connector the SLOT value must be changed (0=internal, 1..4=I/O-A..I/O-D, 5=Valves, 6=SDI-12). 6—lock time for the active state. WARNING Timeout values lower than 3600 seconds can lead to an excessive use of the data storage. This can reduce dramatically the lifetime of the device.
CHAPTER 3 Using terminal commands organization (only index size), can be optimized for your specific application. The first parameter for this command is the chip configuration and second parameter is the index size. The following EEPROM types are currently available: • • 3– 32Kbytes (e.g. model 25256, 1 device) 7– 64Kbytes (e.g. model 25256, 2 devices) RETURNS Current setting. REMARKS GET/SET. REMOTE Yes, SET only. EXAMPLE FDEV 41239 fdev 7 32+32 256..
CHAPTER 3 Using terminal commands REMARKS GET/SET. REMOTE Yes, SET only. EXAMPLE ID 4557 41239 ID 0 # ID 4557 ID 4557 0 # INFO DESCRIPTION Returns various status information. PARAMETERS None.
CHAPTER 3 Using terminal commands • • • • • pmp_low and pmp_high are the programmed values with the PMP command) type is used to represent the device type; the following types are currently assigned: — 0 for A730MD — 1 for A720 — 2 for A730SD — 3 for A720B — 4 for A733 — 5 for A723 — 6 for A440 — 7 for A733GSM — 8 for A731 — 9 for A732 — 10 for A740 — 11 for A740GSM — 12 for A724 — 13 for A725 — 14 for A726 — 15 for A723_S4 — 16 for A724_S4 — 21 for A733GSM_S4 slot and samples are the actual values progr
CHAPTER 3 Using terminal commands EXAMPLE # MSTR 43 41239 MSTR 0 # MSTR 41239 MSTR 43 0 # PMP DESCRIPTION Sets/returns the node’s Power Management Parameters (switches the battery charge on/off). PARAMETERS The lower (switch on) and the higher limit (switch off), both in volts x 10. Standard Values are 65 (for 6.5 Volts) for switch on and 72 (for 7.2 Volts) for switch off, for a standard 6.2 Volt NiMH battery. From these values, other thresholds are internally computed.
CHAPTER 3 Using terminal commands ROUTE DESCRIPTION Sets/returns the routing information of a device. PARAMETERS None, or a route (with destination) containing up to eight intermediaries. When just the destination ID is given, the route for this device is deleted. RETURNS The commands success or error code and the route table. REMARKS GET/SET. REMOTE No.
CHAPTER 3 Using terminal commands REMARKS The system stops, and exits the command only when a key is pressed. This command returns no message. REMOTE No. EXAMPLE RX 41239 RX 0 # SBAT DESCRIPTION Sets/returns the operating voltage for the valves . PARAMETERS The operating voltage of the valves in tenths of volt. RETURNS The current setting. REMARKS See also: Setting the valve voltage on page 42. REMOTE No.
CHAPTER 3 Using terminal commands SLOT 41239 SLOT 900 1 900 15 900 15 900 15 900 15 900 1 0 0 0 # slot 600 10 41239 slot 0 # slot 41239 slot 600 1 600 10 600 10 600 10 600 10 600 1 0 0 0 # slot 300 30 41239 slot 0 # slot 41239 slot 300 1 300 30 300 30 300 30 300 30 300 1 0 0 0 # slot 3600 200 41239 slot 0 # slot 41239 slot 3600 1 3600 200 3600 200 3600 200 3600 200 3600 1 0 0 0 #slot 900 3 41239 slot 0 # slot 41239 slot 900 1 900 3 900 3 900 3 900 3 900 1 0 0 0 # slot 60 2 2 41239 slot 0 # slot 41239 slot
CHAPTER 3 Using terminal commands # SST 41239 # SST 41239 # SST 41239 # SST 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5 0 1 SST 0 SST 0 0 5 0 0 0 0 0 0 0 0 0 0 0 0 TIME DESCRIPTION Sets/returns the real time clock. PARAMETERS The actual time, or none in the GET version. RETURNS The actual time as dd/mm/yyyy hh:mm:ss. REMARKS GET/SET. REMOTE No. EXAMPLE TIME 10/10/2010 22:10:10 41239 TIME 0 # TIME 41239 TIME 10/10/2010 22:10:10 0 # TX DESCRIPTION Switches the unit to transmit mode (for tuning purposes).
CHAPTER 3 Using terminal commands TYPE DESCRIPTION Requests the hardware type information of the device. PARAMETERS None. RETURNS The hardware type. REMARKS GET only. REMOTE No. EXAMPLE TYPE 41239 TYPE A724_S4 # VER DESCRIPTION Requests the firmware version of the device. PARAMETERS None. RETURNS The current version. REMARKS GET only. REMOTE No. EXAMPLE VER 15535 VER 1.3.0 0 # VERB DESCRIPTION WARNING Sets the verbosity level of the RTU. This command is used for debugging only.
CHAPTER 3 Using terminal commands 41239 verb 0 # XCONF DESCRIPTION This command transmits command strings for commands (those that are suited for this mode of operation) to the targeted RTUs. Allowed commands are: CALC, DPE, DYNSLOT, MSTR, SBAT, SLOT, SST and SDI. PARAMETERS A command string. RETURNS The replying string and error code. REMOTE Yes.
CHAPTER 3 Commands for controlling the valves Note: Only sample mode 2 is supported on the A724 Series 4 RTU. RETURNS A data block of io-port, raw adc and counter values. REMARKS GET only. The command needs a certain delay to execute (for example, for the standard SST setting this delay amounts to two seconds). The delay is necessary to allow for the sensors to settle after applying power to them. REMOTE No.
CHAPTER 3 Commands for controlling the valves Table 3.
CHAPTER 3 Returned errors list Table 4. addSWITCH Status Information Return value (decimal) Return value (binary) Status 176 1011 xxxx VALVE 3 active 112 0111 xxxx VALVE 4active Setting the valve voltage Please note that all valves need to operate on the same voltage because voltage cannot be set individually. The valve voltage can be programmed via the command SBAT. The parameter for the command SBAT is the valve operating voltage (pulse). It is specified in tenths of volt.
CHAPTER 3 Returned errors list • • • • • • • 12 — reserved 13 — no more space for descriptors (too many devices) 14 — no more records for the specified device 15 — temporary communication break, no more data (the last request was not successful) 16 — timeout (the handler blocked or is busy) 17 — internal error 18 — attempt to insert a reserved device ID number (0 or 65535) Real time clock • 20 — incorrect time supplied (conversion to time_t was not possible) • • • • • • • • • • 30 31 32 33 34 35 36 37
Appendix. Specifications The addSWITCH A724 Series 4 was intended to fulfill the specification of the ETSI 300 220, Class I, Subclasses a and b, but other national norms are similar to this (for example, the CFR 47, Part 90, Subpart J). Table 5 shows the main operational parameters of the A724. Table 5. Operational Parameters Parameter Min Typical Max Unit Common Supply 5.0 Operating Temperature Relative Humidity 10.
APPENDIX Table 5. Operational Parameters (Continued) Parameter Min Typical Max Unit Receiver Sensitivity (10 db S/N) Image Frequency Attenuation (IF = 200kHz) -105 dBm 35 dB Local Oscillator Leakage 2 nW Adjacent Channel Attenuation 55 dB RSSI Dynamic 90 dB 65 Operating Current (incl. onboard microcontroller)c mA Transmitter (all measurements made on a 50 Ohm resistive load) Output Power ERP 10 dBm Spurious Radiation (0 to 862 MHz) 2 nW Spurious Radiation (862 MHz to 3.
APPENDIX e. A latching solenoid is compatible with the addSWITCH A724 output signals, when following requirements are fulfilled: 5-15V operating voltage (programmable), 2 wire polarity reversal type, and activation energy equivalent to the charge of a 4700µF capacitor.
Index A about A724S4 addSWITCH, 5 LED, 10 addTIMER extension, 10 ANLG, 33 ANRT, 25 answer format, 24 B B, 25 battery, 11, 12 BLST, 26 booting RTU, 19 bootloader mode, 19 C CALC, 26 changing the battery, 12 CMDS, 26 command line interpreter errors, 42 commands ANLG, 33 ANRT, 25 B, 25 BLST, 26 CALC, 26 CMDS, 26 DATA, 27 DATASDI, 27 DPE, 27 DYNSLOT, 28 FDEV, 29 FREQ, 30 general format, 23 ID, 30 INFO, 31 MSTR, 32 PMP, 33 PORT, 33 ROUTE, 34 RSSI, 34 RX, 34 SBAT, 35 SLOT, 35 SST, 36
INDEX TIME, 37 TX, 37 TYPE, 38 valve control, 40 VER, 38 VERB, 38 XCONF, 39 XDATA, 39 XIMME, 39 communicating with RTU, 19 connectivity check, 9 connectors POWER, 16 RTU, 15 VALVE, 17 conventions, document, 6 D DATA, 27 DATASDI, 27 definitions connectors, 15 misery state, 10 device descriptors, 42 operation time, 11 document conventions, 6 DPE, 27 DYNSLOT, 28 E errors command line interpreter, 42 device descriptors and storage handler, 42 notifications, 43 radio interface, 43 real time clock, 43 F FDEV,
INDEX R radio interface errors, 43 reading status information, 41 real time clock errors, 43 restrictions for installation, 8 ROUTE, 34 RSSI, 34 RTU booting, 19 communicating with, 19 graphic, 8 I/O connector, 15 installing, 9 mainenance, 11 operational modes, 19 POWER connector, 16 upgrading firmware, 21 ruggedized, 6 RX, 34 S SBAT, 35 setting valve voltage, 42 SLOT, 35 special formatting in document, 6 SST, 36 storage handler errors, 42 switching valves, 40 T TIME, 37 TX, 37 TYPE, 38 U upgrading RTU f