11-15-2023 03:34 PM - edited 11-15-2023 03:38 PM
Hello.
I have a problem that we have built several times the same machine with the trumpf laser. On some machines the "Turn off" button works and on others it does not work.
Laser: Trumpf TruMark 3000 (Lasers are used older and rebuilt with new PC + EtherCAT card)
Peripheries: TruMark (1.1.12.0)
Object: Marking Laser (1.1.10.0)
The error will manifest itself as follows:
1) Loc101V601_Laser.Unit.Command := MarkingLaserTrumpfCmd.LASER_OFF; Loc101V601_Laser.Unit.Execute := TRUE;
2) Laser receives no TLV command
3) Plc reports "Command timeout" error
All other commands work without problems.
Unfortunately I don't have the library source files to check why the TLV command is not being sent. Can someone please advise me what could be the error?
11-15-2023 04:15 PM - edited 11-15-2023 04:27 PM
All stations use the same objekt + peripheral versions ?
If yes, can you check the software versions on the Trumpf Laser PC ? I suspect the problem is due to the software of the laser...
11-16-2023 09:44 AM
TornOff comannd send no TLV commands to laser.
PLC only set a BIT on the Ethercat.
You can check this if you go online and the show on peripheral site under Peripheral._send.LaserOn.
If this set to False, then the command was set correct.
The error comes if after 5 seconds no answare from laser comes.
This you can check under Peripherals._recv.StateDecode.LaserOn.
The lib check this variable. If this not set to false, the error from your picture comes.