10/12/2009 9:13 AM | |
Joined: 10/7/2005 Last visit: 10/1/2023 Posts: 2989 Rating:
|
Thanks for the feedback Palestine, I'm glad it does what you want it to do. I'm sure by now you would have yourself "reversed" the "Word to Bits" Function into a "Bits to Word' Function, but just in case you haven't you'll find my "idea" in form of FC8 in the attached library (which also has the previously posted FC7 in it). As a return "favour" can you please let me know if the previosuly sent FC7does now work with(my preferred) AR1 based logic (it really must). AttachmentBits&Words.zip (891 Downloads) |
Cheers |
|
This contribution was helpful to
4 thankful Users |
10/31/2009 4:40 PM | |
Posts: 32 Rating:
|
How do I install these bitfromword function block? TIA! LP |
1/17/2011 10:42 AM | |
Joined: 9/23/2005 Last visit: 9/29/2023 Posts: 4241 Rating:
|
Hi, take a look also in the FAQ "How can you group separate signals (variables of the "Bool" data type) to one variable of the "Word" type and again extract them from that "Word" variable (Bool - Word data type conversion)?" http://support.automation.siemens.com/WW/view/en/41512046 |
Denilson Pegaia |
|
1/31/2012 6:37 AM | |
Joined: 10/7/2005 Last visit: 10/1/2023 Posts: 2989 Rating:
|
Hello Chester_F no, there is no difference in addressing between 16bit and 32bit in this case and each FCcanbe easily modifed to cater for DWORD usage. I wonder though if you made sure to add another 16 bits to the TEMP variable declaration? I hope this helps |
Last edited by: fritz at: 1/31/2012 6:46 AMtypos Cheers |
|
1/31/2012 7:46 AM | |
Joined: 10/7/2005 Last visit: 10/1/2023 Posts: 2989 Rating:
|
Hello Chester_F can you upload your program/block here for evaluation (otherwise I'd need a crystal ball to work out what's wrong |
Cheers |
|
1/31/2012 8:33 AM | |
Posts: 4 Rating:
|
Oops, sorry about that~ Here is the program in the attachment. AttachmentDWord2bits.zip (569 Downloads) |
Follow us on