C02 & c03 pulses.rss, C02 & c03 example.rss, C02 & c03 -s configuration.rss – Electro Cam PL-1746 Series User Manual

Page 133: C02 & c03 -s pulses.rss, Co2 & c03 -s example.rss, C02 & c03 -s example.rss

Advertising
background image

8-20 Utility & Example Ladder Programs

Purpose
This program provides a way to upload, preserve, and download PLS pulse data. Performing a read means uploading
pulse data from the PLS and storing it in an N file. To preserve the pulse data, save the .rss file in RS-Logix, including
data files, after performing a read. Performing a write means downloading the pulse 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.

Clear all pulse data from the C02/C03. (This is easily accomplished by using Memory Test Function 7002 if a PS-
6400 keypad/display is available. If a keypad/display is not available, each channel must be cleared individually;
see Pulse Edit for instructions.)

5.

Set the TransferDirection bit.

6.

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 after the configu-
ration 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.

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 Example.rss

This program provides examples of ladder programming for modifying PL-1746 configuration and pulse data while in
run mode. These examples can be followed, for example, when making HMIs operate with the PL-1746.

C02 & C03 -S Configuration.rss

See instructions for the C02 & C03 Configuration.rss ladder program.

C02 & C03 -S Pulses.rss

See instructions for the C02 & C03 Pulses.rss ladder program.

C02 & C03 -S Example.rss

See instructions for the C02 & C03 Example.rss ladder program.

C02 & C03 Pulses.rss

Advertising