Jefferson Posted July 27, 2022 Report Share Posted July 27, 2022 Hello good morning,, I am using an incremental encoder, using a fast input, the reading is configured and it is doing it correctly, but I need that when the power is lost or the machine is turned off, the value of the current reading is not erased, I would like to know What tool can I use to make this happen? Quote Link to comment Share on other sites More sharing options...
MVP 2022 kratmel Posted July 27, 2022 MVP 2022 Report Share Posted July 27, 2022 C:\Program Files\Unitronics\Unitronics VisiLogic_C\Examples\Version 900\Project examples\HSC_ HSO V120_Backing_up_a_HSC.vlp Sample project for readings backup. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Ausman Posted July 27, 2022 MVP 2022 Report Share Posted July 27, 2022 Also see Point 2 here: https://forum.unitronics.com/topic/6229-ongoing-21-topics-almost-worth-pinning/ All 21 points are worth reading, incidentally. cheers, Aus Quote Link to comment Share on other sites More sharing options...
Jefferson Posted July 28, 2022 Author Report Share Posted July 28, 2022 On 7/27/2022 at 10:28 AM, kratmel said: C:\Program Files\Unitronics\Unitronics VisiLogic_C\Examples\Version 900\Project examples\HSC_ HSO V120_Backing_up_a_HSC.vlp Sample project for readings backup. Thank you very much for your help, it helped me, but now I have a problem, the encoder counts if I turn it clockwise, and if I turn it anti-clockwise it counts, do you know how to make it count in one direction Quote Link to comment Share on other sites More sharing options...
MVP 2022 kratmel Posted July 28, 2022 MVP 2022 Report Share Posted July 28, 2022 Please post your HSC configuration, encoder model and type some words about your application. Quote Link to comment Share on other sites More sharing options...
Jefferson Posted July 28, 2022 Author Report Share Posted July 28, 2022 14 minutes ago, kratmel said: Please post your HSC configuration, encoder model and type some words about your application. Quote Link to comment Share on other sites More sharing options...
MVP 2022 kratmel Posted July 28, 2022 MVP 2022 Report Share Posted July 28, 2022 If you use encoder with A, B signal in HSC configuration is better to use (A, B ) shaft encoder (x4) and use ML for count. Quote Link to comment Share on other sites More sharing options...
Jefferson Posted July 28, 2022 Author Report Share Posted July 28, 2022 Hello Kratmel, thank you very much for all your help, it worked correctly, it's perfect now Quote Link to comment Share on other sites More sharing options...
Jefferson Posted August 4, 2022 Author Report Share Posted August 4, 2022 Hello good afternoon I have a problem, we make the connection of the encoder and it is working fine, it adds on one side and subtracts on the other, it is correct. but I have a difficulty, when I configure an output with the degrees of the encoder as in figure 1 between 90 and 180, it works correctly, or in a range between 1 and 359 degrees it works perfectly. If I have to configure an output like example two between 280 and 50 degrees, where the output has to go through the value of zero, I don't know what tool to use so that the output works in these ranges without a problem. could you help me? Quote Link to comment Share on other sites More sharing options...
MVP 2022 kratmel Posted August 4, 2022 MVP 2022 Report Share Posted August 4, 2022 As i see you whant to build "absolute" 360deg. encoder with programmed CAMs. You can use inverted correct working range started from 50 and stopped at 280deg. 50 to 280 inverted = 280 to 50 in normal mode. That is you program bit for this range and use inverted contact for activate needed tools. Or use two splitted "corect" CAM from 280 to 359 & 0 to 50. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.