Download PCL6045B_Application Manual 050713

Transcript
p645_wreg(AXS_BY,WPRMV,0x00000002);
p645_wcom(AXS_BY,(STAFH|SEL_Y|SEL_Z));
/* Enter a Y axis (slave axis) end point coordinate */
/* (2) */
/* Enter a Z axis (master axis) end point coordinate */
/* (10) */
/* Enter the end point coordinate (10) for the */
/* master axis in RIP */
/* Enter the end point coordinate (10) for the */
/* master axis in RIP */
/* FH constant speed start command */
p645_wcom(AXS_AX,CMSTA);
p645_wait(AXS_AX);
/*
input command */
/* Wait for the motors to stop */
p645_wreg(AXS_BZ,WPRMV,0x0000000A);
p645_wreg(AXS_BY,WPRIP,0x0000000A);
p645_wreg(AXS_BZ,WPRIP,0x0000000A);
- 79 -