Remote i/o, Register mapping – Electro Cam PL-1746 Series User Manual

Page 34

Advertising
background image

3-4 How to Program the PLS

Remote I/O

The Remote I/O feature permits the PL-1746 module to be used in a remote I/O rack with a 1747-ASB RIO adapter
module. The RIO adapter permits the SLC processor to access only the Input and Output files of modules installed in the
remote rack. To access the PL-1746’s M0 file data while in the remote rack:

1.

Prior to installing the PL-1746 in the remote rack, and with power off, set DIP switch 1 to OFF.

2.

Using Rockwell programming software, set the PL-1746’s card type is set to OTHER, with ID# 3535, M0 file length
16320, and M1 file length 16380.

3.

Set up the desired input and output file register mappings as described in the Register Mapping section.

M1 File data is not accessible while the PL-1746 is operating in Remote I/O mode.

Register Mapping

Register Mapping provides an automatic way to reflect M0 File or M1 File data into any of the first eight Input File words
(I:S.0 - I:S.7) and to reflect data from any of the first eight Output File words (O:S.0 - O:S.7) into the M0 File or M1 File.
Register Mapping may be used with the PL-1746 operating in either Local I/O mode or Remote I/O mode; however, M1
Files may not be accessed when the PL-1746 is operating in Remote I/O mode.

To set up a mapping, enter a Mapping Index Number into the Mapping Source register for the desired Input File
word or Output File word.
This can be accomplished by using a PS-6400 Keypad as described in the Input Maps and
Output Maps sections in chapter 4. It can also be done over the backplane, if the PL-1746 is operating in Local I/O mode.
It cannot be done over the backplane if the PL-1746 is operating in Remote I/O mode, since, in that case, the RIO
adapter prevents access to the PL-1746’s M0 File. The Mapping Index Number for each M0 File word and each M1 File
word is indicated in the Quick Reference. Entering a value of 0 as a Mapping Index Number causes the Input or Output
File word to revert to it’s pre-assigned meaning; those meanings are indicated in the Quick Reference.

For example, suppose that, using a PL-1746 in slot 4, it is desirable to work with Analog Output 1 via mapping, rather
than than directly through the M0 file. Using the PS-6400 Keypad:

1. Enter the value 210 as the Output Map # for Reg # 2.

This puts the Mapping Index Number for Analog Output 1
Offset into the Mapping Source Register for Output File word 2 (O:4.2).

2. Enter the value 212 into the Output Map # for Reg # 3.

This puts the Mapping Index Number for Analog Output 1
High RPM into the Mapping Source Register for Output File word 3 (O:4.3).

3. Enter the value 214 into the Input Map # for Reg # 2

This puts the Mapping Index Number for Analog Output 1
Value into the Mapping Source Register for Input File word 2 (I:4.2).

The same purpose could be achieved over the backplane:
1.

Move the value 210 into M0:4.193.

2.

Move the value 212 into M0:4.194.

3.

Move the value 214 into M0:4.210.

Now new Offset and High RPM values can be written via the Output File and read the Analog Value via the Input File.

Advertising