11 expression (expression), 1 ) operation, 2 ) format – Yaskawa MP900 Series Ladder Programming Manual User Manual
Page 166

5.5 Program Control Instructions
5.5.11 Expression (EXPRESSION)
5-97
Instructions
5
5.5.11 Expression (EXPRESSION)
( 1 ) Operation
You can use the following elements in an EXPRESSION instruction:
• A variable name or structure in place of a register, similar to C language.
• Basic functions, such as the SIN and COS functions.
• Arithmetic operators, logical operators, comparison operators, and substitution operators.
• Arrays.
( 2 ) Format
∗ Write with the format for an EXPRESSION instruction.
Refer to Appendix D Format for EXPRESSION Instruction for details on the format used to write the expression.
EXPRESSION instruction
MW00000 = 10;
MW00001 = DATA1;
ML00002 = MW00000 + 100;
MF00004 = sin(MF00006);
MW00006 = 0x3FFF;
…
Parameter Name
Applicable Data Types
B
W
L
F
A
Index
Constant
Operation expression
{
*
{
*
{
*
{
*
×
{
*
{
*
Operation expression
Icon:
Key entry: EXPR