1 TECHNICAL 06/2009 Modbus and ION Technology Modicon Modbus is a communications protocol widely used in process control industries such as manufacturing. PowerLogic ION meters are compatible with Modbus networks as both slaves and masters, and can communicate easily with ION Enterprise, ION Setup or third party software. This technical note describes the Modbus protocol in general, how to use ION meters and software with Modbus devices, and how ION meters fit into a Modbus network. In This Document Introduction The Modbus Message Modbus Maps for ION Meters ION and Modbus in Networks Scenario 1: ION Meters in a Modbus Network Scenario 2: Modbus Devices in an ION Enterprise Network Scenario 3: ION Meter as Modbus Master Scenario 4: EtherGate and Modbus RTU Scenario 5: ION Meter as Modbus Gateway ION Meters as a Modbus Master ION Modules for Modbus Master Multiport Serial Modbus Master ION, ION Enterprise, Modbus, Modicon, Power Measurement, PowerLogic and Schneider Electric are either trademarks or registered trademarks of Schneider Electric in France, the USA and other countries. All other trademarks are property of their respective owners. Electrical equipment should be installed, operated, serviced, and maintained only by qualified personnel. No responsibility is assumed by Schneider Electric for any consequences arising out of the use of this material Schneider Electric. All rights reserved. ION Meters as a Modbus Slave Using the ION Meter as a Modbus Slave Modbus Slave Module Settings Additional Information ION Reference ION/Modbus Register Map document that applies to your meter (devices that support Enhanced Modbus/TCP) (Modbus/TCP standard, Modicon Modbus Serial Communications Protocol documentation) (SEMI E standard)
2 Introduction Modbus and ION Technology Introduction Modbus is a protocol used in industrial manufacturing. It was created to transfer control data between controllers and sensors using RS 232 serial ports. The Modbus protocol is widely used and supported on serial (RS 232 and RS 485) and Ethernet (TCP/IP) connections. Modbus is a master/slave protocol where the master initiates transactions and the slaves respond with the requested data or action. Modbus masters are usually software programs, such as Distributed Control Systems (DCS). However, masters can also be devices such as remote terminal units (RTU), programmable logic controllers (PLC) or ION meters. Modbus slaves are devices such as PLCs, I/O monitoring devices, relays, software and ION meters. ION meters, when used as Modbus master or slave devices, provide sensing for your Modbus network so you can quickly view and respond to power data and equipment status information. Modbus RTU and Modbus ASCII The Modbus protocol has two basic forms. The RTU or Binary form and the ASCII form. The ASCII form transmits all bytes using the ASCII character set (ʹ0 9ʹ and ʹA Fʹ). The RTU form transmits all bytes in a binary format making the protocol faster and more efficient. Both forms are serial (RS 232/RS 485) protocols. Whichever form is used, both the master and the slaves must use the same form. Modbus Plus Modbus Plus is a proprietary Modicon protocol used in industrial networking systems. It uses token passing peer to peer communications at a data transfer rate of one megabit per second (high speed passing of groups of bits within a layer). The network medium is shielded twisted pair cable. Modbus/TCP Modbus/TCP defines the packet structure and connection port (port 502) for the industry standard TCP/IP protocol. The structure of a Modbus/TCP packet is very similar to the Modbus RTU packet except that it has an extra six byte header and does not require the cyclic redundancy check (CRC). Some ION firmware supports Modbus/TCP for direct communications with the meter, as well as for use in a Modbus gateway. Modbus/TCP retains the Modbus RTU limit of 256 bytes to a packet. It is suggested that higher throughput is possible if this limitation is removed. This variant is called Enhanced Modbus/TCP but, so far, few devices have moved to support it. Some devices support multiple simultaneous Modbus/TCP connections. If you are trying to connect to one of these meters, it can take some time. Adjust your network timeout settings to accommodate this. Modbus RTU over Ethernet Your ION meter can use Modbus RTU to transport direct to a Modbus device over Ethernet. Page Schneider Electric. All rights reserved.
3 Modbus and ION Technology The Modbus Message The Modbus Message There are a few variants of the Modbus protocol for use in different networks and situations but all use the same message structure. The most common Modbus variants are Modbus RTU, Modbus ASCII, Modbus Plus and Modbus/TCP. The Modbus message that a master sends to a slave contains these main pieces of information: Type of Information Description Slave Address Unit ID (from 1 to 247) 1 Function Code Data Checksum Read from or write to registers 16-bit words of various formats CRC-cyclical redundancy check 1 Unit ID 0 (zero) is also allowed. This sends a broadcast message to all slave meters. ION meters are preconfigured with a unit ID that you can change from the front panel of the meter or via software. This unit ID serves as the slave address that the master uses to determine which slave to communicate with. The function code used is based on the variable type that a particular ION meter supports, and whether the ION meter is acting as a master or a slave. Variable Types The basic Modbus message building blocks are called variable types. Variable types group data into address ranges that perform certain functions (using function codes). For example, Coil registers have an address range from to and the data that makes up the message can be read or written to (Function 1, 5 and 15). There are four main classes of Modbus data, or variable types, that support different function codes. Coil and input registers are single bit registers used to indicate ON or OFF conditions. Input and holding registers are 16 bit registers used to store and retrieve data. Variable Description Supported Function Code Address Change Coils Digital bits that can be read and written to Function 1, 5, to Input Status Digital bits that can be read Function to Input Registers 16-bit integers that can be read Function to Holding Registers 16-bit integers that can be read and written to Function 3, 6 and to Schneider Electric. All rights reserved. Page 3
4 The Modbus Message Modbus and ION Technology Function Codes ION meters (acting as master or slave) use ION modules (Modbus Master Device, Modbus Master Mapping, Modbus Import, Modbus Export and Modbus Slave modules) to support the following function codes: Function Description ION master or slave function ION module that supports the function Function 1 Read Coil Status Master Modbus Import, Modbus Master Device, and Modbus Master Map 1 Function 2 Read Input Status Master Modbus Import, Modbus Master Device, and Modbus Master Map 1 Function 3 Read Holding Registers Master and slave Modbus Import, Modbus Master Device, and Modbus Master Map 1 Function 4 Read Input Registers Master Modbus Import, Modbus Master Device, and Modbus Master Map 1 Function 5 Write to a Coil Master Modbus Export Function 6 Write to a Holding Register Master Modbus Export Function 15 Write to Multiple Coils Master Modbus Export Function 16 Write to Multiple Holding Registers Master and slave Modbus Export and Modbus Slave 1 The Modbus Master Map module and the Modbus Master Device module work together, and reference the settings in Modbus Master Options module; you need all modules configured properly for this feature to work. The maximum number of Modbus registers the module can read at once (per request) depends on the Modbus format and data register type. Modbus supports a combination of 16 bit data types. These data formats use one or two 16 bit words to encode signed/unsigned or integer/floating point numbers: Format Type # of Modbus registers used Unsigned 16-bit Integer 1 Signed 16-bit Integer 1 Unsigned 32-bit Integer 2 Signed 32-bit Integer 2 Unsigned 32-bit M10k Integer 2 Signed 32-bit M10k Integer 2 IEEE Float 1 Floating point 2 Packed Boolean Integer 1 1 ION meters acting as Modbus masters support two versions of IEEE Float with different word orders: high/low = Big Endian, low/high = Little Endian. Big Endian/Little Endian is supported for all 32-bit formats by ION meters acting as Modbus masters. Page Schneider Electric. All rights reserved.
5 Modbus and ION Technology Modbus Maps for ION Meters Modbus Maps for ION Meters There are two types of Modbus mappings available on ION meters: one is a fixed map and the second is a flexible map. The fixed map is useful for configuring parameters on the ION meter (slave) or allowing third party software to access other ION modules. For more information on the Modbus fixed map, see your meter s User Guide. When a master sends a request to a fixed map on the ION meter (slave), the value is written to the corresponding mapped register on the ION meter. For example, the Modbus master sends 5 to register which changes the baud rate on COM2 to the baud rate is an enumerated parameter and the fifth enumeration is Fixed Modbus Map Modbus master writes to this address and changes COM2 baud rate COM2 baud rate External Pulse Register Register Digital Input port 1 Register ION meters also provide a flexible map that you can use for reading data. The flexible Modbus map lets you read various ION registers with Modbus master devices by correlating the Modbus register number with the address of the ION register (on the slave) you want to read. When a Modbus master requests to read a register, the corresponding ION register data is returned. Flexible Modbus Map any ION register Vln a Modbus Slave module input register output register Vln a setup registers Register Vln b... Modbus master requests to read register and receives Vln a via the Modbus slave module setup. For more information on the Modbus flexible map for ION meters, see the Common Modbus Registers document and Appendix E of the ION7300 Series Modicon Modbus Serial Communications Protocol document. If you have Advanced security enabled, you must configure the Modbus Map Access register to allow write access for specific users. See the Security Options module description in the ION Reference. If you have Standard or Advanced security enabled on the meter, you can only read Modbus information from a slave module. You must disable Standard security to write data to a slave module. See the ION System Security technical note for more information Schneider Electric. All rights reserved. Page 5
6 ION and Modbus in Networks Modbus and ION Technology ION and Modbus in Networks An ION meter acting as a slave can make real time data (and in some cases, historical data) available to Modbus masters using third party software. Modbus masters can also write data to ION meters to change device configurations or initialize control actions. You can use ION Setup or ION Enterprise software to collect data from and send data to Modbus devices directly. Similarly, the ION meter with Modbus master capability can collect data from a Modbus network and send it to ION Setup or ION Enterprise software for display and analysis. Using ION Setup or ION Enterprise software, you can configure these meters to read data from and write data to Modbus slave devices. The following section describes different scenarios where ION meters and ION Setup or ION Enterprise software integrate with Modbus devices and networks. Scenario 1: ION Meters in a Modbus Network If you have third party Modbus software, you can communicate with ION meters over Ethernet and serial connections. Most ION meters with Ethernet capability support Modbus/TCP on TCP port 502. There is no meter configuration required for a third party master to communicate with an ION meter over TCP/IP. Third-party software acting as a Modbus Master Ethernet Modbus/TCP Modbus slave ION meter with optional Ethernet port You can also make a serial connection to an ION meter using third party software. Set the communication port on the meter using the front panel of the meter. Third-party software acting as a Modbus Master RS-485 Modbus slaves ION meter with serial port set to Modbus protocol Page Schneider Electric. All rights reserved.
7 Modbus and ION Technology Scenario 2: Modbus Devices in an ION Enterprise Network Setting the serial communication from the ION meter to third-party software 1. Using the front panel of the meter, navigate to the communications port you want to use to connect to third party software. 2. Set the protocol for this port to Modbus RTU and ensure the baud rate, unit ID, serial port and RS 232 or RS 485 settings are correct. Use ION Setup or ION Enterprise software to modify these settings for meters without a front panel display. Scenario 2: Modbus Devices in an ION Enterprise Network You can add a Modbus slave device to your ION Enterprise network using RS 232, RS 485 or Ethernet (shown below) connections. ION Enterprise software Modbus/TCP Modbus slave device Use the ION Enterprise Modbus Device Importer utility to configure your Modbus device (mapping information) and add it as a Device Type to the Network Configuration database. See the online ION Enterprise Help for more information on adding Modbus device types to ION Enterprise. You can also contact Technical Support about pre-made Device Integration Packages, which add a device directly into your system. Once the device type is added, you can see your Modbus device in a drop down menu in Management Console. Adding a Modbus device to the ION Enterprise network 1. Start Management Console. Click the Devices icon on the System Setup pane. 2. Right click in the display window and select New > Serial Device on Direct Site, New > Serial Device on Ethernet Gateway Site or New > Ethernet Device, depending on your type of connection. The Device Configuration dialog box appears. 3. Use the drop down menus or type the required information in the fields. Your Modbus device type appears in the Device Type drop down menu Schneider Electric. All rights reserved. Page 7
8 Scenario 3: ION Meter as Modbus Master Modbus and ION Technology Scenario 3: ION Meter as Modbus Master As a master, the ION meter can aggregate data from multiple slave devices and then pass it to ION Enterprise or ION Setup for analysis. The ION meter as a master also gives you control of devices on a Modbus network with its write capability. If the ION meter you are using is acting as a master, there are two communication links to consider when you communicate from a Modbus network (or device) to ION Setup or ION Enterprise software: Between the hardware communications port on the ION meter and the Modbus network. There are two link types, serial or Ethernet. Modbus Master over Ethernet using TCP/IP is not available on all meter types. The serial link is a one to one relationship between the physical communications port on the meter (COM1, COM2, etc.) and the serial wiring that connects the meter to a Modbus network (RS 232 or RS 485). Most Modbus Master-enabled meters support only one serial bus of Modbus Slave devices. However, some meters offer multiple Modbus Master serial port functionality. See Multiport Serial Modbus Master on page 15 for more information. The TCP/IP link can connect up to ten devices to the Modbus Master. The connections are created by entering the IP address of the device you want to connect to and the port number (Modbus TCP/IP is port 502). Between the ION meter and ION Setup or ION Enterprise software For Ethernet communications, the meter allows multiple TCP/IP virtual ports (i.e 502, 7701, etc.) to connect to a single hardware port. On the meter, TCP/IP virtual ports indicate to the software which protocol is being used to communicate. Configuring the ION Meter to act as Modbus Master (serial) 1. Using the front panel of the meter, navigate to the serial communications port you want to use to connect to the Modbus Slave devices. 2. Set the protocol for this port to Modbus Master and ensure the baud rate, unit ID, serial port and RS 232 or RS 485 settings are appropriate. Use ION Setup or ION Enterprise software to modify these settings for meters without a front panel display. Page Schneider Electric. All rights reserved.
9 Ethernet Modbus and ION Technology Scenario 3: ION Meter as Modbus Master The image below shows how ION Setup or ION Enterprise software and an ION meter (communicating over Ethernet) can integrate with a serial Modbus network. ION meter as Modbus Master ION over Ethernet ION Enterprise software ION6200 Modbus slave device ION7550 Configuring the ION meter to act as a Modbus Master (Ethernet) You must use ION Setup or ION Enterprise software to configure Modbus Master over TCP/IP. Your Modbus Master meter must have a physical Ethernet connection, be the correct model, and run a firmware version that supports this feature. You can enter up to ten unique IP addresses that belong to Modbus devices you want to master, assigned to virtual port 502, in the Modbus Master ION meter. Link to Modbus device using the device s IP address Ethernet Modbus device data :502 ION meter as Modbus Master Up to 10 unique IP addresses can be entered for Modbus Master 2009 Schneider Electric. All rights reserved. Page 9
10 Scenario 4: EtherGate and Modbus RTU Modbus and ION Technology Scenario 4: EtherGate and Modbus RTU EtherGate (Ethernet gateway) capability is built into all ION meters with Ethernet cards, except the ION7300 meter. With EtherGate, users can communicate over a network with any ION or Modbus compatible device connected to an EtherGate meter via an RS 485 loop. Modbus Master Device TCP/IP protocol ION meter with EtherGate Serial protocol Ports 7700 (ION) 7701 (Modbus RTU) 7801 (EtherGate COM1) 7802 (EtherGate COM2 or COM4) Devices on a RS-485 loop The EtherGate meter acts as an intermediary between the RS 485 devices (Modbus slaves) and the Modbus master, allowing the Modbus master to send and receive data over TCP/IP. In ION Enterprise, users can create an EtherGate site and communicate with a series of devices on the RS 485 loop. For more information on EtherGate and ION meters, see The ION Meter as an Ethernet Gateway technical note. Scenario 5: ION Meter as Modbus Gateway Modbus Gateway capability is available on selected ION meters. With an ION meter acting as a Modbus Gateway, a Modbus master can communicate via the Ethernet using Modbus/TCP through the gateway meter to downstream serial devices using Modbus RTU. Ethernet (Modbus/TCP) ION7550 / ION7650 acting as a Modbus Gateway RS-485 loop (Modbus RTU) Workstations running Modbus Master software send out a Modbus request packet. If the request packet is addressed to the ION7550 / ION7650, it responds. If the packet is addressed to one of the downstream devices, the ION7550 / ION7650 forwards the message. Downstream Modbus serial devices The Modbus Gateway meter acts as an intermediary between Modbus slaves on a serial network and the Modbus master device, allowing data to be sent and received over Modbus/TCP. For more information on using your ION meter as a Modbus Gateway, see your meter s User Guide. Page Schneider Electric. All rights reserved.
11 Modbus and ION Technology ION Meters as a Modbus Master ION Meters as a Modbus Master ION meters with Modbus master capability let you write data to (export) and read data from (import) Modbus slave devices. The ION meter (acting as a Modbus master) can read data on a Modbus network and act as a point of data aggregation. The data can be processed by the meter and sent out using other communications methods ( , ION Setup or ION Enterprise software, etc.). The meter can also send control commands or data directly to other devices on a Modbus network. Only one meter on a Modbus network can have the communications channel set to the Modbus Master protocol. ION Modules for Modbus Master Several ION modules work together to create Modbus master functionality on the meter. Your meter can have some or all of these modules, depending on the model and firmware version. See the ION Reference for more information on these and other ION modules: Modbus Master Device Module: The Modbus Master Device module reads data from a Modbus slave, which can be an ION meter or third party device. This imported data can be used by other ION modules. A Modbus Master Device module uses settings from a Modbus Master Map module setup register to specify the Modbus format, scaling, and base address settings. Modbus Master Map Module: provides a common place to hold setup information for decoding a Modbus response. This information can be used by multiple Modbus Master Device modules. Modbus Master Options Module: maps any serial connection or Ethernet TCP connection from the Modbus Import, Modbus Export and Modbus Master Device modules to any serial communications port or unique IP address and port number. Modbus Export Module: The Modbus Export module writes data to a Modbus device. A Modbus master can send data (numeric, pulse and Boolean register classes) to an ION meter via Modbus. You can use this data to enable, disable, and reset metering functions, as well as change setup register values to configure the meterʹs operation. Modbus Import Module: The Modbus Import module reads data from a Modbus slave, which can be an ION meter or third party device. This data can then be used by other ION modules. A Modbus Import moduleʹs setup registers specify the Modbus format, scaling, and base address settings. There are many Modbus Import, Modbus Export and Modbus Master Device modules available. The modules behave like Modbus controllers. However, each module can only communicate to a single Modbus slave device on a single communication connection Schneider Electric. All rights reserved. Page 11
12 ION Modules for Modbus Master Modbus and ION Technology Reading and Writing Data Using ION Enterprise Some legacy products have older variants of the Modbus Import and Modbus Export modules that contain connection information now configured in the Modbus Master Options Module. If so, enter the connection information into the appropriate registers in the Modbus Import or Modbus Export modules. Reading Data from Modbus devices using the Modbus Master Device Module 1. Start Designer (ensure that Options > Show Toolbox is checked). 2. Navigate to the Modbus Master Options module. Right click the module to edit the register values. For serial Modbus Master, configure the Serial Connection values to match the communications port (e.g., COM2, COM3) being used to communicate with the Modbus slave devices. For Modbus Master over TCP/IP, configure the TCP Connection values to match the IP address of the slave device and the port (e.g., :502). 3. Navigate to where you want to store your Modbus Master configuration (e.g., 3rd Party Protocols > Modbus). Drag out a new grouping object from the toolbox, name it appropriately and double click on your new grouping object. A blank workspace displays where you can keep your Modbus Master configuration. 4. Drag out a new Modbus Master Device module to use with your Modbus slave device. Right click the module and configure the following registers: Register Name Register Type Description Notes Enable Boolean Input Set this register to ON. Set to OFF to make the outputs N/A. Read Now Pulse Input Link this register to set the module to Read Now mode. If this is unlinked, module operates in Polling Mode and will request every second. Connection Enumerated Setup Select the serial or TCP connection you want this module to use. These connections are configured in the Modbus Master Options module. Slave Addr Numeric Setup Enter the address of the Modbus slave device (1-255 accepted). Make sure each device has a unique address. Device Type String Setup Enter the type of Modbus slave device -- for example, This register value must match the corresponding Device Type register in the Modbus Master Map module, for the map to be available to this module. Slave Name String Setup Enter the name of the Modbus slave device -- for example, Submeter1. The output value is in the format: name>[value] Outputs 1-32 Numeric Output Link these to a variety of ION modules -- for example, a Data Recorder. This value will be appended to the output registers. Page Schneider Electric. All rights reserved.
13 Modbus and ION Technology ION Modules for Modbus Master 5. Drag out a new Modbus Master Map module. Right click the module and configure the following registers: Register Name Register Type Description Notes Device Type String Setup Enter the type of Modbus slave device. For example, This register value must match the corresponding Device Type register in the Modbus Master Device module, for the map to be available to the module. Device Map String Setup Enter the mapping information for this device. See the module description in the ION Reference for details. This map (label, address, format and scaling information) can be used by multiple Modbus Master Device modules. 6. Link the output registers to desired modules (such as Data Recorders). The output values from the Modbus Master Device module are appended with a label and device name. The Data Recorder module understands these names, and will populate the ION database using them (e.g. 7. In Vista, update your user diagram by dragging a new object from the Diagram objects toolbar, and configure it to best display your Modbus slave device data. Reading Data from Modbus devices using the Modbus Import Module 1. Start Designer (ensure that Options > Show Toolbox is checked). 2. Navigate to the Modbus Master Options module. Right click the module to edit the register values. For serial Modbus Master configure the Serial Connection values to match the communications port (e.g., COM2, COM3) being used to communicate with the slave devices. For Modbus Master over TCP/IP, configure the TCP Connection values to match the IP address of the slave device and the port (e.g., :502). 3. Navigate to where you want to store your Modbus Master configuration (e.g., 3rd Party Protocols > Modbus). Drag out a new grouping object from the toolbox, name it appropriately and double click on your new grouping object. A blank workspace displays where you can keep your master configuration. 4. Drag out a Modbus Import module. 5. Use the ReadNow input of the Modbus Import module if you want to setup a trigger source that activates a read (i.e. a pulse). If you do not link ReadNow, the module polls Modbus devices continuously. 6. Right click the Modbus Import module to configure register settings. Configure the following setup registers as needed: Connection/COMM Port (if applicable), Slave Address, Register Address, Number of Registers read by the module, Format and scaling requirements. The supported Slave Address range (Unit ID on ION meters) for a Modbus device is from 1 to Link the output registers to desired modules (such as Data Recorders). 8. In Vista, update your user diagram by dragging a new object from the Diagram objects toolbar, and configure it to best display your Modbus slave device data Schneider Electric. All rights reserved. Page 13
14 ION Modules for Modbus Master Modbus and ION Technology Writing data to ION meters using the Modbus Export Module 1. Start Designer (ensure that Options > Show Toolbox is checked). 2. Navigate to the Modbus Master Options module. Right click the module to edit the register values. For serial Modbus Master, configure the Serial Connection values to match the communications port (e.g., COM2, COM3). For Modbus Master over TCP/IP, configure the TCP Connection values to equal the IP address of the slave device and the port (e.g., :502). 3. Navigate to where you want to store your Modbus Master configuration (e.g., 3rd Party Protocols > Modbus). Drag out a new grouping object from the toolbox, name it appropriately and double click on your new grouping object. A blank workspace displays where you can keep your master configuration. 4. Drag out a Modbus Export module. 5. Link the Source inputs of the Export module to values that you want to export. 6. You must link WriteNow to initiate a write. 7. Right click on the Modbus Export module to configure the setup register settings. Set the Connection/COMM Port (if applicable), Slave Address, Register Address, Request Type, and Format registers and any scaling requirements. A Slave Address of zero (0) is reserved for broadcast messages. Broadcast messages are useful for control actions, such as synchronizing all the devices (only an approximate synchronization is possible due to signal latencies). TIP Use Designer to determine the ION module/register that you want to write to and then use the Common Modbus Registers document and Appendix E of the ION7300 Series Modicon Modbus Serial Communications Protocol document to find the corresponding Modbus register number. For protocols other than ION, consult the appropriate protocol documentation for your device. 8. In Vista, create and link an object that best displays your configuration. Using ION Setup to Configure Modbus Master 1. Open ION Setup and connect to your meter in Basic Mode. 2. Open the Setup Assistant and navigate to the 3rd Party Protocols screen in the Communications folder. 3. On the Modbus Master tab, click Add to add a new slave device. The Modbus Device dialog appears. 4. Enter the information requested: Name: This is the slave device name Label suffix: This is the slave device group. Device type: This is the device type of the slave device. It must match the device type given in the Device Type register in the Modbus Master Map module. Page Schneider Electric. All rights reserved.
15 Modbus and ION Technology Multiport Serial Modbus Master Connection via: This is the serial connection or Ethernet TCP connections through which you communicate with the slave device. To view the ports/ip addresses and Modbus protocol assigned to each connection, click Connections. The Modbus Master Connections screen appears with tabs containing connection information. Slave ID: This is the slave ID, or slave address, that the meter uses to address packets to the slave device. 5. To perform more advanced configuration, connect to your meter in Advanced Mode and navigate to the relevant folder. To insert a new module, select Insert > Module. To edit module settings, double click on the module in the right hand pane. The modules relevant to Modbus Master are: Modbus Master Device module, Modbus Master Map module, Modbus Master Options module, Modbus Import module and Modbus Export module. For more information on these modules, see the ION Reference. Multiport Serial Modbus Master Some meters have multiport serial Modbus Master capability. This allows the meter to master any available RS 232 / RS 485 serial buses of Modbus Slave devices on more than one serial port at the same time. Buses can be connected to either COM 1 or COM 2 only. The ION7550 RTU does not support multiport Modbus Master. The device cannot master on serial communication ports COM1 and COM2 at the same time. Multiport serial Modbus Master functionality requires configuration of a special module (Modbus Master Options) and additional setup registers in three other modules (Modbus Import, Modbus Export, and Modbus Master Device). See the ION Reference for more information on these modules. Workstation with Modbus Software ION meter as Modbus Master Ethernet LAN Modbus Slave devices serial bus on COM2 Modbus Slave devices serial bus on COM Schneider Electric. All rights reserved. Page 15
16 Multiport Serial Modbus Master Modbus and ION Technology In order for the Master to know on which serial bus a device resides, the Modbus Master Options module is used to map (or link) a connection to a meter serial communication port. All modules for the slave devices (Modbus Import, Export and Modbus Master Device) are then mapped to one of the connections. The Modbus Master Options module s four outputs indicate if each serial connection is actively being used by another ION module (Modbus Import, Export and Modbus Master Device). See the example framework below for implementation details. The ION7650 meter, acting as Modbus Master, is communicating with the ION7330, acting as Modbus Slave. The ION7330 is wired via RS 485 to the ION7650 meter s COM 2 port. The ION7330 meter s Unit ID is 101. Modbus Master Device ION7650 Meter COM2 is set to Modbus Master Modbus Import Module Modbus Master Options Module RS-485 ION7330 Connection Serial Connection 2 Slave Addr 101 Serial Connection 2 COM2 COM2 UNIT ID = 101 Configuring the Meter Use ION Setup or the Designer component of ION Enterprise to configure your meter. Configure the Modbus Master Options Module Set the Serial Connection register to the meter communication port the loop of slave devices will use for communications. Choose None (default), COM1 or COM2. For Modbus Master over TCP/IP, set the TCP Connection register to the IP address of the Modbus slave device, specifying port 502. Configure the Modbus Import Modules All Modbus Import modules have a Connection enumerated setup register. This register maps the serial or TCP connection to a setup register in the Modbus Master Options module. Enter the slave device unit ID into the Slave Addr setup register. Configure the Modbus Export Modules All Modbus Export modules have a Connection enumerated setup register. This register maps the serial or TCP connection to a setup register in the Modbus Master Options module. Enter the slave device unit ID into the Slave Addr setup register. Page Schneider Electric. All rights reserved.
17 Modbus and ION Technology Multiport Serial Modbus Master Configure the Modbus Master Device Modules All Modbus Master Device modules have a Connection enumerated setup register. This register maps the serial or TCP connection to a setup register on the Modbus Master Options module. Enter the slave device unit ID into the Slave Addr setup register Schneider Electric. All rights reserved. Page 17
18 ION Meters as a Modbus Slave Modbus and ION Technology ION Meters as a Modbus Slave All ION meters have a unique unit ID. When acting as a slave, the ION meter s unit ID serves as the slave address to which the master connects. These addresses must be in the range 1 to 255. The meter processes broadcast read requests (0) but does not reply to them; however, broadcast writes (0) are supported. A Modbus slave can only respond to requests; it cannot initiate them. Most ION meters have pre configured Modbus Slave modules. These can be accessed using Designer, inside the ION meter s 3rd Party Protocols folder. If these pre configured modules do not suit your needs, you can drag out new Modbus Slave modules or change the configuration of the existing ones. Using the ION Meter as a Modbus Slave You can use the Modbus protocols for real time data communications on the meter s serial, Ethernet, modem and Infrared ports. These hardware ports are controlled by ION communications (COMM) modules that exist in the meterʹs firmware. First, configure the communications port(s) through which you want to transport the Modbus data. The meter can then transmit data from ION Modbus Slave modules. The Modbus Slave modules convert an ION meterʹs data into Modbus format for Modbus master devices. Most meters that support Modbus Slave modules already have some pre configured modules for common parameters such as power and energy values and power quality information. Modbus Slave Module Settings Once the communications port is configured to use Modbus, the data is available to a Modbus master device. The Modbus Slave modules are pre configured to communicate specific power system parameters in a particular format. A sample configuration is shown below: Sample of Factory Configuration Set the COM port to the appropriate protocol Communications Port IONmeter Power Meter Module Modbus Slave Vln a Module Measured data is linked to the Modbus Slave module s input Modbus Slave module outputs data in Modbus format Data is available to Modbus master devices Page Schneider Electric. All rights reserved.
19 Modbus and ION Technology Modbus Slave Module Settings On some ION meters, when there are no input links, the output registers show the contents of the fixed Modbus address map as defined by the setup registers of the Slave Module. The values at the map address are copied to the output registers, starting at the address specified in the BaseAddr setup register, until each output register is filled. You must change the Format setup register to Unsigned 16B Input Mode. You can also edit the setup registers of the Slave module if your Modbus master device requires data in a format different than the factory configuration or requires special addressing. Modbus Slave modules have the following setup registers: Setup Register Format Base Address Scaling IONInMinScale IONInMaxScale ModbusOutMinScale ModbusOutMaxScale Settings for these registers (and defaults) vary depending on meter model and firmware version. See your meter s User Guide. For more information on using the Modbus Slave module, see the Modbus Slave module description in the ION Reference. Changing default Modbus configuration using ION Enterprise 1. Open your meter in Designer. 2. Re link a new or existing Modbus Slave module to any parameters. 3. Right click near the center of the module to edit any of the registers. 4. Select File > Send & Save to save your changes to the meter. Changing default Modbus configuration using ION Setup 1. Open ION Setup and connect to your meter in Advanced Mode. 2. Navigate to the Modbus Slave module folder. In the right hand pane, doubleclick on the module you want to configure. 3. Select the Inputs tab to link source inputs to the module. Select the Setup Registers tab to configure the setup registers. To edit a register, select it and click Edit. 4. Click Send to save your changes to the meter Schneider Electric. All rights reserved. Page 19
Modbus and ION Technology Modicon Modbus is a communications protocol widely used in process control industries such as manufacturing. ACCESS meters are compatible with Modbus networks as both slaves and
70002-0248-06 02/2009 PowerLogic ION7550 / ION7650 Energy and power quality meter User Guide 7 Third-party Protocols This chapter explains how third party protocols Modbus, DNP 3.0 and SNMP are implemented
70022-0119-04 TECHNICAL NOTE 12/2007 Common Registers This document describes how the protocol is implemented on PowerLogic Series, /, and meters. It does not apply to 6200 meters; for 6200 specific information,
Process Control and Automation using Modbus Protocol Modbus is the fundamental network protocol used in most industrial applications today. It is universal, open and an easy to use protocol. Modbus has
70072-0111-14 TECHNICAL NOTE 06/2009 Time Synchronization & Timekeeping Time synchronization lets you synchronize the internal clocks of all networked PowerLogic ION meters and devices. Once synchronized,
Modbus Frequently Asked Questions WP-34-REV0-0609-1/7 The Answer to the 14 Most Frequently Asked Modbus Questions Exactly what is Modbus? Modbus is an open serial communications protocol widely used in
PowerLogic ION Enterprise 5.6 Power Management Software User Guide April 2007 Notices This section describes the symbols used in this guide. Danger This alerts you to things that may cause serious injury
70072-0189-00 TECHNICAL 08/2008 Device Support in PowerLogic ION Enterprise 5.6 Service Pack 2 This document outlines support in ION Enterprise 5.6 Service Pack 2 for PowerLogic CM3000 series/cm4000 series,
Application Paper AP152001EN Contents Description Page Overview....2 Considerations of a local matter....2 Protocol communication enablement...2 Communication port hardware...2 Communication network speed....2
Additional Setup Instructions for Modbus: RTU, ASCII, TCP, Omni & Enron Copyright 2000 2010 Frontline Test Equipment, Inc. All rights reserved. You may not reproduce, transmit, or store on magnetic media
KRAMER ELECTRONICS LTD. USER GUIDE Ethernet Configuration Guide (Lantronix) P/N: 2900-300321 Rev 6 Contents 1 Connecting to the Kramer Device via the Ethernet Port 1 1.1 Connecting the Ethernet Port Directly
RcWare SoftPLC Modbus server mapping editor User manual 1 Contents 1 Contents... 2 2 Why SoftPLC as a Modbus server... 3 3 Installation and setup of the Modbus mapping editor... 4 4 Creating and editing
Master-Touch and ValuMass Modbus Communications INSTRUCTION MANUAL 80202201 (Rev. 2.1) Eldridge Products, Inc. 2700 Garden Road, Building A Monterey, CA 93940 Tel: 800/321-3569 or 831/648-7777 Fax: 831/648-7780
Using the MODBUS Protocol with Omega CN8200, CN8240, and CN8260 Controllers Omega and Multi-Comm are trademarks of Omega. MODBUS is a trademark of AEG Schneider Automation, Inc. Platinel is a trademark
70072-0170-04 TECHNICAL NOTE 12/2007 TCP/IP Network Connectivity and ION Meters This technical note describes how PowerLogic ION8800, ION8600, ION7550 and ION7650 meters are able to interact with several
Mach3 and Modbus A basic Introduction By Peter Homann October 2010 http://www.homanndesigns.com 1 Mach3 and Modbus Introduction What is Modbus How to Setup Modbus in Mach3 How to use Modbus in Mach3 Practical
70072-0116-10 TECHNICAL 12/2007 WebMeter Internal Web Server Feature Several Ethernet equipped PowerLogic ION meters offer WebMeter capability, allowing you to view meter data and perform basic meter configuration
2 What You should know about Modbus 2.1 Some Background The Modbus protocol family was originally developed by Schneider Automation Inc. as an industrial network for their Modicon programmable controllers.
Using the AnyBus -X Gateway to Communicate between a DVT camera and a Profibus Master Page 1 of 13 Table of Contents 1 OVERVIEW... 3 2 INSTALLING AND CONFIGURING THE ANYBUS -X GENERIC GATEWAY AND ETHERNET
ENET-710 ENET-710 - Ethernet Module JAN / 06 ENET-710 FOUNDATION E N E T 7 1 0 ME smar www.smar.com Specifications and information are subject to change without notice. Up-to-date address information is
OMNI Flow Computers, Inc Last Updated: 0-April-00 TB-00B Peer to Peer Basics -000-000 Rev B TB-00B NOTES: User Manual Reference This Technical Bulletin complements the information contained in User Manual,
70072-0127-07 TECHNICAL NOTE 02/2007 Digital and Analog I/O This document discusses the application and configuration of digital and analog inputs/outputs (I/O). Details are for both onboard I/O and external
User Guide Modbus Communications for PanelView Terminals Introduction This document describes how to connect and configure communications for the Modbus versions of the PanelView terminals. This document
ENV909 kwh Meter Modbus Metering System 1 Programming Meters fitted with the Modbus option have two additional stages in the front panel programming menu. Baud Rate Unique Modbus Address A V In programming
Andover Continuum Remote Communication Configuration Guide 2010, Schneider Electric All Rights Reserved No part of this publication may be reproduced, read or stored in a retrieval system, or transmitted,
1 Purpose The purpose of this document is to provide guidance for configuring and understanding the exacqvision serial interface. This guide provides step-by-step instructions and also explains more complex
IntesisBox BACnet/IP Server - TCP master Gateway for integration of TCP slave devices into based systems. Integrate any TCP slave device into your BACnet control system. client Ethernet TCP slave client
3DLevelScanner II Different Ways of Connecting to 3DLevelScanner II A.P.M Automation Solutions LTD. www.apm-solutions.com Version 3.0 2 Different Ways of Connecting to 3DLevelScanner II Version 3.0 Table
ECC-PCP Modbus RTU BAS Interface SUPERSEDES: none FORM NO: SVW06-ModbusIG-20150209 ECC-PCP Modbus RTU BAS Interface Guide Introduction PoolComPak units equipped with the ECC-PCP controller can be directly
Using Modbus with Mach3 By Peter Homann Eventually a new user to Mach3 will hear the term Modbus being bandied about. This article explains how it can be used with Mach3. But, before diving in and showing
Document code: MN67510_ENG Revision 1.000 Page 1 of 14 User Manual Revision 1.000 English Gateway / Bridge Modbus TCP Client to Modbus RTU Slave to connect a Modbus TCP Server (Order Code: HD67510 HD67510M)
MODBUS is the most popular industrial protocol being used today, for good reasons. It is simple, inexpensive, universal and easy to use. Even though MODBUS has been around since the past century nearly
1 Interface Manual Gateway-In-A-Stick SignalFire Number: GWS-CBBL The SignalFire Gateway-In-A-Stick has the following features: - RS485 connection to Modbus master device - Wide range DC power input. 6
About This Guide 3 About This Guide This user guide is intended for Photovoltaic (PV) system owners, installers, technicians, maintainers, administrators and integrators who are authorized to configure
TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL w w w. c d v g r o u p. c o m CA-ETHR-A: TCP/IP Module Installation Manual Page Table of Contents Introduction...5 Hardware Components... 6 Technical Specifications...
StruxureWare Power Monitoring 7.0.1 Installation Guide 7EN02-0308-01 07/2012 Contents Safety information 5 Introduction 7 Summary of topics in this guide 7 Supported operating systems and SQL Server editions
La Marche Manufacturing Company www.lamarchemfg.com DNP 3.0 Serial (RS232/RS485) and Ethernet (TCP/IP) SCADA Interface for A75DE Chargers with S2A-368S Option 21P Setup Instructions This manual is only
DataTap-IP Configuration Guide 2005 Lava Computer MFG Inc. www.lavalink.com Rev. A04 DataTap-IP Configuration Guide This document describes the configuration features of the DataTap-IP. It covers: 1. Hardware
EMG Ethernet Modbus Gateway User Manual Rev 2.2 07/2010 CONTENTS 1. Introduction 1.1. General Features 1.2 Installing the Drivers 2. Configuration 2.1 Main Device Parameters 2.1.1 RS485 Serial Communication
Eaton Innovative Technology PEM PC Software Installation and Operation Instruction Manual: IM01005006E Rev. 2 March 2007 Modbus RTU (RS-485) TCP/IP (Ethernet) Effective Date 3/2007 For more information
Chapter 5 MODBUS /OMRON Protocols Support The T100M+ PLC supports a subset of the OMRON and MODBUS (Both ASCII and RTU modes are now supported) compatible communication protocols so that it can be easily
Kurz MODBUS Client User s Guide Introduction The Kurz MODBUS Client program can be used to demonstrate how the Kurz MFTB and MFTA Series products can be used in a MODBUS protocol network. The program is
Installing AxtraxNG Creating Networks and Finding Panels Technical Support Engineering Rosslare Security NA For more information please see www.axtraxng.com This document will guide you through creating
ION Tips and Tricks Q&A Session PowerLogic ION Users Conference 2009 Kevin Batycki Schneider Electric Services & Projects Business Manager, Solutions Sales Engineering Phone: +1-250-652-7126 Fax: +1-250-544-0217
70002-0299-00 06/2009 PowerLogic ION Enterprise 6.0 Power management software Commissioning guide Notices This section describes the symbols used in this guide. Danger This alerts you to things that may
IntesisBox KNX TCP master Gateway for integration of TCP slave devices into KNX control systems. Integrate any TCP slave device into KNX. KNX TCP slave EIB Bus IntesisBox Ethernet slave LinkBoxEIB Configuration
Version 2.0 About This Guide 2 About This Guide This user guide is intended for Photovoltaic (PV) system owners, installers, technicians, maintainers, administrators, and integrators who are authorized
eztcp Technical Document Modbus/TCP of eztcp Version 1.3 Caution: Specifications of this document may be changed without prior notice for improvement. Sollae Systems Co., Ltd. http://www.sollae.co.kr Contents
En Configuring the WT-4 for Upload to a Computer (Ad-hoc Mode) Windows XP This document provides basic instructions on configuring the WT-4 wireless transmitter and a Windows XP Professional SP2 computer
PURPOSE Verify that communication is established for the following products programming option (488.2 compliant, SCPI only): DCS - M9C & DCS M130, DLM M9E & DLM-M9G & DLM M130, DHP - M9D, P series, SG,
PowerLogic ION Setup 3.0 Meter configuration software User guide 7EN02-0312-00 03/2012 Contents Safety information 7 Chapter 1: Safety precautions 9 Chapter 2: Introduction 11 ION Setup features 12 Your
Page 1 of 17 Adding a Modbus TCP Device to the Network Overview This section extends the sample Unity Pro application, by describing how to: add an STB NIP 2212 Modbus TCP network interface module to your
How to configure an Anybus PROFINET IO Slave module with a Siemens Step7 PLC www.anybus.com HMS Industrial Networks AB Page 1 (25) More information about the network and products The most recent manuals
Part Number 129777-01 Revision A, January 1996 3500 Monitoring System Rack Configuration and Utilities Guide Copyright 1995 Bently Nevada Corporation All Rights Reserved. No part of this publication may
POS Integration Prepared by: Binh Nguyen Point of Sale (POS) Compatibility To know whether it is possible to integrate your POS system with our DVR, please check whether the type of printer the POS system
Motion Control Products Application note Connecting CP600 to motion products via Modbus TCP AN00199-002 Seamless high speed Ethernet communication between HMI and motion products Introduction The CP600
String Output Modules The purpose of this document is to provide an understanding of operation and configuration of the two different String Output modules available within SymNet Composer. The two different
User s Guide PMCM-ETHCC-0208 2/2008 ACCESS 9340 and 9360 Meter Ethernet Communications Card 9340-60-ETHER TABLE OF CONTENTS INTRODUCTION... 2 Supported Ethernet Protocols... 2 Hardware... 2 Meter Firmware...
USER MANUAL Z-KEY MODBUS ETHERNET SERIAL GATEWAY AND SERIAL DEVICE SERVER SENECA s.r.l. Via Austria, 26 35127 PADOVA ITALY Tel. +39.049.8705355 8705359 Fax. +39.049.8706287 Web site: www.seneca.it Technical
2 GND INDUSTRIAL TCP/IP INTERFACE RIS-63-400 0V 24VDC GND AC In AC/DC+ In Backup DC+ In Link Voltage Range: 9-48VDC 8-24VAC Ready Power Reset Run DB9 OFF Console Terminal ETHERNET Ethernet RX TX RS-232/422&485
Using Modbus Controls For EC Fans to Reduce HVAC Energy Consumption By Vincenzo Nuzzi, Engineer, Rosenberg GmbH Using Modbus Controls For EC Fans to Reduce HVAC Energy Consumption By Vincenzo Nuzzi, Engineer,
IntesisBox ModBus Server - KNX Gateway for integration of KNX equipment into Modbus (RTU and TCP) control systems. Integrate KNX based lighting control into your SCADA, BMS, PLC "talking" Modbus. Master
ME576 Siemens Tutorial Manual Programming the Siemens PLC with S5 S7 for Windows Programming Create a new project Start S5 S7 for Windows by double clicking the desktop icon or using the start menu. Create
En Configuring the WT-4 for ftp (Ad-hoc Mode) Windows XP Introduction This document provides basic instructions on configuring the WT-4 wireless transmitter and a Windows XP Professional SP2 ftp server
7.7 Ethernet Communication (AFPX-COM5) 7.7.1 AFPX-COM5 Overview The communication cassette AFPX-COM5 has an Ethernet interface at the COM1 port and a 3-wire RS232C interface at the COM2 port. The Ethernet
DOORKING SYSTEMS ACCESS CONTROL SOLUTIONS 1830 SERIES NETWORK WORKSHOP LAN APPLICATIONS REV 04.11 LOCAL AREA NETWORK (LAN) CONNECTION Ethernet Connection: An Ethernet Cable, or wireless connection must
Industrial Networks & Databases - Device Bus - - Field Bus - - Data Bus - Recall An Industrial Communication Network (control network) - any group of devices (computers, controllers, meters etc.) working
DSX Access Systems, Inc. PC to Master Controller - Direct Connect Communications DSX Master Communications Communications between the Comm Server PC and the Master Controller can take several forms which
Quick Note 32 Using Digi RealPort with a Digi TransPort Router UK Support September 2012 1 Contents 1 Introduction... 3 1.1 Outline... 3 1.2 Assumptions... 3 1.3 Version... 3 2 Configuration & scenario...
ewon Application User Guide AUG 032 / Rev 1.0 You Select, We Connect evcom Standard serial communications Content evcom is the Virtual COM software for ewon. With ewon and evcom software, you can achieve
Modbus TCP Master/Slave Driver for DeltaV Virtual I/O Module ModbusTCP Firmware v3.9.3 or later For Simplex and Redundant Applications USER MANUAL February 2011 Disclaimers MYNAH Technologies 20069. All
Data Bulletin 1210DB0002R3/05 03/2005 LaVergne, TN, USA Communications Wiring for POWERLINK G3 Systems Class 1210 Retain for future use. ABOUT THIS BULLETIN This data bulletin describes the proper wiring