beautypg.com

C02 & c03 configuration.rss, 19 utility & example ladder programs – Electro Cam PL-1746 Series User Manual

Page 132

background image

8-19 Utility & Example Ladder Programs

Purpose
This program provides a way to upload, preserve, and download PLS configuration data (all PLS data other than pulse
data). Performing a read means uploading configuration data from the PLS and storing it in an N file. To preserve the
configuration, save the .rss file in RS-Logix, including data files, after performing a read. Performing a write means
downloading the configuration data from an N file into the PLS.

Read Instructions
1.

Download the ladder program into the SLC processor.

2.

Run the ladder program.

3.

Open the Command/Status custom data monitor.

4.

Clear the TransferDirection bit.

5.

Set the Start bit. When all data has been transferred, the Done bit is set.

Write Instructions
1.

Download the ladder program into the SLC processor.

2.

Run the ladder program.

3.

Open the Command/Status custom data monitor.

4.

Set the TransferDirection bit.

5.

Set the Start bit. When all data has been transferred, the Done bit is set.

Notes
1.

If pulses are to be downloaded as well as configuration data, the pulses should be downloaded, as described in
that program’s instructions, after the configuration data has been downloaded as described above.

2.

This program is intended for use with the C02 installed in slot 1 of the SLC rack. If that slot is unavailable, all
references to slot 1 will have to be changed to the appropriate slot number.

3.

Index Across Data Files (S:2/3) must be set to “Yes” for proper operation of this program.

4.

See the documentation contained within the program for further details on its operation

5.

See the chapter 3 of this manual for further details on errors.

Errors
Errors are indicated in the Command/Status Custom Data Monitor. If an error occurs, correct the problem, toggle the
O:S.0/8 Clear Error bit (if necessary), and start the transfer again.

Bulk Error

This bit is set if an error occured during the bulk transfer, which includes all configura
tion data other than the group configuration data.

Group Count Error

This bit is set if there was an out-of-range group count.

Group Position Display

This bit is set if there was an out-of-range group position display value.

Group Channel Count Error

This bit is set if there was an illegal group channel count condition.

Group Offset Error

This bit is set if there was an out-of-range group offset.

Group Mode Error

This bit is set if there was an out-of-range group mode.

Hardware Status/Error Register This word indicates hardware status/errors in the C02.

Error Number Register

This word provides the Mapping Index Number of the register associated with the
error indicated by the Module Status Register.

Programming Error Register

This word indicates programming errors.

Clear Error

This bit may be used to clear errors in either the Hardware Status Register or the
Module Status Register.

C02 & C03 Configuration.rss