74
Flow Chart
Shared Memory Setting
Counter Setting
Setting the operation mode for each counter CH.
In the example, the phase signal from encoder is input to R0.0 and
R0.1, and counter function is used in 1 multiplication phase input
mode; therefore, enter
「
FFFFFF20
」
to shared memory addresses
100h and 101h.
Shared Memory 100h, 101h Settings
Counter Current Value Setting
Enter a value that does not coincide with counter current value at CH0.
In this example, enter
「
K-16777216(H FF000000)
」
in shared memory
addresses 108h and 109h where the current value has been stored.
Shared Memory 108h, 109h Settings
Power ON
Set values that are not likely to coincide (K-16777216)
as the target value (DT0, DT1).
1 second standby
Read current value (DT2, DT3)
Set initial value to 0 (DT4, DT5)
Convert to rotation (RPM) (DT6, DT7)
In phase differential input mode, the input pulse
magnification can change with multiplication function.
See
"Functions of Unit" in Chapter 1
for detail.
IMPORTANT
R0.13
R0.12
R0.9
R0.8
R0.5
R0.4
R0.1
R0.0
CH3
CH2
CH1
CH0
Input
mode
Functions
setting
Input
mode
Functions
setting
Input
mode
Functions
setting
Input
mode
Functions
setting
F
F
F
F
F
F
2
0
Unused
Unused
Unused
Unused
Unused
Unused
Phase
input
Terminal
input
External input
Setting item
(bit) 32
Counter
number
Set value
Settings
16 15
0
Comparison output set value (CMP0)
0
0
0
0
0
0
0
0
K-16777216
Setting item
(bit) 32
Set value
Settings
16 15
0