Offline Mode Configuration

Driver Modicon Modbus

Offline Mode Configuration

Top  Previous  Next

Driver configurations can also be accessed at run time if a Driver 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:

·0: Modbus RTU

·1: Modbus ASCII

·2: Modbus TCP

ModiconModbus.Olderaddr

Boolean (0 or 1):

·0: Data is addressed from 0 (zero)

·1: Data is addressed from 1 (one)

ModiconModbus.UseDefaultSlaveAddress

Boolean (0 or 1)

ModiconModbus.DefaultSlaveAddress

Unsigned integer

ModiconModbus.UseSwapAddressDelay

Boolean (0 or 1)

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 IOKit's Serial tab

ModiconModbus.WaitSilenceOnError

Boolean (0 or 1)

ModiconModbus.EnableCMSAddressing

Boolean (0 or 1)

ModiconModbus.EnCustomizeMaxPDUSize

Boolean (0 or 1)

ModiconModbus.MaxPDUSize

Integer

ModiconModbus.ConfigFile

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

ModiconModbus.EnableReconnectAfterTimeout

Boolean (0 or 1):

·0: Time-out does not generates a disconnection from physical layer

·1: In case of a time-out, when in an Ethernet physical layer, this Driver performs a physical layer disconnection and a reconnection

ModiconModbus.UserTypesConfigFile

Configuration String for user-defined data types (structures). This is the same configuration file available on Driver's configuration window (User-Defined Types)

ModiconModbus.EnableGenSOERegGrouping

Boolean (0 or 1):

·0: Event-reading algorithm first reads control registers, and then event data

·1: Generic SOE reading is grouped to its maximum, not only reading control registers first, but also the maximum possible events

ModiconModbus.ShowOperationsInTagBrowser

Boolean (0 or 1):

·0: Tag Browser displays Tag models configured by Strings (default behavior)

·1: Tag Browser displays Tag models configured numerically (legacy behavior)

 

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

 
Has this section of the documentation helped you configure this Driver?
Yes No
Comments (optional):