Reputation: 9
I am working on a TwinCAT 3 system where a stepper motor moves a linear axis at 40 mm/s, and I need to record sensor values (analog 0–10V) only when the position changes by 0.1 mm. This means I need a sampling rate of 400 Hz (every 2.5 ms), but instead of logging at a fixed time interval, I want to log only when new position data is available.
What I’ve tried:
bTrigger := TRUE
when position changes by 0.1 mm), but Scope View does not seem to support event-based logging.My questions:
I am new to Beckhoff (coming from Siemens PLCs), so any guidance or example configurations would be very helpful!
Upvotes: 0
Views: 35