Digital Ac Input Module

The AC input is isolated using an opto isolator. The opto-isolator is a photo transistor and an LED. Your AC power flows throught the LED, causing it to emit photons, which are picked up by the NPN transistor, turning it on. The NPN transistor then clamps the DC potential at a pull up resistor to ground, making it go low. Thus, when AC power is on at the input the internal DC voltage that represents the state of the input is low. When AC power is off at the input the internal DC voltage that represents the state of the inputis high. This is a function of the hardware, not a function of the software logic. Software logic is still 1=true, 0=false.
 
I have trouble with Alaric's analysis. Maybe I misread it. When ac current is flowing the NPN photo-transistor is indeed turned on by the output of the LED. This will cause current to flow through the base resistor and the NP junction of the output transistor causing it to conduct. The collector of the output transistor will then go low as it is conducting.

The voltage at 'OUTPUT' will be low with respect to 'LOGIC GND' when ac current is flowing. It will be high with respect to 'LOGIC GND' when ac current is not flowing. How that is interpreted by following circuits is purely a function of the design of those circuits.

As many expect a high voltage when a logical condition is TRUE then the circuit may be said to provide negative (or backwards from what is expected) logic. As long as you are aware of the voltage states you can call it anything you want to.
 
Both descriptions are accurate.
The module you show is for 5 volt logic. In positive logic, a True is 5 volts, False is 0 volts. In 'Negative True Logic', it's inverted. True is 0 volts, False is 5 volts.
They just used a fancy term to say 'Output is Inverted'.
 
Dear Alaric,

Knowladge of screwdriver level ,who can't handle program.A screwdriver carry is essential for a programmer.

Rgds,
tarok.seal
 
tarok.seal said:
Dear Alaric,

Knowladge of screwdriver level ,who can't handle program.A screwdriver carry is essential for a programmer.

Rgds,
tarok.seal

I see you grasp one of the two essential meanings of Mr. Leonard Brandwein's statement. The statement is a double entendre, that is it can have two interpretations, either one of which could be correct with respect to any individual programmer.



Bernie,
We were both saying the same thing - but I think you phrased it better.

 
Alaric - looking at your first post for the 10th time I realise I did misread it the first 9 times. Sorry about the implication.

As to the screwdriver - while I think my co-workers respect my programming and troubleshooting ability, if I dare to actually pick up a screwdriver or wrench they'll approach carefully saying 'Bernie, put down the tool and step away from the machine.' Maybe they're trying to say something.
 

Similar Topics

I need to add a QX10 module to our PLC because we've run out of DI channels. Does this module need to be configured in a similar way to the...
Replies
7
Views
2,246
Hello all, We had a problem with 1734- Digital input module. The module was damaged because of some short circuit with the Input. We replaced...
Replies
2
Views
1,479
I've inhibited all of my input modules on my program while I'm testing at the office. All the digital input signals are mapped to their respective...
Replies
5
Views
2,614
What's purpose of the FAST INPUT MODULE EL1202 | 2-channel digital input terminal 24 V DC, TON/TOFF 1 µs If the maximum PLC Cycle is 50 µs...
Replies
3
Views
2,592
Dear Experts I have Siemens s5 cpu 943b and digital input module. last night when the machine was running digital input module began to stoped...
Replies
4
Views
2,717
Back
Top Bottom