Using RSLogix
Guard PLUS!
Software with
GuardPLC™
Controllers
Bulletin 1753, 1754, 1755
Programming Manual
Important User Information
Solid state equipment has operational characteristics differing from those of
electromechanical equipment. Safety Guidelines for the Application, Installation and Maintenance of Solid State Controls (Publication SGI-1.1
available from your local Rockwell Automation sales office or online at
http://www.ab.com/manuals/gi) describes some important differences
between solid state equipment and hard-wired electromechanical devices.
Because of this difference, and also because of the wide variety of uses for
solid state equipment, all persons responsible for applying this equipment
must satisfy themselves that each intended application of this equipment is
acceptable.
In no event will Rockwell Automation, Inc. be responsible or liable for
indirect or consequential damages resulting from the use or application of
this equipment.
The examples and diagrams in this manual are included solely for illustrative
purposes. Because of the many variables and requirements associated with
any particular installation, Rockwell Automation, Inc. cannot assume
responsibility or liability for actual use based on the examples and diagrams.
No patent liability is assumed by Rockwell Automation, Inc. with respect to
use of information, circuits, equipment, or software described in this manual.
Reproduction of the contents of this manual, in whole or in part, without
written permission of Rockwell Automation, Inc. is prohibited.
Throughout this manual we use notes to make you aware of safety
considerations.
WARNING
Identifies information about practices or circumstances
that can cause an explosion in a hazardous environment,
which may lead to personal injury or death, property
damage, or economic loss.
IMPORTANT
ATTENTION
Identifies information that is critical for successful
application and understanding of the product.
Identifies information about practices or circumstances
that can lead to personal injury or death, property
damage, or economic loss. Attentions help you:
• identify a hazard
• avoid a hazard
• recognize the consequence
GuardPLC is a trademark of Rockwell Automation.
Modbus is a registered trademark of Schneider Automation, Inc.
DeviceNet is a trademark of Open DeviceNet Vendor Association.
All other trademarks are the property of their respective holders and are hereby acknowledged.
Summary of Changes
The information below summarizes the changes to this manual since
the last publication.
To help you find new and updated information in this release of the
manual, we have included change bars as shown to the right of this
paragraph.
Programming and configuration procedures and examples have been
removed from the GuardPLC Controller Systems User Manual,
publication 1753-UM001 and assembled in this programming manual.
In addition, new and updated information has been provided as
described in the table below.
For Information AboutSee
The hardware, installation, wiring, and communications
information for GuardPLC controllers and distributed I/O
modules
The purpose of this manualpage P-1
the GuardPLC Controller
Systems User Manual,
publication 1753-UM001
Related publicationspages P-1 and P-2
What to do if communication to a new controller failspage 1-22
Connecting to GuardPLC distributed I/O modulesChapter 2
Use this manual if you are responsible for programming, or
troubleshooting control systems that use GuardPLC controllers.
Personnel responsible for installation, programming, operation, and
troubleshooting of safety-related controllers must be familiar with
relevant safety standards for Programmable Electronic Systems (PES).
The manual provides procedural information on programming your
controller system, including information on establishing
communication between your programming terminal and the
GuardPLC controller, creating a GuardPLC project, adding GuardPLC
distributed I/O to your project, and creating user-defined function
blocks.
For information on installing, configuring, operating, and monitoring
the status of your GuardPLC controller system, refer to the GuardPLC
Controller Systems User Manual, publication number 1753-UM001.
This manual does not provide information on SIL 3 or Cat. 4 safety
application requirements. For detailed information on the safety policy
regarding GuardPLC controllers, including information on the
controller’s central functions, input and output channels, operating
system, application program safety and regulations for use, refer to the
GuardPLC Controller Systems Safety Reference Manual, publication
number 1753-RM002.
Related Documentation
1Publication 1753-PM001A-EN-P - November 2005
The table on the following page lists documents that contain
additional information concerning Rockwell Automation GuardPLC
products.
If you would like a manual, you can:
• download a free electronic version from the internet at
www.rockwellautomation.com/literature.
• purchase a printed manual by contacting your local
Allen-Bradley distributor or Rockwell Automation sales office.
2 Preface
ForRead this DocumentDocument
Number
In-depth information on the safety concept of GuardPLC
controller systems, including the DeviceNet Safety Scanner for
GuardPLC Controller Systems Safety Reference
Manual
1753-RM002
GuardPLC Controllers.
Information on installing, configuring, operating, and
GuardPLC Controller Systems User Manual1753-UM001
monitoring the status of your GuardPLC controller system.
Information on installing, configuring, and operating a
DeviceNet Safety Scanner in a GuardPLC application.
Information on operating 1791DS DeviceNet Safety I/O
DeviceNet Safety Scanner for GuardPLC Controllers
1753-UM002
User Manual
DeviceNet Safety I/O User Manual1791DS-UM001
Modules
Information on using Certified Function Blocks in your GuardPLC
safety application.
In-depth information on grounding and wiring Allen-Bradley
programmable controllers
A description of important differences between solid-state
GuardPLC Certified Function Blocks Safety Reference
1753-RM001
Manual
Industrial Automation Wiring and Grounding
1770-4.1
Guidelines
Application Considerations for Solid-State ControlsSGI-1.1
programmable controller products and hard-wired
electromechanical devices
An article on wire sizes and types for grounding electrical
equipment
National Electrical Code - Published by the National Fire Protection
Association of Boston, MA.
A glossary of industrial automation terms and abbreviationsAllen-Bradley Industrial Automation GlossaryAG-7.1
Publication 1753-PM001A-EN-P - November 2005
In This Chapter
Chapter
Connect to the GuardPLC Controller
For information aboutSee page
connecting to the controller via RSLogix Guard PLUS1-1
going online with the GuardPLC controller1-5
configuring the programming terminal1-19
login dialog1-20
determining the IP address and SRS of the controller1-21
changing the SRS of the controller1-22
changing the IP address of the controller1-23
1
Connect to the Controller
via RSLogix Guard PLUS!
Software
You connect the controller to the programming terminal via an
Ethernet port on the controller. The programming terminal must have
an Ethernet port or Ethernet communication card.
To directly connect the programming terminal to the controller, use a
cross-over Ethernet cable. The GuardPLC 1600 and 1800 controllers
feature auto-sensing ports so that a cross-over or straight-thru cable
may be used.
Connect to a GuardPLC 1200 Controller
PLC
1200
Ethernet port
(on the bottom of the controller)
1Publication 1753-PM001A-EN-P - November 2005
1-2 Connect to the GuardPLC Controller
Connect to a GuardPLC 1600 or 1800 Controller
Ethernet Ports 3 and 4
(—)4(—)
3
L-L- L+ L+
24V DC
RS-485
10/100 BaseT
(—)2(—)
1
MODBUS
COMM1
COMM2COMM3
ASCII/HSP
GuardPLC Ethernet
Ethernet Ports 1 and 2
Connect to a GuardPLC 2000 Controller
Tx COL
Ethernet port
10/100 Base T
GuardPLC Controller Factory Default Settings
ParameterSetting
IP Address192.168.0.99
Subnet Mask255.255.252.0
(1)
SRS
(1) The SRS code is compiled with the program. It guarantees that the program can only be
downloaded to a GuardPLC controller with a matching SRS stored in non-volatile memory.
60000
Understand Ethernet Addressing
Publication 1753-PM001A-EN-P - November 2005
As with any connection between devices on Ethernet, the IP address
and subnet mask determine if the connection can take place. Every
device on Ethernet has an IP address and subnet mask.
The IP address and subnet mask are made up of four (4) octets
(001.002.003.004) The IP address is made up of the Network ID
Connect to the GuardPLC Controller 1-3
(octets 001 and 002) and the Host ID (octets 003 and 004). The
Network ID portion of the IP address is derived from the subnet mask.
When any two devices attempt to talk on Ethernet, a check is made to
see if the Network ID of both the originator and the destination
address match. If they match, then the message is sent on the local
network. If they do not match, then the message is sent to the
Gateway to route the message to the destination. The subnet masks of
all the devices on a local network should be the same.
The example below illustrates how to derive the Network ID based on
the GuardPLC controller’s IP address and subnet mask defaults.
Set up the programming terminal’s IP address so that it has the same Network ID as
the GuardPLC controller. Octets one and two have to be the same because the
subnet mask octets are 255. The third subnet mask octet is 252, which means that
only the last two bits can be different.
If the factory default settings above are used, the allowable IP addresses for the
programming terminal running RSLogix Guard PLUS! software are:
• 192.168.0.xxx (xxx represents any value between 000-255)
• 192.168.1.xxx
• 192.168.2.xxx
• 192.168.3.xxx
Configure the IP Address of Your Programming Terminal
IMPORTANT
The first time you connect to a controller, you must
use the factory-set IP address of 192.168.0.99 and the
default SRS of 60000. After you establish
communications with the controller (using the steps
on the following pages), you can change the IP
address and SRS to better accommodate your
Ethernet network.
Publication 1753-PM001A-EN-P - November 2005
1-4 Connect to the GuardPLC Controller
Change the IP address of your programming terminal running RSLogix
Guard PLUS! software so that the GuardPLC controller and
programming terminal can communicate on a local network.
TIP
If you suspect the GuardPLC controller has the
factory-set default IP address of 192.168.0.99 and the
default subnet mask of 255.255.252.0, set your
programming terminal’s IP address to 192.168.0.98
with a subnet of 255.255.252.0 to establish
communications.
To change the IP address:
1. In Windows 2000, choose Start>Setting >Control Panel>Network
and Dial-up Connections.
2. Open Local Area Connections and click Properties. Select TCPIP
and click Properties.
3. Set the General TCP/IP Properties as shown below.
Publication 1753-PM001A-EN-P - November 2005
4. Confirm your settings by clicking OK in both dialog boxes.
Connect to the GuardPLC Controller 1-5
Go Online with the
GuardPLC Controller
Notes:
(1) Assume correct SRS was entered in Step 3.
(2) The controller reverts back to its prior settings if it is
not re-configured before the next power cycle.
(3) If the controller was previously running and the SRS
was changed in Step 5, or if the controller is new
(out-of-box), the only way to clear the FAULT is to
download a program with a matching SRS.
Step 8: Change
Controller Mode to
STOP
The following flowchart illustrates the steps required to successfully
go online with the GuardPLC controller.
Step 1: Open RSLogix
Guard PLUS!
Step 2: Create a New
Project
Step 3: Configure the
controller type and SRS
Do you already know
settings?
NO
Step 4: Communication
Settings
YES
Note: This path is not possible for
GuardPLC 1200 and GuardPLC 2000
controllers.
Step 12: Fault Recovery
NO
after Reset.
YES
Is the
FAULT LED
illuminated?
Step 9: Reset Controller
Default Settings
(2)
Step 6: Move Settings
into Offline Project
Step 7: Connect to
Controller Using
Control Panel
NO
Are you online with
the correct settings?
NO
YES
Do you
want to change these
settings in the
controller?
YES
YES
Did
communication
settings read IP/SRS
successfully?
YES
Is the
controller in RUN
mode?
NO
Step 5: Change
Settings via MAC
Address
(3)
DONE
NO
Do you
think you know the
controller settings?
YES
Step 10: Ping the
Controller
Ping successful?
YES
Step 11: Configure
Controller IP
Address
(1)
NO
NO
The steps are described in detail in the following sections.
Open an existing project or create a new project that contains a
GuardPLC controller.
1. To create a new project, choose Project>New from the main
menu or click the New icon.
2. Enter the name of the project in the Object Name field.
3. Click OK.
Publication 1753-PM001A-EN-P - November 2005
Connect to the GuardPLC Controller 1-7
The RSLogix Guard PLUS! Hardware Management window opens.
Both the Project Management and Hardware Management windows
are normally open when running RSLogix Guard PLUS! software.
Step 3: Configure the Controller Type and SRS
To go online, you must specify the controller type and change the
default SRS. The software defaults to an SRS of zero (0), which is the
only illegal SRS value. To accept the controller type, the SRS must be
changed to a value between 2
(1)
and 65535.
1. Expand the project tree in the Hardware Management window
until [0] Resource is visible.
2. Right-click [0] Resource and choose Properties.
(1) The programming terminal defaults to 1.
Publication 1753-PM001A-EN-P - November 2005
1-8 Connect to the GuardPLC Controller
3. Specify the controller type and enter an SRS of 60000.
You must use the default SRS of 60000 the first time you connect
to a GuardPLC controller.
4. Click OK.
The Hardware Management window appears as shown below.
Notice that the SRS has changed to 60000.
Publication 1753-PM001A-EN-P - November 2005
Connect to the GuardPLC Controller 1-9
Step 4: Get Communication Settings
1. Choose Online>Communication Settings from the pull-down
menu.
2. Enter the last three elements of the MAC address into the MAC
Address field and click Get.
The MAC address is on the sticker on the side of a GuardPLC
1200 controller, on the label positioned over both lower RJ-45
connections on GuardPLC 1600/1800 controllers and I/O, or on
the front bezel of the AB-CPU module of a GuardPLC 2000
controller.
The IP address and SRS of the GuardPLC controller should
appear in the Address PES using… fields.
TIP
If communication fails, you may need to
disable your fire wall or security settings.
Publication 1753-PM001A-EN-P - November 2005
1-10 Connect to the GuardPLC Controller
Step 5: Change Settings via MAC Address
1. Enter desired settings for the IP and SRS in the Communication
Settings fields indicated by the arrows below.
2. Click the Set via MAC button.
3. Enter the default username ‘Administrator’ in the Authentication
window, as shown below.
4. Click OK.
Publication 1753-PM001A-EN-P - November 2005
Connect to the GuardPLC Controller 1-11
The IP address and SRS should have changed. A prompt appears at
the bottom of the window and the settings in the middle fields
change.
Step 6: Move the Settings Into Your Offline Project
If you wish to connect using the current GuardPLC controller settings,
move the settings into your offline project.
1. Left-click -> Project.
Publication 1753-PM001A-EN-P - November 2005
1-12 Connect to the GuardPLC Controller
2. Make sure Resource is selected in the Resource Selection
window and click OK.
3. Click Yes.
This moves the IP address and SRS of the GuardPLC controller to your
offline project and overwrites the existing values. These new values
are used in the login screen to connect with the GuardPLC controller.
Step 7: Use the Control Panel to Connect to the GuardPLC
Controller
1. Right-click [60000] Resource.
2. Choose Online>Control Panel.
3. Type [Ctrl]+[A] to fill in the default Username, Password, and
Access Type in the Login Window.
Publication 1753-PM001A-EN-P - November 2005
4. Click OK.
Connect to the GuardPLC Controller 1-13
The Control Panel Online indicator will be GREEN if the controller is
in RUN Mode. The Online indicator may also be yellow, white, or red
based on its current state.
TIP
If you are successfully online with the GuardPLC
controller and in RUN mode (Green Online indicator
as shown above), you do not need to continue with
the steps 8 through 12. However, if you are not
online and in RUN mode, consult the flowchart on
page 1-5, and perform the appropriate steps.
Publication 1753-PM001A-EN-P - November 2005
1-14 Connect to the GuardPLC Controller
Step 8: Change the Controller to STOP Mode
To change the controller to STOP mode, choose Resource>Stop from
the Control Panel or use the Stop icon.
When in STOP Mode, the Control Panel appears as follows:
Close the Control Panel.
Step 9: Reset the Controller to the Default Settings
In some cases, you may have to reset the GuardPLC controller to its
default IP address and SRS.
GuardPLC 1600 and 1800 controllers have a Reset button that is
accessible via a small hole directly to the right of the Ethernet ports on
top of the controller. The Reset button returns the IP address, SRS and
Password settings to:
ParameterSetting
IP Address192.168.0.99
SRS60000
UsernameAdministrator
Password[none]
Publication 1753-PM001A-EN-P - November 2005
Connect to the GuardPLC Controller 1-15
To reset the controller:
1. Hold down the Reset button, then power cycle the GuardPLC
controller.
2. Continue to hold down the Reset button until the PROG led
stops flashing.
At the next power cycle, the settings will revert back to the last
configured settings. These could be the settings in place prior to the
Reset operation, if you did not reconfigure them after resetting the
controller.
Step 10: Ping the Controller
Use the Start menu to open the RSLogix Guard PLUS! Command
Prompt.
1. Choose Start>Programs>RSLogix Guard PLUS>RSLogix Guard
PLUS Command Prompt.
2. Run IPCONFIG at the DOS Command prompt to verify your
computer’s IP address. It must be on the same local network as
the GuardPLC controller.
Publication 1753-PM001A-EN-P - November 2005
1-16 Connect to the GuardPLC Controller
3. Ping the GuardPLC controller using the command shown at the
C:\> below. If the ping is successful, the IP address of the
GuardPLC controller has been verified and the Ethernet link is
operating. If the ping was not successful either the IP address,
subnet mask, or Ethernet link is not correct. The picture below is
the result of a successful ping.
4. Type EXIT at the command prompt to close the Command
Prompt window.
Step 11: Configure the GuardPLC Controller’s IP Address
1. Expand the project tree in the Hardware Management window
until the controller COM icon is visible.
2. Right-click COM and choose Properties.
Publication 1753-PM001A-EN-P - November 2005
Connect to the GuardPLC Controller 1-17
3. Edit the IP address to match the GuardPLC controller and click
OK.
Step 12: Recover from a Controller Fault After Using the Reset
Button
After using the Reset button, the Control Panel appears as follows if
the SRS was not originally 60000 prior to the Reset. The Fault LED on
the front of the GuardPLC controller is illuminated, and the CPU State
of the Resource is STOP/INVALID CONFIGURATION.
Publication 1753-PM001A-EN-P - November 2005
1-18 Connect to the GuardPLC Controller
To recover from this fault:
1. Choose Extra>Change System ID from the Control Panel.
2. Verify that 60000 appears in the first window with 0 in the
second, as shown below.
3. Click OK.
The Fault LED should turn off, and the Control Panel should show
that the CPU State has changed to STOP/VALID CONFIGURATION, as
shown below.
Publication 1753-PM001A-EN-P - November 2005
TIP
The Online indicator is white because the GuardPLC
controller is in STOP/VALID mode.
Connect to the GuardPLC Controller 1-19
Configure the Programming
Terminal
Specify the Host SRS
From the Hardware Management window, you can specify the host
SRS of the programming terminal.
1. Right-click Programming Terminal and choose Properties.
2. Enter the host SRS (1 to 65535) for the programming terminal.
Make sure the host SRS of the programming terminal is not identical to
the system ID (SRS) of any other controllers or programming
terminals.
In a network, as many as five programming terminals can connect to
the same controller at the same time. However, only one
programming terminal can have read/write access.
If another controller logs in with read access, that additional user can
query controller states and parameters (RUN, STOP, controller
switches, etc.) with the Control Panel. The additional user can also
display data values if the programming terminal has the same
configuration as the controller.
If there are multiple programming terminals in one network, each
programming terminal must have a unique host SRS.
Publication 1753-PM001A-EN-P - November 2005
1-20 Connect to the GuardPLC Controller
Login Dialog
The Login dialog defines the communication parameters between the
controller and the programming terminal.
FieldDescription
IP addressThe IP address of the controller on the Ethernet network.
The factory-set IP address is 192.168.0.99.
SRSSRS stands for System, Rack, Slot. The rack and slot IDs are already preset by the controller, so you only
need to enter the system ID. You can enter any number from 1 to 65,535. However, the number must be
unique from the programming terminal and from any other GuardPLC controllers on the same
Peer-to-Peer Ethernet.
The default (factory-set) SRS is 60000.
Username
(default = Administrator)
Password
(default = <blank>)
Access TypeYour access level.
Your username.
The Administrator assigns a username. The username is sensitive to upper and lower case characters. A
username can only contain letters, numbers, and underscore characters.
You can define as many as 10 usernames per GuardPLC controller.
Your password.
An Administrator assigns a password. The password is case sensitive. A password can only contain
letters, numbers, and underscore characters.
Login as one of these options:
Administratorhighest privileges
manage usernames and passwords
read data from controller
write routines and data into controller
force tags
stop, start, freeze, and force a routine
download an operating system
change IP address and system ID
reboot the controller
can also login under read/write and read levels
Read/Writeread data from controller
write routines and data into controller
force tags
start, stop, freeze, and force a routine
can also login under read level
Readlowest privileges
only read data from controller
As many as five users can login to the same controller at the same time; however, only one of those
users can login as Administrator or Read/Write. The others must login with Read access. If you login
while someone else is logged in with Administrator or Read/Write access, you automatically get Read
access, regardless of the access type you select.
For new controllers, and if the backup battery was removed from a GuardPLC 1200 or 2000 controller,
access is available using the following system defaults: