Rockwell Automation 284 ArmorStart User Manual User Manual

Page 278

Advertising
background image

11-10

ArmorStart® to ArmorPoint® Connectivity

Triggering a System Wide Write

Once a successful System Wide Read has been initiated and the
Read_All_System_Done_Flag bit is energized, a System Wide Write
can be triggered. To trigger the system wide write, the contact
Write_All_Condition_Here needs to be energized in the ladder logic.
This can be done through additional logic or simply by energizing the
bit on-line, in the RSLogix5000 software, Controller Tag monitor
screen. The Write_All_Condition_Here is handled as a one shot
inside the logic, but should be de-energized at a later time. This is so a
System Wide Write is not triggered after every Logix power cycle or
for each transition from Program to RUN mode. When the write
finishes successfully, the Write_All_System_Done_Flag bit
energizes in the logic. If an error occurs during the write, the
Write_All_System_Error_Flag bit energizes and the error will be
logged into the structure called Error_Report.

Interpreting the Error Report

If an error occurs during the operation of the ladder logic, either the
Write_All_System_Error_Flag or Read_All_System_Error_Flag
bits will energize depending on which function was being triggered.
Information will be logged inside the data structure Error_Report,
that will aid in troubleshooting the problem. The format of this
structure is shown below.

Figure 11.13Error Report

The first element of this structure is .Local_Error and will contain a
number corresponding to an error interpretation. The error numbers
are described below.

Table 11.1 Error Definitions

Error

No.

Error Description

0

Success. Function completed successfully.

1

Read Number Parameter Error. Num_Devices element in the configuration is either 0 or
greater than the Max_Devices element.

2

Read Message Block Error. The Message block doing the data reads returned back an
error. Look at the Msg_Error and Msg_Ext_Error fields for the errors reported by the
message.

3

Write Data out of Limits. The value of the data to be written is either less than the
Min_value or greater than the Max_value.

4

Write Message Block Error. The Message block doing the data writes returned back an
error. Look at the Msg_Error and Msg_Ext_Error fields for the errors reported by the
message.

5

Write Disallowed. The System Wide Write attempted without a successful System Wide
Read done first.

6

Data Write Error. The data read back after a parameter write, does not match.

7

Number of Parameters Error. The number of parameters read from an ArmorStart is
greater than the Max_Devices element in the structure.

Advertising
This manual is related to the following products: