Check for a load – Rockwell Automation Logix5000 Controllers Nonvolatile Memory Programming Manual User Manual
Page 21

Store and load a project by using a memory card Chapter 1
Figure 1: Load and Update Examples on the Status Display
When the controller loads a project from a memory card, it:
• Logs a minor fault (type 7, code 49).
• Sets the FaultLog object, MinorFaultBits attribute, bit 7.
If you want your project to flag that it loaded from a memory card, use this logic.
On the first scan of the project (S:FS is on), the GSV instruction gets the FaultLog
object, MinorFaultBits attribute, and stores the value in minor_fault_bits. If bit 7
is on, the controller loaded the project from its memory card.
Where
Is
Minor_fault_bits
Tag that stores the FaultLog object, MinorFaultBits attribute. Data type is
DINT.
NVM_load
Tag that indicates that the controller loaded the project from its memory
card.
Check for a load
Rockwell Automation Publication 1756-PM017F-EN-P – October 2014
21