Jump to content

Simulate an analog input


Recommended Posts

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


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


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

  • MVP 2023

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.



  • Upvote 1
Link to comment
Share on other sites

  • 1 year later...
  • MVP 2023
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

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...