Hi,
After conversion from TIA13 tor TIA14, I have a problem with a INT_TO_WORD conversion...
View attachment IMG_20180903_150700_resized_20180903_030825035.jpg
Because the picture doesn't work (AGAIN), here is the code that fails:
#return_value_RD := DPRD_DAT(LADDR := INT_TO_WORD(#adress),RECORD => #InData);
Fault when compiling: Data type 'Word' cannot be converted implicity into data type 'HW_IO'
What could cause this problem ?
Thanks,
Kind regards,
Combo
After conversion from TIA13 tor TIA14, I have a problem with a INT_TO_WORD conversion...
View attachment IMG_20180903_150700_resized_20180903_030825035.jpg
Because the picture doesn't work (AGAIN), here is the code that fails:
#return_value_RD := DPRD_DAT(LADDR := INT_TO_WORD(#adress),RECORD => #InData);
Fault when compiling: Data type 'Word' cannot be converted implicity into data type 'HW_IO'
What could cause this problem ?
Thanks,
Kind regards,
Combo
Last edited: