Event Detect: If a registration was removed from the controller


ASTER::CONDITION::ObjectControl::If was canceled a registration of Motion Group from the controller

An immediate execution condition that is activated when the motion group registered in the controller is unregistered.

If the comparison target string matches the deleted motion group name, the condition returns True.


Parameter

String comparison, specifying the name of the deregistered group

"exampleMotionGroup"

The condition returns True when the motion group named "exampleMotionGroup" is deregistered from the controller.


Note

When using “Complete Deregistration (完全解除)” and “Complete Deletion (完全消去)”, detection of group names is not available

The Reject command has two types: "By Name," which attempts to unregister by specifying the group name, and "Direct," which attempts to unregister by searching for the memory address of the object instance.

When commands with Destroy functionality are added to these two types, there are a total of four types of Reject commands. Furthermore, if the delay execution value is 0 and all registered instances are targeted by the "By Name" command, it branches into the "Complete Unregister (完全解除)" and "Complete Erase (完全消去)" commands, making a total of six types.

All six types are equivalent in authority, with the command issued first having priority.

---
title: Reject Functions
---
flowchart LR
  A@{shape: dbl-circ, label: "Reject"}
  A --> B@{ shape: delay, label: "Reject: Directly" }
  A --> C@{ shape: delay, label: "Reject: By Name" }
  C --> D[Reject: All]
  C --> E[Timer]
  C --> F[Timer + Destroy]
  B --> G[Timer]
  B --> H[Timer + Destroy]
  D --> I[Timer]
  D --> J[Timer + Destroy]
  I -.-|Named| K@{shape: dbl-circ, label: "完全解除"}
  J -.-|Named| L@{shape: dbl-circ, label: "完全消去"}

The "By Name" type of the Reject command can capture the exact timing of unregistration by Event Detect (immediate execution condition) when the registration is canceled on a motion group basis.

However, if the group is deleted using the "Complete Unregister (完全解除)" or "Complete Erase (完全消去)" of Reject, Event Detect cannot be used.

  • "test1"
  • "test2"

If the above motion group names are registered in the controller,

""

When an empty string is sent and “Complete Deregistration (完全解除)” and “Complete Deletion (完全消去)” are specified for all motion groups registered in the controller, the names of the deleted groups are not notified.

"test1"

When a motion group is deregistered from the controller, the exact timing of the deregistration can be caught as an event through Event Detection.