Perle Systems 5500208-41 manual Modbus Commands, Set Modbus Gateway

Page 21

Modbus Commands

Modbus Commands

Set Modbus Gateway

Description

Sets the Modbus parameters for the IOLAN when it is operating as a Modbus Gateway.

User Level

Admin

Syntax

set modbus gateway [addr-mode embeddedre-mapped]

 

[broadcast onoff] [char-timeout <number>]

 

[req-next-delay <number>] [exceptions onoff]

 

[idle-timer <number>] [mess-timeout <number>]

 

[port <TCP/UDP_port>] [req-queuing onoff]

 

[remapped-id <1-247>]

Options

addr-mode

 

Determines if the original UID address will be embedded in the transmission header or

 

if a specified (remapped) UID will be embedded in the transmission header.

 

broadcast

 

When enabled, a UID of 0 (zero) indicates that the message will be broadcast to all

 

Modbus Slaves. The default is Off.

 

char-timeout

 

Used in conjunction with the Modbus RTU protocol, specifies how long to wait, in

 

milliseconds, after a character to determine the end of frame. The default is 30 ms.

 

req-next-delay

 

A delay, in milliseconds, to allow serial slave(s) to re-enable receivers before issuing

 

next Modbus Master request. The default is 50 ms.

 

exceptions

 

When enabled, an exception message is generated and sent to the initiating Modbus

 

device when any of the following conditions are encountered: there is an invalid UID,

 

the UID is not configured in the Gateway, there is no free network connection, there is

 

an invalid message, or the target device is not answering the connection attempt. The

 

default is On.

 

idle-timer

 

Specifies the number of seconds that must elapse without any network or serial traffic

 

before a connection is dropped. If this parameter is set to 0 (zero), a connection will not

 

be dropped (with the following exceptions: the TCP KeepAlive causes the connection

 

to be dropped or the Modbus device drops the connection). The default is 10 seconds.

 

mess-timeout

 

Time to wait, in milliseconds, for a response message from a Modbus TCP or serial

 

slave (depending if the Modbus Gateway is a Master Gateway or Slave Gateway,

 

respectively) before sending a Modbus exception. The default is 1000 ms.

 

port

 

The network port number that the Slave Gateway will listen on for both TCP and UDP

 

messages. The default is 502.

 

req-queuing

 

When enabled, allows multiple, simultaneous messages to be queued and processed in

 

order of reception. The default is On.

 

remapped-id

 

Specify the UID that will be inserted into the message header for the Slave Modbus

 

serial device. Valid values are 1-247.

21

Image 21
Contents Iolan DS1/TS2 EN 55022 1998, Class A, Note Table of Contents User Commands Line Commands Network Commands Time Commands Statistic Commands Glossary Channel Control CommandsIolan DS1/TS2 CLI Reference Guide, Version Preface About This BookIntended Audience Making a Technical Support Query Contacting Technical SupportFeedback on this Manual Repair ProcedureContacting Technical Support Introduction Command SyntaxIntroduction CLI ConventionsCommand Options Command ShortcutsServer Commands Server CommandsSet Custom-App Set ServerDhcp/bootp Bypass-passwordOem-login Password-limitTimeout Set ServicePrompt-with-name Single-telnetHardware Commands Set Modbus Gateway Modbus CommandsUser Level Admin TruePort Baud CommandsSet TruePort Remap-Baud Show TruePortIPv6 Commands Set IPv6Show IPv6 Set Custom-IPv6 Add Custom-IPv6Range Default Range Default 64 method manualDelete Custom-IPv6 Field Format IPv6 address prefix-bits manualIPv6 Commands Commands for Users Logged Into the Iolan User CommandsPing MenuResume ScreenSet User Session Set UserSyslog Console Show Line UsersShow Sessions Show TermtypeTcpport TelnetSet Default User Configuring UsersVersion Add UserLevel Hotkey-prefixService Line-accessSess-timer Phone-numberSet User Level Configureduser Show Default UserShow the settings for the specified user Show the settings for the current userConfiguring Users Port vs -Port Line Commands Line CommandsLine Commands Set LineDial-timeout Break-delayOptions break Break-lengthInitial Data-logginInitiate-connection Internet-addressDefault Disabled Session strings ResetDefault 10 ms LockStop-bits Term-typeTerm1, Term2, Term3 user defined terminals User Set Line Interface Set Line Service ConfighostServerport Hostport Set Modem ModemnameInitstring Show Line Line Service CommandsOptions termtype Set Telnet-ClientOutboundport Set UDPStartipaddress EndipaddressSet Vmodem Set Vmodem-Phone Set Modbus-Slave Line Set Modbus-Master LineIPaddress Set Line Initiate-Connection Set Multihost LineShow Telnet-Client Show InterfaceShow UDP Show VmodemAdd Modem Modem CommandsDelete Modem Show ModemsSet Packet-Forwarding Line Packet Forwarding CommandsEnable-end-trigger2 Enable-end-trigger1Enable-end-eof1 Enable-end-eof2Show Packet-Forwarding Line Packet Forwarding Commands Snmp Commands Network Commands ChapterAdd Community Add TrapDelete Trap Delete CommunitySet Snmp Show SnmpHosts Commands Tftp CommandsShow Hosts Gateway CommandsAdd Gateway Delete GatewaySet Gateway Description Configures the gateway User Level Admin SyntaxShow Gateways DestinationipLogging Commands Set SyslogShow Syslog Time Commands Time CommandsTime/Date Setting Commands Show Date Bootup Commands Administration CommandsShow Bootup Set BootupConfiguration file Show ARPNetload Tftp File Transfer CommandsHostname/ipaddress FilenameOptions Factory-default-config Custom Factory DefaultNetsave Table or a DNS serverSet Motd CommandsSet Motd Show MotdMotd Commands Configuration Statistics Statistic Commands ChapterShow Netstat Show Modbus StatisticsRun-Time Statistics O Commands Global I/O CommandsSet IO UDP Set Line Set IO Temperature-ScaleSet IO Failsafe Set IO ModbusSet IOChannel Set IOChannel ModeSet IOChannel Digital I/O Set IOChannel Digital InputSet IOChannel Digital Input Serial Pins Set IOChannel Digital Output Current status. The default is disabledDescription can be up to 20 characters Will be displayed as activeInactive-signal-width Active-signal-widthActive-to-inactive-delay Inactive-to-active-delaySet IOChannel Relay Set IOChannel Digital Output Serial PinsOptions description RelaynumberOptions analogchannel Set IOChannel Analog True AnalogTrigger-level Trigger-typeClear-mode Clear-levelSet IOChannel Analog Temperature Level Default Disabled keepalive EnabledSet IOChannel IOExtension Options channelClient-initiated multihost Client-initiated tcp-portServer-initiated tcp-port Local-connection inputchannelShow IOChannel Status Set IOChannel MultihostKill IOChannel ChannelShow IOChannel Show IODigital Output Channel Control CommandsDigital Input RelayGlossary