(2)| 8/22/2013 8:14 AM | |
|
Posts: 30 Rating:
|
Hi LOGO! users, Can you tell me if is possible create binary code with LOGO!TD funkcion key. For example: F1 key set program for external unit: - first click set binary 000 =>program0 - second click set binary 001=>program1 - third click set binary 010=>program2 etc. but i have now only 3 programs. Thank you so much for every help. Attachmentimg-822074339.pdf (484 Downloads) |
Last edited by: PeTer111122 at: 8/22/2013 8:48 AM |
|
| 8/22/2013 11:45 AM | |
|
Posts: 30 Rating:
|
Hi Ste39, Yes, i did it so as you write, but i am not sure if is possible in the future expand on more output. For example: Now i have only 2 outputs because i have 3 programs (00,01,10) now its working correct. But, if i will have 3 autput = 3bits & 2^3=8 programs. (000, 001, 010, 011,.. etc.) first counter must be 2 times ON when was first click and fourth click.
AttachmentSoftware_koncova montaz_EY-1356.zip (420 Downloads) |
| 8/22/2013 12:02 PM | |
|
Posts: 4620 Rating:
|
Hi I think that you can do, if you send us the exact circuit that you want to get as inputs, the encoding of the outputs we can see how it can be done. |
| 8/22/2013 12:14 PM | |
|
Joined: 4/22/2010 Last visit: 3/31/2025 Posts: 5697 Rating:
|
Hello, You could use the BCD code program( or part of), that our friend Betel wrote. See attachment. Regards, Marcjan AttachmentBCD Pulse an Ausgang.zip (433 Downloads) |
Last edited by: Marcjan at: 8/22/2013 12:15 PMProblem solved? |
|
This contribution was helpful to
|
|
| 8/22/2013 12:51 PM | |
|
Posts: 30 Rating:
|
|
| 8/23/2013 1:23 PM | |
|
Posts: 30 Rating:
|
HiMarcjan, I have next question: if i want send to vision sensor PROG04, i must set output Q1&Q2..Qn. For example: PROG06 is BCD code 101 and next step i must send to vision sensor PROG02 this is BCD code 001. My question is: Is it posible convert decimal number to BCD code ??
|
| 8/23/2013 1:36 PM | |
|
Joined: 4/22/2010 Last visit: 3/31/2025 Posts: 5697 Rating:
|
Hello, Yes it's bin done before See: Binary value on outputsRegards, Marcjan |
|
Problem solved? |
|
Follow us on