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

ErrorID #89

Open
giordanoceccarini opened this issue Jan 16, 2025 · 10 comments
Open

ErrorID #89

giordanoceccarini opened this issue Jan 16, 2025 · 10 comments

Comments

@giordanoceccarini
Copy link

giordanoceccarini commented Jan 16, 2025

I create an instance of FB_Component_BasicAxis on MAIN.
Call .CyclicLogic() on MAIN.
I Create a machine state to run simple test.

  1. Enable
  2. MoveVelocity
  3. Stop
  4. Disable

Everything is fine.
Now I generated 2 error condition whike running:

  1. Open STO on drive
  2. Disable axis with Method Disable()

Scenario 1 give me TwinCAT error 16992 and also your component give me error 16992 as Logged events, but why ErrorID in Component give 0
Scenario 2 give me TwinCAT error 18000 and also your component give me error 18000 as Logged events and now ErrorID in Component give 18000

Is it correct? is it what you expect? I think also scenario 1 should give me 16992
Regards
Giordano

AB#6416

@mcclureTC
Copy link
Contributor

Opening the STO or Disabling before stopping the axis will create error 16992, this is expected. To prevent these error messages, you can first stop the axis using the method Stop().

4260 | 16992 | Monitoring | "Controller enable" Controller enable for the axis or for a coupled slave axis is not present (see axis interface PlcToNc). This error occurs if the controller enable is withdrawn while an axis or a group of axes (also a master/slave group) is being actively positioned. The error also occurs if a PTP axis or a coupled slave axis is started without controller enable.

16992: https://infosys.beckhoff.com/content/1033/tcncerrcode2/513129739.html?id=2564349323816727852

@giordanoceccarini
Copy link
Author

giordanoceccarini commented Jan 16, 2025 via email

@mcclureTC
Copy link
Contributor

The error 16992 is working properly for me:

Image

The error 18000 is related to hardware and I am not able to test this. It might be better contact your local support.

@giordanoceccarini
Copy link
Author

giordanoceccarini commented Jan 17, 2025 via email

@giordanoceccarini
Copy link
Author

giordanoceccarini commented Jan 17, 2025 via email

@giordanoceccarini
Copy link
Author

giordanoceccarini commented Jan 17, 2025 via email

@mcclureTC
Copy link
Contributor

Internally the FB_Component_BasicSlaveAxis uses MC_GearInMultiMaster which supports coupling to an axis that is already moving.

@giordanoceccarini
Copy link
Author

giordanoceccarini commented Jan 17, 2025 via email

@giordanoceccarini
Copy link
Author

giordanoceccarini commented Jan 17, 2025 via email

@giordanoceccarini
Copy link
Author

giordanoceccarini commented Jan 18, 2025 via email

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

No branches or pull requests

2 participants