EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - Page 287

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
285
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
Function and operation explanation
1. 32-bit operation (DHSCR)
When the current value of the high speed counter of the device specified by becomes the comparison
value of the device specified by (for example, when the current value changes from "199" to "200" or
from "201" to "200" if the comparison value is K200), the bit device specified by is reset (set to OFF)
regardless of the operation cycle. In this instruction, the comparison processing is executed after the counting
processing in the high speed counter.
Operation
When the current value of the high speed counter C255 changes (counts) from "99" to "100" or from "101" to
"100", Y010 is reset (output refresh).
Related instruction
The following instructions can be combined with high speed counters.
Instruction Instruction name
DHSCS High speed counter set
DHSCR High speed counter reset
DHSZ High speed counter zone compare
DHCMOV High speed counter move
DHSCT High speed counter compare with data table
Command input
Label
*1
Comparison source
DHSCR
EN
s1
s2
ENO
d
Output
destination
*1. This defines the comparison value.
OUT_C_32
EN
CCoil
CValue
ENO
CC235
=
Reset
s1 s2 d
M8000
RUN
monitor
DHSCR
EN
s1
s2
ENO
d
Label
*1
CN235
Y010 K100 = CN235 Y010
*1. This defines K100.
OUT_C_32
EN
CCoil
CValue
ENO
CC235
K2,147,483,647
Reset

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals