CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > Fanuc


Fanuc Discuss Fanuc controllers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 01-25-2011, 11:32 AM
 
Join Date: Jan 2011
Location: usa
Posts: 11
nracingdev is on a distinguished road
Oi-TC add comments to macro variable table

Hi guys new to the forum. I am a programmer and I sometimes have operators interface with the machine changing values in the macro variable screen (#500+). I have noticed that there are two columns other than the data entry column. I believe the other two are names and comments. Does anyone know how to enter text into those fields? I have not been lucky searching on the net nor reading the operator manual. Thanks Chris!
Reply With Quote

  #2   Ban this user!
Old 01-26-2011, 02:41 PM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

Chris....welcome to the group.

Yes you can label them. I did a quick search thru the Oi manual and I could not confirm the function in your control. On my 15 series control it is done with the SETVN function. So in MDI mode or in the program you would do this

SETVN500[TEXT]

This would put the word “TEXT” in variable 500 in the comment section. If you wanted to set #501 then change the 500 to a 501.

Stevo

FYI you can also lock specific variables in the control via parameter if you have some that you don't want someone to accidently change.

Last edited by stevo1; 01-26-2011 at 02:51 PM. Reason: FYI
Reply With Quote

  #3   Ban this user!
Old 01-26-2011, 02:57 PM
 
Join Date: Jan 2011
Location: usa
Posts: 11
nracingdev is on a distinguished road

thanks for the reply. I will give that a try. This enters the "text" into the comments section. how do you enter it into the name section? also what parameter locks the values? that would be a very good function to have. thanks again i have been scratching my head on this for a while!
Reply With Quote

  #4   Ban this user!
Old 01-26-2011, 04:11 PM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

I find SETVN in the 15i, 31i, and 0i-TD manuals, but not the 0i-TC manual. Here's the section from the 0i-TD manual.
Attached Thumbnails
Click image for larger version

Name:	Common Variable Names.jpg‎
Views:	60
Size:	144.0 KB
ID:	124944  
Reply With Quote

  #5   Ban this user!
Old 01-26-2011, 04:15 PM
 
Join Date: Jun 2010
Location: USA
Posts: 158
cnc2149 is on a distinguished road

The SETVN is used in the Series 11/12/15 and 30i series of CNC controls. FANUC allows one to program the NAME field on the Macro page using an optional feature in most controls that is called Pattern Data Input. Actually, with the Series 0i-C this feature is standard so you should be able to use it.

Go to the Pattern Data Input section of the Operators Manual and you'll see an example. Programming it is not as easy as the SETVN, but it should help you out.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-26-2011, 04:18 PM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

Dave,
I was looking in the Oi-mc manual and could not find it either. I would think that if it does have the "Name" section in the variables that you should be able to write to it but who knows until Chris tries it.

I was also looking for the parameters to protect specific variables. In my 15 series it is #7031 is the start of variables to protect and #7032 is the last variable to protect. So if I wanted to protect #500-#520 I would set #7031=500 and #7032=520. I however could not find this variable in the Oi manual.

Chris,
Yes I meant to say "name" not comment.

Stevo
Reply With Quote

  #7   Ban this user!
Old 01-26-2011, 04:43 PM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

Originally Posted by cnc2149 View Post
The SETVN is used in the Series 11/12/15 and 30i series of CNC controls. FANUC allows one to program the NAME field on the Macro page using an optional feature in most controls that is called Pattern Data Input. Actually, with the Series 0i-C this feature is standard so you should be able to use it.

Go to the Pattern Data Input section of the Operators Manual and you'll see an example. Programming it is not as easy as the SETVN, but it should help you out.
Damn I love this place. You learn something new every day.

Thanks CNC1249

Last edited by dcoupar; 01-26-2011 at 04:43 PM. Reason: fingerpokinproblem
Reply With Quote

  #8   Ban this user!
Old 01-27-2011, 01:28 PM
 
Join Date: Jan 2011
Location: usa
Posts: 11
nracingdev is on a distinguished road

no go. Error 113, improper command is the error I receive when trying to use the SETVN command.
Reply With Quote

  #9   Ban this user!
Old 01-27-2011, 01:32 PM
 
Join Date: Jun 2010
Location: USA
Posts: 158
cnc2149 is on a distinguished road

That makes sense since the 0i-C does not support the SETVN. You'll need to use the Pattern Data Input feature to set up a macro variable name in this control.

The reason the 0i-D controls support SETVN is because they are a derivative of the 30i series control family. The 0i-C is derived from the 16i series controller and does not allow SETVN commands.
Reply With Quote

  #10   Ban this user!
Old 01-27-2011, 02:40 PM
 
Join Date: Aug 2009
Location: india
Posts: 3
axis india is on a distinguished road

hi guy
can anybody tell how to use mdi dpl i m having one
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 01-27-2011, 02:44 PM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

cnc2149,
I got your PM. Yes I missed your post. Thank you for the info. As Dave said “learn something new everyday”.

Stevo
Reply With Quote

  #12   Ban this user!
Old 01-27-2011, 02:46 PM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

Originally Posted by axis india View Post
hi guy
can anybody tell how to use mdi dpl i m having one
Why did you post this here? You should have started a new thread. What's an "mdi dpl"?
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro variable #1000, how to edit hydrospin01 Hyundai Kia machine 0 01-03-2011 08:22 AM
macro b local variable samu Fanuc 4 12-18-2010 05:55 PM
Macro Variable Lock James L Haas Mills 2 07-23-2009 08:29 AM
Need Help!- How do I read the value of an F-type parameter into a macro variable? Jan d. Mazak, Mitsubishi, Mazatrol 24 02-17-2009 10:47 PM
Macro variable example I programmed today. theemudracer G-Code Programing 1 03-07-2007 08:50 PM




All times are GMT -5. The time now is 01:01 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361