Memory Allocation
Section 4-2
71
Word
Bit
Item
Function
Cou
n
ter 2
m+30
00-15
Counter Type
Counter Type:
0 = Circular (default)
1 = Linear
m+31
00-03
Signal Type
Signal Type:
0 = Phase Differential (x1) (=default)
1 = Phase Differential (x2)
2 = Phase Differential (x4)
4 = Up & Down Pulse
8 = Pulse & Direction
04-15
---
Not used
m+32
00-03
Z-reset Mode
Functionality of Z input signal:
0 = No function (=default, only mapped in CIO)
1 = Reset (Counter at rising edge)
04-07
Overflow/Underflow error-
code generation
Generate error-code at Overflow/Underflow:
0 = No error-code generation (only report with Overflow/
Underflow-bits and outputs keep last state)
1 = Error-code generation (report error-code and turn OFF all
outputs)
08-15
---
Not used
m+33,
m+34
00-15
Upper Count Limit
Circular/Linear
Circular/Linear Counter: Upper Count Limit
m+35,
m+36
00-15
Lower Count Limit
Linear
Linear Counter: Lower Count Limit
m+37,
m+38
00-15
Initial Count Value
Initial Counter Value after transfer of Unit configuration data
m+39,
m+40
00-15
Range / Comparison
Enable Data
Enable Ranges / Comparison Values (1=Enabled, 0=Disabled)
(depending on Unit in Range /
Comparison Mode).
Bits set for non-existing ranges or CV’s will be ignored
m+41,
m+42
00-15
Output Set Pattern
Output [0-31] Set Pattern for Comparison Mode
1= set, 0 = no change
m+43,
m+44
00-15
Output Reset Pattern
Output [0-31] Reset Pattern for Comparison Mode
1= reset, 0 = no change
m+45
00-15
Hysteresis
Define required Hysteresis (0000 to 00FF Hex) (0
≤
Hysteresis
≤
255
counts).
Hysteresis (=0) means Hysteresis is OFF.
m+46
00-07
# Ranges /
Comparison Values
Set number of Ranges [0, 4
(BCD)
]
Set number of Comparison Values [0, 8
(BCD)
]
08-15
---
Not used
m+47
00-03
Memory Area
Memory Area where Range / Comparison Data is stored:
0 = EM (=default)
1 = DM
Note
In case the Unit is used on a CJ1M CPU, DM must be
selected.
04-15
---
Not used
m+48,
m+49
00-15
Memory Address
Beginning Address (in EM/DM) where first Range /
Comparison Data is stored [00000, 32760
(BCD)
]