TechTalk – RSLogix 5 : Difference Between FAL And CPTWhat is the difference between FAL and CPT instruction?

In a nutshell both does expression evaluation (computes). However, FAL instruction performs operations in multiple words and CPT instructions handles single word.

That is, FAL instruction acts on an array of file level indicated by the hash “#” and length, as opposed to a single file (as CPT instruction does).

In the example below, FAL stores the calculated result in destination file starting from N7:5, N7:6, N7:7 and so on until N7:127

Xybernetics RSLogix 5 : Difference Between FAL And CPT

While in the example below, CPT valuates the expression and stores in only one file address N7:45.

Xybernetics RSLogix 5 : Difference Between FAL And CPT