Welcome, Guest. Please login or register.
Did you miss your activation email?
May 24, 2012, 12:33:35 PM
Home Help Login Register
News: Any Problems or Experience with Industrial Robots ?
Register and place your Question / Answer to worldwide Robotexperts right here !

+  Robotforum | Support for Robotprogrammer and Users
|-+  Industrial Robot Help and Discussion Center
| |-+  Yaskawa Motoman Robot Forum (Moderators: Fabian Munoz, Napierian)
| | |-+  input aliasing/variable name aliasing
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: input aliasing/variable name aliasing  (Read 697 times)
ericm115
Jr. Member
**
Offline Offline

Posts: 82


« on: April 21, 2010, 10:52:58 PM »

nx100/hp165

anyone know anything about input aliasing or variable name aliasing on the nx100 (S2C298=1)?

eric
Logged
95devils
Sr. Member
****
Offline Offline

Posts: 325


« Reply #1 on: April 22, 2010, 12:48:29 AM »

They are different parameters.  One is S2C297 and the other is S2C298.

What this allows, instead of saying:

WAIT IN#(1)=ON.  I can use register this as an alias.  The controller would look at the name for IN#(1) and if the name was CYCLE START, the line would read WAIT IN#(Cycle Start)=ON.

Same with variables.  If I000 was named TOTAL PARTS.  I could register an alias with the INC instruction.  The line would read INC TOTAL PARTS instead of INC I000.


Pluses and minus of this.

I can DIRECT OPEN on the line referring to an I/O point.  The controller will take me to that group.

I can't alias a half group or a group.

If you alias a variable, you can't DIRECT OPEN on this.  If I don't know what the variable address is I have to search through the screens to find the correct address.  Not bad on the INC or DEC, only B,I, and D to look through.  But the SET, good luck, I can set any of the variable types.  I have to look through B, I, R, D, S, and P to find the address. 
Logged

Alcohol:  The cause and solution to all life's problems
ericm115
Jr. Member
**
Offline Offline

Posts: 82


« Reply #2 on: April 22, 2010, 02:24:47 PM »

extremely valuable insight.
perhaps a naming convention ie: b53TotalParts aliasing B053 would help me. thanks
Logged
tony gast
Hero Member
*****
Offline Offline

Gender: Male
Posts: 713


Can I barrow a cup of robots?


« Reply #3 on: April 22, 2010, 04:13:59 PM »

I just use comments in the job so I can DIRECT OPEN to see the current value and know at a glance what the variable is..... If you have only a very few variables.... It would not be so bad....
Logged

Oh, well
frank09
Guest
« Reply #4 on: April 22, 2010, 08:11:40 PM »

Does anyone know if this works on the XRC controller and if so what are the parameters for it Huh?Huh?Huh?Huh?
Logged
tony gast
Hero Member
*****
Offline Offline

Gender: Male
Posts: 713


Can I barrow a cup of robots?


« Reply #5 on: April 22, 2010, 08:24:45 PM »

I don't think so......
Logged

Oh, well
student1
Newbie
*
Offline Offline

Posts: 1


« Reply #6 on: December 05, 2011, 01:32:09 PM »

Greetings
 
I would like to thanks user 95devils, for a hint about S2C297, S2C298 parameters. Apparently the thing is working on the controller(nx100). But now I am wondering is it possible to use aliasing in motosim simulator.  I am trying to make this work:

/JOB
//NAME TEST
//POS
///NPOS 0,0,0,0,0,0
//ALIAS
///GVARS 2,0,0,0,0,0,0,0
B000 ABC
B001 BCD
//INST
///DATE 2011/11/30 14:07
///ATTR SC,RW
///GROUP1 RB1
NOP
SET ABC 10000
SET BCD ABC
END

This code does run error free but, if I monitor B000; B001 in variable monitor their value doesn't change.
So I would like to ask about for any advices, help or a hint how to make this work. Is it even possible ?

Thanks again for any replay. 
Logged
Robo Guru
Sr. Member
****
Offline Offline

Gender: Male
Posts: 479



« Reply #7 on: December 09, 2011, 01:33:35 AM »

Well, what version of MotoSim are you using?

If you are using MotoSim VRC (virtual controller) then yes you can do so.

If you are using MotoSimEG, then i am not certain!  My initial guess would be no.
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.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!