beautypg.com

Spectrum Controls 1756sc-OF8H Series A User Manual

Page 45

background image

Chapter 4: Programming Your Module

31

e) Drag and drop the routines IF8H0_Packet_Data and

OF8H0_Packet_Data to the MainProgram in your project.

Note: You may choose to omit pasting the OF8H0_Packet_Data routine
if you are not using the OF8H module in your system.

f) Now add JSR ladder instructions in your MainRountine which calls the

two routines in step e.

Note: RSLogix 5000 will verify the ladder logic sample. You may receive
errors regarding invalid tags. You will need to change the slot addressing
in the logic to coordinate with the location of the module.

This completes the installation of the module in the system

Configuration Tags

Overview

The configuration tags for the IF8H and OF8H that were copied in step 3
are used to change the operation settings, including input type, filter-
frequency, scaling, etc. The data contained in these tags are then copied
to both the IF8H and OF8H local configuration tags by the ladder in step
4. When using generic profiles, the local module tags that are created are
made up of a single dimensional array with only one data type allowed,
usually a DINT. Therefore, the process of copying the defined
configuration tags to the local configuration tags is required in order to
parse the data. Specific information regarding tag settings may be found
in Chapter 5.

Note: The local configuration tags (i.e Local:e:C) mentioned above are
automatically created when the module was copied from the sample
project in step 1.

Note: The defined configuration tags (If8h0Configuration) are copied to
the local configuration tags (Local:e:C) by the ladder in step 4.

This manual is related to the following products: