11/2/2018 2:42 PM | |
Joined: 7/9/2015 Last visit: 8/30/2024 Posts: 3943 Rating:
|
Hi, sorry I can´t find any eror - with SFC1 you read clock and get it in HEX / BCD -Format. In your VAT you have changed datatyp format to dec....You must convert BCD to INT. Please check: How do you convert a "BCD"-type variable into an "INTEGER", and vice versa, in S7-SCL?In AWl you can use instruction BTI / ITB Regards, Towome |
Last edited by: Towome at: 11/2/2018 2:52:35 PM
|
|
This contribution was helpful to
1 thankful Users |
11/5/2018 7:54 AM | |
Joined: 3/25/2015 Last visit: 9/5/2024 Posts: 43 Rating:
|
Thanks for the help. That seemed to be the problem. All good now. |
This contribution was helpful to
1 thankful Users |
Follow us on