2.3 KiB
2.3 KiB
How to bode with TwinCat
Requierments
- PLC
- EL7XX Servodrive
- PC
- Visual Studio Code 2017
- TwinCat3
- eXtended Automation Runtime (XAR)
- Remote desktop Connection
- Patience
Introduction
The goal is to get a bode plot af an NC Axis which is connected to the EL7XX Servodrive. This Documentation should enable you to perform a bode plot and tweek the setings for better performance.
Steps
- Setup a standard solution Procejt in TwinCat3:
- Your target axis is set up correctly
- You can jog the axis
- Make your Target build version is 4026.67 ?? corect if not see How to upgrade
- In the TwinCat project select the following options in TcComObjects

- Add dynamic container for oversampling (not avaiable with EL7211)
- Under I/O -> Devices right click on Device 1 (if your axis is mounted to device1)

- Select: Append Dynamic Container
- Agree to all pop ups
- Decreas the PlC cycle time to
250\mu s
- Set NC-Motion Task to on PLC cycle

- Disable LP Filter of encoder (for speed and or position depending on what you wnat to measure) and Download

- Open main visu and enable the axis (as if you want to jog it)
Open New Bode Project
- Set Target ID to the TwinCat Route for your PLC
- Axis ID to the ID in the TwinCat project of which you want to make the bode plot

- Adjust the settings to get the best performance out of the EL7XX

- After that start your measurement

- Your measurements apear under Bode Plot





