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 (184.108.40.206)
Object: Marking Laser (220.127.116.11)
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?
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.