12/29/2014 8:16 PM | |
Posts: 8946 Rating:
|
Yes. |
12/29/2014 8:27 PM | |
Posts: 5 Rating:
|
Thanks for the info. Is there an english version? |
12/29/2014 9:17 PM | |
Posts: 5 Rating:
|
Thanks, that does help; but it's not exactly what I'm looking for. To give an example using another controls platform, we'll say we have a dint called "motorstatus" In motorstatus you have motorstatus.0, motorstatus.1 etc. I would like to add individual descritpions to each bit, so that I would see the following in a program rung: Motor Running motorstatus.0 ----[ ]------ thanks |
12/29/2014 9:24 PM | |
Joined: 1/28/2009 Last visit: 8/26/2024 Posts: 6846 Rating:
|
Aha, for that please check the following Demonstartion: !> Visually demo: slicing vs overlay on bit level |
12/29/2014 9:57 PM | |
Posts: 5 Rating:
|
Correct, I'm using the "slicing" method. What I need to know is how do I add an individual descriptor for each of the sliced bits. For example I have motorstatus.x0 and I want to document that the .x0 bit is the overtemp status bit and have that description show up in the ladder logic. |
12/30/2014 6:46 AM | |
Posts: 5 Rating:
|
Hi Mjackson, Yes it is posible. You take for an example IW0 QW0 MW0 or DBW0 you should know that it contain Byte 0 and Byte 1. The left byte is 0 and the right byte is 1. If you have an integer the value of 1 in MW0, M1.0 = 1, M0.0-M0.7 and M1.1-M1.7 will be 0. If you have an integer value of 256 in MW0 M0.0 = 1, M0.1-M0.7 and M1.0-M1.7 will be 0. I hoope it helps Haim
|
12/30/2014 11:17 AM | |
Posts: 8946 Rating:
|
That means, you know how to address the bits But you like to give any bit its own name (symbolic name). I prefer to do so by using a PLC datatype (UDT). The structure itself and any bit so gets its own name. The datatype can be used to define a Word inside a Datablock. |
1/1/2015 4:03 AM | |
Posts: 5 Rating:
|
Thanks for the help everyone! I think I have the hang of it now. Happy New Year to all!
|
Follow us on