Add ABB120 demo suite and docs

This commit is contained in:
wangdequan
2026-06-28 20:58:18 +08:00
parent 84a5b54195
commit 65187499d6
820 changed files with 215410 additions and 211 deletions

View File

@@ -0,0 +1,12 @@
language grl 0.1
module W2BrandHints
post_hint abb
post_hint fanuc
post_hint kuka
const speed v = joint(40 %)
const zone zf = fine
target home = joint_target { joints: [0 deg, 0 deg, 0 deg, 0 deg, 0 deg, 0 deg] }
proc main()
movej home speed v zone zf
end
end

View File

@@ -0,0 +1,20 @@
language grl 0.1
module W2CrossBrandMotion
post_hint abb
const speed vj = joint(50 %)
const speed vl = linear(200 mm/s)
const zone z10 = z(10 mm)
const zone zcnt = cnt(50)
target home = joint_target { joints: [0 deg, 0 deg, 0 deg, 0 deg, 0 deg, 0 deg] }
target pick = pose_target { pose: pose(500 mm, 0 mm, 0 mm, 0 deg, 0 deg, 0 deg) }
target mid = pose_target { pose: pose(550 mm, 50 mm, 0 mm, 0 deg, 0 deg, 0 deg) }
target place = pose_target { pose: pose(600 mm, 0 mm, 0 mm, 0 deg, 0 deg, 0 deg) }
proc main()
movej home speed vj zone fine
movel pick speed vl zone z10
movec via mid target place speed vl zone zcnt
io.do[1] = true
wait io.di[1] == true timeout 1 s
pulse io.do[2] duration 100 ms
end
end

View File

@@ -0,0 +1,24 @@
language grl 0.1
module W2Roundtrip
const speed vj = joint(40 %)
const speed vl = linear(150 mm/s)
const zone z10 = z(10 mm)
target home = joint_target { joints: [0 deg, 0 deg, 0 deg, 0 deg, 0 deg, 0 deg] }
target pick = pose_target { pose: pose(500 mm, 0 mm, 0 mm, 0 deg, 0 deg, 0 deg) }
path roundtrip_path {
defaults { speed: vj, zone: z10 }
point p0 movej home zone fine
point p1 movel pick speed vl zone z10
}
operation roundtrip_op {
kind: handling
path: roundtrip_path
process {
generator: "working2"
}
}
proc main()
run_operation roundtrip_op
movej home speed vj zone fine
end
end