User data objects, 2 user data objects – ProSoft Technology MVI56-LTQ User Manual
Page 32

Ladder Logic
MVI56-LTQ ♦ ControlLogix Platform
User Manual
Limitorque Valve Actuator Master Communication Module
Page 32 of 98
ProSoft Technology, Inc.
August 30, 2010
3.1.2 User Data Objects
These objects hold data to be transferred between the processor and the MVI56-
LTQ module. The first user data object is the LTQBackplane object that contains
the variables required by the ladder logic program for data transfer between the
module and the processor. The following table describes the structure of this
object.
Name
Data Type
Description
LastRead
INT
Index of last read block
LastWrite
INT
Index of last write block
BlockIndex
INT
Computed block offset for data table
Values in this structure are used by the ladder logic and initialized by the power-
up function. The values in this block should change very rapidly as the transfer
process is very fast.
The last set of user data is shown in the following illustration:
Name
Data Type
Description
Valve
LTQValve[150]
Valve data
DoneBits
INT[10]
Done bit data for commands
Open
INT[10]
Open Command bits
Stop
INT[10]
Stop Command bits
Close
INT[10]
Close Command bits
InitESD
INT[10]
Initiate ESD bits
TermESD
INT[10]
Terminate ESD bits
Reset
INT[10]
Reset Command bits
Contactors
LTQCont[6]
Contactors #1 to #6 engage/disengage bits
AnalogCmd
INT[10]
Command valve to set analog position bits
AnalogPos
INT[150]
Analog valve positions (0-100) to be used for
set cmd
The value array stores data transferred from the module to the processor. The
following table describes the structure of each element in the array.
Name
Data Type
Description
ValvePos
INT
Position of valve 0-100%
Status
INT
Status Register BIts
Fault
INT
Fault Register Bits
DOut
INT
Digital Output Bits
DIn1
INT
Digital Input 1 bits
DIn2
INT
Digital Input 2 bits
ComStatus
INT
Communication Status Code
ComCntr
INT
Communication poll counter (0-32767) for
success
SPoll1
INT
Special polling register #55
SPoll2
INT
Special polling register #6 and #7
SPoll3-SPoll65535
INT
Special Polling register #3 to #65535