Examples
DOC_MAN_MEC_EFAS-CAM_#SEN_#AIN_#V1
Seite 51 von 56
Version: 2018 / 02
NOTE
Absolute EtherCAT encoder
If you are using an Absolute EtherCAT encoder, changing the module resolution will just affect
the view of the CAM Creator's CAM array.
To set the CAM module to actually process every xth value, you must run CODESYS and divide
its encoder setting by x.
In this case, the resolution is set to 512 ticks, which means that you will also have to divide CODESYS'
encoder value by 16.
Now download the cam program to the modules (see 6.5.3 Download).
The last item you need is a CODESYS project which might look as follows:
Use output variable "uiPositionSet_CAM1" to set the position and "uiPosition_CAM1" to display the actual
position, e.g.: