| ??? 07/17/03 13:35 Read: times |
#50908 - RE: First Step....Mr. Fedia Responding to: ???'s previous message |
Dear Fedia,
Thanks for the reply. plz. note that Our requirement is to start the relay when the START push button is pressed and the retaining contact of relay P2.0 should keep the relay P2.0 energized when the START button is released through its retaining contact.The relay P2.0 should deenergize when we press STOP button or the safety contact is broken. Also the additional NO & NC contacts are required for indication and alarm. ..Start..Stop...O/L contact...K1 Relay ...P1.0...P1.1....P1.2.........P2.0 |---||-+---|/|----|/|----------( )----| | p2.0 | +---||-+ By writing this program mov A,P1 ; Moving P1 to A mov C,ACC.0 ; Moving Acc.0 to C orl C,P2.0 ;Or logic C with P2.0 anl C,/ACC.1 ; And logic C with Compliment of ACC.1 anl C,/ACC.2 ; And logic C with Compliment of ACC.2 mov P2.0,C ; Moving c to p2.0 Problem still exist because our P2 relay is conduting at LOW on pin no. P2.0 Regards Rashu |



