S.spi; Sample Pi Control; S.spi Sample Pi Control - Mitsubishi MELSEC-Q series Programming Manual

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

Advertisement

9.4

S.SPI

Sample PI Control

9.4
S.SPI
S.SPI
Structured ladder/FBD
EN
s1
s2
s3
Input argument
EN
S1
S2
S3
Output argument
ENO
D1
D2
Setting
Internal devices
data
Bit
Word
––
S1
––
D1
––
S2
––
D2
––
S3
*1
Special register SD1506 can be specified as a dummy device.
Function
Performs normal PI operation during operating time (ST).
Judges between operating time (ST) or hold time (HT), and if it is the operating time, performs SV setting processing, tracking
processing, gain (Kp) operation processing, SPI operation and deviation check.
Ladder diagram
Start contact
S.SPI
S_SPI
ENO
d1
d2
: Execution condition
: Input data start device
: Operation constant start device
: When set value (E2) is used: Set value start device
When set value (E2) is not used: Dummy device
: Execution result
: Block memory start device
: Loop tag memory start device
J
\
R, ZR
Bit
MV
ST
HT
ST
STHT
STHT
S1
D1
S2
Structured text language
ENO:=S_SPI(EN,s1,s2,s3,d1,d2);
: Bit
: Real data type
: Array of any 16-bit data (0..4)
: Real data type
*1
: Bit
: Array of any 16-bit data (0..2)
: Array of any 16-bit data (0..127)
U
\G
Word
––
––
––
––
––
HT
ST
HT
STHT
S.SPI
D2
S3
Zn
Constant
Other
t
115
9
2
3
4
4
6
7
8

Advertisement

Table of Contents
loading

Table of Contents