EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-F Series - Ethernet Connection

Mitsubishi Electric MELSEC iQ-F Series
128 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...
46
5 LADDER DIAGRAM
5.2 Inline ST
5.2 Inline ST
Inline ST is a function that creates, edits and monitors inline ST box that displays an ST program in a cell of an instruction that
is equivalent to a coil in the ladder editor.
Numerical operations or character string operations can be created easily in a ladder program.
Program with the inline ST
Program without the inline ST
The inline ST cannot be used in the Zoom editor of SFC programs.
Specifications
For the specifications of the inline ST, refer to the ST language specifications.
Page 48 ST LANGUAGE
Precautions
Only one inline ST can be created in one line of a ladder program.
Creating both a function block and an inline ST box in one line of a ladder program is impossible.
Creating an inline ST box in a position of an instruction that is equivalent to a contact creates an inline ST box in a position
of an instruction that is equivalent to a coil.
The maximum number of characters that can be input in an inline ST is 2048. (A newline is counted as two characters.)
In inline ST, do not use rising execution instructions, falling execution instructions, special timer instructions, or standard
function blocks (edge detection function blocks and counter function blocks) as they may not work property.
When the RETURN syntax is used in an inline ST, the processing inside the inline ST box ends, and the processing inside
the program block does not end.
X0
W0:=K0;1
W0:=(D0+D1+D2+D3+D4+D5+D6+D7+D8+D9+D10+D11)/K12;2
X0
K0MOV W0
D0+ W0
D1+ W0
D2+ W0
D3+ W0
D4+ W0
D5+ W0
D6+ W0
D7+ W0
D8+ W0
D9+ W0
D10+ W0
D11+ W0
K12W0 W0/

Other manuals for Mitsubishi Electric MELSEC iQ-F Series

Related product manuals