
TPM
EasyPAC User Manual
207
Test sample program
Download and click on “Debug on/off” to activate debug mode.
Figure 6-99: activate debug mode by this button
1.
Override Exec to TRUE
Figure 6-100: override Exec to true
The EP_SetCyclicTime_1 is calculated and set it 2ms in this case.
2.
Override Init to TRUE
MC_Power_1 would initialize and enable the driver/motor. SA_WriteDwordParameter_1 will modify the
maximum velocity limit as 5000000 pps then make “InitFlag” TRUE.
Figure 6-101: function block with debug mode activated
MC_ReadStatus_1 and MC_ReadActualPosition_1 will be executed when “InitFlag” is TRUE and are used to
monitor the axis status. The axis is in the StandStill status as shown below.
Summary of Contents for EasyPAC
Page 74: ...TPM EasyPAC User Manual 74 ...
Page 75: ...TPM EasyPAC User Manual 75 ...
Page 76: ...TPM EasyPAC User Manual 76 ...
Page 77: ...TPM EasyPAC User Manual 77 ...
Page 78: ...TPM EasyPAC User Manual 78 ...
Page 79: ...TPM EasyPAC User Manual 79 ...
Page 80: ...TPM EasyPAC User Manual 80 ...
Page 81: ...TPM EasyPAC User Manual 81 ...
Page 82: ...TPM EasyPAC User Manual 82 ...
Page 83: ...TPM EasyPAC User Manual 83 ...
Page 84: ...TPM EasyPAC User Manual 84 ...
Page 85: ...TPM EasyPAC User Manual 85 ...
Page 86: ...TPM EasyPAC User Manual 86 ...
Page 87: ...TPM EasyPAC User Manual 87 ...
Page 88: ...TPM EasyPAC User Manual 88 ...
Page 89: ...TPM EasyPAC User Manual 89 ...
Page 90: ...TPM EasyPAC User Manual 90 ...
Page 91: ...TPM EasyPAC User Manual 91 ...
Page 92: ...TPM EasyPAC User Manual 92 ...
Page 93: ...TPM EasyPAC User Manual 93 ...
Page 94: ...TPM EasyPAC User Manual 94 ...
Page 133: ...TPM EasyPAC User Manual 133 ...
Page 140: ...TPM EasyPAC User Manual 140 Standard behavior of 2 following absolute movements ...
Page 141: ...TPM EasyPAC User Manual 141 ...
Page 209: ...TPM EasyPAC User Manual 209 Figure 6 104 axis status with Stop signal turned on ...