FORUM | LATEST POST | # TOPICS |
---|---|---|
General Discussion Forum about anything you want to talk about. |
How to turn on a GPIO from a device function block by lwalbert 2022-09-29 |
1 |
Hello mos89p, I had the same problem. There is a lot of threads about this, but not one up to date. Your solution worked and I was finally able to use my software again. Thank you!
Hello mos89p, I had the same problem. There is a lot of threads about this, but not one up to date. Your solution worked and I was finally able to use my software again. Thank you!
Hallo, hat niemand das Problem die Alarme nicht mehr importieren zu kΓΆnnen? Neu Installation und Reparatur haben bis jetzt nichts gebracht.
It seems like a bug. Try updating your IDE or checking settings related to "Auto Declare." If the issue persists, report it to the software support team. Signature! solar smash
The MC_Home or MC_SetPosition requires a programm cycle to be completed. In my application the speed is approximately 120m/min and the programm cycle is 2ms. That means that i will have a 4mm loss on each Trigger of either MC_Home or MC_SetPosition. The best option is to change the value defined in the axis configuration. I tried the SMC_SetMovementType but it only works with the axis standstill or powered off. I need to be able to change it while the axis is moving.
If you mean you want to shift the Origin or Zero position of your axis, you can try MC_SetPosition and set the position to 0 (if you want to take the current active position and make it the new 0. Adjust this number accordingly if/as needed). This means the servo drive keeps it's current origin position, and Codesys applies an offset to the servo drive position in the logic. You can also use the homing function of your servo drive using MC_Home and have your drive configured to set the current position...
If you mean you want to shift the Origin or Zero position of your axis, you can try MC_SetPosition and set the position to 0. This means the servo drive keeps it's current origin position, and Codesys applies an offset to the servo drive position in the logic. You can also use the homing function of your servo drive using MC_Home and have your drive configured to set the current position as origin when it receives a homing command.
If you are switching a frame based on the "Switch Frame Variable", then just use a variable that is accessible to your program to set your active frame. If you're trying to see which is the active visualization, then use the "CurrentVisu" variable. Note you'll need to enable this by checking it on in the Visualization Manager settings. If it's neither of those, you'll need to be more clear on how you're project is set up.
Try watching this video in it's entirety, looks like it should have what you need to get running. https://www.youtube.com/watch?v=kyj36oRpA04
Hello, I have an application with 2 axis. The master axis will be configured as Modulo. During motion i want to be able to change the rollover position if required. How is it possible to do this?