Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RevokeBoardAvailable when PCB Manually removed. #79

Closed
Industry4 opened this issue Jul 27, 2023 · 2 comments
Closed

RevokeBoardAvailable when PCB Manually removed. #79

Industry4 opened this issue Jul 27, 2023 · 2 comments
Assignees
Labels
Enhancement New feature or request R MIT User Request
Projects
Milestone

Comments

@Industry4
Copy link
Owner

User Comment

During the test, when there is a problem, we hope that when the This Station / ScanStation board information is manually deleted, can it automatically send a [RevokeBoardAvailable]?

Notify the downstream device that the current state needs to be changed, otherwise the two devices will lock each other

image006

image007

@Industry4 Industry4 added Investigate This requires Investigation R MIT User Request labels Jul 27, 2023
@Industry4 Industry4 added this to To do in BETA via automation Jul 27, 2023
@Industry4 Industry4 self-assigned this Sep 4, 2023
@Industry4 Industry4 moved this from To do to In progress in BETA Sep 4, 2023
@Industry4
Copy link
Owner Author

Industry4 commented Sep 4, 2023

1. Normal Sequence

SMEMA Data This Station Downstream
HIGH Y Machine Ready
HIGH Y Board Available
HIGH Y Start Transport
LOW N Transport Finished
LOW N Stop Transport

2. Data Deleted by User After Board Available

SMEMA Data This Station Downstream
HIGH Y Machine Ready
HIGH Y Board Available
HIGH N Revoke Board Available
HIGH N Start Transport
LOW N Transport Finished
LOW N Stop Transport

3. Data Deleted by User After Start Transport

SMEMA Data This Station Downstream
HIGH Y Machine Ready
HIGH Y Board Available
HIGH Y Start Transport
HIGH N
LOW N TF - Transfer Incomplete
LOW N Stop Transport

@Industry4 Industry4 added Enhancement New feature or request and removed Investigate This requires Investigation labels Sep 4, 2023
@Industry4
Copy link
Owner Author

There were multible options to resolve this issue:

  1. Prevent the deletion of Data when a Transfer is occurring. We didn't do this as a operator may want to stop a transfer.
  2. Use 'Revoke Board Available' (Sequence 2 above) however a 'Board Available' is only sent following a 'Machine Ready' and that will be shortly followed by a 'Start Transport'. By this point a 'Revoke Board Available' is too late.
  3. Solution: Sequence 3 (above) above is more likely so we send a 'Transport Finished' with a Transfer State of Incomplete.

The actual 'lock' as described in the issue description was caused by the 'Transport Finished' message being sent with Null values (Bug)

BETA automation moved this from In progress to Done Sep 4, 2023
@Industry4 Industry4 added this to the 1.0.20 milestone Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request R MIT User Request
Projects
BETA
Done
Development

No branches or pull requests

1 participant