I don't understand what codesys want me to do I tried do declare a variable for USB_STORAGE_HANDLER and it's still not working (I don't want it to work with a function block i want that to work in ST)
Copy_Device_To_USB is a function block and must be declared. So in your VAR section you would do something like:
VAR FB_CopyDeviceToUSB: ifmFileUtil.Copy_Device_To_USB; END_VAR //Then call FB_CopyDeviceToUSB to access function block FB_CopyDeviceToUSB(.....);
Hope this helps.
Log in to post a comment.
I don't understand what codesys want me to do I tried do declare a variable for USB_STORAGE_HANDLER and it's still not working (I don't want it to work with a function block i want that to work in ST)
Copy_Device_To_USB is a function block and must be declared. So in your VAR section you would do something like:
Hope this helps.