A-5
MW00001 = MF00012 OK
MB000102 = MW00010 OK
MB000102 = true OK
MW00010 = MB000101 NG
MW00010 = true NG
○ Function
The argument and the return value to the function depend on the specification
of controller's function. That is, the output value is returned by the integer
when the register of the integer and the integer type is input to sin(), cos(),
and arctan(), and when the register of the real number and the real type is input,
the output value is returned by the real number. When the register of the integer
type is input because the argument of tan() is a real number, is treated as a real type.
ex)
MW00001 = sin(MW00002) OK
MF00001 = cos(MF00002 * 3.14) OK
MW00001 = - arctan(MF00002) OK
○ Others
・ Parentheses
Two or more expressions can be united by using‘(’and‘)’.
ex)
MW00001 = - ((MW00002 – MW00003) / (MW00004 + MW00005)) OK
・Array
The array can be specified by using‘[’and‘]’ B as well as C language.
ex)
MW00001 = MW00002[100] OK
MW00001 = MW00002[MW00100] OK
MB00001 = MB000020[0] OK
Comentários a estes Manuais