1/31/2012 9:07 AM | |
Joined: 10/7/2005 Last visit: 9/30/2023 Posts: 2989 Rating:
|
Hello Chester_F your Blocksworks fine for me when using PLCSIM (see attached screendump and note that I changed"T W [AR1,P#0.0]"back to "T D [AR1,P#0.0]"). The only actual "fault" in it was that OUT variables "BIT_20" and "BIT_21" needed to be swapped in the declaration section (you had declared 21 before 20) and the marshalling of them adjusted in the code (it worked before though, this simply led to the wrong Bit being set). I'm afraid to say I have no idea why it doesn't work in your case (how are you testing it?) |
Cheers |
|
12/31/2017 3:57 PM | |
Joined: 9/1/2005 Last visit: 8/24/2023 Posts: 4102 Rating:
|
New question published by Preetam Rana is split to a separate thread with the subject have a byte data type, now i have to retrieve its bit. Best regards |
My Forum is the place to personalize your profile, |
|
Follow us on