External Lights Synchronization

Hi, I’ve been trying to synchronize external lights using the ViBaseAxisBasedAcquisition function, the Help tells you to do this

For each newly calculated timestamp of the function block, recognizable by the value change of output [ViBaseAxBsdAcqAddInfoType], a positive edge must be generated on data point “FlashTrigger” of the external light module.

But doesn’t give you an example of how to do it, I’ve tried different ways to do it but the previous and current timestamps end up synchronizing with each other and the external lights doesn’t trigger, is there an “official” way to do it? also is there a way to sync the external lights when using the ForceAcquisition input in the ViBaseAxisBasedAcquisition block?

Thank you.

These are 2 examples of what I’m doing to achieve what the Help says

This is what I’m using
4PPC70.0573-20W
VSC122Q22.041P-000
VSLB11H00.54DP-000
VSLL11R20.67AP-000
AS 4.12

Hi Jose @c457930

In the documentation you can find more about Nettime calculation B&R Online Help

1.- PLC Configuration, you need to set the Timing
image

2.- In the ViApplication, the trigger source as NetTime

3.- ST Program, you have to calculate the DelayTime, for example:
image
Those variables for the Bar/Backlight in the IOMapping added:

4.- You need to set the NetTimeSoc variable in the Powerlink Configuration

Let me know, if that works!

BR
Vanessa

4 Likes