13.07.2015 Views

[Instruction] Contents

[Instruction] Contents

[Instruction] Contents

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Advanced Function <strong>Instruction</strong>FUN 79 D7SGDL7-SEGMENT OUTPUT WITH LATCHFUN 79 D7SGDL• FACON PLC's transistor output has both a negative logic transistor output (NPN transistor - when the outputstatus is ON, the terminal voltage of the transistor output is low), and a positive logic transistor output (PNP -when the output status is ON, the terminal voltage of the transistor output is high). Their structure is as follows:FBs-PLC negative logic output (NPN transistor)FBs-PLC positive logic output (PNP transistor)+24VYnYn+24VWhen Yn is"ON", this outputvoltage is low+24VYnC +24VYnWhen Yn is "ON",Yn's terminalvoltage is high0VC0V0V• The data inputs (8,4,2,1) and latch signals of the 7-segment displays on the shelf for positive and negative logicare all available. For example, for numerical value "8", the positive logic input should be 1000, and the negativelogic input 0111. Similarly, when the latch signal is 0, the positive logic latch permits the display numerical valuesto enter through the latch (i.e. be loaded). When the latch signal is 1, the numerical values in the latch arelatched (maintained), and with negative logic they are not. The following diagram of a CD-4511 7-segmentdisplay IC is an example of a positive logic numerical value input with latch.CD4511Numberical value input(1)A(2)B(4)C(8)Dn4bitlatch(10 ) LELatch sing 1BCD to7-segmentLTBIVCCLEDDriveRabcdefgfedagbc• Because the PLC output and the 7-segment display input polarity can be positive and negative logic. Therefore,the polarities between output and input must be coordinated to get the correct result. This instruction uses N tospecify the polarity relation between the PLC transistor output, and the 7-segment display. The table belowshows all the possibility.Numerical value input (8~1) Latch signal (10 0 -10 3 ) Value of NSameDifferentSame 0Different 1Same 2Different 3• In the diagram above, CD4511 is used as an example. If use NPN output, the data input polarity is different toPLC, and its latch input polarity is the same as PLC, so N value should chosen as 2.7-61

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!