Hello abn.mayur In the yaskawa site, in the manuals section you can find a lot of examples. There's a specific manual (Macro Command Function) which clearly shows how to create a Macro.
Any job can be a macro job. A macro job name can become an instruction in the INFORM LIST. The macro job can not be created unless the controller is in Management security level or higher. The macro job can not be edited unless in Management or higher (kinda, dependent on a S2C parameter). Arguments can be passed to a macro job.
Typical macro applications could be: GRIPOPEN or GRIPCLSD (macros to open or close your gripper) executing a certain group of I/O executing a certain weld schedule on a certain welder (program select - where the operator types in the value they want) VISION (setting camera, inspect, adjust) TOUCH SENSING using a welding wire or laser sensor
Main advantage: can only be created or edited in MANAGEMENT mode
Note: Set S2C 438=1 to be able to view or debug your macro (DX100 or DX200)
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!