3/21/2024 2:42 PM | |
Joined: 10/3/2022 Last visit: 5/12/2024 Posts: 45 Rating: (0) |
Hi Riddersholm As for the PLC program, the subroutine being used for the Handwheel is exactly the same as the one in Tool Box examples. Attached you can find the whole OB program and the subroutines linked to the handwheel. I am also attaching the example from the Tool Box from where i got the handwheel subroutine. As for the .ard file I still did not do that, as I am not in the workshop for the next 2 days. Can you in the meantime check the PLC program please? Is there something wrong or that I need to activate somewhere else? AttachmentHandwheel.zip (35 Downloads) |
3/24/2024 8:44 PM | |
Joined: 5/24/2016 Last visit: 5/19/2024 Posts: 318 Rating: (49)
|
Hello. No you are not correct. It is processed in the PLC as to when and axis is to be controlled using the handwheel. That is what the WAND_B command is doing, it checks the input from the rotary switch and further down checks against the byte number as to which axis is active. It is a bit confusing if one is not used to this kind of programming. So here is and example I made where I use pure NO/NC logic to do the same thing. I hope it makes more sense with this simplified version. There are some extra features I always incorporate which means making changes to the MCP483 and MCP483_M block. These are - Traversing using + and - Keys also with Rapid Choose the Increment of the Axis using F1 for 1 - F2 for 10 and F3 for 100 Now I do not have a active system to test this on, so sorry if there is any bugs Best Regards Riddersholm
AttachmentMiniHHUExample.zip (17 Downloads) |
Follow us on