Memory Allocation
Section 4-2
73
Word
Bit
Item
Function
C
ounter 4
m+70
00-15
Counter Type
Counter Type:
0 = Circular (default)
1 = Linear
m+71
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+72
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+73,
m+74
00-15
Upper Count Limit
Circular/Linear
Circular/Linear Counter: Upper Count Limit
m+75,
m+76
00-15
Lower Count Limit
Linear
Linear Counter: Lower Count Limit
m+77,
m+78
00-15
Initial Count Value
Initial Counter Value after transfer of Unit configuration data
m+79,
m+80
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+81,
m+82
00-15
Output Set Pattern
Output [0-31] Set Pattern for Comparison Mode
1= set, 0 = no change
m+83,
m+84
00-15
Output Reset Pattern
Output [0-31] Reset Pattern for Comparison Mode
1= reset, 0 = no change
m+85
00-15
Hysteresis
Define required Hysteresis (0000 to 00FF Hex) (0
≤
Hysteresis
≤
255
counts).
Hysteresis (=0) means Hysteresis is OFF.
m+86
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+87
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+88,
m+89
00-15
Memory Address
Beginning Address (in EM/DM) where first Range /
Comparison Data is stored [00000, 32760
(BCD)
]