Benchwork ← Engineering work

Interactive engineering study

Route a part through a robot cell.

Choose a good or faulty part and select Run part. Follow the PLC request, the robot’s acknowledgment and the program line that sends the part to the pallet or reject bin.

Material sort cellOperator terminal · Offline simulation
Robot controller
Selects the robot program language shown and downloaded.
State ReadySimulated PLC scan Automatic
No active alarms.

Material cycle

Pass goes to the pallet. Fail goes to the reject bin.

Phase
Idle
Part
None
Gripper
Open
Good · pallet
0
Rejected · bin
0

Sorting something similar on your line? Discuss a sorting problem

Step pauses after each operation. Press Next operation to advance. Continuous keeps feeding parts until you stop it. Hold pauses the cycle and keeps a carried part in the jaws. Blockages are raised on the Alarms screen.

Articulated robot sorting parts between four stationsAn original isometric cell diagram. An infeed tray and an inspection jig stand on the left, a pallet on the right and a reject bin nearest the aisle. The jointed arm changes pose as it moves. The simulation draws each part it carries. 01 Inspection02 Pallet03 Reject bin05 Infeed
Tool position HomeCompleted cycles 0
  • Pass → Pallet
  • Fail → Reject bin
  • Parts arrive at Infeed

Manual positioning

Between material cycles

Robot handshake

Signals from this simulation

Request GI[1]
PLC asks for a route: 1 inspect · 2 pallet · 3 reject · 4 home · 5 infeed.
0
Robot target GO[2]
Station number the robot is moving toward.
0
Robot busy DO[1]
On while the robot works a request.
Off
At target DI[1]
On when the arm has reached its target.
Off
Route reply GO[1]
Robot echoes the route. The PLC clears its request on a match.
0

Live ladder

Power flows left to right to the coil. Use Slow monitor, or hold the cycle and Step scan. Networks 1–4 run the route handshake, 5–8 the material cycle.

Scan 0Robot line 03 · Wait for request Program trace
  1. 01 · Latch requestOpen · 0 fires
    SendClear pathIdleReq = 0MOVRoute → Req
  2. 02 · Clear requestOpen · 0 fires
    Req ≠ 0Ack = ReqMOV0 → Req
  3. 03 · Count completionOpen · 0 fires
    AcceptedClearIdleCTUCycles +1
  4. 04 · Motion enableOpen · 0 fires
    Clear pathBusyTarget dueOTEMotion
  5. 05 · Grip at pickupOpen · 0 fires
    Pick completeAt infeedPiece readyOTLGripCmd
  6. 06 · Inspect and routeOpen · 0 fires
    Inspect completePart heldMeasuredMOVSort route
  7. 07 · Release at destinationOpen · 0 fires
    Sort completeAt binPart heldOTUGripCmd
  8. 08 · Register sorted partOpen · 0 fires
    ReleaseJaws openPart clearCTUSorted

Scroll the list, or Tab into it and use ↑ ↓. Networks 1–4 route · 5–8 material.

Robot program and event history

Event history

Use the event history to find the first signal that changed. It keeps the last 80 events, in order and in local time, until you close or reload the page.

  1. Ready at home.

FANUC LS

The highlighted line runs in the browser. Its joint move selects a virtual position register: PR[1] inspection, PR[2] pallet, PR[3] reject, PR[4] home or PR[5] infeed. The original diagram uses illustrative geometry and timing.

  1. 01! +----------------------------+
  2. 02! | BBB W W BENCHWORK |
  3. 03! | B B W W SOFTWARE |
  4. 04! | BBB W W W TRANSFER |
  5. 05! | B B WW WW CELL |
  6. 06! | BBB W W BWSTUDY |
  7. 07! +----------------------------+
  8. 08
  9. 09! PLC owns grip and inspection
  10. 10! PR 1 Inspect / 2 Pallet
  11. 11! PR 3 Reject / 4 Home
  12. 12! PR 5 Infeed pickup
  13. 13
  14. 14LBL[1]
  15. 15! Accept one PLC route word
  16. 16WAIT (GI[1]<>0)
  17. 17R[1]=GI[1]
  18. 18DO[1]=ON
  19. 19GO[2]=R[1]
  20. 20
  21. 21! Move to the requested station
  22. 22J PR[R[1]] 20% FINE
  23. 23WAIT DI[1]=ON
  24. 24
  25. 25! Return this route to the PLC
  26. 26GO[1]=R[1]
  27. 27WAIT (GI[1]=0)
  28. 28
  29. 29! Clear target before busy drops
  30. 30GO[2]=0
  31. 31WAIT DI[1]=OFF
  32. 32GO[1]=0
  33. 33DO[1]=OFF
  34. 34
  35. 35JMP LBL[1]
Download LS source

Project files

Compare the two robot programs with the PLC sequence and its signal map. These examples use a virtual cell and illustrative timing.