CDB

Top  Previous  Next

 

The contents of both data block registers (global- and instance data block register) are exchanged with each other.

 

Accesses with DBW refers to the current instance-DB afterwards, accesses with DIW refers to the present global-DB afterwards. This is also valid for all parameters that are marked with ‘#’ and variables except of the TEMP-variables.

 

You shall only use this operation if the global-DB is also an instance-DB to the current function block, otherwise it will become quite confusing.

 

See also:

OPN

CPU

 

List of operations