thomasmwilson89
Member
- Location
- California
- Occupation
- Industrial Electrician
I decided to Google "Discrete Vs. Digital Signal" today figuring I'd get a fairly simple answer, but I was quite shocked to find so many differing answers. It was my basic understanding that digital and discrete are basically the same thing, just different terminology. What I discovered what quite different, and here are my findings:
Signals need to be thought of as either continuous or discrete, meaning...
Continuous- at any given time (x axis) you can measure your value (y axis).
Discrete- values (y axis) will only be available at pre determined times (x axis). i.e. every .5 seconds you take sample data, but don't know the value in between these snapshots.
From there you can then look at analog vs digital...
Analog: Values range is not defined, the value can be any number
Digital: Values are set at defined numbers. i.e. when a switch is activated, its 1. When a switch is not activated, its 0.
So assuming my understanding is correct (which hopefully it is), it's not fair to just say "an analog input" or "a digital input". Because it seems as though you have 4 options. Continuous Analog, Discrete Analog, Continuous Digital, and Discrete Digital.
So my questions are:
1- Is everything I wrote accurate?
2- Would inputs and outputs going to and from the PLC be considered continuous or discrete? Do scan times and RPIs play into this?
I've found A LOT of conflicting information online, so hoping to maybe get some more concise info.
Thanks!
Signals need to be thought of as either continuous or discrete, meaning...
Continuous- at any given time (x axis) you can measure your value (y axis).
Discrete- values (y axis) will only be available at pre determined times (x axis). i.e. every .5 seconds you take sample data, but don't know the value in between these snapshots.
From there you can then look at analog vs digital...
Analog: Values range is not defined, the value can be any number
Digital: Values are set at defined numbers. i.e. when a switch is activated, its 1. When a switch is not activated, its 0.
So assuming my understanding is correct (which hopefully it is), it's not fair to just say "an analog input" or "a digital input". Because it seems as though you have 4 options. Continuous Analog, Discrete Analog, Continuous Digital, and Discrete Digital.
So my questions are:
1- Is everything I wrote accurate?
2- Would inputs and outputs going to and from the PLC be considered continuous or discrete? Do scan times and RPIs play into this?
I've found A LOT of conflicting information online, so hoping to maybe get some more concise info.
Thanks!