Hitachi NJI-350B User Manual

Page 192

Advertising
background image

Chapter 5 Instruction Specifications

5-142

Notes

• If the pulse output number is set to a value other than H01 to H04, DER will be set to “1”and no processing will be

performed.

• If the external I/O corresponding to the pulse output number is set to a function other than pulse output, DER will be set to

“1”and no processing will be performed.

• The minimum frequency that can be supported is 10 kHz. If a frequency value smaller than 10 kHz is specified, it will be

changed to 10 kHz internally by the system.

• If the specified frequency value is greater than 5 kHz, or even when it is 5 kHz or less, and if the total sum with other set

pulse output frequencies becomes greater than 5 kHz, DER will be set to “1” and no processing will be performed.

• If the specified frequency value is 5 kHz or less, and the total sum with other set pulse output frequencies is also 5 kHz or

less, the bit corresponding to the setting error detail WRF057 will be set to “0” and the operation enable state becomes
active.

• The settings by this instruction will be reflected in the special internal output (WRF072 to WRF075 and WRF07A to

WRF07D).

• 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.
• If the pulse output number is set to “0,” pulse output will not be performed even when the pulse output start (R7FC to R7FF

is set to “1” or FUN149) is set.

• If this instruction is executed for the I/O that is outputting a pulse with the acceleration/deceleration function, DER will be

set to “1” and no processing will be performed.

Program example

R10

LD

R10

AND

DIF10

[
WR100 = H100
WR101 = 219
WR102 = 1000
FUN

150 ( WR100 )

]

DIF10

WR100 = H0100
WR101 = 219
WR102 = 1000
FUN 150 (WR100)

Program description

• Sets both the frequency and pulse output count of the pulse output No. 1 (Y100).

Sets 500 (Hz) for the frequency and 3,000 for the number of pulse outputs.

FUN 150 (s

)

Advertising