Chapter 8 High-speed counter, PWM / Pulse train output and Analogue I/O

(5)Individual counter setting

The on-preset and off-preset values can be changed for each two-phase counter by the special internal output for individual setting (WRF058) regardless of whether the CPU is operating or stopped. Turn on the corresponding bit in the following special internal outputs when only the on-preset or the off-preset value should be changed for a two-phase counter. (To change both settings at the same time, set the “H3” in the corresponding special internal outputs for individual setting.)

Moreover, when the specified on-preset and off-preset values are the same, the corresponding bit of the error display special internal output is turned on and operation is performed using the preset value before the setting. (The set value for the special internal output also returns to the preset value before the setting was made)

WRF058: Two-phase counter

15

2

1

0

Not used

 

a

b

 

 

 

 

Figure 8.24 Special internal output for individual setting of counter setting values

Bit

Description

aOff-preset change request

bOn-preset change request

8-14

Page 223
Image 223
Hitachi NJI-350B manual Bit Description, WRF058 Two-phase counter