Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ExtruderSpeed() function for 3D printing with ABB IRB120
#11
(12-30-2020, 01:04 PM)Jeremy Wrote:Hi Otto,

This is because the Motoman post-processor is limited to 7 characters, anything longer than that will be truncated.
What you can do is go to your "Program Events" in your "3D printing project".
On the right, you will see "Extrude(%1)", simply enter "E(%1)" and you just saved 6 characters for the numbers.

Let me know if it helps.
I never job calls with parameters on a Motoman, so I don't know what is the exact syntax.
If anything, I can help you with that.

Jeremy

Hi Jeremy,


in Yaskawa, it is not possible to use numbers with decimals as an Argument, Only Integers are allowed. But In ROBODK I become the speed of extruder as integer and decimal value for example :

Code:
Call Extruder (1510.560)


Is it Possible to get the number only in Integer form like:


Code:
Call Extruder(1510)

?
Please see the attached Photo?
BR


Attached Files Thumbnail(s)

#12
Hi Otto,

Here's a new post-processor that should remove the decimal.
You can then divide by 100 000 once you retrieve the value in the controller.

Hope it helps.

Jeremy


Attached Files
.py Motoman_Extruder_Decimal.py(Size: 42.28 KB / Downloads: 319)
Find useful information about RoboDK and its features by visiting our2022世界杯32强赛程表时间 and by watching tutorials on ourYoutube Channel.


#13
(01-20-2021, 05:30 PM)Jeremy Wrote:Hi Otto,

Here's a new post-processor that should remove the decimal.
You can then divide by 100 000 once you retrieve the value in the controller.

Hope it helps.

Jeremy

Hi Jeremy,
I added the new post-processor to my program but unfortunately, it didn't solve my problem. I still have the decimal!

Otto
#14
(01-20-2021, 05:30 PM)Jeremy Wrote:Hi Otto,

Here's a new post-processor that should remove the decimal.
You can then divide by 100 000 once you retrieve the value in the controller.

Hope it helps.

Jeremy

Hi Jeremy,

the problem is partially solved.
At first, it didn't work, because I found in the Python File that the dot is missed (.)
Code:
# Remove special characters
for c in r'-[]/\;,><&*:%=+@!#^()|?^ ':
progname = progname.replace(c,'')

After Adding the dot the problem is solved.

But I got now the program in such form:

Code:
CALL JOB:EX61356
MOVL C00341 V=60.0 PL=1
CALL JOB:EX61576
MOVL C00342 V=60.0 PL=1
CALL JOB:EX61576
MOVL C00343 V=60.0 PL=1
在日本安川电气,它是不可接受的职业gram without space after program name (EX), and also the argument has to be between Brackets like below:
CALL JOB:EX (61356)
I tried to give the brackets and space in the Program Events but no gain...
can you please guide me to solve this issue?
THANX!
Otto
#15
Hi Otto,

Could you join your .rdk station so that I can test the modification before sending it to you.

Jeremy
Find useful information about RoboDK and its features by visiting our2022世界杯32强赛程表时间 and by watching tutorials on ourYoutube Channel.


#16
(01-26-2021, 05:34 PM)Jeremy Wrote:Hi Otto,

Could you join your .rdk station so that I can test the modification before sending it to you.

Jeremy

Hi Jeremy,

Please find the attached file.

Thank you:-)


Attached Files
.rdk Motoman_SPS_LOGO.rdk(Size: 6.61 MB / Downloads: 259)
#17
Hi Otto,

I think that this one should work.



Hope it helps.

Jeremy


Attached Files
.py Motoman_Extruder_Decimal.py(Size: 42.39 KB / Downloads: 289)
Find useful information about RoboDK and its features by visiting our2022世界杯32强赛程表时间 and by watching tutorials on ourYoutube Channel.


#18
@Jeremy

Hello. Is it possible for Robo DK to generate extrusion commands in a way that Marlin firmware understands? For example instead of ExtruderSpeed or Extrudelength, is it possible to show G1 Evalue and F value from Slic3r in the code generated by Robo DK?
#19
Hi Fahadak89,

I'll need a bit more information to answer you properly on this one.

Can you provide de G code from Slic3r and provide a small example code of what you would like RDK to generate.
That would help point you in the right direction.

Jeremy
Find useful information about RoboDK and its features by visiting our2022世界杯32强赛程表时间 and by watching tutorials on ourYoutube Channel.


#20
Hello Jeremy,

The G code file is attached with this message. I am having on more problem. When I am saving the robot program through Robo DK, it removes the decimal point from the extruder values. When I am showing the instructions of 3D printing program in the software environment, I can see the decimal with every extruder number but when I save the program, the decimal is gone. I am attaching the code file as well for your reference.


Attached Files
.mod heart3DPrinting.mod(Size: 1.02 MB / Downloads: 303)
.txt Heart G Code.txt(Size: 155.09 KB / Downloads: 378)




Users browsing this thread:
1 Guest(s)