/
Usage Examples

Usage Examples

Motion Macro (Normal)

 This example uses a 1x4 Flyway system with 2 XBots starting at the (120,180) and (600,180) positions. Most of this example can also be completed with a 1x2 Flyway system with 1 XBot starting at the (120,180) position

In the Macro Section, select the Edit Motion Macros subsection

Enter 128 for Macro ID

Choose Clear Macro

Click Send. This will clear any existing Macro 128 in preparation for this example

We will now create a macro containing the 4 commands shown above.

Select the Planar Tab, followed by Arc Motion

Select Center + Angle for Arc Definition, enter 180 for Angle

Enter 128 for XBot/Macro ID; Counter-Clockwise for Direction; Relative Motion for Motion Mode; 0 for Center X; -60 for Center Y; 0.8 for Ending Speed; 1 for Max Speed; 10 for Max Acceleration

Click Send, this will add Command #1 to Macro #128 

Select the Planar Tab, followed by Linear Motion; Enter 128 for XBot/Macro ID; Relative Motion for Motion Mode; Direct for Path Type; 240 for Target X; 0 for Target Y; 0.8 for Ending Speed; 1 for Max Speed; and 10 for Max Acceleration

Click Send, this will add Command #2 to Macro #128

Select the Planar Tab, followed by Arc Motion; Select Center + Angle for Arc Definition; Enter 180 for Angle; 128 for XBot/Macro ID; Counter-Clockwise for Direction; and Relative Motion for Motion Mode; Enter 0 for Center X; 60 for Center Y; 0.8 for Ending Speed; 1 for Max Speed; 10 for Max Acceleration

Click Send, this will add Command #3 to Macro #128

Select the Planar Tab, followed by Linear Motion;

Enter 128 for XBot/Macro ID; Relative Motion for Motion Mode; Direct for Path Type; -240 for Target X; 0 for Target Y; 0 for Ending Speed; 1 for Max Speed; and 10 for Max Acceleration

Click Send, this will add Command #4 to Macro #128

 Select the Macro Tab, followed by Edit Motion Macros; Enter 128 for Macro ID; Choose Save Macro

Click Send, this will save the macro and make it ready to execute

Select the Macro Tab, followed by Run Motion Macros; Enter 128 for Macro ID; Enter 1 for XBot ID

Click Send, this will execute the saved macro. XBot 1 will circulate around Flyway 1 and 2

Repeat step 18 and 19, but enter 2 for XBot ID, this will cause XBot 2 to circulate around Flyway 3 and 4

Motion Macro (Recursive)

First follow step ① to  from Motion Macro (Normal) 

 Select the Macro Tab, followed by Run Motion Macros; Enter 128 for Motion Macro ID; Enter 128 for the XBot ID

Click Send, this cause the last command in Macro 128 to be Run Macro 128, which will make the Macro recursive. This will also save the macro and make it ready to execute

Select the Macro Tab, followed by Edit Motion Macros; Enter 128 for Macro ID; Enter 1 for XBot ID

Click Send, this will execute the saved macro. XBot 1 will circulate around Flyway 1 and 2 continuously

 Note: To stop XBot 1’s motion, use the Stop Motion command

 

Feedback and Comments

Please email us at tech.portal@planarmotor.com