(1)| 11/2/2018 2:42 PM | |
|
Joined: 7/9/2015 Last visit: 12/17/2025 Posts: 4493 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
|
|
| 11/5/2018 7:54 AM | |
|
Joined: 3/25/2015 Last visit: 3/18/2025 Posts: 50 Rating:
|
Thanks for the help. That seemed to be the problem. All good now. |
This contribution was helpful to
|
|
Follow us on