ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

DASYLab

cancel
Showing results for 
Search instead for 
Did you mean: 

TTL counter

Solved!
Go to solution

I have a dasylab 13 program that is taking measurements and sending TTL signals through a MC1208FS to a servo motor

that performs a jog forward or backward operation based off the data. The servo motors are 11 steps ahead of the measurment sensors in this application and

I would like install a counter where once the servo is triggered it starts a counter that counts 11 cycles before allowing the next servo adjustment to occure.

In dasylab 13 what options would be the best to perform this task.?

 

Thanks Kent.

 

 

0 Kudos
Message 1 of 6
(7,272 Views)

I would use the Counter module with the rising edges as the option and cumulative count mode and per value Output.

 

Use a combi trigger to sart after thee 11 pulses and make sure to add an action module to reset the counter when 11 is reached so that it would start from 0 again

Tom Rizzo
InSyS Corp.
www.insyscorp.com
Your DASYLab integrator
0 Kudos
Message 2 of 6
(7,269 Views)

Thanks for the response Tom  ,Would you be able to throw together a quick worksheet example of what you mean.I'm finding the counter module

alot different than the usual PLC counters I'm used to. 

 

Thanks Kent

0 Kudos
Message 3 of 6
(7,265 Views)
Solution
Accepted by KCL64

Here is a litle sample on how to use the combitation

 

Tom Rizzo
InSyS Corp.
www.insyscorp.com
Your DASYLab integrator
0 Kudos
Message 4 of 6
(7,263 Views)

Thanks Tom for the help.  Your example is spot on,my problem was that I didn't get the threshold set correctly in the combi trigger.

 

0 Kudos
Message 5 of 6
(7,258 Views)

No problem I'm glad I could help

Tom Rizzo
InSyS Corp.
www.insyscorp.com
Your DASYLab integrator
0 Kudos
Message 6 of 6
(7,255 Views)