Studio 5000 Code Examples; Lock And Unlock Commands - Allen-Bradley Guardmaster GuardLink User Manual

Safety system
Table of Contents

Advertisement

Chapter 9
440R-ENETR Network Interface Add-on Profile

Studio 5000 Code Examples

80
10. Go online to Run mode.
11. Download the new configuration to the controller.
Figure 62 - Run and Download
10
The process is complete. The EtherNet/IP interface no longer shows an I/O
Fault.
The following are examples of code that you encounter in the Studio 5000
environment.

Lock and Unlock Commands

Figure 63
shows sample code to lock and unlock guard locking switches.
Rung 9 uses an HMI input to unlock all switches in the GuardLink circuit.
First, we move a zero into the LockCmd to clear out any previous lock
commands. Then, we move a -1 into the UnlockCmd. The -1 is converted to a
1 for each tap. If a tap is not a guard locking switch, then the command is
ignored.
Rung 10 uses an HMI input to lock all switches in the GuardLink circuit. First,
we move a zero into the UnlockCmd to clear out any previous unlock
commands. Then, we move a -1 into the LockCommand. The -1 is converted
to a 1 for each tap. If a tap is not a guard locking switch, then the command is
ignored.
Rungs 11 and 12 provide an example of unlocking and locking a specific
switch. In this case, we move a 4, which is the third tap, instead of a -1.
Rockwell Automation Publication 440R-UM015C-EN-P - April 2018
11

Advertisement

Table of Contents
loading

Table of Contents