Programming tips for iiQKA.mxAutomation
Instancing
The following function blocks may only be instanced once per robot. In the case of multiple instancing, the signals of the most recently called function block are output.
- KRC_ReadAxisGroup
- KRC_Initialize
- KRC_SetOverride
- KRC_AutomaticExternal
- KRC_AutoStart
- KRC_Diag
- KRC_WriteAxisGroup
All other function blocks used in the mxAutomation robot program can be created as a multi-instance call.
ExecuteCmd
- As far as possible, an ExecuteCmd input should only ever be simultaneously set for a function block of the same robot.
- After an ExecuteCmd input has been activated, do not reset it again until the function block has confirmed execution of the statement by means of the Done signal or indicated by means of the Error or Aborted signal that the statement has not been executed. If the ExecuteCmd input is reset beforehand, there is no confirmation that the statement has been executed.
- By linking the Busy or ComAcpt output of a function block to the ExecuteCmd input of the following block, it is possible to transfer a sequence of consecutive functions to the statement buffer and to execute them.
Program override
If the function block KRC_AutomaticExternal is used, the program override must be set to a value greater than zero. Only then can a PLC program be executed.
Approximate positioning
Approximate positioning means that the motion does not stop exactly at the programmed point. Approximate positioning is an option that can be selected during motion programming.
- Approximate positioning is only possible if there are 2 consecutive motion instructions.
- Approximate positioning is only possible if the motion statement is followed by a statement that is transferred in BUFFERED mode.