Download MELSEC-Q Programming/Structured

Transcript
S.DED
(2) Execution cycle ( T)
Set the execution cycle in SD1500 and SD1501 as real numbers.
Set
Data contents
Processing
(1) The S.DED instruction performs the following operation.
e1
OCHG
Dead time
1
0/1
None
BW
E1
Up to SN
times
0
1
Later than SN
Oldest data *1
times
ST × SN
0
Up to SN
times
1
0
*1
YS
Later than SN
Oldest data *1
times
0/1
0
E1 when e1 turns from 1 to 0
Oldest data *1
ST × SN
The oldest date is the E1 after the SNth time.
• When the dead time table date is not filled, BB1 is turned 1.
• When SN = 0, BB1 = 0 and BW = E1.
Operation Error
In the following cases, the error flag (SM0) turns ON and the error code is stored in SD0.
Error code
Error definition
When an operation error occurs
When the values of
number
4100
S1
,
S2
are either a non-numeric or non-normalized
When the sampling count is other than 0 to 48
When the execution cycle ( T) < 0
When the data collection intervals (ST) < 0
156
QnPHCPU
QnPRHCPU