(5)| 7/13/2009 10:05 PM | |
|
Posts: 3 Rating:
|
Is it possible to get the binary value from an up/down counter block on the outputs ? Best regards Hemming |
| 7/14/2009 4:28 PM | |
|
Posts: 661 Rating:
|
Please look at the attachment. Is that what you mean? AttachmentA_D.zip (761 Downloads) |
| 7/15/2009 3:13 AM | |
|
Posts: 191 Rating:
|
Hi!! this is a diferent not so simple solution.. hope this helps!! ROSA Attachmentbinary counter.zip (617 Downloads) |
This contribution was helpful to
|
|
| 7/15/2009 4:13 PM | |
|
Posts: 14 Rating:
|
Hi Hemming. To convert of decimal number to binary code there is an algorithm defined (successive divisions), to which it can be approximated by successive subtraction (their divisions for 2). Precisely this algorithm, I implemented in LOGO!Soft. I I'll answer your questions. Is this the easiest way to do it? ---------- Is the most elegant solution. Therefore, the most flexible. Is it possible to preset the up/down counter with a start value? ---------- You can set an initial value to the counter if you connect an Analog Amplifier with offset between B015 and B007 block (This is on 0BA5) If you use 0BA6. In the properties of the block Counter, you must fill the parameter"Start Value". ![]() Attachmentdecimal to binary Converter.zip (725 Downloads) |
This contribution was helpful to
|
|
| 7/15/2009 6:08 PM | |
|
Posts: 173 Rating:
|
Very elegant! Thank you. |
This contribution was helpful to
|
|
| 12/26/2013 11:08 AM | |
|
Posts: 1 Rating:
|
|
| 12/30/2013 8:57 AM | |
|
Posts: 1 Rating:
|
thanks,very useful |
Follow us on