-
Notifications
You must be signed in to change notification settings - Fork 2
Beckhoff troubleshooting
Wiki > The Backend System > IOCs > Motor IOCs > Beckhoff > Beckhoff troubleshooting
As we don't really handle any logic minus the motor record aliasing, there isn't much to go wrong (in theory) - sometimes for numerous reasons such as motion logic changing etc. the .tpy
file that maps over memory addresses to human readable names can go out of date.
The first thing to do if an issue occurs is open a device screen which is pointing to the "Beckhoff engineering view" and check all axes for an error ID. If the records in here are in link alarm, it's likely that there is a comms issue OR the TPY file is out of date - see below. **If not, and there are error IDs for any axis, the beckhoff has thrown an error. You may be able to hit "reset" and resolve this, if not contact the IESG or the IDD Motion team. **
If nothing whatsoever is working, moves aren't sending and enabling/disabling is not working, an outdated .tpy
file could be the cause.
To remedy this:
- Stop the
TC
IOC from IBEX. - Obtain a valid/up to date
.tpy
file, either sent from the motion team or from the controller (usually underC:\TwinCAT\3.1\Boot\Plc\
, namedport_852.tpy
, you can remote desktop in using the PLC's IP address and use a file explorer to copy it from its Windows environment) - Place above
.tpy
file inC:\Instrument\Settings\Config\NDX<instname>\configurations\twincat\
- it will need to be called whatever it was before or whatever it was in the config (it's passed in via a macro) - it's usually calledtc_project_app.tpy
- Start the
TC
IOC again from IBEX. This should re-generate the.db
file in the above directory and you should now have working communication. The table of motors may take a while to update so to check if things are working it may be easiest to use theBeckhoff Engineering
device screen. If this does not exist on an instrument, create it.
Safety systems such as light curtains or bump strips will throw the controller into error (and usually disable all axes) as opposed to just stopping movement like on a Galil. The green reset button on each beamline should clear the error and re-enable.
In this case, navigating to the TwinCAT Beckhoff Controller OPI, selecting the troublesome axis, then pressing "load" then "reset" cleared the issue.
This is a weird error that seems to occur sometimes when running a Beckhoff simulator on a dev machine. To stop it you need to do run unsettick.bat
script in tcioc\master
and reboot. NB this should never happen on an instrument machine as they do not run simulated Beckhoffs.
To resolve, a physical restart was necessary - Contact Electrical and Electronic User Support Group to resolve Once a physical restart has taken place, load each axis and reload to check the error status has returned back to 0.
Occur during physical restart, and may remaining if physical restart was unsuccessful. Once a successful physical restart has taken place, they should go away. - Contact Electrical and Electronic User Support Group to resolve this
Axes may not move at all when under 18000
error. To resolve, reset using Beckhoff Engineering View and / or perform homing routine.