I Instruction Quick Check; Operator Summary In Codesys - SMB MAT-LC-C Series User Manual

Plc based motion controller
Table of Contents

Advertisement

I
Instruction Quick Check
I.1

Operator summary in CODESYS

The following table summarizes the operators that exist in the Standard.lib and Util.lib libraries of
CODESYS, respectively.
Note the 'IL' column: only lines that use this symbol are displayed. A necessary condition is that
the first set of necessary operands has been successfully loaded on the previous line (e.g., LD
in) The 'Mod.IL' column shows modifiers that are possible in IL:
C
N
N
(
Table I-1 Operator summary table
In ST
'
..
[ ]
:
;
^
:=
<Program name>
<Instance name>
<Fctname>(vx,
vy,..)
RETURN
Modifier for the result of the preceding expression being TRUE.
For JMPC, CALC, and RETC: If the instruction output is FALSE, run this
instruction.
Otherwise: negates operand (non-cumulator)
Operator in parentheses: The operation starts only after the parentheses
appear.
In AWL
LD var1
ST var1
S boolvar
R boolvar
JMP label
CAL prog1
CAL inst1
<Fctname> vx, vy
RET
(
Mod.
AWL
string delimiter
Array domain size
The delimiter between operands and types
in the declaration.
Description terminated.
Designator obsolete.
N
Loading of variable 1 value in buffer.
N
Store the actual result in variable 1.
When the actual result is TRUE, exactly
set the operand boolean variable to TRUE.
When the actual result is FALSE, exactly
sets the operand boolean variable to
TRUE.
CN
Skip directly to the tab.
CN
Call the program prog1.
CN
Call the program inst1.
Call the function fctname and transmit the
CN
variables vx,vy.
CN
Leave POU and go back to caller
The values after the parentheses are
treated as operands, and the operations
before the parentheses are not performed
before
the
parentheses.
158
Description
expressions
inside
the

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MAT-LC-C Series and is the answer not in the manual?

This manual is also suitable for:

Mat-lc-c0 seriesMat-lc-c06Mat-lc-c07

Table of Contents