Programming instructions
83
LESSON 13 – Applied Instructions
These instructions are the ‘specialist’ instructions of the FX line. These instructions
allow the PLC to perform complex data manipulations, mathematical operations, and
communications. Most applied instructions work on the 16 bit or 32 bit word level.
Lesson Objectives: At the conclusion of this lesson, you will be able to…
9 Name the most common applied instructions.
9 Describe the format of the instructions and what they do.
9 Write a program using comparison statements
Materials: FX-Series PLC Training Manual
FX-Series Demo Kit
13.1 General Format
Applied instructions are always drawn with the bracket symbol. The number of
parameters varies among the various instructions. Most applied instructions
follow the following format:
Example
This instruction adds the contents of source 1 (D0) to the contents of source 2
(K2) and places the result in D300.
It is possible to use a source as the destination:
Example
In this case, the second source and the destination are the same register. If D0
contains 9 and D300 contains 200 prior to the execution of the instruction, then
when the instruction is executed, 9 is added to 200, and the result of 209 is
placed in D300.