Input Description¶
PS_DigitalPLS provides the possibility to control all the cams on an ABB CI51x-ECAT.
The switch-on and switch-off-position of each cam and the compensation time of each cam can be set individually via the input Switches. The position of the reference axis is given by an encoder, which must be available, if the cam switch functionality is to be used.
The switch-on position and the switch-off-position can be changed individually online. Furthermore, a compensation time in both directions can be added to the switch position. Compensation is applied to both switch-on-position and switch-off-position.
Individual cam can be disabled by clearing the corresponding bit in the EnableMask.
The actual state of the cams can also be monitored with the output “State”.
Enable
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BOOL | - | - | - |
The Function Block is activated with Enable TRUE. With Enable=FALSE, the respective cam will be switched off immediately.
EnableMask
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
DWORD | - | - | - |
The 32 bits of EnableMask correspond to the 32 cams of a CI51x-ETHCAT device. Setting a bit will enable the corresponding cam.
csdc
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
DWORD | - | - | - |
See data type CSDC_REF_TYPE.
Switches OF DIGPLS_REF_TYPE
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
ARRAY | - | 1…32 | - |
See data type DIGPLS_REF_TYPE.
Note
If FirstOnPosition is smaller than LastOnPosition, the cam is switched on between the values of FirstOnPosition and LastOnPosition of the same turn.
Note
If FirstOnPosition is greater than LastOnPosition, the cam is switched on between the values of FirstOnPosition of the actual turn and LastOnPosition of the next turn.
Note
If FirstOnPosition is equal to LastOnPosition, the cam is switched on for one interrupt cycle.
The POU PS_DigitalPLS automatically truncates FirstOnPosition and LastOnPosition to the resolution of the circle without notice. For example, all FirstOnPosition/LastOnPosition which are greater than 36000 will be limited to 36000 (given that the default resolution of CI51x-ETHCAT cam is used).
The parameters FirstOnPosition, LastOnPosition and Compensation can be changed at any time. They will be immediately valid after sending to the CI51x-ETHCAT via the POU.