4.12 Pr6.28 (Block operation mode)
POU “_999_Sample_MoveRelative” of MC_Modbus_Library in Control FPWIN Pro 7
This program performs a relative movement on axis 1. Make sure the same axis is set
in PANATERM.
9. Set g_bUseAxis1 of MB_MC_InitializeAxis to TRUE. When data transmission to
axis 1 starts, the SD/RD LED of the selected COM port begins to flicker.
10. Set bEnablePower of MB_MC_Power to TRUE to send a servo ON request signal to
the servo driver. When the servo is on, bPower will be TRUE.
11. Set bEnableRelativePositioning of MB_MC_ConfigBlock_MoveRelative to TRUE
to transmit the positioning parameters specified with this function to block operation
table of the servo driver.
12. Set bRun of MB_MC_StartBlockOperationNumber to TRUE to start the movement.
QS2002_V1.0_EN 15