8/21/2014 10:57 AM | |
Joined: 11/12/2013 Last visit: 1/15/2025 Posts: 20 Rating:
|
Hi all, could anybody make it worked in TIA portal application? I have some troubles with declaring of variables. The function block can be set as STL, but when I try to compile the block, it reports some errors (see attachment - red underlined parameters). I have tried to declare variables in a block variable table, but it seems that these two parts of the code do the mischief. #DaT AT DateAndTime: STRUCT // Date and time structure to allow DT type to be disassembled #RetVal := RD_SYS_T(CDT := #DateAndTIme); Thank you, Kilda Attachmentscr.zip (418 Downloads) |
Last edited by: CS Moderator at: 8/23/2014 9:49 AMnew subject after splitting from /tf/WW/en/Posts/82612#top |
|
8/21/2014 2:47 PM | |
Joined: 11/12/2013 Last visit: 1/15/2025 Posts: 20 Rating:
|
Thank you very much man!! Everything works fine, you are great |
This contribution was helpful to
1 thankful Users |
Follow us on