Sign in to follow this  
Followers 0
ashraf

driving 7 segement using plc

2 posts in this topic

hi every one

i want to drive 3 seven segment with omron plc

every segment by push button to up 

and using for output of plc of decoding   1 ,   2  , 4   and     8

Share this post


Link to post
Share on other sites

It takes 4 digital outputs.  Then just move an integer into the digit of that output word.  So, if you want it to say 7 for example, then you would move an integer 7 into the digit of the output word that contains those 4 output bits (look at MOVD instruction). 

Then, you might have something like this (if bits 12-15 were the 4 bits to the 7 segment display):

Value in output word 7000 (Hex) bits 12-15 would then be 0111 which would output the correct value to the display.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0