Digi TS 4 Examples, Configuring Network-Connected Masters, Configuring a Port-Connected Master

Page 64

Examples

Configuring Network-Connected Masters

Introduction

Here are a few points regarding this configuration:

All timers for both masters and slaves are using defaults.

The range field on the set modbus master command is an index number that Digi One IA identi- fies these masters. The range fields on each of the set modbus slave commands identify the indi- vidual slaves.

The slaves field on the set modbus master command then identifies the slaves that belong to this master.

The value on the unit fields of the set modbus slave commands are hardware addresses for the slaves.

The format=rtu option on the set modbus slave command is optional, since rtu is the default for Modbus communication over the serial port.

Configuration

set line range=1 baud=14400 set ports range=1 dev=modbus

set modbus master range=1 ip=143.191.2.100-143.191.2.102 slaves=2-3 set modbus slave range=2 port=1 format=rtu unit=100

set modbus slave range=3 port=1 format=rtu unit=101

Configuring a Port-Connected Master

Introduction

Take special note of the following attributes of this configuration:

All timers for both masters and slaves are using defaults.

The range field on the set modbus master command is an index number that Digi One IA uses to identify this master. The range fields on each of the set modbus slave commands identify the individual slaves.

The slaves field on the set modbus master command then identifies the slaves that belong to this master.

The value on the unit fields of the set modbus slave commands are hardware addresses for the slaves.

The format=rtu option on the set modbus master command is optional, since rtu is the default for Modbus communication over the serial port.

Configuration

set line range=1 baud=14400 set ports range=1 dev=modbus

set modbus master port=1 slaves=2,5 ra=4 format=rtu set modbus slave ip=143.191.2.100 range=2 unit=200 set modbus slave ip=143.191.2.155 range=5 unit=100

11-6

Examples

Image 64
Contents 92000307B Page Contents Configuring DNS Configuration Examples Page Introduction This ChapterSetup Overview About This Guide About Entering Commands on the Command LineSupported Devices Access Resource CD Card Other Documents in the LibraryAbout Configuration Methods Downloading a Configuration FileConfiguration Prerequisites Logging On As Root from the Command LineAccessing the Command Line from a Telnet Session Accessing the Configuration from the Web InterfaceConfiguring the IP Address Options for Configuring the IP Address and Mask OptionsProcedure Configuring the Ethernet Interface with DPA-RemoteStarting Point Configuring the IP Address Using Ping-ARP Configuring the Ethernet Interface from the Command Line Configuring an IP Address using Dhcp and RarpManual Configuration Procedure Manual Configuration ExampleConfiguring an IP Address using Dhcp and Rarp Configuring Ports for RealPort What is RealPort? Configuring the RealPort SoftwareConfiguration Options About RealPortConfiguring Ports Web Interface Configuring Ports for RealPort Command Line ExampleConfiguring Ports for Printers Configuration Considerations Configuring Ports for Printers Web Interface Configuring Printer Connections Command LineTips for telnet and rsh Printing Related InformationConfiguring Printer Connections Command Line Configuring a Port for Direct-Access Printing Configuring a Port for Direct-Access Printing Configuring Ports for Modems Tips on Configuring a Modem Configuring Ports for Modems Web Interface Before You Begin Configuring Ports for Terminals Configuring Ports for Terminals Command Line Configuring Ports for Terminals Web InterfacePort Defaults Configuring Typical PC Connections About Computer ConnectionsAbout Computer Connections Configuring Autoconnection Configuring Autoconnection By Port Command Line Configuring a Port for Autoconnection Web InterfaceAbout Autoconnection Configuring a User for Autoconnection Web Interface Configuring a User for Autoconnection Command LineConfiguring a User for Autoconnection Command Line Configuring PPP Configuring PPP Connections Web Interface Configuring Inbound PPP Connections Command Line Configuring Inbound PPP Connections Example Configuring Outbound PPP Connections Command Line Set user name=name n1=telephone-number Configuring IP Routing Introduction to Routing What is RoutingTypes of Routing About RIP Routing Updates Digi One/PortServer TS 2/4 Participation in RIP Updates Example Route Using the Ethernet Interface Configuring Static RoutesExample Route Using a PPP Link Configuring Dynamic Routes Using RIP Example Dynamic RoutesConfiguring Proxy ARP Configuring Proxy ARP Configuring Console Management Configuring Console Management Command Line Configuring Console Management Web InterfaceAbout Console Management Example SSH2 and Menu Access Example Alternate IP Addresses10-4 Configuring About Modbus Configuring Modbus Using the Web Interface Configuring Modbus from the Command Line 11-5 Configuring a Port-Connected Master Configuring Network-Connected MastersExamples Configuring Security Features Controlling Access to Inbound Ports Default Access RestrictionsOptions for Removing Access Restriction Procedure for Changing a Port’s Access RequirementsControlling Access to Outbound Ports Default AccessRestricting Access to Outbound Ports Method 1 AutoconnectionIssuing User Passwords Password Protection Configuring SSH Version 2 for Secure CommunicationUsing a Public Key 12-6 Configuring DNS About the Domain Name System Procedure for Using a Name Server Configuration ProceduresProcedure for Using a Host File 13-4 Configuring Snmp About Snmp and the Digi One/PortServer TS 2/4 Agent Configuration Procedure Command Line Configuration Procedure Web InterfaceConfiguration Example 14-4 Configuring Users About Configuring Users Common User FeaturesConfiguring a User Web Interface Configuring a User Command Line Examples Managing the OS and Configuration Upgrading the OS Firmware Web Interface Upgrading the OS Firmware Command Line Prerequisite TaskConfiguring Digi One/PortServer TS 2/4 from a Remote Host When To Use Remote ConfigurationRules for Editing a Configuration file Copying the Configuration File to a HostCpconf fromhost=199.250.121.12cnfg-fle Resetting the Configuration to Defaults Configuration Examples Terminal Server Configuration Without RealPort ConfigurationConfiguration Notes IllustrationTerminal Server Configuration Using Autoconnection Terminal Server Configuration Using RealPort Digi One/PortServer TS 2/4 Troubleshooting Symptom Digi One/PortServer TS 2/4 Does Not Boot ProceduresSymptom Cannot Telnet to the Digi One/PortServer TS 2/4 AssumptionsSymptom Trouble Accessing a Port Running Digi One/PortServer TS 2/4 Customer DiagnosticsKey to Interpreting Digi One/PortServer TS 2/4 LEDs Troubleshooting Tftp ProblemsVerifying Tftp on a Unix System Kill -1inetdPID Checking for Duplicate IP Addresses Verifying the Digi One/PortServer TS 2/4 IP AddressPinging an IP Address Verifying the Network Cabling Verifying the RealPort Process AIX Verifying the RealPort ProcessHP-UX Verifying the RealPort Process Linux Verifying the RealPort ProcessWindows 2000 Verifying the RealPort Service Windows NT Verifying the RealPort ServiceSolaris Verifying the RealPort Process Digi Contact Information Digi International Bren Road East Minnetonka, MN18-12