User Tools

Site Tools




DEFCON name, value

Defines a named constant

DEFCON provides a convenient way to reuse a value within a ladder diagram. If the value changes, only the constant’s declaration, the DEFCON statement, would need to change.

Please note you cannot use reserved words as constant names. For example DEFCON WMOV 100 is not legal since WMOV is a reserved command name.

Go CUBLOC Ladder Logic home

cubloc/defcon/index.txt · Last modified: 2016/04/14 11:07 (external edit)