EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - Page 699

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.23 Data Table Operation
697
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
2. 32-bit operation (DLIMIT/DLIMITP)
Depending on how the input value (32-bit binary value) of the device specified by compares to the range
between the upper and lower limits specified by and , the output value to be stored in the device
specified by is controlled.
Caution
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.
Error
An operation error is caused when the instruction is executed in the setting status shown below. The error flag
M8067 turns ON, and the error code (K6706) is stored in D8067.
"(Contents of the device specified by ) > (contents of the device specified by )
In the case of " > ".....................................
In the case of " < ".....................................
In the case of " "......
1)
output value
d
lower limit value
s1
upper limit value
s2
input value
s3
lower limit value
s1
input value
s3
input value
s3
lower limit value
s1
upper limit value
s2
input value
s3
upper limit value
s2
output value
d
output value
d
2)
3)
Specified value
Input value
Output value ( )
Specified value
()
Input
value
Output value
d
s1
s2
s3
DLIMIT
EN ENO
d
s1
s2
s3
Command
input
Label 1
*1
Label 2
*2
Label 3
*3
Label 4
*4
*1. This defines the lower limit value.
*2. This defines the upper limit value.
*3.
This defines the control input value depending on the upper and
lower limit control.
*4. This defines the head of the device that stores the output value depending
on the result from the upper and lower limit control.
4)
s2
When controlling the output value using only the lower limit value,
set "2,147,483,647" to the upper limit value specified in .
5)
When controlling the output value using only the upper limit value,
set "-2,147,483,648" to the lower limit value specified in .
s1

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals