8/20/2014 6:43 AM | |
Joined: 10/28/2008 Last visit: 7/21/2023 Posts: 245 Rating:
|
Hi. I forgot to mention SFC21 Fill, it is also good solution to use this. AsSte39wrote, you should address by 8 bits. We use SFC21 Fill to initialize data structures created from UDT... Regards.
|
Georgio |
|
This contribution was helpful to
2 thankful Users |
8/20/2014 9:01 AM | |
Joined: 10/28/2008 Last visit: 7/21/2023 Posts: 245 Rating:
|
HiSte39. Interesting function FC 82. I also never tried this.. For setting bits there is FB83 SET BIT_LOGC ... Hopetn88testwill try and tell us Regards.
|
Last edited by: Georgio at: 8/20/2014 9:01 AMGeorgio |
|
This contribution was helpful to
1 thankful Users |
8/20/2014 9:05 AM | |
Joined: 1/21/2013 Last visit: 9/4/2024 Posts: 4620 Rating:
|
Hello Georgio, Is good, I have tried now with PLCSIM and seems function, we wait tn88testwith the result FC 83 not FB83 |
Last edited by: Ste39 at: 8/20/2014 9:07 AMFB 83 ----> FC 83 |
|
This contribution was helpful to
1 thankful Users |
8/20/2014 9:37 AM | |
Joined: 10/28/2008 Last visit: 7/21/2023 Posts: 245 Rating:
|
HelloSte39. Thanks for correction ! I also tried it. I used PLC S7-300 and it is working both FB82 and FC83. I tried it with markers and also with bits in data block. So you can set or reset bits in instance or global data block... If there is a chance to use it, I would use it Regards. |
Georgio |
|
Follow us on