beautypg.com

5 - using ladder logic, Chapter objectives, Obtaining sample ladder program from the internet – Rockwell Automation 1746-QS,D17466.19 SYNCHRONIZED AXES MODULE User Manual

Page 27: Configuring your slc processor, off-line, Using ladder logic, Chapter

background image

Chapter

5

Publication 1746-6.19 March 1998

Using Ladder Logic

This chapter covers:

Obtaining sample ladder program from the Internet

Configuring your SLC processor, off-line

Using the sample ladder program, RSExampl.RSS, to:
– copy configuration parameters to the SLC processor
– copy configuration parameters to the module
– operate axis movement automatically
– jog the axis
– respond to loss or restoration of hydraulic power
– run multiple synchronized axes

You can obtain sample ladder logic from the Allen-Bradley website
on the Internet and download it to your PC as an executable file.

To Access the Internet:

1. Access the Allen-Bradley website (and module software logic) at:

http://www.ab.com

/mem/appsys/prodinfo/applac/appla/qssw/index.html

2. The sample ladder program (130 Kbyte) is in the same file as the

Hydraulic Configurator (2.9Mbyte).

3. Download the Hydraulic Configurator and ladder program to your PC.

4. Move the sample program into the subdirectory on your hard drive

where your programming software looks for files.
For example, with

RSLogix500: C:\RSI\Logix500\QSEXAMPL.RSS.

This procedure uses RSLogix500 version 2.0 or later. For other types of
programming software, the procedure and/or prompts may vary.

You must modify the I/O configuration to match your system layout and
change associated addresses, offline.

1. Open file

QSEXAMPL.RSS

from the file pull-down window.

2. Select the I/O Configuration icon and launch it. Then select:

A. Processor type (ladder sample is SLC 5/04).

B. Module slot number (ladder sample is slot 2 in 4-slot chassis).

C. Module ID is 13627 entered under “Other”.

3. The sample ladder logic creates M0/M1 files at 64 words each.

If you move the module to another slot, be sure to retain the files.

4. Search and replace all addresses that must be changed.

5. Save the file as a new file to preserve the original file for backup.

Chapter Objectives

Obtaining Sample Ladder
Program from the Internet

Configuring Your
SLC Processor, Off-line