Hello, I would like to make a small program for garage door control which should generate analog output 10-0 V DC gradually . Change of analog output should be triggered by end switch located between lower and upper end switches, used to stop the door when they are completely open or closed (this switch should be located app. 40 cm above the lower end switch). 10-0V DC output should be used for PWM controller with control voltage input 0-10V DC. To resume, the whole idea is to make a program which should gradually slow down the door when it reach the end switch located app. 40 cm above the lower end switch. Any idea how to make that?
@plcgoods Жыл бұрын
This comment section is for answering questions related to the video.
@nareshsekar48072 жыл бұрын
Hi Sir, can you please tell me how does the %MW4 will be related to Voltage_Ch0? Why should we even need that?
@plcgoods2 жыл бұрын
Hi there, I just wanted to show the process how an analog input signal can be read and used. At the time 17:40 I used my voltameter and Factory IO to show that I've calculated the input voltage correctly.
@nareshsekar48072 жыл бұрын
@@plcgoods ok sir thank you.
@hakuzu882 жыл бұрын
Normaly when i want to cmd an analog output , firstly i use NormX to convert int to real to get the 0.0 or 1.0 which is 0 or 100 % in output; and use this % to get the value i want in real type with scaleX. If i want to cmd an analog ouput i use this real type which was convert in scaleX before , i take this MD.X and i use different compares blocs and moov bloc to send another MD.X2 to another NormX and scale X to cmd and regulate the analog output in term of the analogiq input and it is work very well
@plcgoodsteam89342 жыл бұрын
Hi there, Thanks for your message.
@plcgoods2 жыл бұрын
thanks for contacting us
@assassinbleach49362 жыл бұрын
Thank you so much mister , I've watched the Norm and scale episode but I still can't know how it really worked here, in that episode you put in scale the number 0.37 and the MIN value is 0 and the MAX value is 100 so the output was 37 but here I didn't understand what happened can you explain and sorry for the long comment
@plcgoodsteam89342 жыл бұрын
Hi there, In this video ( kzbin.info/www/bejne/fWOVfYCGeKuDo8k ) the Norm and Scale instructions were explained. the Scale instruction finds a linear function to convert 0 and 1 to MIN and Max numbers. the founded linear function is used for others numbers too. the Norm instruction works inversely.
@plcgoods2 жыл бұрын
Please watch some more videos
@assassinbleach49362 жыл бұрын
Thank you , I've watched the video in the link and I saw the equations of the scale and the norm instructions ,but why did you use Norm then scale of the value? I mean isn't it similar to opposite of the opposite value is the same value?
@assassinbleach49362 жыл бұрын
I'm watching it and it's really helpful! Thank you so much for your effort