logo elektroda
logo elektroda
X
logo elektroda

Difference Between Digital & Analog Inputs/Outputs: Easy Moeller Controller Example

xroot99 32832 6
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 3007640
    xroot99
    Level 10  
    Hello to all forum users

    Could you explain to me what is the difference between digital and analog input/output, for example, Easy Moeller's controller has x digital inputs and x analog inputs.
  • ADVERTISEMENT
  • #2 3007692
    fryzbi
    Level 15  
    Digital input/output is nothing more than information stored in code 0 and 1 (bits).
    Analog is the input/output, e.g. voltage, current, resistance.


    Regards
  • ADVERTISEMENT
  • #3 3007801
    xroot99
    Level 10  
    How to change analog output to digital output?
    i.e. from the analog output, which has 12-24V when activated - change to a digital signal?

    Thank you very much for your help and understanding for the "lajkonik".
  • #4 3008307
    jaruśjaruś
    Level 18  
    The analog output of the controller is usually a voltage one, which, unfortunately, can be loaded with a current of about 10mA. It is not possible to control the relay with this. A semiconductor relay should be built, i.e. a transistor and then possibly a relay. A similar thing is with analog current outputs where the current is max 20mA. If you want to use the analog outputs as digital, you should write the program accordingly so that the output has only two states: zero V and max, i.e. 10V. A simpler matter is with analog inputs, where this signal (with the controller program) can be compared on comparator blocks. Regards
  • ADVERTISEMENT
  • #5 3008449
    michasp
    Level 17  
    Hello,

    the easiest way:

    1. The digital input works: on/off - there are no intermediate states - the controller sees 1 or 0.

    2. Analog input: measures voltage (e.g. 0-10V) or current (e.g. 0-20mA), which can correspond to e.g. temperature, speed or some other variable

    3. Digital output: as input, on/off - you can control e.g. (transistor output) - relay, (relay output) - contactor.

    4. Analog output - outputs voltage or controls current - depending on the type of load - you can, for example, control the opening of a proportional valve - which can be compared to a valve on a radiator - either closed (0 mA) - or set to some value (x mA) - or open at maximum (20 mA).

    I think I described it easily ;)

    Regards

    Michael
  • #6 3008787
    KAPAS
    Level 17  
    In controllers, digital (bit) inputs are usually inputs that are activated after applying voltage to them - if we are talking about EASY, then in xxxDC versions it is +24Vdc, and in xxxAC versions - 230V ac.
    If you want to use the analog inputs as digital, you must remember that the voltage on them must not exceed +24Vdc.
    As for exits, the situation here is a bit different. Still sticking to EASY - we have a way out. digital and analog. out digital switches can be in two versions - a transistor supplying +24Vdc voltage or a relay with a potential-free contact. With regard to the use of analog (0-10V) as digital, I made comparators in the controller that "threw" me at the output. voltage every 2V, and as a result got 5 additional outputs. But I did it only once, since then I prefer to buy an extension module than to lose the output. analog.
  • ADVERTISEMENT
  • #7 3011918
    krzychol66
    Level 25  
    xroot99 wrote:
    How to change analog output to digital output?

    The easiest way - sell the module with analog outputs and buy a module with digital outputs for the money obtained, and spend the rest of the money on a party for colleagues ;)
    It's a bit more difficult - if you need some 9.5-10V as "1" and 0-1V as "0" and you don't need a high current efficiency, you can write a program to enter 0 analog for "0", and max allowable value for "1".

Topic summary

Digital inputs/outputs operate using binary signals (0 and 1), while analog inputs/outputs handle continuous signals such as voltage or current. In the context of the Easy Moeller controller, digital inputs are activated by applying a specific voltage (e.g., +24Vdc for DC versions), whereas analog inputs measure varying voltages (0-10V) or currents (0-20mA) that can represent physical variables like temperature or speed. To convert analog outputs to digital signals, users can program the controller to output specific voltage levels corresponding to binary states. However, analog outputs typically have limited current capacity, necessitating additional circuitry (e.g., transistors or relays) for higher loads. For practical applications, it may be more efficient to replace analog output modules with digital ones if digital functionality is required.
Summary generated by the language model.
ADVERTISEMENT