PROTOCOL-SPECIFIC INFORMATION
actual practice, it may be desirable to
incorporate additional logic elements
to allow triggering the MSG instruction
at a specific rate or under specific
conditions.
7) The program is now complete. Refer to
Figure 73.
8) Save, download, and run the program.
a) To view the registers being read from
the interface card, double-click the
data file N18 under “Data Files” in the
controller organizer view. 25 register values starting at register #201 are being continuously
read from the interface card and placed in the 25 sequential offsets of N18 starting at N18:1.
Refer to Figure 74. We can see that N18:1 (output frequency) has a value of 2000 (20.00Hz),
N18:3 (output voltage) has a value of 255 (25.5V), etc.
Figure 73: Completed PLC Program