Hitachi HIDIC MICRO-EH Applications Manual page 180

Table of Contents

Advertisement

Item number
FUN instructions-6
Ladder format
FUN 141 (s)
Instruction format
FUN 141 (s)
Usable I/O
Argument (Counter
s
number, output
instruction)
Function
15
S
Counter number
Performs the enabling and disabling of the coincidence output for the specified counter.
Output is turned off when the coincidence output disabling instruction is issued while coincidence output is being performed
(while coincidence output is on).
Notes
If a value other than H01 to H04 is specified for the counter number and the output instruction is set to a value other than
H00 or H01, DER will be set to "1" and no processing will be performed.
If the specified counter number is set to a function other than a corresponding external I/O counter (single-phase counter,
two-phase counter), DER will be set to "1" and no processing will be performed.
Since Counter 4 is invalid when a 10-point CPU is used, if Counter 4 is specified, DER will be set to "1" and no processing
will be performed.
If the specified counter number is unable to make an output (PI/O function setting result by R7F5), DER will be set to "1"
and no processing will be performed.
This instruction is only used to enable and disable the coincidence output. Other counter settings will not be changed and it
will not affect the count operation.
When coincidence output is enabled by this instruction when the coincidence conditions are already established, coincidence
output will be turned on when the instruction is issued.
The control contents of this instruction will be reflected in the output control flag (R7FC to R7FF) of the corresponding
counter number.
When the CPU is not operating, the counter coincidence output continues/stops according to the setting of the special
internal output (output selection at R7DC stop).
Program example
R1
DIF1
Program description
Sets the coincidence output validity for the counter No. 1.
Because the counter coincidence output Yxxx cannot be used in the ladder program (including the monitor, etc.), do not use
it for the coil such as a contact.
Name
Condition code
R7F4
R7F3
R7F2
DER
ERR
SD
Number of steps
Condition
Bit
R,
TD, SS,
X
Y
M
CU, CT
WX WY
8 7
0
Operation instruction
WR1 = H0101
FUN 141 (WR1)
5-130
Chapter 5 Instruction Specifications
High-speed Counter Coincidence Output Control
Processing time (µs)
R7F1
R7F0
Average Maximum
V
C
138
Steps
3
Word
Double word
WR,
DR,
WM TC DX DY
DM
Counter number:
H01 to H04
Output instruction:
H00 – Coincidence output disable,
H01 – Coincidence output able
LD
R1
AND DIF1
[
WR1 = H101
FUN
141 ( WR1 )
]
Remark
Other

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents