The leader in industrial automation and control solutions

Registering the Special Program

Serial Protocol New Program in MapleLogic

Step 1: In the Project Window, right-click Program and left-click New Program.

Positioning New Program in MapleLogic

Step 2: In the New Program window, left-click Positioning for PLC-ES.

  • Optionally, for organization, under Program Name, the name of the program and ID can be changed.

Step 3: Left-click OK.

Configuring the Positioning Program

Positioning Example Configuring the Positioning Program in MapleLogic

Step 4: Under Start Address, select the data register section to use.

  • IMPORTANT: The positioning program can reserve 20 WORDs, 10 for the X-Axis, 10 for the Y-Axis, for operation data and 30 WORDs for positioning parameters.
    • In this example, D0 ~ D19 are reserved for operation data and D0 ~ D30 are reserved for positioning parameters.
      • Please refer to the positioning operation data or positioning parameters pages for more information.

Step 5: To allow positioning to function, left-click the Output Pulse Type N/A Axis and select High Active or Low Active.

  • This example uses High Active for the Output Pulse Type.

Step 6: Left-click X Axis Parameter or Y Axis Parameter to configure the X or Y axis positioning parameters.

Step 7: Left-click X Axis Position Data or Y Axis Position Data to configure the positioning data for the X or Y axis.

Step 8: Left-click Save or Online Modify (if the PLC-ES is connected) to save any changes made to the positioning program.

Step 9: To monitor the positioning operation, left-click Monitor.

Monitoring the Positioning Program

Positioning Example Monitoring the Positioning Program in MapleLogic

Step 10: To monitor the X or Y axis, select the axis in the top-left corner.

Step 11: To enable positioning for the X or Y axis, left-click ENABLE.

  • The ENABLE box will change to DISABLE.
    • This means the current axis is enabled for positioning.

Step 12: To JOG forward, backward, or stop positioning, left-click JOGForward(F)JOGBackward(B), or Dec Stop(D).

  • Please refer to positioning parameters for more information.

Step 13: To initiate an emergency stop, left-click EMG Stop(S).

  • This will create an error.
    • The previous positioning operations are now unavailable.
    • Left-click Error Reset(R) to reset the error and resume the positioning operation.
Positioning Example Monitor Window Current Position and Speed in MapleLogic
  • The Current Position shows the current pulse output from the positioning operation.
  • If the Current Speed is greater than 0 pulses per second, then the positioning operation is active.

Scan Program

Positioning Example Scan Program in MapleLogic

Step 14: Create a new scan program.

  • This example uses the operation data bits 0, 3, and 4 for the X-axis (offset 0).
Positioning Example Create New Scan Program in MapleLogic

Step 15: Left-click the open contact, M0.3, and type shift + enter.

  • This will turn the contact, M0.3, ON.
    • The positioning operation will JOG forward.
Positioning Example JOG Forward Current Position in MapleLogic
  • The Current Speed is 10,000.
    • The Current Position moves forward 10,000 pulses per second.
Positioning Example Forward Backward Status Display in MapleLogic
  • The Forward/Backward status displays as Forward.
Positioning Deceleration Stop in MapleLogic

Step 16: Left-click the open contact, M0.1, and type shift + enter.

  • This will turn the contact, M0.1ON.
    • The positioning operation will decelerate to a stop.
Positioning Example Current Speed Display in MapleLogic
  • The Current Speed is 0.
    • The positioning operation has decelerated to a stop.
      • The emergency stop option will halt to a stop immediately and produce an error.
Positioning Example Enable JOG Backward in MapleLogic

Step 17: Left-click the open contact, M0.4, and type shift + enter.

  • This will turn the contact, M0.4ON.
    • The positioning operation will JOG backward.
Positioning Example Current Speed While Enable Backwards in MapleLogic
  • The Current Speed is 10,000.
    • The Current Position moves backwards 10,000 pulses per second.
Positioning Example Backward Status Display in MapleLogic
  • The Forward/Backward status displays as Backward.