49
Shared Memory Setting
Counter Setting
Setting the operation mode for each counter CH.
In the example, pulse train is input to R0.0 and direction control signal
to R0.1, and counter function is used in direction control mode. Enter
「
FFFFFF00
」
to shared memory addresses 100h and 101h.
Shared Memory 100h, 101h Settings
Setting the Comparison Output Set Value
Setting the comparison output set value to be compared with Counter
current value. In the example, the comparison result is output on
CMP0 when counter current value is 6. Enter
「
K6(H6)
」
in shared
memory addresses 120h, 121h.
Shared Memory 120h, 121h Settings
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
0
0
Unused
Unused
Unused
Unused
Unused
Unused
Direction
Control
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
6
K6
Setting item
(bit) 32
Set value
Settings
16 15
0