cdavis
Member
I am very new to Siemens. Here is my problem. I want to create a function to control an AB drive (on profibus). I have written the functions to read/write data to the drive. The inputs and outputs to each drive are contained in a DB. In my function, I have declared an In/Out parameter of type UDT 20 (which is the UDT for the drive I/O). How do I pass a data block to this function?