EasyManuals Logo
Home>Mitsubishi>Controller>FX1N Series

Mitsubishi FX1N Series Programming Manual

Mitsubishi FX1N Series
466 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #199 background imageLoading...
Page #199 background image
FX Series Programmable Controlers Applied Instructions 5
5-79
5.6.8 PLSY (FNC 57)
Operation:
A specified quantity of pulses S
2 is output through
device D at a specified frequency S
1.This
instruction is used in situations where the quantity
of outputs is of primary concern.
Points to note:
a) FX
1S/FX1N users may use frequencies of 1 to 132,767Hz (16-bit operation) and 1 to 100kHz
(32-bit operation). FX
2N/FX2NC users may use frequencies of 2 to 20kHz.
b) The maximum number of pulses: 16 bit operation: 1 to 32,767 pulses, 32 bit operation: 1 to
2,147,483,647 pulses.
Note: special auxiliary coil M8029 is turned ON when the specified number of pulses has
been completed. The pulse count and completion flag (M8029) are reset when the PLSY
instruction is de-energized. If “0" (zero) is specified the PLSY instruction will continue
generating pulses for as long as the instruction is energized.
c) A single pulse is described as having a 50% duty cycle. This means it is ON for 50% of the
pulse and consequently OFF for the remaining 50% of the pulse. The actual output is
controlled by interrupt handling, i.e. the output cycle is NOT affected by the scan time of the
program.
d) The data in operands S
1 and S2 may be changed during execution. However, the new data
in S
2 will not become effective until the current operation has been completed, i.e. the
instruction has been reset by removal of the drive contact.
e) Two FNC 57 (PLSY) can be used at the same time in a program to output pulses to Y000
and Y001 respectively. Or, only one FNC 57 PLSY and one FNC 59 PLSR can be used
together in the active program at once, again outputting independent pulses to Y000 and
Y001.
f) Because of the nature of the high speed output, transistor output units should be used with
this instruction. Relay outputs will suffer from a greatly reduced life and will cause false
outputs to occur due to the mechanical ‘bounce’ of the contacts.
To ensure a ‘clean’ output signal when using transistor units, the load current should be
200mA or higher with the FX2N Series. The load current should be 10 - 100mA with the
FX1S/1N Series. It may be found that ‘pull up’ resistors will be required.
g) FX
2N and FX2NC units can use the HSZ (FNC 55) instruction with the PLSY instruction when
source device S
1 is set to D8132. Please see page 5-59 for more details.
h) FX
2N and FX2NC units can monitor the number of pulses output to Y0 using devices D8140
and D8141, and the number of output pulses output to Y1 using devices D8142 and D8143.
The total number of pulses output can be monitored using D8136 and D8137.
Mnemonic Function
Operands
Program steps
S
1 S2 D
PLSY
FNC 57
(Pulse Y
output)
Outputs a
specified number
of pulses at a set
frequency
K, H,
KnX, KnY,
KnM, KnS,
T, C, D, V, Z
Y
Note:
Y000 or Y001 only
).
PLSY:
7steps
DPLSY:
13steps
FX
1S
FX
1N
FX
2N
FX
2NC
PULSE-P
16 BIT OPERATION
32 BIT OPERATION
Flags
Operation
Complete M8029
X10
D 0K1000 Y 0PLSY
[ S1 ]
[ S2 ]
[ D ]
It is possible to use subroutines or other such programming techniques to isolate different
instances of this instructions. In this case, the current instruction must be deactivated before
changing to the new instance.

Table of Contents

Other manuals for Mitsubishi FX1N Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi FX1N Series and is the answer not in the manual?

Mitsubishi FX1N Series Specifications

General IconGeneral
BrandMitsubishi
ModelFX1N Series
CategoryController
LanguageEnglish

Related product manuals