Jasond0530
-
Posts
98 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
eMastercam Wiki
Blogs
Gallery
Events
Posts posted by Jasond0530
-
-
So try #103=#3012 and then use #103 in your evaluation
This is what I figured, referencing something that is changing every second wont help!
The variables in the #500+ range are better suited to your application (persistent part count across shifts) since they will survive a power cycle.
I don't see a path to N1 or N2 in your program. What are they for?
The #500 are better, just got to work out which ones the Renishaw probe are not using. The N1and N2 were from earlier attempts.
Now have it working, with a few extra bits that should store the previous shifts count in another variable and reset the new shifts count.
%
O9007(COUNTER)
#105=#3012
#106=#3011
N100
IF[[#105GT060000]AND[#105LT180000]]THENGOTO3
IF[#105LT055959]GOTO4
IF[#105GT180000]GOTO4
GOTO300
N3
#100=#100+1(DAY COUNTER)
IF[#101EQ0.0]GOTO6
#103=#101
#101=0.0
N6
GOTO300
N4
#101=#101+1(NIGHT COUNTER)
IF[#100EQ0.0]GOTO7
#102=#100
#100=0.0
N7
N300
M30
%
I have also added this to the M30 call set in the M/c parameters, i.e M30 will call and run this protected sub and then end and rewind after it is read.
- 1
-
Had this problem before, think there is a registry fix for it. All I do now is just drag the .stp file into an open session of x9 and it opens!!!
- 1
-
I'm trying to make a macro counter that will count parts using #100 between 06.00 in the morning and 18.00 in the evening and #101 for counting nightshift parts between 18.01pm and 05.59am.
think I have the dayshift sorted but getting hung up on the nightshift counter!!
O7999(COUNTER)
(#3012 SYSTEM CLOCK)
N100
IF[[#3012GT060000]AND[#3012LT180000]]THENGOTO3
IF[[#3012LT060000]AND[#3012GT180000]]THENGOTO4
N200
N1
IF[#3012LT055959]GOTO4
N2
IF[#3012LT180000]GOTO3
GOTO300
N3
#100=#100+1(DAY COUNTER)
GOTO300
N4
#101=#101+1(NIGHT COUNTER)
N300
M99
can anybody see where I'm going wrong or even point me in the right direction
TIA
-
-
used these in past, only good if your using 1 monitor on 2nd pc.
-
reboot didn't help!! sorted it now!! it was a third party app called actual multiple monitors( gives you a second taskbar on dual monitors)
stopped and restarted, all fine.
-
been fine for months, only started today. had no graphics updates either.
-
-
Has anybody used this font for engraving, or know of a similar font that I could
centre line m/c due to this one being a box type font!!!
-
I have this in my Mori NH post, and set with a misc interger
O0000(T)
(DRAWING NUMBER : )
(ISSUE/REV NUMBER : )
(MCX FILE - )
(NC FILE - T.NC)
(30-01-15 10:05)
G0G90G80G40G94G49G17G21
G10G90L2P1X-365.Y0.Z0.B0.
/M93(BUZZER & LIGHT ON)
M1(OPTIONAL STOP-NOT ALARM)
M94(BUZZER & LIGHT OFF)
M161(PALLET 1)
IF[#147NE1]THEN#3000=123(PALLET ERROR)
N1T15M6(8MM ALLY CARB )
G0G90G54X212.5Y-70.3S10000M3
M11
B0.0(MCX B OUTPUT = B0.)
M10
G17T15
G43Z50.H15M8
G8 P1
Z6.
G1Z5.F200.
G41D15X217.55F800.
G3Z4.25I-5.05J0.
Z3.5I-5.05J0.
Z2.75I-5.05J0.
Z2.I-5.05J0.
Z1.25I-5.05J0.
Z.5I-5.05J0.
Z-.25I-5.05J0.
Z-1.I-5.05J0.
Z-1.75I-5.05J0.
Z-2.5I-5.05J0.
Z-3.25I-5.05J0.
Z-4.I-5.05J0.
Z-4.75I-5.05J0.
Z-5.5I-5.05J0.
Z-6.25I-5.05J0.
Z-7.I-5.05J0.
Z-7.75I-5.05J0.
Z-8.5I-5.05J0.
Z-9.25I-5.05J0.
Z-10.I-5.05J0.
Z-10.75I-5.05J0.
Z-11.5I-5.05J0.
I-5.05J0.
G1G40X212.5
G0Z25.
Z50.
G8 P0
M9
M5
G30G91Z0.0
M162(PALLET 2)
IF[#147NE2]THEN#3000=123(PALLET ERROR)
-
Are you in 2d or 3d? Have your Z set to something other than 0? Any of it splines.
-
Do you have some sample G-code of what you are wanting the post to output.
The code is just two positions repeated in 8 different work offsets!
G0G90G54X39.162Y#1S4000M3
M11
B0.
M10
G17T5
G43Z50.H10M8
G98G81Z-15.05R2.0F200.
Y#2
G80
G0Z100.0
The code is just a repeat of this!
The variables are set in a slave program.
-
Had a search on forums, no joy in finding anything! I have to post a drilling op( 2 holes, 2 operations) and need the positions posted as variables due to main program being in data server, and the need to fine tune from the machine(plunging end mill into material to achieve slot length on y axis)
Is this possible?
-
Surface rough contour has stepdown!
-
Multiaxis training in the morning for two days, Dmg evo 60 arriving in two weeks!
Hoping to learn a whole lot of new stuff!!!
-
Would drawing a tangent parallel line do it? It's not analyze but works for me!
-
Try create, Drafting, Dimension, Point! works well for our turners.
-
If it is a 2d path but set to 3d you should be able to set sub program's on the depth cut tab!
-
Can you not just change to metric in the config? It should ask to scale your part! I've never had a problem doing this and feeds automatically change.
Or is this a post setup issue?
-
Within the tool path would be good, but I usually , if needed spilt an op to certain depths and add a manual entry op! Works for me!
-
You should have a "N" search button. If you do, single block into data server prog and hit search for desired "N" for tool call needed!
- 1
-
The best way I learnt the new tool paths was to go with what I knew(legacy)! As I am my own programmer/setter and operator(sometimes!)
I would get machine set, go back to the pc and play with the new ones while it was running, once I thought it looked good on screen and time permitting actually run the the new tool paths on part that had already been cut, without coolant! If it looked good run the next one with new paths!
Only problem was having te repost prog with much higher feedrates and shorter cycle times!
-
Did a full scan with MS last week, first time run a full scan on a 6 month old pc and it sort of killed the file open x style option!!!
If I open a file in X style I get slow load times and when I try to edit m/c deff I get no response for a few minutes! Tool paths are fine!All files are on the c drive.
Changed it to windows style and all is ok! Thinking of going back to avg free :
-
How to associate X9 in opening .step files as default?
in Industrial Forum
Posted
http://www.emastercam.com/board/topic/83186-associating-a-stp-file-to-open-in-mastercam-x9/
this may be of help!!