Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 08:59:02 AM
Home Help Search Calendar Login Register
News: Any Problems or Experience with Industrial Robots ?
Register and place your Question to worldwide Robotexperts right here !

+  Robotforum | Support for Robotprogrammer and Users
|-+  Robot Help and Discussion Center
| |-+  Yaskawa Motoman Robots
| | |-+  Some help with a little syntax please?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Some help with a little syntax please?  (Read 350 times)
robocam.com.au
Newbie
*
Offline Offline

Posts: 10


« on: June 23, 2008, 04:08:47 AM »

Hi All,

I own a HP165 and use it in cobination with Delcam PowerMill for 5 axis maching of foam and mdf etc. Delcam has written a post processor that generates the .jbi files. I hav ethe Inform manuals etc. but I'm unclear on one or two lines of syntax.

Can anyone tell me what NPOS is please and what the variables are as used in this example;

Thanks,

Adrian Potter
Robocam.com.au
Sydney, Australia

/JOB
//NAME A_0
//POS
///NPOS 951,0,0,0,0,0
///USER 1
///TOOL 1
///POSTYPE USER
///RECTAN
///RCONF 0,0,0,0,0,0,0,0
C00000=-8.400,1.864,10.000,0.0,0.0,0.0
C00001=-8.400,1.864,5.000,0.0,0.0,0.0
C00002=-8.400,1.864,-10.000,0.0,0.0,0.0
C00003=-8.000,1.864,-10.000,0.0,0.0,0.0
C00004=653.000,1.864,-10.000,0.0,0.0,0.0
C00005=653.000,11.727,-10.000,0.0,0.0,0.0
C00006=-8.000,11.727,-10.000,0.0,0.0,0.0
C00007=-8.000,21.591,-10.000,0.0,0.0,0.0
C00008=653.000,21.591,-10.000,0.0,0.0,0.0
C00009=653.000,31.455,-10.000,0.0,0.0,0.0
C00010=-8.000,31.455,-10.000,0.0,0.0,0.0
C00011=-8.000,41.318,-10.000,0.0,0.0,0.0
................
................
C00941=364.406,242.248,-50.000,0.0,0.0,0.0
C00942=362.623,242.060,-50.000,0.0,0.0,0.0
C00943=360.840,241.982,-50.000,0.0,0.0,0.0
C00944=359.056,242.159,-50.000,0.0,0.0,0.0
C00945=340.785,244.876,-50.000,0.0,0.0,0.0
C00946=339.452,244.868,-50.000,0.0,0.0,0.0
C00947=336.020,240.821,-50.000,0.0,0.0,0.0
C00948=334.091,239.269,-50.000,0.0,0.0,0.0
C00949=327.223,235.521,-50.000,0.0,0.0,0.0
C00950=325.175,234.132,-50.000,0.0,0.0,0.0
//INST
///DATE 2008/06/15 10:49
///ATTR SC,RW,RJ
////FRAME USER 1
///GROUP1 RB1,BS1
NOP
SPEED V=75.0
MOVL C00000
SPEED V=75.0
MOVL C00001
SPEED V=75.0
MOVL C00002
SPEED V=75.0
MOVL C00003
SPEED V=75.0
MOVL C00004
SPEED V=75.0
MOVL C00005
SPEED V=75.0
MOVL C00006
SPEED V=75.0
MOVL C00007
SPEED V=75.0
MOVL C00008
SPEED V=75.0
MOVL C00009
SPEED V=75.0
MOVL C00010
..............
...............
MOVL C00948
SPEED V=75.0
MOVL C00949
SPEED V=75.0
MOVL C00950
JUMP JOB:A_1
END
Logged
motomaniaco
Newbie
*
Offline Offline

Posts: 36


« Reply #1 on: June 23, 2008, 03:37:03 PM »

This is the meaning of NPOS.

POS

Function: Represents the position data.
Format: //POS


NPOS

Function: Represents the number of position data items.
Format: ///NPOS <C>, <BC>, <EC>, <P>, <BP>, <EX>
<C>: Number of robot axis teaching positions
<BC>: Number of  base axis teaching positions
<EC>: Number of external (station) axis teaching positions
<P>: Number of robot axis positions variables
<BP>: Number of base axis positions variables
<EX>: Number of external (station) axis positions variables



Logged
robocam.com.au
Newbie
*
Offline Offline

Posts: 10


« Reply #2 on: June 24, 2008, 01:45:21 AM »

Thanks so much for your reply. I looked through my manuals and couldn't find that passage anywhere! In what manual was it from?

Whilst herecould you please tell me what ///RCONF 0,0,0,0,0,0,0,0 is and it's variables?

Thank you.

Logged
motomaniaco
Newbie
*
Offline Offline

Posts: 36


« Reply #3 on: June 24, 2008, 03:34:58 PM »

I found the info on the Relative Job Manual, here is the whole info.

JOB DATA FORMAT

When a relative job is output via the YASNAC FC1 or FC2 or by data transmission, the output file contents are as follows.

FILE NAME .JBI
/JOB
//NAME <JOB NAME>
//POS
///NPOS <C>,<BC>,<EC>,<P>,<BP>,<EX>
///USER <N>
///TOOL <N>
///POSTYPE <T>
///RECTAN
///RCONF <l>,<m>,<n>,<o>,<p>,<q>
Cxxxx =X,Y,Z,Rx,Ry,Rz
BCxxxx=X0,Y0,Z0
ECxxxx=1,2
//INST
///DATE <YYYY>/<MM>/<DD> <HH>:<TT>
///COMM <COMMENT CHARACTER LINE>
///ATTR <ATTRIBUTE 1>,<ATTRIBUTE 2>,,<ATTRIBUTE 16>
///FRAME <C>
///GROUP1 <m1>,<m2>,<m3>
///GROUP2 <m1>,<m2>,<m3>
NOP
MOVJ Cxxx BCxxx ECxxx VJ=xxx.x
END



A pseudo instruction is distinguished by a single slash (/) at its beginning.
Each level of individual instructions are marked with a double slash (//), a triple slash (///), and a fourfold slash (////).
A pseudo instruction related to the job is made as follows.

JOB NAME
POS
INST
NPOS
USER
TOOL
POSTYPE
PULSE
RECTAN
RCONF
DATE
COMM
ATTR
FRAME
GROUP1
GROUP2
LVARS


JOB

Function : Shows that it is a job.
Format : /JOB


NAME

Function : Represents the job name.
Format : //NAME <Name>
<Name> : up to 8 characters


POS

Function : Represents the position data.
Format : //POS


NPOS

Function : Represents the number of position data items.
Format : ///NPOS <C>,<BC>,<EC>,<P>,<BP>,<EX>
<C> : Number of robot axis teaching positions
<BC>: Number of base axis teaching positions
<EC>: Number of external (station) axis teaching positions
<P> : Number of robot axis position variables
<BP>: Number of base axis position variables
<EX>: Number of external (station) axis position variables


USER

Function : Represents the currently selected user coordinate system No.
Format : ///USER <N>
<N>: User coordinate system No.(0 to 23)


TOOL

Function : Represents the currently selected tool No.
Format : ///TOOL <N>
<N>: Tool No.(0 to 23)


POSTYPE

Function : Represents the position data type.
Format : ///POSTYPE<T>
<T>: |PULSE||BASE||ROBOT||TOOL||USER||MTOOL|
<PULSE>: Pulse data
<BASE> : Cartesian data, base coordinate system
<ROBOT>: Cartesian data, robot coordinate system
<TOOL> : Cartesian data, tool coordinate system
<USER> : Cartesian data, user coordinate system
<MTOOL>: Cartesian data, master tool coordinate system


PULSE

Function : Represents that pulse data is defined during and after this pseudo instruction.
Format : ///PULSE
<Pulse data>:<C>|<BC>|<EC>|<P>|<BP>|<EX>
<C>:<Cxxxx>=<S>,<L>,<U>,<R>,<B>,<T>,<E1>,<E2>
<BC>:<BCxxxx>=<1>,<2>,<3>,<4>,<5>,<6>,<E1>,<E2>
<EC>:<ECxxxx>=<1>,<2>,<3>,<4>,<5>,<6>,<E1>,<E2>
<P>:<Pxxx>=<S>,<L>,<U>,<R>,<B>,<T>,<E1>,<E2>
<BP>:<BPxxx>=<1>,<2>,<3>,<4>,<5>,<6>,<E1>,<E2>
<EX>:<EXxxx>=<1>,<2>,<3>,<4>,<5>,<6>,<E1>,<E2>
<Cxxxx>: Robot axis teaching position
<BCxxxx>: Base axis teaching position
<ECxxxx>: External (station) axis teaching position
<Pxxx>: Robot axis position variables
<BPxxx>: Base axis position variables
<EXxxx>: External (station) axis position variables
<S>: S-axis pulse data
<L>: L-axis pulse data
<U>: U-axis pulse data
<R>: R-axis pulse data
<B>: B-axis pulse data
<T>: T-axis pulse data
<E1>: Not used
<E2>: Not used
xxxx := A number from 0 to 999


RECTAN

Function : Represents that Cartesian data is defined during and after this pseudo instruction.
Format : ///RECTAN
<Cartesian data>: <C>|<BC>|<P>|<BP>
<C> : <Cxxxx> = <X>,<Y>,<Z>,<Rx>,<Ry>,<Rz>
<BC>: <BCxxxx> = <1>,<2>,<3>,<4>,<5>,<6>
<P> : <Pxxx> = <X>,<Y>,<Z>,<Rx>,<Ry>,<Rz>
<BP>: <BPxxx> = <1>,<2>,<3>,<4>,<5>,<6>
<Cxxxx> : Robot axis teaching position
<BCxxxx>: Base axis teaching position
<Pxxx> : Robot axis position variables
<BPxxx> : Base axis position variables
<X> : X-axis Cartesian data
<Y> : Y-axis Cartesian data
<Z> : Z-axis Cartesian data
<Rx> : Rx-axis Cartesian data
<Ry> : Ry-axis Cartesian data
<Rz> : Rz-axis Cartesian data


RCONF

Function : Represents the manipulator type of the Cartesian data defined during and after this pseudo instruction.
Format : ///RCONF <l>,<m>,<n>,<o>,<p>,<q>
<l>: 0: Flip, 1: No-flip
<m>: 0: Upper arm, 1: Lower arm
<n>: 0: Front, 1: Rear
<o>: 0: R < 180, 1: R >= 180
<p>: 0: T < 180, 1: T >= 180
<q>: 0: S < 180, 1: S >= 180


INST

Function : Represents that it is an instruction.
Format : //INST


DATE

Function : Represents the date.
Format : ///DATE <YYYY>/<MM>/<DD> <HH>:<TT>
<YYYY>: Year
<MM>: Month
<DD>: Day
<HH>: Hour
<TT>: Minute


COMM

Function : Represents that it is a job comment.
Format : ///COMM <Comment character line>
<Comment character line> : Up to 32 characters


ATTR

Function : Represents the job attribute.
Format : ///ATTR <Attribute 1>,<Attribute 2>,,<Attribute16>
<Attribute>: JD|DD|SC|{RO|WO|RW}|RJ
<JD>: Job Destroy
<DD>: Directory Destroy
<SC>: Save Complete
{RO|WO|RW}
<RO>: Writing disabled “Edit-lock”(Read Only)
<WO>: Reading disabled(Write Only)
<RW>: Reading/Writing capable(Read/Write)
<RJ>: Relative job


FRAME

Function : Represents relative job teaching coordinate system.
Format : ///FRAME <C>
<C>: BASE|ROBOT|N|
<N>: User coordinate system No.(1 to 24)
<BASE>: Base coordinate system(Cartesian)
<ROBOT>: Robot coordinate system(Cartesian)
<USER>: User coordinate system(Cartesian)


GROUP1

Function : Represents 1st MOVE control group.
Format : ///GROUP1 <m1>,<m2>,<m3>
Add any of the following to<m1>,<m2>, and<m3>.
RE1(robot 1)
RE2(robot 2)
RE2(robot 3)
RE4(robot 4)
BS1(base 1)
BS2(base 2)
BS3(base 3)
BS4(base 4)
ST1(station 1)
ST2(station 2)
ST3(station 3)
ST4(station 4)
ST5(station 5)
ST6(station 6)
ST7(station 7)
ST8(station 8)
ST9(station 9)
ST10(station 10)
ST11(station 11)
ST12(station 12)


GROUP2

Function : Represents 2nd MOVE control group.
Format : ///GROUP2 <m1>,<m2>,<m3>
Add any of the following to<m1>,<m2>, and<m3>.
RE1(robot 1)
RE2(robot 2)
RE3(robot 3)
RE4(robot 4)
BS1(base 1)
BS2(base 2)
BS3(base 3)
BS4(base 4)
ST1(station 1)
ST2(station 2)
ST3(station 3)
ST4(station 4)
ST5(station 5)
ST6(station 6)
ST7(station 7)
ST8(station 8)
ST9(station 9)
ST10(station 10)
ST11(station 11)
ST12(station 12)


GROUP3

Function : Represents 3rd MOVE control group.
Format : ///GROUP3 <m1>,<m2>,<m3>
Add any of the following to<m1>,<m2>, and<m3>.
RE1(robot 1)
RE2(robot 2)
RE3(robot 3)
RE4(robot 4)
BS1(base 1)
BS2(base 2)
BS3(base 3)
BS4(base 4)
ST1(station 1)
ST2(station 2)
ST3(station 3)
ST4(station 4)
ST5(station 5)
ST6(station 6)
ST7(station 7)
ST8(station 8)
ST9(station 9)
ST10(station 10)
ST11(station 11)
ST12(station 12)


GROUP4

Function : Represents 4th MOVE control group.
Format : ///GROUP4 <m1>,<m2>,<m3>
Add any of the following to<m1>,<m2>, and<m3>.
RE1(robot 1)
RE2(robot 2)
RE3(robot 3)
RE4(robot 4)
BS1(base 1)
BS2(base 2)
BS3(base 3)
BS4(base 4)
ST1(station 1)
ST2(station 2)
ST3(station 3)
ST4(station 4)
ST5(station 5)
ST6(station 6)
ST7(station 7)
ST8(station 8)
ST9(station 9)
ST10(station 10)
ST11(station 11)
ST12(station 12)


LVARS

Function : Represents the number of local variables.
Format : ///LVARS <LB>,<LI>,<LD>,<LR>,<LS>,<LP>,<LBP>,<LEX>
<LB>: Number of byte type local variables
<LI>: Number of integer type local variables
<LD>: Number of double-precision type local variables
<LR>: Number of real number type local variables
<LS>: Number of character type local variables
<LP>: Number of robot axis position type local variables
<LBP>: Number of base axis position type local variables
<LEX>: Number of external (station) axis position type local variables

Logged
robocam.com.au
Newbie
*
Offline Offline

Posts: 10


« Reply #4 on: June 25, 2008, 12:15:35 PM »

Thanks motomaniaco, that's great, I really appreciate your help.

Please let me know if I can ever return the favour.

Cheers,

Adrian
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!