6/6/2014 3:52 PM | |
Joined: 1/5/2011 Last visit: 4/6/2023 Posts: 814 Rating:
|
Hello huggy , thanks for the reply, the syntax i've shown is correct! Also I've searched the whole thread and my question isn't answered here. I see Mr Lindhand hdhosseiniuse the exact syntax as I'm using but in their case with succes. I don't think there is any problem with the code here. |
Keep it simple and on-topic. |
|
6/6/2014 3:56 PM | |
Joined: 7/7/2010 Last visit: 9/29/2023 Posts: 13751 Rating:
|
Try WORD as the #t datatype. It is not possible for it to be negative, so many IW requires word. |
science guy |
|
6/6/2014 4:00 PM | |
Joined: 1/5/2011 Last visit: 4/6/2023 Posts: 814 Rating:
|
nope huggy, it requires an integer, converting word to integer doesn't do the trick either. |
Keep it simple and on-topic. |
|
6/6/2014 4:25 PM | |
Joined: 7/7/2010 Last visit: 9/29/2023 Posts: 13751 Rating:
|
/tf/WW/en/Posts/80413 Does this thread help? I think it says for s7-300/400: PIW(#t) For S7-1200 Peek at the input, at least for FW3 and below. Have not looked at new options in FW4 |
Last edited by: huggy_d1 at: 6/6/2014 4:27 PMLast edited by: huggy_d1 at: 6/6/2014 4:26 PMscience guy |
|
Follow us on