IO Expansion Module User & Installation Manual



Similar documents
The Answer to the 14 Most Frequently Asked Modbus Questions

DS1621 Digital Thermometer and Thermostat

Modular I/O System Analog and Digital Interface Modules

Digital and Analog I/O

DS1621 Digital Thermometer and Thermostat

Digital I/O: OUTPUT: Basic, Count, Count+, Smart+

UniPi technical documentation REV 1.1

DS1307ZN. 64 x 8 Serial Real-Time Clock

Zlinx Wireless I/O. Peer-to-Peer and Modbus I/O B&B ELECTRONICS PRODUCT INFORMATION

DS Wire Digital Thermometer and Thermostat

ABB Drives. User s Manual HTL Encoder Interface FEN-31

L5354 ControlNet Communications Interface

RS - SPM. Serial parallel translator module

JNIOR. Overview. Get Connected. Get Results. JNIOR Model 310. JNIOR Model 312. JNIOR Model 314. JNIOR Model 410

NC-12 Modbus Application

PACKAGE OUTLINE DALLAS DS2434 DS2434 GND. PR 35 PACKAGE See Mech. Drawings Section

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

SYSTEM 4C. C R H Electronics Design

Technical Specifications: The specifications represent a particular hardware platform. Application-specific software is provided.

Whale 3. User Manual and Installation Guide. DC Servo drive. Contents. 1. Safety, policy and warranty Safety notes Policy Warranty.

Non-Isolated Analog Voltage/Current Output module IC695ALG704 provides four configurable voltage or current output channels. Isolated +24 VDC Power

NETWORK ENABLED EQUIPMENT MONITOR

SYSTEM 45. C R H Electronics Design

FM75 Low-Voltage Two-Wire Digital Temperature Sensor with Thermal Alarm

Bidirectional wireless communication using EmbedRF

Programming and Using the Courier V.Everything Modem for Remote Operation of DDF6000

KTA-223 Arduino Compatible Relay Controller

How To Use A Watt Saver On A Microcontroller (Watt Saver) On A Cell Phone Or Mp3 Player

User's Guide. Integrating Sound Level Datalogger. Model Introduction

Application/Connection Examples

WEA-Base. User manual for load cell transmitters. UK WEA-Base User manual for load cell transmitters Version 3.2 UK

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide

RS-485 Protocol Manual

[F/T] [5] [KHz] [AMP] [3] [V] 4 ) To set DC offset to -2.5V press the following keys [OFS] [+/-] [2] [.] [5] [V]

Modbus Communications for PanelView Terminals

MicroMag3 3-Axis Magnetic Sensor Module

SDN INSTRUCTIONS 07/10, Ver 1.2. Somfy Digital Network (SDN) Installation and Programming

Data sheet GIOD.1 Input/output module with CAN bus. ERP no.: Data sheet GIOD.1 V_3.0

Different Ways of Connecting to. 3DLevelScanner II. A.P.M Automation Solutions LTD. Version 3.0

Part Number Description Packages available

Technical data. General specifications. Indicators/operating means. Electrical specifications Operating voltage U B Power consumption P 0 Interface

CHAPTER 11: Flip Flops

STIM202 Evaluation Kit

Process modules Digital input PMI for 24 V DC inputs for 120 V AC inputs

MM74HC4538 Dual Retriggerable Monostable Multivibrator

Softstarters. Type PSTX Fieldbus communication, Built-in Modbus RTU. 1SFC132089M0201 April SFC132089M0201 1

DAM Series DAM124 4DIN+8AI+4DO Module Model No.:DAM124 WebSite:

Technical Manual. FAN COIL CONTROLLER COOLING or HEATING ANALOG or PWM Art A

DM Segment Decoder/Driver/Latch with Constant Current Source Outputs

F2103 GPRS DTU USER MANUAL

PCAN-MicroMod Universal I/O Module with CAN Interface. User Manual. Document version ( )

Technical data. General specifications. Indicators/operating means. 30 Hz Multiplex operation 30 Hz / n, n = number of sensors, n 5

Programmable set for Ethernet Modbus/TCP in IP67 TI-BL67-PG-EN-2

HDMM01 V1.0. Dual-axis Magnetic Sensor Module With I 2 C Interface FEATURES. Signal Path X

MADR TR. Single Driver for GaAs FET or PIN Diode Switches and Attenuators Rev. V1. Functional Schematic. Features.

LTC Channel Analog Multiplexer with Serial Interface U DESCRIPTIO

Modbus and ION Technology

Orbit PCI Mk 2 Network Card. User Manual. Part No Issue 4

MCB3101 (Class I) WiRobot Serial Bluetooth Wireless Module User Manual

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

Contents. Document information

User and installation manual

DS18B20 Programmable Resolution 1-Wire Digital Thermometer

Troubleshooting and Diagnostics

Vansco Multiplexing Module VMM1615. User Guide HY IB/US UG-VMM

High-Speed, 5 V, 0.1 F CMOS RS-232 Driver/Receivers ADM202/ADM203

RC2200DK Demonstration Kit User Manual

MADR TR. Quad Driver for GaAs FET or PIN Diode Switches and Attenuators Rev. 4. Functional Schematic. Features.

EVAL-UFDC-1/UFDC-1M-16

EXTERNAL DIMENSIONS AND PARTS

ABB Drives. User s Manual. Pulse Encoder Interface Module RTAC-01

Temp-485-Pt100. A temperature sensor (Pt100 or Pt1000) communicating over the RS-485 bus with a simple communication protocol

Smarthome SELECT Bluetooth Wireless Stereo Audio Receiver and Amplifier INTRODUCTION

Omron I/O Driver (Series 2) Programmable Serial Interface Card

User Manual. AS-Interface Programmer

EDI Distributor Control Interface Wiring and Setup Instructions

JTAG-HS2 Programming Cable for Xilinx FPGAs. Overview. Revised January 22, 2015 This manual applies to the HTAG-HS2 rev. A

DS1220Y 16k Nonvolatile SRAM

Features. V PP IN V CC3 IN V CC5 IN (opt) EN0 EN1 MIC2562

LG Air Conditioning Multi F(DX) Fault Codes Sheet. Multi Split Units

Road Vehicles - Diagnostic Systems

Transmitter Interface Program

Model 201 Wiegand Touchpad Reader Installation Guide

DS1220Y 16k Nonvolatile SRAM

DS1225Y 64k Nonvolatile SRAM

How to read this guide

G3 Series PROFIBUS DP Technical Manual

Ordering Part Numbers:

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

WA Manager Alarming System Management Software Windows 98, NT, XP, 2000 User Guide

SIMATIC S It s the Interplay that makes the difference. Siemens AG All Rights Reserved.

Model: DC-A2IO Advanced HVAC Controller

BIT COMMANDER. Serial RS232 / RS485 to Ethernet Converter

DK40 Datasheet & Hardware manual Version 2

TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL

Sierra Dual 24 Volt Brushless DC Motor Controller Product Specification

DMX2PWM 9 Channel Dimmer Setup Manual

Analog Servo Drive 25A8

74F675A 16-Bit Serial-In, Serial/Parallel-Out Shift Register

Transcription:

IO Expansion Module User & Installation Manual For FreeWave products: IOE-X-4422P IOE-X-4422PC December 10, 2009 1

User Manual Table of Contents Regulatory... 3 UL: Underwriters Laboratories... 3 General Information... 4 Ordering Information... 4 Physical Description... 5 Connector Description: IO... 6 Connector Description: Power... 8 LED Description... 8 Channel Description: Universal... 9 Universal: Analog Input... 9 Universal: Analog Output... 11 Universal: Digital Input... 12 Universal: Digital Output... 12 Channel Description: Analog Input... 13 Analog Input: Analog... 13 Analog Input: Digital... 14 Channel Description: Isolated Digital Input... 14 Channel Description: Isolated Relay Digital Output... 15 Stacking IO Expansion Modules... 16 Powering IO Expansion Modules... 17 Modbus Commands... 18 Custom Modbus Command 0x64: Read Stack Configuration... 18 Custom Modbus Command 0x66: Write Stack Configuration... 19 Stack Identification Number (Stack ID)... 19 Stack ID Dependent Offsets... 20 Configuring a Stand-Alone IO Expansion Stack (PC-based)... 22 Configuring a Wireless IO Expansion Stack (Radio-Based)... 24 Appendix A. Technical Specifications... 25 Appendix B. Modbus register map... 28 December 10, 2009 2

Regulatory The following regulatory information applies to all IO Expansion Modules. UL: Underwriters Laboratories This equipment is suitable for use in Class I, Division 2, Groups A, B, C and D or non-hazardous locations only. The connectors shall not be connected or disconnected while circuit is live unless area is known to be non-hazardous. WARNING: EXPLOSION HAZARD: Substitution of any component may impair suitability for Class I, Division 2. Input power and all I/O power, except relay output contacts, shall be derived from a single Class 2 power source. December 10, 2009 3

User Manual General Information The IO Expansion Module provides expandable digital input, digital output, analog input and analog output capabilities for any device with a Modbus controller. The IO Expansion Module can be added to Freewave radios to create a Modbus network with a scalable number inputs and outputs. Each IO Expansion Module also includes universally configurable pins providing total flexibility. Figure 1. IO Expansion Module. Ordering Information The following part numbers are available for purchase: IOE-X-4422P IOE-X-4422PC The part numbers for the IO Expansion Modules were assembled to provide a clear explanation of each module s feature set. Each character in the part number string has a meaning. The definition of each character set is listed below. IO Expansion Module Part Numbering: IOE X 4 4 2 2 P C Number of universally configurable channels (non-isolated) 4 Number of analog input channels (non-isolated) 4 Number of isolated, digital input channels 2 Number of isolated relay, digital output channels 2 If P, then on-board logic voltage power supply is present P If C, then module is equipped with RS232, RS422 and RS485 C communication stack for stand-alone stack December 10, 2009 4

Note: If you have a need for a different combination of inputs or outputs at high order volumes, we are happy to customize your build. For the fastest possible delivery the total number of digital input and relay outputs should equal 4. If necessary, we can increase or decrease the total number of dedicated digital inputs and outputs. Note: The IO Expansion modules ending in P are referred to as P modules. The IO Expansion modules ending in PC are referred to as PC modules. See the section Stacking IO Expansion Modules for more information. Physical Description The IO Expansion mechanical dimensions are shown in table 1. The measurements in inches are rounded to the nearest eighth (1/8) of an inch. Table 1. IO Expansion Modules physical properties. Module Length (in.) Width (in.) Depth (in.) Weight (lbs) IOE-X-4422-P 7 ⅛ 3 ⅛ 1 ½ 0.35 IOE-X-4422-PC 7 ⅛ 3 ⅜ 1 ½ 0.36 The IO Expansion Module has three connectors intended for user access. The two 12-pin connectors on the side of the module (shown in figure 2) are used for signal inputs and outputs. Consult the connector and pin descriptions for more information. Figure 2. Side view IO Expansion Module showing IO connectors. The 4-pin connector on the end of the unit (shown in figure 3) is for power. The silkscreen beside the power connector identifies the positive and negative terminals to apply power to the module. Consult the connector and pin descriptions for more information. December 10, 2009 5

User Manual Figure 3. End view of IO Expansion Module showing power connector. There are also two connectors embedded in the top surface of all IO Expansion Modules (shown in figures 2 and 3). These connectors serve as diagnostic and communication interfaces between IO Expansion Modules when multiple devices are stacked together. There are also two connectors on the bottom surface of P modules. The PC modules lack the diagnostic and communication connectors on the bottom surface since the PC modules serve as the base module. Connector Description: IO The two 12-pin connectors on the side of the module are used for inputs and outputs. Figure 4 shows the pin numbering and the pin description tables provide more specific information. There are four types of pins on the IO connectors. The types of pins are: - universally configurable pins, - configurable input pins, - electrically isolated, digital input pins, and - electrically isolated, relay output pins. For more detailed information on specific pins, see that pin type s specific description. December 10, 2009 6

Figure 4. Side view of IO Expansion Module showing IO connectors. Table 2. IO connector description for IOE-X-4422 products. Pin # Pin Name Modbus Ref. Description 1 Universal 1 + I/O Channel 1 Universally configurable channel 1 2 Universal 1 - Signal ground for universal 1 3 Universal 2 + I/O Channel 2 Universally configurable channel 2 4 Universal 2 - Signal ground for universal 2 5 Universal 3 + I/O Channel 3 Universally configurable channel 3 6 Universal 3 - Signal ground for universal 3 7 Universal 4 + I/O Channel 4 Universally configurable channel 4 8 Universal 4 - Signal ground for universal 4 9 Configurable Input 1 + I/O Channel 5 Configurable input channel 1 10 Configurable Input 1 - Signal ground for configurable input 1 11 Configurable Input 2 + I/O Channel 6 Configurable input channel 2 12 Configurable Input 2 - Signal ground for configurable input 2 13 Configurable Input 3 + I/O Channel 7 Configurable input channel 3 14 Configurable Input 3 - Signal ground for configurable input 3 15 Configurable Input 4 + I/O Channel 8 Configurable input channel 4 16 Configurable Input 4 - Signal ground for configurable input 4 17 Isolated Digital Input 1+ I/O Channel 9 Isolated digital input channel 1 18 Isolated Digital Input 1 - Signal ground for digital input 1 19 Isolated Digital Input 2+ I/O Channel 10 Isolated digital input channel 2 20 Isolated Digital Input 2 - Signal ground for digital input 2 21 Relay Output 1+ I/O Channel 11 Relay output channel 1 22 Relay Output 1 - Signal ground for relay output 1 23 Relay Output 2 + I/O Channel 12 Relay output channel 2 24 Relay Output 2 - Signal ground for relay output 2 The Modbus Ref. entry in table 2 is the name of the signal as referenced in the Modbus register maps of appendix B. December 10, 2009 7

User Manual Connector Description: Power The 4-pin power connector at the end of module is used to supply power to the device. Figure 5 shows the pin numbering and table 3 contains pin specific information. Figure 5. End view of IO Expansion Module showing power connector. Table 3. Pin description of 4-pin power connector. Pin number Pin Name Description 1 Ground (GND) Device ground, power return. 2 Power (V DD ) Device power supply 3 Ground (GND) Device ground, power return. 4 Reserved Do not connect. LED Description Power LED Inbound LED The three light emitting diodes (LEDs) located on the side of the IO expansion modules represent power, inbound communication and outbound communication. They are labeled P, I and O, respectively. The power LED indicates that power is being supplied to the IO expansion module. The LED will be solid green when the board is powered in regular power mode. In low power mode the LED will flash green. The inbound LED indicates that an inbound message is being received by the module. Communication originates at the base of the IO expansion stack and propagates upwards to the stacked modules. The light will flash red when the module is receiving and green when the module is transmitting. December 10, 2009 8

Outbound LED The outbound LED indicates that an outbound message is propagating from the P Module toward the base of the stack, and from the PC module to the external equipment. The light will flash red when the module is receiving and green when the module is transmitting. LED Status: Firmware Upgrade The beginning of a firmware upgrade is indicated to the user by flashing all LEDs red once. When the firmware upgrade is complete, all LEDs will flash red multiple times. LED Status: Communication Reset A communication reset is indicated to the user by flashing the Inbound and Outbound LEDs green only once. Channel Description: Universal The non-isolated, universal channels can be configured individually by the user to act as an analog input (AI), analog output (AO), digital input (DI), or digital output (DO). The following sub-sections describe each setting in detail. Universal: Analog Input When configured as an analog input, the universal pin is capable of operating in two modes: voltage mode (AI-V) or current mode (AI-I). In both modes, the analog-to-digital converters (ADC) offer up to 20-bit resolution, allowing implementation in the most critical variables of a system. The justification can be set to left-justified to provide poll a single 16-bit word to obtain the 16-bit reading, or the full 20-bit value can be accessed by reading two words separately. In both modes, the analog input channels provide voltage and current readings with 20-bit resolution. Depending on the operation mode, the floating point register for each channel will return a normalized voltage reading in Volts (V) or a normalized current reading in milli-amps (ma). The user has the ability to change the nominal voltage range and nominal current range so that the IO Expansion module returns ADC integer results on a user-specified scale. For example, the user can change the nominal voltage range to 10.0V to have max ADC count at 10.0V. Likewise, the user can change the nominal current range to 40mA to have max ADC count at 40mA. By default, the nominal voltage range and nominal current range are set to their full-scale levels (25.0V and 100mA December 10, 2009 9

User Manual respectively). The normalized, floating-point values remain in mv and µa regardless of nominal range settings. For data compatibility with FGR-IO and FGR2-IO devices, set the nominal voltage range to 10.0V in voltage-mode. If using a 250Ω external sense resistor on the FGR-IO or FGR2-IO unit, set the nominal current range on the IO Expansion module to 40mA. If using a 125Ω sense resistor, set the nominal current range on the IO Expansion module to 80mA. If using a different resistor value, use the following formula to determine the correct IO Expansion nominal current rage: IOX nominal current range (ma) = = 1000 * V REF,FGR (V) / R SNS,FGR (Ω) = = 1000 * 10.0V / R SNS,FGR (Ω) In voltage mode the pin will act as an analog input with high input impedance and scaling. The full scale input voltage is 25V, but a voltage up to 30V can be applied to the pin without damaging the device if the device s power supply is also 30V. Figure 6 shows an example wiring setup for the pins in voltage mode. Figure 6. Sample wiring diagram for voltage-mode, analog inputs. In current mode, a 250 Ohm sense resistor is switched in between the two terminals, converting the external 4-20 ma signal to a 1-5V signal on the IO Expansion module. This signal is then scaled and converted to a digital value. In AI-I mode, the input voltage to the terminal is continuously monitored to protect against overheating. Figure 7 shows an example wiring set-up for the pins in AI-I mode. December 10, 2009 10

Figure 7. Sample wiring diagram for current-mode, analog inputs. Universal: Analog Output When functioning as an analog output, the universal pins are capable of operating in two modes: Sensor Power Mode or 4-20mA Output Mode. In Sensor Power Mode (AO-V), the AO pin is capable of providing current at the same voltage level as the input voltage supplied to the radio. The pin is capable of providing approximately 150 ma of current if the supply voltage is 12 V. In 4-20mA Output Mode (AO-I), the pin will attempt to source the proper current, regardless of what resistance is applied. The typical termination resistor used is 250 Ohms, implying a 1-5V output voltage. Figure 8 shows two example wiring set-ups for the analog output configured pins. Figure 8. Sample wiring diagram for non-isolated, analog outputs. December 10, 2009 11

User Manual Universal: Digital Input When functioning as a digital input, applying a voltage above 3.0V on the positive terminal will register as logic high and applying a voltage less than 2.5V will return logic low. The digital input configured universal pins can also provide counting up to 10Hz. The universal channel digital inputs can also be configured to enable an internal pull-up or pull-down resistor. Figure 9 shows 3 wiring diagrams for the digital input configured pins. Figure 9. Sample wiring diagram for non-isolated, digital inputs. Universal: Digital Output When functioning as a digital output, the universal pins are configured as open drain drivers. This allows the pin to sink up to 1 Amp to ground, be electrically open, or tri-stated. Figure 10 shows an example of a wiring setup for the digital output configured pins. December 10, 2009 12

Figure 10. Sample wiring diagram for non-isolated, digital outputs. The digital output current is continuously sampled to protect against overheating. Instantaneous over-current protection is provided by hardware. Note: In a Class I, Division 2 installation, any load connected to the interface pins on this equipment requiring a positive voltage rail must use the same power source as used to power this equipment. Note: The source voltage on the power supply driving the load must always be less than the source voltage on the IO Expansion module power supply. Each digital output on the IO Expansion module contains a Schottky diode equivalent to the power supply in order to prevent damage caused by fly-back current. If the source voltage on the power supply driving the load is higher than the source voltage on the IO Expansion module power supply, then the Schottky diode would allow the output pin to sink current. This can prevent the coil current from shutting off and cause an over voltage condition in the IO Expansion module. Channel Description: Analog Input The non-isolated, configurable input channels can be used as analog or digital inputs. Analog Input: Analog The analog input pins have the same characteristics and operation modes as the analog input configured universal pins. In both analog input modes the ADCs offer up to 20-bit resolution, allowing implementation in the most critical variables of a system. The bit alignment can be set to provide 16- bit resolution by reading a single word, or the full 20-bit value can be accessed by reading two words separately. In voltage mode, the pin will act as an analog input with pseudo isolation and scaling, allowing a full input range of 0-30V on the terminal (25 V will be the approximate upper limit of the accurate range). In current mode, a 250 Ohm termination resistor is placed between the two terminals, converting a supplied 4-20 ma signal to a 1-5V signal on the board. This signal is then scaled and converted. In AI-I mode, the input voltage to the terminal is continuously monitored to protect against overheating. In both modes, the analog input channels provide voltage and current readings with 20-bit resolution. Depending on the operation mode, the December 10, 2009 13

User Manual floating point register for each channel will return a normalized voltage reading in Volts (V) or a normalized current reading in milli-amps (ma). The user has the ability to change the nominal voltage range and nominal current range so that the IO Expansion module returns ADC integer results on a user-specified scale. For example, the user can change the nominal voltage range to 10.0V to have max ADC count at 10.0V. Likewise, the user can change the nominal current range to 40mA to have max ADC count at 40mA. By default, the nominal voltage range and nominal current range are set to their full-scale levels (25.0V and 100mA respectively). The normalized, floating-point values remain in mv and µa regardless of nominal range settings. For data compatibility with FGR-IO and FGR2-IO devices, set the nominal voltage range to 10.0V in voltage-mode. If using a 250Ω external sense resistor on the FGR-IO or FGR2-IO unit, set the nominal current range on the IO Expansion module to 40mA. If using a 125Ω sense resistor, set the nominal current range on the IO Expansion module to 80mA. If using a different resistor value, use the following formula to determine the correct IO Expansion nominal current rage: IOX nominal current range (ma) = = 1000 * V REF,FGR (V) / R SNS,FGR (Ω) = = 1000 * 10.0V / R SNS,FGR (Ω) Analog Input: Digital When functioning as a non-isolated digital input, an applied voltage above 3.0V on the terminal of the universal pins will register as logic high and an applied voltage less than 2.5V will return logic low. When configured as digital inputs, the channel can also provide pulse counting up to 10Hz. The configurable input channels do not have selectable pull-up or pull-down resistors. Channel Description: Isolated Digital Input The optically isolated digital input pins accept an input voltage range of 0V to 30V (AC or DC). The inputs are dual polarity, making connections simple. Applying a voltage difference across the two pins above 3.2V will return logic high, while a voltage difference below 1.2V will return logic low. The isolated digital input pins can also provide fast counting capabilities up to 10 khz. Figure 11 shows a sample wiring set-up for the isolated digital input pins. December 10, 2009 14

Figure 11. Sample wiring diagram for isolated digital inputs. Channel Description: Isolated Relay Digital Output The relay output channels provide digital output capability with single pole, single throw relays. The relays have a rated resistive load of 5A at 30V DC /250V AC and a rated inductive load of 2A at 30V DC /250V AC. Figures 12 and 13 show wiring diagrams for isolated relay digital outputs. Figure 12. Sample wiring diagram for isolated relay digital outputs. December 10, 2009 15

User Manual Figure 13. Sample wiring diagram for isolated relay digital output. Stacking IO Expansion Modules The bottom unit in an IO Expansion stack is referred to as the base unit (also referred to as the base module). The base unit must be one of the following: PC IO Expansion module (e.g. IOE-X-4422PC) Expansion format radio (e.g. FGR2-IO-IOE) Up to sixteen (16) P modules can be stacked on top of a base module. The P modules alone will not communicate. Figure 14 shows a typical IO Expansion stack, consisting of two P modules stacked on top of a FGR2-IO-IOE serial radio. In this case, the base module is the FGR2-IO- IOE radio. December 10, 2009 16

Figure 14. Two IO Expansion Modules stacked on an IO radio, mounted on a DIN rail. Powering IO Expansion Modules The IO Expansion module requires an input voltage between 6V and 30V. All IO Expansion modules in a stack share power through the interface connectors. By providing power to one module in an IO Expansion stack, all modules will be powered. The modules can be powered through the 10-pin serial connector or through the 4-pin power connector on the end of the unit. An 800 ma power supply is included with the IO Expansion module. Depending on the number of stacked modules and the amount of current they source to external equipment, the 800mA power supply may be insufficient. An alternate power supply with a higher current rating may be needed. To power the modules through the 10-pin serial connector, first plug the supplied power supply into a mains outlet. Then, insert the male barrel December 10, 2009 17

User Manual plug into the female barrel receptacle on the data cable (Freewave part number ASC3610DJ). Connect the data cable to the stack of expansion modules. To power the modules through the 4-pin power connector on the end of the module, connect ground to pin 1 and the active power line to pin 2 of the connector. Figure 5 in this document shows the pin-out for the power connector. The silkscreen text beside the 4-pin power connector can be used as a connection reference: + -, INPUT DC, 6 30V. Modbus Commands The IO Expansion modules support the following Modbus commands: 0x01: Read Coils 0x02: Read Discrete Inputs 0x03: Read Holding Registers 0x04: Read Input Registers 0x05: Write Single Coil 0x06: Write Single Register 0x0F: Write Multiple Coils 0x10: Write Multiple Registers In addition to the standard Modbus commands listed above, the IO Expansion modules also support two custom commands. 0x64: Read Stack Configuration 0x66: Write Stack Configuration Custom Modbus Command 0x64: Read Stack Configuration The formats of the read stack configuration request and response are shown in tables 4 and 5 respectively. Table 4. Read stack configuration command. Byte Index Description 0 Modbus address 1 Modbus function code (0x64) 2 Address of the first register to be read, high byte 3 Address of the first register to be read, low byte 4 Number of registers to read from, high byte 5 Number of registers to read from, low byte 6 Packet CRC, high byte (calculated over all bytes) 7 Packet CRC, low byte The response to the read stack configuration command will be repeated as many times as there are boards on the IO Expansion stack. December 10, 2009 18

Table 5. Read stack configuration response. Byte Index Description 0 Modbus address 1 Modbus function code (0x64) 2 Byte count 3 First read register, high byte 4 First read register, low byte (n registers are transmitted) 5 + 2 x n Packet CRC, high byte (calculated over all bytes) 5 + 2 x n + 1 Packet CRC, low byte Custom Modbus Command 0x66: Write Stack Configuration The formats of the write stack configuration request and response are shown in tables 6 and 7 respectively. Table 6. Write stack configuration command. Byte Index Description 0 Modbus address 1 Modbus function code (0x66) 2 Address of the first register to be written, high byte 3 Address of the first register to be written, low byte 4 Number of registers to write to, high byte 5 Number of registers to write to, low byte 6 Byte count to follow ( = 2 * number of registers to write) 7 Value of the first register to write, high byte 8 Value of the first register to write, low byte (n registers are transmitted) 8 + 2 x n Packet CRC, high byte (calculated over all bytes) 8 + 2 x n + 1 Packet CRC, low byte The response to the write stack configuration command will be repeated as many times as there are boards on the IO Expansion stack. Table 7. Write stack configuration response. Byte Index Description 0 Modbus address 1 Modbus function code (0x66) 2 Address of the first register to be written, high byte 3 Address of the first register to be written, low byte 4 Number of registers to write to, high byte 5 Number of registers to write to, low byte 6 Packet CRC, high byte (calculated over all bytes) 7 Packet CRC, low byte Note: The write stack configuration response has the same format as the Modbus write input register command response. Stack Identification Number (Stack ID) December 10, 2009 19

User Manual Each module in an IO Expansion stack is automatically assigned a stack ID. The stack ID is used to create a unique register address for each module in the stack. The stack ID of the base module (PC Module or radio module) is automatically assigned to 0. The stack IDs for each additional IO Expansion Module is incremented by one. Figure 14 shows a stack of IO Expansion modules. In the configuration shown, the stack ID of the radio is 0. The stack ID of the first IO Expansion module, connected to the radio, is 1. The stack ID of the second IO Expansion module, the module on the far left of the diagram, is 2. Stack ID Dependent Offsets Each IO expansion module that has a stack ID also has a stack ID dependent offset. The stack ID dependent offset is used to calculate a unique address to read and write to the IO Expansion Module. The stack ID and the stack ID dependent offset are related by the following formula: Stack ID dependent offset = Stack ID x 200 Example: Consider figure 14. Let s read the digital input registers for pin 17 on both IO Expansion Modules. From the connector description in table 2, we see that pin 17 corresponds to I/O Channel 9 in the Modbus protocol. First we calculate the stack ID dependent offset for each module: Stack ID dependent offset for first stacked module = = (Stack ID of first IO Expansion Module) x 200 = = 1 x 200 = = 200 Stack ID dependent offset of second stacked module = = (Stack ID of second IO Expansion Module) x 200 = = 2 x 200 = = 400 Next, we find the desired register s protocol address by consulting the register map in Appendix A. For this example, the desired register resides at protocol address 10,008. Finally, we find the unique protocol address for I/O Channel 9 on both IO Expansion modules. The unique address is the desired protocol address (from the register map) PLUS the stack ID dependent offset. December 10, 2009 20

Modbus address of I/O Channel 9 on first IO Expansion module = = Desired protocol address + Stack ID dependent offset = = 10,008 + 200 = = 10,208 Modbus address of I/O Channel 9 on second IO Expansion module= = Desired protocol address + Stack ID dependent offset = = 10,008 + 400 = = 10,408 We read the registers located at protocol address 10,208 and 10,408 to read the status of I/O Channel 9 (pin 17) on the first and second IO Expansion Modules, respectively. December 10, 2009 21

User Manual Configuring a Stand-Alone IO Expansion Stack (PC-based) The IO expansion modules (Freewave part numbers IOE-X-4422PC and IOE-X-4422P) have multi-purpose pins that can be configured as either input or output, and analog or digital. Configuring the pins of the IOE-X- 4422PC and IOE-X-4422P is simple to do with the IO-X-Demo software application. IO-X-Demo Software Application The IO-X-Demo software application is a temporary tool developed specifically for IO expansion modules. IO-X-Demo allows the user to configure input pins, output pins and communication settings. The Tool Suite application available from the Freewave web site will be used in the future for input/output pin configuration. Step 1: Stack Expansion Modules Stack all modules to be used in the stack with the PC module as the base. Apply power to the stack (see the section Powering IO Expansion Modules for more detail). When the modules are stacked and powered, all of the modules will automatically inherit the baud rate and the stack ID for each module will also be assigned appropriately. Step 2: Set the Modbus ID Connect the data cable to the top module in the stack. Open the IO-X- Demo software application. Figure 15 shows a screen shot of the application. Figure 15. IO-X-Demo software application. December 10, 2009 22

Press the Setup button located in the upper right-hand corner of the IO- X-Demo window. The Communication Setup menu shown in figure 16 should appear. Figure 16. Communication setup menu. Select the correct Com port and baud rate to communicate with the module. If you are unable to communicate with the module, restore the default communication settings (see the end of this document). Type the desired Modbus ID for the stack. Press OK. The Communication Setup menu will close. Step 3: Select Pin Functionality Open the IO-X-Demo application and click the Setup button. Type the stack ID of the module to configure. Click OK. Note: The stack ID of the PC module is always 0. The stack ID of each P module is one higher than the module on top of which it is stacked. Select the desired pin function for each pair of pins on the module. Pins 1 through 8 are universal pairs and can be configured as digital outputs, digital inputs, analog outputs or analog inputs. If using an analog function, be sure to select the correct mode (voltage mode or current mode). See the device s technical specification for more information on different analog modes. Once the pin configuration is set correctly, press the Set Config button. Doing so will write all the pin settings to the module. Repeat this step until all modules are configured as desired. December 10, 2009 23

User Manual Step 4: Restoring Default Settings If communication between the module and the computer cannot be achieved, it may be necessary to restore default communication settings. To reset the communication settings press the reset button on the data cable (part number ASC3610DJ) and hold it for 5 seconds. The communication reset can be performed on each module individually by removing the unit from the stack and issuing a communication reset. Or, the communication reset can be issued to all units in the stack by connecting all modules and performing the communication reset to the top module. Upon a communication reset, the lights for I and O will flash green once. Here is a list of default settings for the expansion modules: Communication: RS232 Baud rate: 19,200 kb/s Data bits: 8 Parity: none Modbus ID: 1 Stop bits: 1 Addressing Mode: 8-bit Configuring a Wireless IO Expansion Stack (Radio-Based) First, use the Tool Suite application to configure the radio network. Consult the radio module s user manual for instructions. Then, stack the P modules on the radios exactly the way they will be in the field and power the stack. Connect the master radio to a computer with a Modbus host application. Configure the pin functionality of the desired modules by using the appropriate Modbus ID, stack ID dependent offsets and register address for each pin on the P module. The tables in appendix B contain the complete register map to configure and read the IO Expansion modules. December 10, 2009 24

Appendix A. Technical Specifications Absolute Maximum Ratings Storage temperature Operating temperature Voltage on any non-isolated pin with respect to GND Maximum current sunk by any relay output (resistive load) Maximum current sunk by any relay output (inductive load) Maximum current sunk by any non-isolated digital output Maximum total current sunk by all channels, IOE-X-4422-65 C to +100 C -40 C to +70 C -0.3V to (V DD + 0.3V) 5A 2A 1A 14A DC Characteristics Table A1. Operating supply voltage Item Symbol Min Max Units Supply voltage IOE-X-4422P V DD 6.0 30.0 V IOE-X-4422PC V DD 6.0 30.0 V Table A2. Current consumption at 25 C Item Symbol Typ Max Units Supply current, V DD = 6V IOE-X-4422P I DD tbd tbd ma IOE-X-4422PC I DD tbd tbd ma Supply current, V DD = 12V IOE-X-4422P I DD tbd tbd ma IOE-X-4422PC I DD tbd tbd ma Supply current, V DD = 24V IOE-X-4422P I DD tbd tbd ma IOE-X-4422PC I DD tbd tbd ma Supply current, V DD = 30V IOE-X-4422P I DD tbd tbd ma IOE-X-4422PC I DD tbd tbd ma * Supply current is measured with all channels disabled. Adding a load that is actively driven by the IO Expansion module will increase the supply current by that amount. Table A3. Digital input logic levels Item Symbol Min Max Units Non-isolated, digital inputs Input-low voltage * V IL 0 2.5 V Input-high voltage * V IH 3.0 V DD V Isolated, digital inputs Input-low voltage ** V IL 0 1.2 V Input-high voltage ** V IH 3.2 30 V * Input voltage for non-isolated, digital input is referenced from channel return pin, or device ground if return pin is disconnected. ** Input voltage for isolated, digital input channels is measured across the channels two pins. The voltage is independent of polarity since the pins are dual polarity. December 10, 2009 25

User Manual Table A4. Digital output logic levels Item Symbol Min Max Units Non-isolated, digital outputs Output-low resistance * R OL 600 - MΩ Output-high resistance * R OH - 0.150 Ω Output-high sinking current I OH - 1 A Isolated, relay outputs Output-low resistance ** R OL 1,000 - MΩ Output-high resistance ** R OH - 0.100 Ω Output-high sinking current, resistive load I OH,R - 5 A Output-high sinking current, inductive load I OH,I - 2 A * Output resistance for non-isolated outputs is referenced from channel return pin, or device ground if return pin is disconnected. ** Output resistance for isolated, relay outputs is measured across the channel s two pins. AC Characteristics Table A5. Pulse counting timing parameters Item Symbol Min Max Units Non-isolated, digital inputs Pulse width T PC 50 - ms Frequency F PC - 10 Hz Isolated, digital inputs Pulse width T PC 50 - µs Frequency F PC - 10 khz Analog-to-Digital Converter Characteristics V Table A6. Analog-to-digital converter parameters across entire operating temperature Item Symbol Min Typ Max Units Voltage mode Analog input voltage universal channel V IN 0 - Lesser of 12.5V or V DD Analog input voltage analog input channel V IN 0-12.5 V Full-scale input voltage * V FS - 10 - V Resolution Res. - 20 - Bit Scaling factor (all 20 bits) * F S,V,20-9.54 - µv/lsb Scaling factor (upper 16 bits) * F S,V,16-153 - µv/lsb Accuracy (at 5V input) V MEAS 0.0-0.1 % Current mode Analog input current universal channel I IN 0 - V DD / 250 ma Analog input current analog input channel I IN 0-50 ma Full-scale input current * I FS - 40 - ma Resolution Res. - 20 - Bit Scaling factor (all 20 bits) * F S,I,20-38.1 - na/lsb Scaling factor (upper 16 bits) * F S,I,16-610 - na/lsb Accuracy (at 20mA input) I MEAS 0.0-0.1 % * The integer scaling factor is calculated relative to the full-scale input voltage and fullscale current. By changing the nominal voltage range register or nominal current range register to any value other than the full-scale input range, the scaling factor will change accordingly so that maximum integer output occurs at that value. December 10, 2009 26

Digital-to-Analog Converter Characteristics Table A7. Digital-to-analog converter parameters across full operating temperature Item Symbol Min Typ Max Units Voltage mode (sensor power) Analog output voltage V OUT V DD 1 V DD 0.5 V DD V Output current I OUT,V 0-10 ma Current mode Analog output current * I OUT 0-65.535 ma Full-scale output current I OUT,FS - 65.535 - ma Resolution Res. - 16 - Bit Integer scaling factor * F S,I - 1.0 - µa/lsb Voltage on output pin V OUT,I 0 - V DD 0.5 V Accuracy (at 20mA output) I OUT 0 - tbd % * The analog output cannot source a current that causes the output pin voltage to rise above V DD. The maximum analog output current is the lesser of 65.5mA or V DD / R L, where R L is the load resistance. December 10, 2009 27

User Manual Appendix B. Modbus register map The following tables describe the Modbus register map for the IO Expansion Modules. The specified register addresses are decimal addresses with base = 0 (not PLC addresses with base = 1). Note: Consult the FGRIO Modbus user manual for the FGR2-IO-IOE register map. Note: To use the Modbus register address offsets in the following tables, add the stack ID dependent offset for the appropriate module in the stack. Coil Read/Write Registers The starting address for these registers is 0. Use Modbus commands 0x01 (1, read coils), 0x05 (5, write single coil), and 0x0F (15, write multiple coils). Modbus Register Address Offset Table B1: Coil read/write registers. Register Description Variable Type Factory Default 0-11 Digital Output Registers for I/O Channel 1-12 Bit - 12-23 Reserved for Digital Output Registers for I/O Channel 13-24 Bit - 24-35 Default Setting Enable (0-disabled / 1-enabled) Registers for I/O Channel 1-12 Bit 1 36-47 Reserved for Default Setting Enable (0-disabled / 1-enabled) Registers for I/O Channel 13-24 Bit - 48-59 Default Digital Output Setting Registers for I/O Channel 1-12 Bit 0 60-71 Reserved for Default Digital Output Setting Registers for I/O Channel 13-24 Bit - 72-83 Digital Input Clear Pulse Counter (1 clears register) Registers (always read 0) for I/O Channel 1-12 Bit - 84-95 Reserved for Digital Input Clear (1 clears register) Pulse Counter Registers (always read 0) for I/O Channel 13-24 Bit - 96-107 Digital Input Pulse Counter Edge (0-rising / 1-falling) Select Registers for I/O Channel 1-12 Bit 0 108-119 Reserved for Digital Input Pulse Counter Edge (0-rising / 1-falling) Select Registers for I/O Channel 13-24 Bit - 120-127 Analog Input/Output Mode (0-voltage / 1-current) Select Registers for I/O Channel 1-8 Bit 0 128-135 Reserved for Analog Input/Output Mode (0-voltage / 1-current) Select Registers for I/O Channel 9-16 Bit - December 10, 2009 28

Discrete Input-Read Only Registers Modbus Register Address Offset The starting address for these registers can be either 0 or 10,000. Use Modbus command 0x02 (2, read discrete inputs). Table B2: Discrete input read-only registers. Register Description Variable Type 0-11 Digital Input Registers for I/O Channel 1-12 Bit 12-13 Reserved for Digital Input Registers for I/O Channel 13-24 Bit 24-35 Circuitry Protection (0-inactive / 1-active) Registers for I/O Channel 1-12 Bit 36-47 Reserved for Circuitry Protection (0-inactive / 1-active) Registers for I/O Channel 13-24 Bit 48-79 Reserved Bit Input Read-Only Registers The starting address for these registers can be either 0 or 30,000. Use Modbus command 0x04 (4, read input registers). Modbus Register Address Offset Table B3: Input read-only registers. Register Description Variable Type 0 20-bit Precision Analog Input High Count Register for I/O Channel 1 1 20-bit Precision Analog Input Low Count Register for I/O Channel 1 2 20-bit Precision Analog Input High Count Register for I/O Channel 2 3 20-bit Precision Analog Input Low Count Register for I/O Channel 2 4 20-bit Precision Analog Input High Count Register for I/O Channel 3 5 20-bit Precision Analog Input Low Count Register for I/O Channel 3 6 20-bit Precision Analog Input High Count Register for I/O Channel 4 7 20-bit Precision Analog Input Low Count Register for I/O Channel 4 8 20-bit Precision Analog Input High Count Register for I/O Channel 5 9 20-bit Precision Analog Input Low Count Register for I/O Channel 5 10 20-bit Precision Analog Input High Count Register for I/O Channel 6 11 20-bit Precision Analog Input Low Count Register for I/O Channel 6 12 20-bit Precision Analog Input High Count Register for I/O Channel 7 13 20-bit Precision Analog Input Low Count Register for I/O Channel 7 14 20-bit Precision Analog Input High Count Register for I/O Channel 8 15 20-bit Precision Analog Input Low Count Register for I/O Channel 8 16-31 Reserved for 20-bit Precision Analog Input High and Low Count Registers for I/O Channel 9-16 32 20-bit Precision Analog Input High of Mode-Dependant Normalized Floating Point Register for I/O Channel 1 33 20-bit Precision Analog Input Low of Mode-Dependant Normalized Floating Point Register for I/O Channel 1 December 10, 2009 29

User Manual 34 20-bit Precision Analog Input High of Mode-Dependant Normalized Floating Point Register for I/O Channel 2 35 20-bit Precision Analog Input Low of Mode-Dependant Normalized Floating Point Register for I/O Channel 2 36 20-bit Precision Analog Input High of Mode-Dependant Normalized Floating Point Register for I/O Channel 3 37 20-bit Precision Analog Input Low of Mode-Dependant Normalized Floating Point Register for I/O Channel 3 38 20-bit Precision Analog Input High of Mode-Dependant Normalized Floating Point Register for I/O Channel 4 39 20-bit Precision Analog Input Low of Mode-Dependant Normalized Floating Point Register for I/O Channel 4 40 20-bit Precision Analog Input High of Mode-Dependant Normalized Floating Point Register for I/O Channel 5 41 20-bit Precision Analog Input Low of Mode-Dependant Normalized Floating Point Register for I/O Channel 5 42 20-bit Precision Analog Input High of Mode-Dependant Normalized Floating Point Register for I/O Channel 6 43 20-bit Precision Analog Input Low of Mode-Dependant Normalized Floating Point Register for I/O Channel 6 44 20-bit Precision Analog Input High of Mode-Dependant Normalized Floating Point Register for I/O Channel 7 45 20-bit Precision Analog Input Low of Mode-Dependant Normalized Floating Point Register for I/O Channel 7 46 20-bit Precision Analog Input High of Mode-Dependant Normalized Floating Point Register for I/O Channel 8 47 20-bit Precision Analog Input Low of Mode-Dependant Normalized Floating Point Register for I/O Channel 8 48-63 Reserved for 20-bit Precision Analog Input High and Low of Normalized Floating Point Registers for I/O Channel 9-16 64 Digital Input High Pulse Counter Register for I/O Channel 1 65 Digital Input Low Pulse Counter Register for I/O Channel 1 66 Digital Input High Pulse Counter Register for I/O Channel 2 67 Digital Input Low Pulse Counter Register for I/O Channel 2 68 Digital Input High Pulse Counter Register for I/O Channel 3 69 Digital Input Low Pulse Counter Register for I/O Channel 3 70 Digital Input High Pulse Counter Register for I/O Channel 4 71 Digital Input Low Pulse Counter Register for I/O Channel 4 72 Digital Input High Pulse Counter Register for I/O Channel 5 73 Digital Input Low Pulse Counter Register for I/O Channel 5 74 Digital Input High Pulse Counter Register for I/O Channel 6 75 Digital Input Low Pulse Counter Register for I/O Channel 6 76 Digital Input High Pulse Counter Register for I/O Channel 7 77 Digital Input Low Pulse Counter Register for I/O Channel 7 78 Digital Input High Pulse Counter Register for I/O Channel 8 79 Digital Input Low Pulse Counter Register for I/O Channel 8 80 Digital Input High Pulse Counter Register for I/O Channel 9 81 Digital Input Low Pulse Counter Register for I/O Channel 9 82 Digital Input High Pulse Counter Register for I/O Channel 10 83 Digital Input Low Pulse Counter Register for I/O Channel 10 84 Digital Input High Pulse Counter Register for I/O Channel 11 85 Digital Input Low Pulse Counter Register for I/O Channel 11 December 10, 2009 30

86 Digital Input High Pulse Counter Register for I/O Channel 12 87 Digital Input Low Pulse Counter Register for I/O Channel 12 88-111 Reserved for Digital Input High and Low Pulse Counter Register for I/O Channel 13-24 112-127 Reserved 128-151 Reserved 152 Temperature [deg C] Analog Input Register Signed W 153 Supply Voltage [mv] Analog Input Register 154-157 Reserved 158 Firmware Revision Number Register 159 Firmware Sub-revision Number (the firmware number is in the format rev number.sub rev number) 160 Most Significant of the Serial Number 161 Next of the Serial Number 162 Next of the Serial Number 163 Least Significant of the Serial Number 164 First Two Characters of the Board Type String 165 Second Two Characters of the Board Type String 166 Third Two Characters of the Board Type String 167 Fourth Two Characters of the Board Type String 168 Fifth Two Characters of the Board Type String 169 Sixth Two Characters of the Board Type String 170 Seventh Two Characters of the Board Type String 171 Eighth Two Characters of the Board Type String December 10, 2009 31

User Manual Holding Read/Write Registers The starting address for these registers can be either 0 or 40,000. Use Modbus commands 0x03 (3, read holding registers), 0x06 (6, write single register) and 0x10 (16, write multiple registers). Table B4: Holding read/write registers. Modbus Register Address Offset Register Description Variable Type Factory Default 0-3 Analog Count Setting Registers for I/O Channels 1-4 - 4-7 Reserved for Analog Count Setting Registers for I/O Channels 5-8 - 8-11 Analog Default Count Setting Registers for I/O Channels 1-4 0 12-15 Reserved for Analog Default Count Setting Registers for I/O Channels 5-8 - 16 I/O Channel Function Select (0-disabled / 1-digital out / 2-digital in / 3-analog out / 4-analog in) Registers for I/O Channel 1 0 17 I/O Channel Function Select (0-disabled / 1-digital out / 2-digital in / 3-analog out / 4-analog in) Registers for I/O Channel 2 0 18 I/O Channel Function Select (0-disabled / 1-digital out / 2-digital in / 3-analog out / 4-analog in) Registers for I/O Channel 3 0 19 I/O Channel Function Select (0-disabled / 1-digital out / 2-digital in / 3-analog out / 4-analog in) Registers for I/O Channel 4 0 20 I/O Channel Function Select (0-disabled / 1-digital out / 2-digital in / 3-analog out / 4-analog in) Registers for I/O Channel 5 0 21 I/O Channel Function Select (0-disabled / 1-digital out / 2-digital in / 3-analog out / 4-analog in) Registers for I/O Channel 6 0 22 I/O Channel Function Select (0-disabled / 1-digital out / 2-digital in / 3-analog out / 4-analog in) Registers for I/O Channel 7 0 23 I/O Channel Function Select (0-disabled / 1-digital out / 2-digital in / 3-analog out / 4-analog in) Registers for I/O Channel 8 0 24 I/O Channel Function Select (0-disabled / 1-digital out / 2-digital in / 3-analog out / 4-analog in) Registers for I/O Channel 9 0 25 I/O Channel Function Select (0-disabled / 1-digital out / 2-digital in / 3-analog out / 4-analog in) Registers for I/O Channel 10 0 26 I/O Channel Function Select (0-disabled / 1-digital out / 2-digital in / 3-analog out / 4-analog in) Registers for I/O Channel 11 0 27 I/O Channel Function Select (0-disabled / 1-digital out / 2-digital in / 3-analog out / 4-analog in) Registers for I/O Channel 12 0 28-39 Reserved for I/O Channel Function Select Registers for I/O Channel 13-24 - 40-47 20-bit Precision Analog Input Filter Select (0-disabled / 1-0.1 Hz cut-off / 2-0.04 Hz cut-off / 3-0.02 Hz cut-off / 4-0.01 Hz cut-off / 5-0 0.004 Hz cut off) Registers for I/O Channel 1-8 48-55 Reserved for 20-bit Precision Analog Input Filter Select Registers for I/O Channel 9-16 - 56-59 Pull Resistor Select (0-disabled / 1-pull down / 2-pull up) Registers for I/O Channel 1-4 0 60-79 Reserved for Pull Resistor Select Registers for I/O Channel 5-12 - December 10, 2009 32

80-127 Reserved - 128 *** Com Connection Select (0-RS-232 / 1-RS-422 / 2-RS-485) Register 0 129 *** Reserved - 130 *** Com Port Baud Rate Select (0-110/1-150/2-300/3-600/4-1200/5-2400/6-4800/7-9600/8-14400/9-19200/10-28800/11-38400/12-9 57600/13-76800/14-115200) Register 131 *** Com Port Parity Select (0-none / 1-even / 2-odd) Register 0 132 *** Com Port Stop Bits Select (0-1 stop bit / 1-2 stop bits) Register Note: Currently only one stop bit is supported. 0 133 *** Modbus Min Transmit Inter-Message Interval (2-1000 ms) Setting Register; the interval cannot be shorter than 2 ms; regardless of a setting, the interval is automatically adjusted not to be shorter than 3.5 character lengths; Note: On the receive side, the interval between messages must 2 be at least 2 ms; if the interval is less than 0.5 ms, received characters will be processed as one message; if the interval is between 0.5 and 2 ms, the Modbus message processing will not be reliable. 134 *** RS-485 Turn-on Delay (between RS-485 transmitter on and character transmission start) Setting (0-10 ms) Register 1 135 *** RS-485 Turn-off Delay (between character transmission end and RS-485 transmitter off) Setting (0-10 ms) Register 1 136 *** - 142 *** 143 *** Reserved - Baud Rate Override Setting Register (if different than 0 or 0xFFFF, must know com port H/W setting values to set this reg) 0 *** These registers are only write-able on PC Modules. The P Modules will disregard writes to these registers and return the following hard-coded values: 115.2 kbits/s baud rate, 8N1 and 2ms inter-message delay. All other parameters are not applicable for the P Modules. December 10, 2009 33

User Manual Stack Configuration Read/Write Registers The starting address for these registers is 0. Use custom Modbus commands 0x64 (100, read stack configuration) and 0x66 (102, write stack configuration). Table B5: Stack configuration read/write registers. Modbus Register Address Offset Register Description Variable Type Factory Default 0 Reserved - 1 Modbus Addressing Mode Select (0-regular (8-bit) / 1-extended (16-bit)) Register 0 2 Modbus address register (1-255 in regular addressing mode / 1-65535 in expanded addressing mode) 1 3 Reserved - 4 Power Mode (0-regular / 1-low) Select Register 0 5 Battery Supply (0-12V / 1-24V) Select Register 0 6 Nominal voltage range (in mv, 100mV to 25,000mV in 100mV steps, if 0 then using 10,000mV) 0 7 Nominal current range (in ma, 1mA to 100mA, if 0 then using 40mA) 0 8 Analog Input A/D Count Justification (0-left / 1-right) Register 0 9 Floating Point Order (0-inverted / 1-regular) Select Register 0 10 Long Integer Order (0-inverted / 1-regular) Select Register 0 11 Reserved 0 12 Default Delay Setting Register, in seconds (after which default state or count settings are applied, if individually enabled, if 0 feature completely disabled) 15 December 10, 2009 34

1880 S. Flatiron Ct. Boulder, CO, 80301 Phone: 303-381-9200 Fax: 303-786-9948 Web: December 10, 2009 35