Chapter 5 Instruction Specifications
5-135
Item number
FUN instructions-11
Name
High-speed counter preset
Ladder format
Condition code
Processing time (
µ
s)
Remark
R7F4
R7F3
R7F2
R7F1
R7F0
Average Maximum
FUN 146 (s)
DER
ERR
SD
V
C
↕
z
z
z
z
Instruction format
Number of steps
162
Condition
Steps
FUN 146 (s)
—
3
Bit
Word
Double word
Usable I/O
X
Y
R,
M
TD, SS,
CU, CT
WX WY
WR,
WM TC DX DY
DR,
DM
C
o
nstant
Other
s
Argument (counter
number, preset
specification)
{
s+1
Argument
(on-preset value)
{
s+2
Argument
(off-preset value)
{
Function
Counter number:
H01 to H04
Preset specification:
H00 – Specification of on-preset
value and off-preset value
H01 – Specification of on-preset
value only
H02 – Specification of off-preset
value only
•
The on-preset value and off-preset value will be set according to the preset specifications for the specified counter number.
•
The coincidence output value will remain unchanged even when coincidence output is possible.
Notes
•
If a value other than H01 to H04 is specified for the counter number and a value other than H00 to H02 is set for the preset
specification, 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 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.
•
The specified preset value will be checked using the criteria shown below. If an error occurs, DER will be set to “1” and no
processing will be performed.
If there is no error, the bit respective to the setting error detail information WRF057 will be set to “0” and releases the
operation disabled status.
1] When the preset specification is 00H
If S+1 (on-preset) and S+2 (off-preset) values are equal, and error is generated.
2] When the preset specification is 01H
If S+1 (on-preset) and the off-preset value of WRF076 to WRF079 are equal, an error is generated.
3] When the preset specification is 02H
If S+2 (on-preset) and the off-preset value of WRF072 to WRF075 are equal, an error is generated.
•
This instruction is used only to set the on-preset value and off-preset value. Other counter settings will not be changed and it
will not affect the count operation.
•
The settings made using the instruction will be reflected in the special internal output (WRF072 to WRF075 and WRF076 to
WRF078). However, it is not reflected if DER becomes equal to “1.”
•
If the range for S exceeds the valid range of the I/O, DER will be set to “1” and no processing will be performed.
S
Counter number
Preset specification
15
8 7
0
S + 1
On-preset specification
S + 2
Off-preset specification
FUN 146 (s
)
Содержание HIDIC MICRO-EH
Страница 1: ...HITACHI PROGRAMMABLE CONTROLLER APPLICATION MANUAL NJI 350B X ...
Страница 12: ...MEMO ...
Страница 14: ...Chapter 1 Features 1 2 MEMO ...
Страница 50: ...Chapter 4 Product lineup and wiring 4 18 MEMO ...
Страница 196: ...Chapter 5 Instruction Specifications 5 146 ...
Страница 263: ...Chapter 11 Communication Specifications 11 10 MEMO ...