COMC_GROUP_CARTESIAN

../_images/a8f19e0ce2b635890a331390015d4f00

Function Block COMC_GROUP_CARTESIAN

General Information
Available as of PLC runtime system V1.2 and above
Included in library CoordinatedMotion_AC500_V21.LIB
Type Function Block with historical values

This Function Block has to be called every cycle and at least once before any MC… Function Block is activated.

The MCS axes form a cartesian system according to the “right hand rule”. These axes are fix, so it is not possible to add or remove an axis. When just 2 dimensions are needed, a dummy-axis which runs on simulation should be created.

The addresses should be calculated as follows:

../_images/ef162ff3e2b60d9f0a33139001acee45

This should be done every cycle as on an online change, addresses of variables might be changed. The actual address has to be provided to the block in every cycle.

The different elements are linked by ADR operator.

../_images/d8c918eee2b612d10a33139000729846

The number of ACS axes is flexible, although an array with 3 elements is used as type. A larger array could be used instead and the number of elements be provided at N_ACS.

../_images/04eb4673e2b610ab0a33139000330bc6