![FATEK FBs-CBE Manual Download Page 228](http://html.mh-extra.com/html/fatek/fbs-cbe/fbs-cbe_manual_546538228.webp)
Advanced Function Instruction
7 -6 4
FUN 81
PLSO
PULSE OUTPUT
FUN 81
PLSO
z
When MD=1, the pulse output will reflect on the control output DIR (pulse direction. DIR=1, up; DIR=0, down)
and CK (pulse output).
z
This instruction can only be used once, and UY (CK) and DY (DR) must be transistor output point on the PLC
main unit.
z
The effective range of output pulse count PC for 16 bit operand is 0
~
32767. For the 32 bit operand(
instruction), it is 0
~
2147483647. If the PC value = 0, it is treated as infinite pulse count, and this instruction
will transmit pulses without end with HO value and “DN” flag set at 0 all the time. The effective range of pulse
frequency (Fr) is 8
~
2000. If the value PC or Fr exceeds the range, this instruction will not be carried out and
the error flag “ERR” will set to 1.
EN
81D.PLSO
X0
DN
MD :
PC :
Fr :
UY :
DY :
HO :
0
R 0
R 1
Y 0
Y 1
R 5
X1
X2
U/D
PAU
OUT
ERR
M1
M0
z
In this example, the program controls the stepping motor
to drive forward for 80 pulses (steps) at the speed of
100Hz first, and then makes it turn reverse for 40 pulses
the speed of 50Hz. Make sure that the up/down direction,
frequency Fr and the pulse count PC must be set before
the reset take action(“EN” changes from 0
→
1).
Turn forward
100Hz going 80 steps
Reset
enable
X0
X1
X2
Pause
re-start
Stop
(finished)
Y0
Turn reverse
50Hz going 40 steps
Reset Start
Stop
(finished)
Y1
M0
M1
R0
R1
R5
Output pulse count
Pulse to output
Frequency
Output done
Under output
Down-pulse
Output enable
Pause
Direction
Up-pulse
Recerse
1
2
76 77
78
79 80
1
2
40
100
80
0
1
2
75 76
77
78 79
80
50
40
0
1
2
39
40
Forward