·426·
Installation manual
CNC 8055
CNC 8055i
8.
INTRODUCTION TO THE PLC
SOFT: V02.2X
PLC program execution
The following example shows how the PLC acts when working with real or image values.
As can be observed, the system is faster when working with real resource values.
Working with image values lets analyze the same resource with the same value throughout the whole
program regardless of its actual (real) status at the time.
PLC program () = M1 Assigns the value of "1" to mark M1.
M1 = M2 Assigns the value of M1 to M2.
M2 = M3 Assigns the value of M2 to M3.
M3 = O5 Assigns the value of M3 to output O5.
Scan 1
Scan 4
Scan 3
Scan 2
M1 M2 M3 O5 M1 M2 M3 O5
11111111
11111110
11111100
11111000
00000000
REA IMA
()=M1
M3 = O5
M2 = M3
M1 = M2