Chapter 10 Compensation Operation Instructions - Mitsubishi MELSEC-Q series Programming Manual

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

Advertisement

CHAPTER 10
10.1
S.FG
Function Generator
10.1
S.FG
S.FG
Structured ladder/FBD
EN
s1
s2
Input argument
EN
S1
S2
Output argument
ENO
D1
D2
Setting
Internal devices
data
Bit
Word
––
S1
––
D1
––
S2
––
D2
Function
In response to the input value (E1), outputs the value following the function generator pattern that consists of n pieces of
polygon points specified as the operation constants.
Output (BW)
COMPENSATION OPERATION
INSTRUCTIONS
Ladder diagram
Start contact
S_FG
ENO
d1
d2
: Execution condition
: Input data start device
: Operation constant start device
: Execution result
: Block memory start device
: Local work memory start device
J
\
R, ZR
Bit
Y
(X
2
(X
,Y
)
1
1
Input (E1)
S.FG
S1
D1
Structured text language
ENO:=S_FG(EN,s1,s2,d1,d2);
: Bit
: Real data type
: Any 16-bit data
: Bit
: Real data type
: Array of real data type (0..95)
U
\G
Word
––
––
––
––
,Y
)
2
(X
,Y
)
3
3
(X
,Y
)
4
4
S.FG
S2
D2
Zn
Constant
Other
X
205
1
10
3
4
6
7
8

Advertisement

Table of Contents
loading

Table of Contents