Offline Mode Configuration

<< Click to Display Table of Contents >>

 

Offline Mode Configuration

This Driver's configurations can also be accessed at run time if it starts in Offline mode, as explained on topic Documentation of I/O Interfaces, by using the String-type parameters described on the next table.

Available parameters

Parameter

Type

ModiconModbus.ModbusMode

Integer. Possible values are 0: Modbus RTU, 1: Modbus ASCII, or 2: Modbus TCP

ModiconModbus.Olderaddr

Boolean. Possible values are 0: Data is addressed from 0 (zero) or 1: Data is addressed from 1 (one)

ModiconModbus.UseDefaultSlaveAddress

Boolean. Possible values are 0 (zero) or 1 (one)

ModiconModbus.DefaultSlaveAddress

Unsigned integer

ModiconModbus.UseSwapAddressDelay

Boolean. Possible values are 0 (zero) or 1 (one)

ModiconModbus.SwapAddressDelay

Integer, with a delay interval in milliseconds. NOTE: Obsolete option kept for compatibility reasons. For new applications, please use the Inter-frame delay option on the Serial tab of IOKit library

ModiconModbus.WaitSilenceOnError

Boolean. Possible values are 0 (zero) or 1 (one)

ModiconModbus.UseGatewayTCP

Boolean. Possible values are 0 (zero) or 1 (one)

ModiconModbus.EnableCMSAddressing

Boolean. Possible values are 0 (zero) or 1 (one)

ModiconModbus.ConfigFile

String containing a configuration file with this Driver's operations. This file can be exported and imported on the Operations tab on this Driver's configuration window

ModiconModbus.EnableReconnectAfterTimeout

Boolean. Possible values are 0: Time-out does not generate a disconnection from physical layer or 1: In case of a time-out, when in an Ethernet physical layer, this Driver performs a physical layer disconnection and a reconnection. For Modbus RTU/ASC serial protocol communications over Ethernet, the reconnection is always performed after a time-out

ModiconModbus.UseDemotion

Boolean. Possible values are 0: Disables the Auto-Demotion mode or 1: Enables the Auto-Demotion mode

ModiconModbus.DemotionTime

Integer. Defines the inactivity time, in seconds, for a Slave device that entered the Auto-Demotion mode

ModiconModbus.DemotionErrorCount

Integer. Defines the limit on the number of consecutive failures by time-out, to put a Slave device in the Auto-Demotion mode

ModiconModbus.UserTypesConfigFile

Configuration String for user-defined data types, or structures. This is the same configuration file available on this Driver's configuration window, in the User-Defined Types option

ModiconModbus.EnableGenSOERegGrouping

Boolean. Possible values are 0: Event-reading algorithm first reads control registers, and then event data or 1: Generic SOE reading is grouped to its maximum, not only reading control registers first, but also the maximum possible events

ModiconModbus.ShowOperationsInTagBrowser

Boolean. Possible values are 0: Tag Browser window displays Tag models configured by Strings, which is the default behavior, or 1: Tag Browser window displays Tag models configured numerically, which is the legacy behavior

 

For more information about Offline configurations at run time, please check topic Documentation of I/O Interfaces.

Was this page useful?