11 - 156 11 - 156
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
REMARK
See the BIN$, HEX$, and VAL functions.
Octal numbers are expressed by placing "&0" in front of the numeric value.
Example
Decimal number
Octal number
200
&O310
Use the VAL function to convert a character string variable in octal notation into a
decimal number.
Example
Decimal number
200
VAL( "&0310" )
Make sure to attach "&0" in front.