Thank you, that is disappointing, but very clear, and it explains what I am seeing.
I also have a EMO-AO4/12 extension board; does it have the same problem?
Thanks for your replies. I have hooked up external 12V supply and getting better values on AI1. That part now makes sense.
But my PWM pump is still not behaving as expected. It runs full speed at AI1 value of 1500 and below. It goes in standby at values 1500 and above.
The pump datasheet indicates very forgiving signal requirements, 3 to 24 volt, duty cycle 0 to 100 % , 100 to 5000 hz (1000 hz nominal), signal power dissipation less than 5mA.
Is there any way I could adjust the PWM frequency, before I give up, I would like to deliver the signal it is nominally expecting (10V, 1000Hz, 50% PWM) and see what happens.
And can you please confirm that my fupla picture above in fact generates a PWM signal on AO in the first place.
I saw your Axon range - very nice to see new range of PLC - congratulations!
thank you Tomas,
I will try that. But it does leave me puzzled. Are you saying I am reporting the wrong output in Fupla? I am using AI1 to show the output - is that not what you are suggesting? You say that AO is the wrong output to use, is AI1 actually an output (i assumed that the acronym stood for Analogue Input 1).
Will the fupla program that I sent a screenprint of generate a PWM signal after changing the output?
Do i need to provide external 12V or is the 12V supplied by the unipi sufficient to drive 1 pump (it dissipates only a few mA)?
So is there a need to revise the diagram in de step by step manual, it clearly points at AO as the analogue output to use?
I was too quick with the previous note.
With the B80 box, I can write the desired value to AO01. This value fluctuates as expected, responding to temp data. But when I monitor the resulting value on AI01 (using the wiring you suggest in the step by step manual) the actual output remains 4600 millivolts regardless of the input.
Also it seems not to deliver a PWM signal as far as I can tell.
Do I need another dialogue box to generate a PWM signal on AO01? I can see the B87 box, but that appears to be for Unipi 1.0 exclusively.
Thanks for your reaction.
B80 box looks just right
It is a wilo pwm controlled central heating circulation pump.
Perhaps I was unclear: I was hoping you might send me a screenshot of correct mervis code for this situation.
But it seems to be working ok now - thanks for your help
I am struggling to program analogue outputs in simple mode. Rather than to bore you with the long story of how I failed; is there anyone who could say how it is done?
I want to drive a PWM circulation pump (1-10V, 100Hz) to respond to a 1Wire temp reading so that the pump modulates from 0 to 100% in the temp range from 72 to 82 degrees.The pump should run at 100% at temperatures higher than 83.
I have found the wiring diagram in the step by step manual and my unipi is wired accordingly. I just cannot seem to give it the correct instructions...
A screenshot of the main program in Mervis showing variables, the appropriate library box and its proper parameters (the only one labeled PWM is only for unipi 1.0 - or am I wrong?), and any required conversions from real to int would be very much appreciated.
thanks for your reply, that should help ..
you were asking where I found the link to the wrong images.
That was in the current version of the Mervis step by step manual, posted in the software documentation section of your site (https://files.unipi.technology/s/public?path=%2FSoftware%2FMervis%2FDocumentation#pdfviewer).
The link is in section 1.2.2:
"Deploying image / Prerequisites: /Mervis OS imge –
after a hacker attack, I am trying to restore the Mervis control software image on the SD card for my Unipi 1.1.
The manual directs me to the software download section of the Unipi technology site where a number of images is presented. The first file is a readme file that starts with the following warning :
"ONLY FOR UNIPI NEURON! THIS IMAGE IS NOT FOR UNIPI 1.1!
Please use the standard Raspbian and install Evok from Github:https://github.com/UniPiTechnology/evok."
If these images are unsuitable for the Unipi 1.1 - why does the Unipi manual direct me here??
When I go to the suggested Github pages I am unsure which image to burn on my SD card.
Any help would be appreciated.
I am struggling to set up PWM control on my unipi using Mervis.
I have tried the analog output on the main unipi board. It is hard to find the appropriate variable associated with it in software. Is it UniAodicountersAO01, or UniAodicountersAO01-r. On the PCB there is only one analog output, and it is labeled AO1. Not matching any of the descriptions in the software.
Then, I purchased the AO board with four Analog outputs, hoping that the labeling would be more helpful. It was.
But there is no information leaflet with it. It has a power input, I connected a 12V power source to it, and hooked up the AOV and AOG terminals to it. Then I connected the board to the I2C port on the unipi.
I am getting two green lights on the auxiliary board!
I think I need to put the Unipi in commissioning mode, and look for the auxiliary board. I gave it decimal address 71, and went back to normal mode. Updated variables for HW, ad I can see a fair number of ports. It worries me that only ports 5-15 are labeled with something including PWM in their name. The primary four ports (0-3) are just labeled EMO-AO4_channel0 through AO4_channel3. I am assuming these are the ones ....
Then hooking up the ports in software: there is no library box for PWM - that is to say, there is one, but it is clearly labeled V 1.0. Is there something similar for Unipi V 1.1???
It seems like it might do what I need ...
I know I am a newbie here, but I would appreciate some help ..
Looks like your connection to UniPi.technology Forum was lost, please wait while we try to reconnect.