Const Device

The device being used must be declared before using BASIC or Ladder Logic. Below is an example of declaring the Cubloc CB220 module.

Const Device = CB220   ' Use CB220.

This should be the first line of a program. When this command is not used, the CB220 model will be assumed.

Const Device = CT1720  ' Use CT1721.
Const Device = CB280   ' Use CB280.

Go CUBLOC home