Salem Posted April 27, 2017 Report Share Posted April 27, 2017 Hello, I'm new at Automation Programming and i would like to know how to simulate an Analogic Input in Unilogic, in-time modification to test levels etc. Is it possible ? Link to comment Share on other sites More sharing options...
ORSO2001 Posted April 27, 2017 Report Share Posted April 27, 2017 Hello Salem, what you mean about "simulate" ? ...by real signal (mA,Volt etc) or by software?...in first case you need a proper module to manage the signal, maybe from a potetiometer...in second case you can insert two buttons in the HMI to increase and decrease the value of a tag... at the end, for example, you can use one or both of these two reference to manage one or more bargraph or gauges... Link to comment Share on other sites More sharing options...
Salem Posted April 28, 2017 Author Report Share Posted April 28, 2017 Hi, Thanks for you answer, i'm potentially in the second case but when my incrementation button is created, i can't link it to my Analogic Input in order to simulate, the only values selectable are Analogic Outputs, I want to modify values in order to manage a bargraph. Here is what i did : I selected a UIA-0800N module which will be connected to a Level Sensor. I affected an input with my alias name but the sensor isn't connected yet. I want to test my functions before connecting it Link to comment Share on other sites More sharing options...
ORSO2001 Posted April 28, 2017 Report Share Posted April 28, 2017 hi, that I know you can't do this. You can't manage in this way the input...these need real signal... have you also analog output? if you have a module that manage an analog output, maybe, you can connect the output with the input; create buttons to manage the output value and with the input read the signal... Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted April 28, 2017 MVP 2023 Report Share Posted April 28, 2017 If you are getting into Analogue values on a PLC, or anything that uses Analogue I/Os, you are much better off buying a signal generator to physically test things. Google "4-20mA/0-10V Signal Generator" and you will have myriad choices of how much you want to spend. Points to look for: self-powered, easy to setup/connect, easily adjust amounts on the fly, easily change type etc. cheers, Aus 1 Link to comment Share on other sites More sharing options...
Salem Posted May 3, 2017 Author Report Share Posted May 3, 2017 Thanks for your answers i'm going to get that generator. Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted February 17, 2019 MVP 2023 Report Share Posted February 17, 2019 That allows you to change the value when you're in online mode. Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted February 18, 2019 MVP 2023 Report Share Posted February 18, 2019 5 hours ago, Flex727 said: That allows you to change the value when you're in online mode. So does that in some ways allow what the OP wanted to do, just to check what other things in the program display/react to etc? Or does the real input over-ride any user input immediately? cheers, Aus Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted February 18, 2019 MVP 2023 Report Share Posted February 18, 2019 13 hours ago, Ausman said: Or does the real input over-ride any user input immediately? Only when there is an actual I/O module attached to the PLC. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now