analog input output signals- tutorial analog signal programming

Поділитися
Вставка
  • Опубліковано 27 лис 2024

КОМЕНТАРІ • 15

  • @hakuzu88
    @hakuzu88 2 роки тому

    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

  • @NhaOngQuy
    @NhaOngQuy 2 роки тому

    thanks, PLCgooods.

  • @igordubnikov
    @igordubnikov Рік тому

    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
      @plcgoods  Рік тому

      This comment section is for answering questions related to the video.

  • @nareshsekar4807
    @nareshsekar4807 2 роки тому

    Hi Sir, can you please tell me how does the %MW4 will be related to Voltage_Ch0? Why should we even need that?

    • @plcgoods
      @plcgoods  2 роки тому

      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.

    • @nareshsekar4807
      @nareshsekar4807 2 роки тому

      @@plcgoods ok sir thank you.

  • @assassinbleach4936
    @assassinbleach4936 2 роки тому

    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

    • @plcgoodsteam8934
      @plcgoodsteam8934 2 роки тому

      Hi there, In this video ( ua-cam.com/video/G22LMPCFPmg/v-deo.html ) 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.

    • @plcgoods
      @plcgoods  2 роки тому

      Please watch some more videos

    • @assassinbleach4936
      @assassinbleach4936 2 роки тому

      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?

    • @assassinbleach4936
      @assassinbleach4936 2 роки тому

      I'm watching it and it's really helpful! Thank you so much for your effort