EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - Page 293

Mitsubishi Electric MELSEC FX Series
838 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
Loading...
7 Applied Instructions
7.6 High Speed Processing
291
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
8
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
For FX0, FX0S, FX0N, FXU, FX2C, FX1S, FX1N, FX1NC, FX2N, FX2NC and FX3G PLCs
2. Device specification range
Only high speed counters can be specified as .
For details, refer to the following manual.
FX Structured Programming Manual (Device & Common)
3. Some restrictions to applicable devices
S1: Applicable to the FX3U and FX3UC PLCs only.
Not indexed (V, Z).
S2: Applicable to the FX
3U, FX3UC and FX3G PLCs only.
S3: Applicable to the FX
3U and FX3UC PLCs only.
4. Specifying input and output variables
When handling 32-bit data in a structured program, a 16-bit device cannot be specified directly as in the case
of a simple project. Use a label to handle 32-bit data.
A 32-bit counter can be specified directly as it is a 32-bit long device.
Use a global label to specify a device.
5. Caution on values set in the comparison value 1 and comparison value 2
Make sure that is smaller than or equivalent to .
6. Relationship between the comparison timing and the result output
1) DHSZ instruction executes comparison and outputs the result only when a counting pulse is input to a
high speed counter.
(When is "1000" and is "1999", the output is set to ON as soon as the current value of
C235 changes from "999" to "1000" or from "1999" to "2000".)
2) Because the comparison result cannot be obtained when restoring the power or when the PLC mode
switches from STOP to RUN, the result is not output even if the comparison condition is provided.
For details, refer to "Program in which comparison result is set to ON when power is turned ON
[ZCP] instruction" that is described later.
7. Precedence of DHSCS, DHSCR and DHSZ instructions to one particular high speed counter
Refer to caution 6 in "Common cautions on using instructions for high speed counter" which is
described in Section 7.6.4.
LDD>
EN
s1
s2
ENO
LDD<=
EN
s1
s2
ENO
LDD<
EN
s1
s2
ENO
REF
EN
d
n
ENO
K8
Y10
Label 3
*1
Label 4
*2
Label 5
*3
Label 6
*4
ANDD<=
EN
s1
s2
ENO
Label 7
*5
Label 8
*6
Label 9
*7
Label 10
*8
M8000
Y011
Y012
Y010
*1. This defines K10000.
*2. This defines CN251.
*3. This defines K10000.
*4. This defines CN251.
*5. This defines K20000.
*6. This defines CN251.
*7. This defines K20000.
*8. This defines CN251.

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals