Technical Forum

Motion Control System SIMOTION

Changing of axis’s mechanics in runtime.

Thread Starter: Engin_   Started: 9/22/2008 9:36 AM   Replies: 16

« Previous thread Next thread »
«12 Page 2 of 2 (17 items)
  6/1/2012, 4:07 PM
Joined 5/12/2006
Last visit: 5/25/2013
Posts: 1552
Rating:
Rated: Excellent [4.18 out of 5 / rated 115 time(s)]. (115) 
Users with special expertise supervising conferences
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hello,

WTF?
Axis_1 is a locale istance from type driveaxis?
Sorry but a driveaxis have no LeadScrew !
Have you a Axis in the Axis Container of you project with the Name Axis_1?

Regards
Christoph
Top
  6/1/2012, 4:14 PM
Joined 8/4/2010
Last visit: 5/24/2013
Posts: 117
Rating:
Rated: Excellent [5 out of 5 / rated 2 time(s)]. (2) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
grinyes of course i have axis  below AXES . i saw driveaxis in simotion basic function pdf  and i wrote.
if i delete driveaxis var
variable ID expected axis_1 but i have axis_1 why it didnt see my axis_1



=== Edited by JUANSANCHEZ @ 6/1/2012 4:18 PM [GMT ] ===



J.SANCHEZ
Top
  6/1/2012, 4:18 PM
Joined 5/12/2006
Last visit: 5/25/2013
Posts: 1552
Rating:
Rated: Excellent [4.18 out of 5 / rated 115 time(s)]. (115) 
Users with special expertise supervising conferences
Rated: Outstanding [4 out of 5 / rated 1 time(s)]. (1) 
Hi,

when you have a technological Object with the name Axis_1 then never use this name as variable name in your ST Code!

you can test the following:

wrote  "axis_1:posaxis;"
delete "axis_1:driveaxis;"

Regards
Christoph
Top
Thank you for this post from:
  6/1/2012, 4:24 PM
Joined 8/4/2010
Last visit: 5/24/2013
Posts: 117
Rating:
Rated: Excellent [5 out of 5 / rated 2 time(s)]. (2) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
hello,
now it doesnt give error
thanks for help 


best regards

J.SANCHEZ
Top
  6/1/2012, 4:25 PM
Joined 5/12/2006
Last visit: 5/25/2013
Posts: 1552
Rating:
Rated: Excellent [4.18 out of 5 / rated 115 time(s)]. (115) 
Users with special expertise supervising conferences
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hello,

is the ST-Code in a library or in a ST Unit?

Regards
Christoph
Top
  6/1/2012, 4:27 PM
Joined 8/4/2010
Last visit: 5/24/2013
Posts: 117
Rating:
Rated: Excellent [5 out of 5 / rated 2 time(s)]. (2) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
hello,

st unit and i call with motion task 

J.SANCHEZ
Top
  6/1/2012, 4:34 PM
Joined 5/12/2006
Last visit: 5/25/2013
Posts: 1552
Rating:
Rated: Excellent [4.18 out of 5 / rated 115 time(s)]. (115) 
Users with special expertise supervising conferences
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hello,

when you use "axis_1 : posaxis" then you doesn't chance the variable directly on the real axis, only in the dataset of the instance.

Regards
Christoph
Top
«12 Page 2 of 2 (17 items)
Actions