Mitsubishi MELSEC-Q series Programming Manual page 151

Process control instructions
Hide thumbs Also See for MELSEC-Q series:
Table of Contents

Advertisement

Set Data
Set Data
(1) Data specified in S.LLAG instruction
Specified position
Symbol
+0
S1
E1
+1
Input
data
+2
e1
Block
+0
D1
BW
memory
+1
+0
S2
T
1
Operation
+1
constant
+2
T
2
+3
Local work
+0
D2
E1
n-1
*2
+1
memory
*1
The data of the item(s) where the values within the recommended range are given in the parentheses are stored by the
system. Users cannot set the data.
*2
When control is to be started from the initial status, the data must be cleared with the sequence program.
(2) Execution cycle ( T)
Set the execution cycle in SD1500 and SD1501 as real numbers.
Set Data
Processing contents
The S.LLAG instruction instructs the following operation.
Condition
e1 = 0
e1 = 1
Operation Error
In the following cases, the error flag (SM0) turns ON and the error code is stored in SD0.
Error code
When an operation error occurs
When the values of
non-normalized number
4100
When the execution cycle (SD1500, SD1501) < 0
When the lag time (T
When the values of
4140
non-normalized number
4141
When an operation error occurs
Name
Recommended range
Input value
-999999 to 999999
b15
b12
Actuating
signal
0: With lead-lag compensation
1: Without lead-lag compensation
Output value
(-999999 to 999999)
Delay time
0 to 999999
Lead time
0 to 999999
Last Input
Used by the system as a work area.
value
1
BW =
× {T
× (E1 - E1
n-1
2
T
T
1
However, when T
+
T = 0, BW = 0
1
BW = E1 (Input value is output unchanged)
Error definition
,
,
,
are either a non-numeric or
S1
D1
S2
D2
) < 0 or the lead time (T
) < 0
1
2
,
,
,
are either a non-numeric or
S1
D1
S2
D2
*1
b8
b4
b0
e
1
BW (Output value)
) + T
× (BW Last value) +
T × E1}
1
QnPHCPU
––
––
S.LLAG
Standard
Unit Data format
value
Real
%
––
number
BIN
––
––
16bit
Real
%
––
number
Real
s
1.0
number
Real
s
1.0
number
Real
––
––
number
QnPRHCPU
QnUDPVCPU
––
––
––
––
9
Set
by
2
U
3
U
4
S
4
U
U
6
S
7
8
149

Advertisement

Table of Contents
loading

Table of Contents