6-71
6 Programming
NJ-series CPU Unit Software User’s Manual (W501)
6-4 Constants (Literals)
6
6-4-2 Types of Constants
Enumerators of Enumerated Variables
Notation Example Remarks
Enumerator _WED You can use this notation to pass an enumerator to a function or
function block for which the parameter specifies an enumerator.
Example: The parameter that passes an enumerator to the For-
mat input variable in the BinToBCDs_** instruction.
Enumeration#Enumerator _eDAYOFWEEK#
_WED
Use this notation in all other cases. A building error will occur if
you do not use this notation.
Example: The parameter that passes a value to the In input
variable in the MOVE instruction.