Digi 90000583_A manual Configuring Industrial Automation with Modbus

Page 63

Chapter 9

S p e c i a l F e a t u r e s : I A ( I n d u s t r i a l A u t o m a t i o n )

Industrial Automation (IA) uses the Modbus protocol that defines how devices in an IA environment communicate. It specifies that a controlling unit, called a master, manages one or more units, called slaves. Only the master may initiate communication, and slaves may only respond.

Some of the elements of communication between devices that are defined by the Modbus protocol include:

The structure of Modbus messages

How the master requests information from the slave or specifies an action for the slave to take

How the slave is to respond

Addressing conventions

Handling of many of the other details required for communication to occur.

Modbus defines two encoding schemes: Modbus ASCII and Modbus RTU. Each Modbus device uses one or the other.

Designed to function over a serial communication cable, Modbus has been extended in recent years to function over an Ethernet network using Modbus/TCP, which defines a method of encapsulating Modbus ASCII or Modbus RTU messages in IP packets for transport over the network.

The extermely flexible Digi implementation includes support for Modbus ASCII, Modbus RTU, Modbus/TCP, and two other methods of transport over a network, TCP socket and UDP socket communication. The implementation enables multiple network-based masters to concurrently initiate communication with serial-based slaves using any of the supported network protocols.

Configuring Industrial Automation with Modbus

1.Click Serial Port > Change profile and select Industrial Automation.

2.Click Apply.

3.Under Profile settings, click change protocol.

4.Select the protocol that best matches your environment (master or slave) Use the Help button for additonal information.

5.Enter the User defined protocol settings (Start delimiter, end delimiter, Message timeout, and Process ANSI escape characters) and click Apply.

6.Click Packet Routing > Add.

7.Enter the packet routing information. Click the Help button for additional information.

Note: Configure the serial port for the serial communication parameters (baud rate, data bits, parity and stop bits) required by the connected IA device. If you configure the port for a slave, you do not have to configure a network-based master. Communication with the master just works. (If the master is

Chapter 9 Special Features: IA (Industrial Automation)

63

Image 63
Contents Digi TS Family 90000583A Configuring the IP Address Chapter ConfigurationChapter Introduction Special Features Modem Emulation Setting Up RealPortSpecial Features Wireless Special Features Embedded ModemConfiguration Management Special Features Power Over the Serial PortsSpecial Features IA Industrial Automation Special Features SnmpDigi Contact Information Other Documents in the Library About This GuideSetup Overview Supported Devices About Configuration MethodsAccessing the Configuration from the Web Interface Feature Products Availability Configuration DetailsQuick Find Table DNS Introduction N f i g u r i n g t h e I P a d d r e s s Options for Configuring the IP Address and MaskConfiguring the IP Address Using ARP-Ping Configuring the IP Address with Digi Port Authority-RemoteAccessing the Digi Device Configuring an IP Address using Dhcp and RarpButton in the upper right corner is also available N f i g u r a t i o n Network SettingsProcedure for Using a Name Server Configuring the Serial Ports Service Base Socket Network PortConfiguration Port Profiles TCP Sockets Serial Bridging Printer Industrial Automation Modem Emulation Power Management Custom Feature Description User ConfigurationSnmp SSH Security ConfigurationSystem Configuration Click Outgoing Connections About Autoconnection Configuring a Port for AutoconnectionConfiguring a User for Autoconnection About RealPort T t i n g U p R e a l P o r tSetting Up RealPort Select Discover Digi Device from the CD Configuration ConsiderationsClick Network Wireless LAN Special Features Wireless Special Features Wireless Embedded Modem E c i a l F e a t u r e s E m b e d d e d M o d e mSpecial Features Embedded Modem Modem Emulation E c i a l F e a t u r e s M o d e m E m u l a t i o nSerial Device Digi Device Modem Emulation Cable SignalsScenarios for Modem Emulation Originating, Answering, and Disconnecting CallsATH Modem Emulation AT Command Set Function ResultCode Function ResultATP Mand state without disconnecting There is no Nvram support currently AT+MS Ascii Registers Function Range Units Saved DefaultRegister Function Range Units Saved Default Register Function Range Units Saved Default 17 11h =XON/XOFF &K4 Result Codes Short Long Form Special Features Modem Emulation Configuring RI Power Serial Power FeatureConfiguring DTR Power Serial Power Table OUT Special Features IA Industrial Automation Configuring Industrial Automation with ModbusPage About Snmp and the Device Server Agent E c i a l F e a t u r e s S N M PMIB Configuration Procedure Web InterfaceCopying the Configuration to and from a Remote Host Click Backup/Restore RestoreUpgrading the Firmware Resetting Configuration to Defaults Color State Indicates Interpreting the LEDsDevice EIA 232/422/485 Switch Settings Function Safety StatementsRack Mounting Installation PortServer TS 16 Rack and DC Rack External Wiring SpecificationsMechanical PortServer TS PortServer TS 2/4 Mechanical Regulatory Notices Digi One TS, PortServer TS 2/4, PortServer TS 2/4 MEI Certifications Maximum Permissible Exposure Wireless only Digi Contacts Digi Contact Information