Skip to content

Conversation

@kuh0005
Copy link
Collaborator

@kuh0005 kuh0005 commented Jan 27, 2026

This pull request refines the logic for the program change task in the Axo_IV3 Keyence Vision component, making the process more robust and handling edge cases related to hardware responses and state transitions. The main improvements involve restructuring the state machine for changing programs and ensuring synchronization between software and hardware program numbers.

Key improvements to program change logic:

  • Refactored the program change state machine to introduce additional progress states (_progress values 311–318), providing finer control and clearer transitions during program switching, including explicit handling of hardware signals like ProgramSwitchingResponse and checks for program number synchronization. [1] [2] [3]
  • Added logic to automatically restore the ChangeProgramTask if a different program is detected in hardware after the task is marked as done, ensuring the task can be rerun when needed.

Other changes:

  • Temporarily disabled the ReadOnly attribute on the Outputs variable, possibly to allow modifications during development or debugging.

@kuh0005 kuh0005 requested review from PTKu and TomKovac January 27, 2026 11:59
@kuh0005 kuh0005 linked an issue Jan 27, 2026 that may be closed by this pull request
@PTKu PTKu merged commit 9d80409 into dev Jan 27, 2026
1 check passed
@PTKu PTKu deleted the 979-bug-iv3-do-not-change-job branch January 27, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] IV3 do not change job

4 participants