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 > Machine Problems, Solutions , Wireless DNC, serial port


Machine Problems, Solutions , Wireless DNC, serial port Need help with your Machine or need a Machining solutions for , Serial Port, Cable problems between PC and all others DNC problems disucss them here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 02-01-2010, 10:50 AM
 
Join Date: Nov 2009
Location: UK
Posts: 1
alib is on a distinguished road
Error sending code to a Heidenhain 151b via Serial

Hi,

Please accept my apologies for my first post being a question and that it could also be in the wrong section! However I'm doing this as a favour for a friend who isn't technically minded.

He's got a Heidenhein TNC 151B control. We've managed to get files from the TNC using a serial - parallel cable and TNCserver. However we have a couple of problems:

1) TNCremoNT fails to connect to the TNC, am I right in a assuming that this is because the control is too old to support GUI file browsing?

2) We've managed to take small programs off and put them back on to the machine, using TNCserver and the 'read-in offered program' option within the control. However we can't get the following program back on to the machine (it came off fine). We receive a 'wrong program data' error on the control screen. What are we doing wrong? The code ran fine when it was on the machine! Within the user options the machine lists 1418 blocks free (I am assuming this is memory)

If I attempt to backplot the code in NCplot I get an 'Invalid Character' error. But after much fiddling I can't find anything that looks incorrect.

The only other thought I have, is that I've read posts regarding 'trickling' programs to a control. Is this something we need to be investigating / using for this control?

Thanks for any suggestions or help!

Code of the dodgy program is below:

Code:
0 BEGIN PGM 5 MM 
1 TOOL DEF 1 L+0,000 R+10,000 
2 TOOL DEF 2 L-18,900 R+5,940 
3 TOOL DEF 3 L-30,130 R+6,650 
4 TOOL DEF 4 L-23,650 R+4,000 
5 TOOL DEF 5 L-13,100 R+3,000 
6 LBL 1 
7 CYCL DEF 7.0 DATUM SHIFT 
8 CYCL DEF 7.1 X+0,000 
9 CYCL DEF 7.2 Y+0,000 
10 TOOL CALL 0 Z S 1500,000 
11 L Z+6,000 R0 F9999 M05
12 L X+125,000 Y+50,000 R0 F9999 M 
13 LBL 0 
14 STOP M25
15 TOOL CALL 1 Z S 1500,000 
16 L X+0,000 Y+0,000 R0 F9999 M03
17 L Z+2,000 R0 F9999 M08
18 L Z+1,000 R0 F400 M 
19 LBL 2 
20 CYCL DEF 5.0 CIRCULAR POCKET 
21 CYCL DEF 5.1 SET UP-1,000 
22 CYCL DEF 5.2 DEPTH -6,000 
23 CYCL DEF 5.3 PECKG -3,000 F350 
24 CYCL DEF 5.4 RADIUS11,500 
25 CYCL DEF 5.5 F350 DR- 
26 CYCL CALL M 
27 L Z+0,000 R0 F500 M 
28 L Y+20,000 R0 F500 M 
29 CC X+0,000 Y+0,000 
30 C X+0,000 Y+20,000 DR- R0 F500 M 
31 L Y+29,000 R0 F500 M 
32 CC X+0,000 Y+0,000 
33 C X+0,000 Y+29,000 DR- R0 F500 M 
34 L Z+1,000 R0 F500 M 
35 L Y+49,000 R0 F500 M 
36 L Z-5,500 R0 F500 M 
37 L Y+44,250 R0 F500 M 
38 CC X+0,000 Y+0,000 
39 C X+0,000 Y+44,250 DR- R0 F500 M 
40 L Y+49,000 R0 F500 M 
41 L Z-11,000 R0 F500 M 
42 L Y+44,250 R0 F500 M 
43 CC X+0,000 Y+0,000 
44 C X+0,000 Y+44,250 DR- R0 F500 M 
45 L Y+49,000 R0 F500 M 
46 L Z-16,500 R0 F500 M 
47 L Y+44,250 R0 F500 M 
48 CC X+0,000 Y+0,000 
49 C X+0,000 Y+44,250 DR- R0 F500 M 
50 L Y+49,000 R0 F500 M 
51 L Z-22,000 R0 F500 M 
52 L Y+44,250 R0 F500 M 
53 CC X+0,000 Y+0,000 
54 C X+0,000 Y+44,250 DR- R0 F500 M 
55 L Y+49,000 R0 F500 M 
56 L Z-26,650 R0 F500 M 
57 L Y+44,350 R0 F500 M 
58 CC X+0,000 Y+0,000 
59 C X+0,000 Y+44,350 DR- R0 F500 M 
60 L Y+49,000 R0 F500 M 
61 L Z+2,000 R0 F9999 M 
62 LBL 0 
63 LBL 8 
64 CYCL DEF 7.0 DATUM SHIFT 
65 CYCL DEF 7.1 X+250,055 
66 CYCL DEF 7.2 Y-0,060 
67 LBL 0 
68 L X+0,000 Y+0,000 R0 F9999 M 
69 L Z+2,000 R0 F9999 M 
70 CALL LBL 2 REP 
71 CALL LBL 1 REP 
72 STOP M25
73 TOOL CALL 2 Z S 1500,000 
74 L X+0,000 Y+0,000 R0 F9999 M03
75 L Z+1,000 R0 F9999 M08
76 LBL 3 
77 CYCL DEF 5.0 CIRCULAR POCKET 
78 CYCL DEF 5.1 SET UP-1,000 
79 CYCL DEF 5.2 DEPTH -6,050 
80 CYCL DEF 5.3 PECKG -6,050 F500 
81 CYCL DEF 5.4 RADIUS11,560 
82 CYCL DEF 5.5 F400 DR- 
83 CYCL CALL M 
84 L Y+37,350 R0 F9999 M 
85 L Z-2,500 R0 F150 M 
86 CC X+0,000 Y+0,000 
87 C X+0,000 Y+37,350 DR- R0 F450 M 
88 L Y+38,000 R0 F500 M 
89 L Z+2,000 R0 F9999 M 
90 LBL 0 
91 CALL LBL 8 REP 
92 L X+0,000 Y+0,000 R0 F9999 M 
93 L Z+1,000 R0 F9999 M 
94 CALL LBL 3 REP 
95 CALL LBL 1 REP 
96 STOP M25
97 TOOL CALL 3 Z S 1500,000 
98 L X+0,000 Y+0,000 R0 F9999 M03
99 L Z+1,000 R0 F9999 M08
100 CYCL DEF 5.0 CIRCULAR POCKET 
101 CYCL DEF 5.1 SET UP-1,000 
102 CYCL DEF 5.2 DEPTH -6,030 
103 CYCL DEF 5.3 PECKG -4,300 F300 
104 CYCL DEF 5.4 RADIUS12,500 
105 CYCL DEF 5.5 F450 DR- 
106 CYCL CALL M 
107 CALL LBL 8 REP 
108 L X+0,000 Y+0,000 R0 F9999 M 
109 CYCL CALL M 
110 CALL LBL 1 REP 
111 STOP M25
112 TOOL CALL 4 Z S 1500,000 
113 LBL 4 
114 L X+0,000 Y+7,320 R0 F9999 M03
115 L Z+1,000 R0 F9999 M08
116 L Z-8,000 R0 F500 M 
117 CC X+0,000 Y+0,000 
118 C X+0,000 Y+7,320 DR- R0 F800 M 
119 L Z-1,100 R0 F9999 M 
120 L Y+10,650 R0 F500 M 
121 CC X+0,000 Y+0,000 
122 C X+0,000 Y+10,650 DR- R0 F800 M 
123 L Z+1,000 R0 F9999 M 
124 L Y+32,350 R0 F9999 M 
125 L Z-1,200 R0 F800 M 
126 CC X+0,000 Y+0,000 
127 C X+0,000 Y+32,350 DR- R0 F800 M 
128 L Z+1,000 R0 F9999 M 
129 L X+0,000 Y+0,000 R0 F9999 M 
130 CC X+0,000 Y+0,000 
131 LP PR+20,500 PA+90,000 R0 F9999 M 
132 CYCL DEF 1.0 PECKING 
133 CYCL DEF 1.1 SET UP-1,000 
134 CYCL DEF 1.2 DEPTH -3,400 
135 CYCL DEF 1.3 PECKG -3,400 
136 CYCL DEF 1.4 DWELL 0,000 
137 CYCL DEF 1.5 F250 
138 CYCL CALL M 
139 LP PR+20,500 IPA+45,000 R0 F9999 M 
140 CYCL CALL M 
141 LP PR+20,500 IPA+45,000 R0 F9999 M 
142 CYCL CALL M 
143 LP PR+20,500 IPA+45,000 R0 F9999 M 
144 CYCL CALL M 
145 LP PR+20,500 IPA+45,000 R0 F9999 M 
146 CYCL CALL M 
147 LP PR+20,500 IPA+45,000 R0 F9999 M 
148 CYCL CALL M 
149 LP PR+20,500 IPA+45,000 R0 F9999 M 
150 CYCL CALL M 
151 LP PR+20,500 IPA+45,000 R0 F9999 M 
152 CYCL CALL M 
153 LBL 0 
154 CALL LBL 8 REP 
155 CALL LBL 4 REP 
156 CALL LBL 1 REP 
157 STOP M25
158 TOOL CALL 5 Z S 1500,000 
159 LBL 5 
160 L X+0,000 Y+0,000 R0 F9999 M03
161 L Z+1,000 R0 F9999 M08
162 CC X+0,000 Y+0,000 
163 LP PR+20,500 PA+90,000 R0 F9999 M 
164 CYCL DEF 1.0 PECKING 
165 CYCL DEF 1.1 SET UP-1,000 
166 CYCL DEF 1.2 DEPTH -22,000 
167 CYCL DEF 1.3 PECKG -4,000 
168 CYCL DEF 1.4 DWELL 0,000 
169 CYCL DEF 1.5 F100 
170 CYCL CALL M 
171 LP PR+20,500 IPA+45,000 R0 F9999 M 
172 CYCL CALL M 
173 LP PR+20,500 IPA+45,000 R0 F9999 M 
174 CYCL CALL M 
175 LP PR+20,500 IPA+45,000 R0 F9999 M 
176 CYCL CALL M 
177 LP PR+20,500 IPA+45,000 R0 F9999 M 
178 CYCL CALL M 
179 LP PR+20,500 IPA+45,000 R0 F9999 M 
180 CYCL CALL M 
181 LP PR+20,500 IPA+45,000 R0 F9999 M 
182 CYCL CALL M 
183 LP PR+20,500 IPA+45,000 R0 F9999 M 
184 CYCL CALL M 
185 LBL 0 
186 CALL LBL 8 REP 
187 CALL LBL 5 REP 
188 CALL LBL 1 REP 
189 STOP M25
190 STOP M02
191 END PGM 5 MM
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help!- 18i-T = 368 B AXIS: Serial data error (int) padobranac Fanuc 6 03-16-2009 06:04 AM
Sending a program Fanuc 18-m parity error Tom Zegers Fanuc 7 01-20-2009 06:36 AM
Heidenhain 151B featurecam post processor maybe4x Bridgeport and Hardinge Mills 0 06-20-2008 06:06 PM
Heidenhain Tnc 150b, 151a, Or 151b Control Gute General Metalwork Discussion 2 09-17-2007 08:07 AM
Sending code to the Fadal CNC errors? HCG General CNC (Mill and Lathe) Control Software (NC) 2 11-11-2005 01:02 PM




All times are GMT -5. The time now is 06:00 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