User manual

IEC61131 User and Reference Manual
April 22, 2008
232
devConf
Device Configuration
The devConf function block provides a method for users to assign an ID number to the
applications running in a SCADAPack or SCADASense controller. This module is supported
on all SCADAPack controllers with 2.44 (or later) firmware; SCADAPack 32 controllers with
1.92 (or later) firmware and SCADAPack 350/SCADASense controllers with 1.25 (or later)
firmware.
The devConf function block sets the Company ID, Logic Application number and logic
Application version. This information is then saved in a group of reserved registers the I/O
database. Refer to the Device Configuration Read Only Registers section below for
details on the Logic Application ID. These registers may be polled by SCADA Host software
or other Modbus compatible devices.
Users must add a rung to the logic application that specifies the appropriate information for
the Logic Application ID.
Note: For SCADAPack and SCADAPack 32 controllers it is necessary to create a logic
application consisting of at least one element. If there is no logic program present
then the logic application ID is cleared.
The number of applications and version control are the responsibility of the user.
Description
The device configuration function specifies the logic application ID and selects if the device
configuration registers are mapped into the I/O database. The function sets the first logic
application ID.
enable
company
app
version
status
devConf
Arguments
Inputs
Type
Description
enable
Boolean
false = configuration registers operate as normal input
registers
true = configuration registers report device
configuration
company
Integer
Company ID contact Control Microsystems to obtain
your company ID
app
Integer
Application number
version
Integer
Application version (major * 100 + minor)
Outputs
Type
Description
status
Boolean
true if enable is true, false otherwise