96
Shared Memory Area Description
Below is a description of NX70 PLC Pulse I/O (4CH) unit shared
memory.
(1)
Used when counting the number of output pulses, with internal connection of pulse
output and PWM output.
(2)
Do not use this setting.
(3)
Initial values on power input are set as direction control for input mode and unused for
function setting.
100h, 101h
Counter functions setting
b31~
b28
b27~
b24
b23~
b20
b19~
b16
b15~
b12
b11~
b8
b7~
b4
b3~
b0
Counter CH0 setting (used/unused)
Counter CH0 setting (input mode)
Counter CH1 setting (used/unused)
Counter CH1 setting (input mode)
Counter CH2 setting (used/unused)
Counter CH2 setting (input mode)
Counter CH3 setting (used/unused)
Counter CH3 setting (input mode)
Setting the operation
mode for each
counter CH with
shared memory
settings. Set the
counter functions
mode as shown in
the table below.
Address: 100h 101h
Counter setting
Setting (Input Mode): Effective only for terminal input
Set value
(HEX)
Functions
Terminal input mode
Multiplication
0
Direction control
(3)
N/A
1
Individual input
2
Phase input
1 multiplication
3
2 multiplications
4
4 multiplications
5
Invalid
(2)
6
7
8
9
A
B
C
D
E
F
Setting (Function)
Set value
(HEX)
Functions
Counter
0
Used
(Terminal input)
1
2
Used
(Internal connection)
(1)
3
4
Invalid
(2)
5
6
7
8
9
A
B
C
D
E
F
Unused
(3)
Shared Memory Area Setting Example
Setting
item
Shared memory
address
Setting example
Setting range
Counter
100h to 101h
For each channel (CH0 to CH3), 8 bits are
allocated.
Setting range for each channel
H00 : Direction control
H10 : Individual input
H20 : Phase input (1 multiplication)
H30 : Phase input (2 multiplications)
H40 : Phase input (4 multiplications)
HFF : Unused
32 16 15 0
F
F
F
F
F
F
0
0
H0 : Direction control
H0 : Used
CH3
CH2
CH1
CH0