EasyManua.ls Logo

Hitachi MICRO-EHV+ - Page 118

Hitachi MICRO-EHV+
170 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 3 Programming
3 58
Mapping
Name
I/O
Type
Descriptions
Enable
Output (%QX)
BOOL
TRUE: Counter is enabled.
FALSE: Counter is disabled.
Direction
Output (%QX)
BOOL
TRUE: Down counter
FALSE: Up counter
Counter
Input (%ID)
DWORD
Counter value is increased or decreased with
every rising edge and stored in this register.
(0 to 4,294,967,295)
Direction can be changed only when counter is disabled.
When the counter value exceeds the maximum or minimum value, it returns to 0 or 4,294,967,295.
Operations
Counter can be controlled by variables and function blocks as below.
Operations
Variable or FB
Name
ROM version
Start/Stop counter
Variable
Enable (%QX)
Read counter value
Variable
Counter (%ID)
3.5.3.40 to 41
Function block
MV_CU_Read
3.5.3.42 or newer
Write current counter value
Function block
MV_CU_Write
Write preset values
Function block
MV_CU_preset
1
Variable Counter
Counter input
Variable Direction
Variable Enable
2
3
0
-1
-2
-3
FALSE to change Direction
0

Table of Contents

Related product manuals