Power Brick Controller User Manual
Manual Motor Setup
140
GLOBAL
Mtr1PhasingMag = Motor[1].I2TSet;
GLOBAL
Mtr1PhaseAPos = 0;
GLOBAL
Mtr1PhaseBPos = 0;
GLOBAL
Mtr1PhasingDis = 0;
GLOBAL
Mtr1DisThres = 2048 * EncTable[1].ScaleFactor / (5 * Motor[1].PhasePosSf);
GLOBAL
Mtr1PhasingPass = 0;
OPEN
PLC
CustomPhasingPLC
Mtr1PhasingPass = 0
Motor[1].PhaseFound = 0
Motor[1].IaBias = 0 Motor[1].IbBias = 0
COUT
1:0
CALL
Timer (0.100)
WHILE
(
ABS
(Motor[1].FltrVel) > 5){}
WHILE
(Motor[1].IaBias !> Mtr1PhasingMag)
{
Motor[1].= 1
Motor[1].IbBias = 0
CALL
Timer (0.001)
}
CALL
Timer (2)
WHILE
(
ABS
(Motor[1].FltrVel) > 5){}
Mtr1PhaseAPos =
ABS
(Motor[1].ActPos - Motor[1].HomePos)
CALL
Timer (0.250)
WHILE
(Motor[1].IbBias !> Mtr1PhasingMag)
{
Motor[1].IaBias -= 1
Motor[1].= 1
CALL
Timer (0.001)
}
CALL
Timer (2)
WHILE
(
ABS
(Motor[1].FltrVel) > 5){}
Mtr1PhaseBPos =
ABS
(Motor[1].ActPos - Motor[1].HomePos)
CALL
Timer (0.250)
Mtr1PhasingDis =
ABS
(Mtr1PhaseBPos - Mtr1PhaseAPos)
IF
(Mtr1PhasingDis >= Mtr1DisThres)
{
Motor[1].PhasePos = 0
Motor[1].PhaseFound = 1
Mtr1PhasingPass = 1
}
ELSE
{
Mtr1PhasingPass = 0
}
CALL
Timer (0.250)
KILL
1
Motor[1].IaBias = 0 Motor[1].IbBias = 0
DISABLE PLC
CustomPhasingPLC
CLOSE
Содержание PBC Series
Страница 5: ......
Страница 74: ...Power Brick Controller User Manual Connections and Software Setup 74 Motor 1 HomeOffset 0...
Страница 203: ...Power Brick Controller User Manual Appendix A Digital Inputs Schematic 203 APPENDIX A DIGITAL INPUTS SCHEMATIC...
Страница 204: ...Power Brick Controller User Manual Appendix B Digital Outputs Schematic 204 APPENDIX B DIGITAL OUTPUTS SCHEMATIC...
Страница 205: ...Power Brick Controller User Manual Appendix C Analog I Os Schematics 205 APPENDIX C ANALOG I OS SCHEMATICS...
Страница 206: ...Power Brick Controller User Manual Appendix C Analog I Os Schematics 206...
Страница 207: ...Power Brick Controller User Manual Appendix D Limits Flags Schematic 207 APPENDIX D LIMITS FLAGS SCHEMATIC...