I’m creating a custom IEC function block (ST) and want to use the following function blocks which require my axis link mpAxisBasic, MC_BR_VelocityControl & MC_BR_CommandError. But I can’t figure out how to pass the ADR() &mcAxisTyp into the function block without causing service mode and Page fault.
I have read the help on dynamic variables and have tried the ACCESS call multiple ways but still scratching my head
I’m assuming this is possible, is anyone able to give me an example of passing this variable inside with program call and datatype?