Isa.ini settings, Decimal format for modbus addresses – Rockwell Automation T8082 Trusted Toolset Suite User Manual

Page 77

Advertising
background image

Trusted

TM

Toolset Suite T8082

Issue 14 Feb 10

PD-T8082

77

8. ISA.INI settings

The Toolset EXE folder contains a system initialisation file called isa.ini. This controls the operation of
the Toolset programs. Many of the entries are simply recording the settings assigned in the Options
menus in each Toolset sub-program. There are however some options which may prove useful to the
programmer.

8.1. Decimal format for Modbus addresses

The following setting in the ISA.INI file allows the user to edit and display Modbus addresses in the
Network Address field as decimal numbers rather than the default hexadecimal number format. Place
the following setting in the section marked [EDIT] in the ISA.ini file.

[EDIT]

NwAddrDecimal=1

With this setting:

a) When editing an individual variable definition in the Dictionary, you can enter normal decimal
numbers for the Modbus address. For example, enter 40001 rather than the hexadecimal address
9c41.

b) In the Dictionary display list of variables, the address column shows the values in decimal format.

c) When you use the Export/Import tools in the Dictionary, the Network Address is imported and
exported in decimal format, i.e. 40001 rather than 16#9c41.

d) The source files for dictionary variables, APPLI.DCO, APPLI.DLO, still contain the Modbus Address
in hexadecimal, so other software that uses these files (e.g. the OPC Server) remain unaffected.

8.2. Configure an Internal variable or Constant with an Initial Value and
the Retain attribute

The following setting in the ISA.INI file allows the user to configure variables with an initial value, as
well as the Retain attribute. Without this setting, the dictionary only allows a variable to have one or the
other attributes, but not both. Place the following setting in the section marked [DEBUG] in the ISA.ini
file.

[DEBUG]

AllowRetainInit=1

With this setting:

a) An "Internal" variable configured with an initial value and Retain attribute can have an initial value the
first time you ever download and run the application. Any change to the value on-line will then be
retained in the target if you ever reboot the target, or stop and start the application. However, if you
ever start from scratch with a new processor, the original initial value defined in the dictionary will be
used. Changes to the value of the "Internal" variable are retained in the processor, but are not saved
back to the Toolset.

b) A variable can be defined as a "Constant" rather than an "Internal". When a Constant is configured
with an Initial Value, and the Retain attribute, the Constant has an initial value the first time you ever

Advertising