Chapter 5 Instruction Specifications

Item number

 

FUN instructions-15

 

Name

 

 

Pulse frequency output setting changes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Ladder format

 

 

 

 

 

 

 

 

Condition code

 

Processing time (s)

 

Remark

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R7F4

 

R7F3

 

R7F2

 

R7F1

R7F0

Average

Maximum

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

FUN 150 (s)

 

 

 

 

DER

 

ERR

 

SD

 

 

V

 

C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

z

 

 

z

 

 

z

 

z

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Instruction format

 

 

 

 

 

 

 

 

Number of steps

 

217

 

 

 

 

 

 

 

 

 

 

 

 

Condition

 

 

 

 

 

Steps

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

FUN 150 (s)

 

 

 

 

 

 

 

 

 

 

 

3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

 

 

 

 

 

 

 

 

Word

 

Double word

Constant

 

 

 

 

Usable I/O

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Other

 

 

 

 

X

 

Y

M

 

CU, CT

 

WX

WY

WM

TC

DX

DY

DM

 

 

 

 

 

 

 

 

 

 

 

R,

 

TD, SS,

 

 

 

 

 

 

WR,

 

 

 

DR,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

s

Argument (Pulse

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

{

 

 

 

 

 

 

 

 

number)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

s+1

Argument (Frequency

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

{

 

 

 

 

 

 

 

 

value)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

s+2

Argument (Number of

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

{

 

 

 

 

 

 

 

 

output pulses)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Function

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

Pulse output number:

H01 to H04

 

S

 

Pulse output number

 

Change specification

 

 

 

Change specification:

H00: Sets the frequency value and

 

 

 

 

 

 

 

 

 

 

 

 

number of pulse output,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

H01: Sets the frequency value

S + 1

 

 

 

 

Frequency value

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

only,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

H02: Sets the number of pulse

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S + 2

 

 

 

Number of pulse output

 

 

 

 

 

Frequency: 10 to 5000 (Hz)

output

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

* The maximum frequency of 5000 Hz represents the total of

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

all pulse output frequencies.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

* If the frequency value is set to less than 10 Hz, it is

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

internally changed to 10 Hz. The S parameter is also

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

rewritten.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Number of output pulses: H0000 – HFFFF (0 to 65535)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Auto correction is executed when the value corresponding to

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

the CPU model is specified in WRF06B.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Caution: There will be a slight error even if correction setting

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

is performed.

 

 

 

 

 

Pulse output is commenced at the specified frequency. Output is stopped once the number of pulses specified have been output.

Sets the frequency value in Hz.

Example: To set a frequency of 3 kHz, set 3000 (HBB8) as internal output.

Sets the count for the number of output pulses.

Example: To set output of 10,000, set 10,000 (H2710) as internal output.

FUN 150 (s)

5-141

Page 191
Image 191
Hitachi NJI-350B manual FUN instructions-15, Pulse frequency output setting changes, 217, 141