Hi all,
I would ask if there is a possibility to implement a state machine ( or a sequence of operations ) in the mcx app or from the GRID to command in a proper way a IO gripper.
In our setup currently we would like to control a gripper doing operation betwwen IO's like
System Initialization (init):
- All outputs are reset.
- Motor is turned on.
- Gripper is reset.
- Homing procedure is executed.
- Gripper is reset again.
Workpiece 1 Test (test_wp1):
- Workpiece 1 is selected (activates WP0 output).
- Input confirmation is checked.
- Gripper is released (opened).
- Gripper is closed (grasp) after IS_CLOSED input is detected.
Workpiece 2 Test (test_wp2):
- Workpiece 2 is selected (activates WP1 output).
- Input confirmation is checked.
- Gripper is released (opened).
- Gripper is closed (grasp) after IS_CLOSED input is detected.
I've already done the entire logic reading/writing in loop all the bits directly with the parameters
but I would like to do it inside mcx.
Is it already implemented or do you think it can be useful to implement?
Best Regards