Download A:\gN_CUD.BAS 4/L3/95
Transcript
PA (PalletAssign)
I FunctionI
Definesthe numberof grid pointsin the columnandrow directionsfor the sDecified
pallet.
( InputFormatI
PA <palletnumber>,<numberof columngrid points>,<numberof row grid points)
[rerml
<Palletnumberr
Specifynumber of pallel using.
1 = palletnumberS 9
(Numberof column grid pointsr Set grid points of column of pallet.
1 S number of column grid points< 32767
<Numberof row grid points)
Set grid points of row ol pallet.
1 s number of row grid points S 32767
( Explanation)
(1) The PA commandmust be executedbefore the pallet calculationcommand (see
lhe PT command) is executed.
(2) The numberof grid pointsis equivalentto that of the actualworkpiecesarrangedon
the pallet.For example,with a pallet hotding15 workpieces (3 X S) , the nuirbers
of columnand row grid pointsare 3 and 5, respeclively
{3) The column and row directionsare decided by the directions of lhe terminating
positions,respectively. (Seethe PT command)
I Sample program|
10 PA 5,20,30
20 SC 51,15
30 SC 52,25
40 PT 5
50 MO 5
60 ED
(Movemastercommand)
; Definesthe pailet S as the pailet hotding20 X gOgrid points.
; Sets value 15 1ocounter5'l . (columnpoints)
'
!
;Sets vatue25 io counter52. (row points)
;Sets the carcuratedcoordinaiesvalue of grid pointto position5.
; Movesto position5. ffhe grid position)
;Ends program.