Reading out a single Id-Bumper (mover identification)
The code shows an example of how the bumper ID APM9001-0000-4xxx of a single mover can be read:
70: // Set mover communication command - start reading id-bumper
IF ipXpu.TcIoMover(1).SetMoverCommunicationCommand(MoverCommunicationCommand.GetMoverBtn) THEN
nState := nState + 1;
END_IF
71: // check status
stMoverCommunicationStatus := ipXpu.TcIoMover(1).GetCommunicationStatus();
IF stMoverCommunicationStatus = MoverCommunicationStatus.CommunicationSuccessful THEN
nState := nState + 1;
END_IF
72: // Check IdentifiedMoverBtn
sBtn := ipXpu.TcIoMover(1).GetIdentifiedMoverBtn();
nState := nState + 1;