Hello @arif.kaya ,
this function block should cover your use case: MC_DigitalCamSwitch
It uses SPT function blocks on the drive.
The fastest outputs would be on a digital output plug-in card in the drive.
This function block can only set digital outputs on drive plug-in cards directly, not on X2X modules.
You have to connect the output âValueâ to the X2X IO channel.
The signal is routed from the drive to the PLC and then to the X2X module.
If that is not fast enough, a drive plug-in card can be used.
The delay time can be compensated, so there is no velocity dependent deviation, when the axis is moving at constant velocity.
âTrackOptions.OnCompensation/.OffCompensationâ
The drive firmware documentation has the info how to set the compensation times: Compensation of the switching delay
Another possibility is the ASMcDcsPrecisionDigitalCamSwitch fub from the AsMcDcs library. B&R Online Help
Together with X20DS4389 card very precise timing signals can be realized.
In this case the position of the axis has to be sent to the plc with fub MC_BR_ReadCyclicPosition (McAxis library) B&R Online Help
The output signal can also be routed directly from Acopos to a digital output card when digital output card is placed in a powerlink bus coupler (X20BC0083). As I remember correctly the digital ouput card must be defined as packed.
Thanks for the info Martin,
I installed the â8EAC0130.000-1â card in the P3 Driver but I canât physically do it right now.
Can I try this in simulation?
You can see the status of your digital signal on that parameter ID (either trace it with mapp Cockpit or read it with MC_BR_CyclicProcessParID_AcpAx) and on the FB output âValueâ.
When you start with tests on the HW change the âOutputâ parameters in the feature accordingly.