Spectrum Controls 1769sc-HART Modules User Manual
Page 40
Compact IO™ Isolated HART Analog Output Module
User’s Manual 0300217-03 Rev. A
4-12
Section 4.5
Sample Project
Ladder
The ladder contained in the sample project is used to perform several different operations.
The main routine in the MainProgram is used to copy data from the user defined tags to
the module local tags. This data includes input, output and configuration settings for the
module.
The OF4IH0_Packet_Data routine in the MainProgram contains the ladder that
demultiplexes the HART data for each individual packet. Refer to Section 7.2 HART
Packet
Data for more information on HART and the HART packets.
The OF4IH0Messaging program contains several routines needed to send and receive
HART messages to and from the module and the connected HART devices.
To copy any of the ladder, programs or routines, follow the procedure below:
1. Select the program or routine.
2. Right mouse click and select copy.
3. Go to your project and select the appropriate program or task to place the new
routine or program.
4. Right mouse click and select paste.
The figure below outlines this procedure:
Figure 4-12 (Copying Routines or Programs)
You can follow a similar procedure for copying ladder as well.
1. Open the routine that contains the ladder you want to copy.
2. Select the rungs to copy.
3. Right mouse click and select copy.
4. Open the routine in your project where you wish to paste the new rungs.
Sample
Project
Your
Project
Copy
and
paste