Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
5 Basic Instruction
5.11 PLS, PLF
85
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
1
Outline
2
Instruction List
3
Configuration of
Instruction
4
How to Read
Explanation of
Instructions
5
Basic Instruction
6
Step Ladder
Instructions
7
Applied Instructions
(Program Flow)
8
Applied Instructions
(Move and
Compare)
9
Applied Instructions
(Arithmetic and
Logical Operation)
10
Applied Instructions
(Rotation and
Shift Operation)
5.11 PLS, PLF
Outline
When PLS instruction is executed, an applicable device is activated during only one operation cycle after a
drive input turns ON.
When PLF instruction is executed, an applicable device is activated during only one operation cycle after a
drive input turns OFF.
For example, when PLC mode is changed in the way "RUN STOP RUN while a drive input remains ON,
"PLS(**, M0) operates, but "PLS (**, M600) (backed up by the battery)" does not operate (when the PLC
mode switches from STOP to RUN) because the status of M600 is latched even while the PLC is in the STOP
mode.
1. Format and operation, execution form
2. Set data
3. Applicable devices
S: Refer to "Cautions".
Function and operation explanation
1. PLS (rising edge differential output)
In the figure above, M0 is ON during only one operation cycle when X000 changes from OFF to ON.
2. PLF (falling edge differential output)
In the figure above, M1 is ON during only one operation cycle when X000 changes from ON to OFF.
FX3U(C) FX3G(C) FX3S FX2N(C) FX1N(C) FX1S FXU/FX2C FX0N FX0(S)
Instruction
name
Execution
form
Expression in each language
Structured ladder/FBD ST
PLS Pulse PLS(EN,d);
PLF Pulse PLF(EN,d);
Variable Description Data type
Input
variable
EN Execution condition Bit
Output
variable
ENO Execution state Bit
Applicable device or variable Bit
Instruction
Bit Devices Word Devices Others
System User Digit Specification
System
User
Special
Unit
Index
Constant
Real
Number
Character
String
Pointer
XY M TCS
D
.b
KnX KnY KnM KnS T C D R
U\G
VZModifier K H E
"
"
P
PLS
z
S1 S2
PLF
z
S1 S2
PLS
EN ENO
d
PLF
EN ENO
d
ON
[Structured ladder/FBD] [ ST ] timing chart
PLS(X000, M0);
X000
M 0
PLS instruction
ON during one
operation cycle
X000
PLS
EN ENO
d
M0
ON
timing chart
X000
M 1
PLF instruction
ON during one
operation cycle
[Structured ladder/FBD] [ ST ]
PLF(X000, M1);
X000
PLF
EN ENO
d
M1