New to the Fadal / Calmotion controller.
Installed Renishaw TS27 tool setter and OMP40-2 Probe with OMI02t receiver on my recently purchase 8030 that has the Calmotion 527F.
Now trying to learn Macro language for this controller. Not much Macro programming experience but have some. Have looked in the Fadal Macro and Probing Manuals I found online got some basic information but not much on what actual commands are available. Have done some online research but are there any good sources for lists of commands and formats available? Hearing many of the old MS Basic Commands will work also?
Here are a few basic questions I have that would get me started.:
Clearing variables online seeing CLR R0:R9 would clear all the R variables. Is #CLEAR or #CLR correct format?
Organizing text on Screen is the #LOCATE 5,2 command valid to locate text at Row 5 and Column 2?
Clearing Screen ready for next lines of text will #CLS or #ERASE work?
If I define a tool number as the macro Variable R2. Using that in a tool change is the correct format
M6 T+R2 or M6 T(R2) or M6 T#R2 ?
Also have seen that I need to make a machine move after 16 lines of code or the macro will fail is this correct?
Is there any other way other than a Machine move to Clear the buffer that will let the macro continue?
Thanks
Thank
See the attached manual. The 527F works exactly like the Fadal control.
To clear variables you can use the #CLEAR command as in:
#CLEAR V1-V20 This line will zero variables V1 through V20
Also, you can explicitly clear a variable like:
#V11 = 0
or
#R1 = 0
To use parametric programming with in a G code line, you can only use the R variables. So to use a variable T# with a tool change you would program as follows:
M6 T+R2
The 527F does not have the requirement to move the axis for every 16 no motion lines of code.
Although there are many aspects that are similar to BASIC, only the commands in the manual are supported. There are no macros #CLS or #ERASE
The manual has many programming examples to help see the formatting of using macros.