Implementation of 9axis cnc

we are developing the 9axis cnc machine with the arnco ext library and also have a license for it. since there are only maximum 5 axis block in mpCNC (MpCnc5Axis) block, we are planning to use MpCncX (MpCncXFlex) block.
while simulating 9 axis project, after enabling the MpCncXFlex block, getting the error as -1064239103 but after ErrorReset the block is running fine, but the axis interpolation is not working properly. We have tested with the below code, At N03 axis A is not ending in sync with other axis.

%001 (CncProgram)

N01 G90 G01 A10 B10 C10 U10 V10 W10 X10 Y10 Z10 F500
N02 G90 G01 A20 B30 C40 U50 V60 W70 X80 Y90 Z100 F500
N03 G90 G01 A50 B50 C50 U50 V50 W50 X50 Y50 Z50 F500

N999 M30

Questions:
Is MpCncXFlex block is the correct block to use with arnc0 ext library or some other block needs to be used (any recommendation is welcome ).

Hello Harsha,

first the question what you’d like to achieve?

You have 9 axis, but how many of the are planned to be in a transformation and are relevant to the kinematic?

E.g. you can use the 3/4/5 axis CNC and then use the other axis as slave axis.
You can just use your 3-axis CNC and also move the slave axes from within the CNC program.

If you really want to interpolate 9 axis, you’ll have to create your own user transformation, since there is no 9-axis kinematic I know of…

Secondly: Is it a “new” project? If yes, I’d switch to mappMotion since arnc0(Ext) is not “state of the art”.

Best regards,

Hello,
For new Projects i would strongly recommend to use MappMotion. ARNC0 is in a Feature Freeze State and should only be used for existing projects or if there is a good reason not to use MappMotion (for example missing or incompatible features or available Licences).

For ARNC0:

  • About your Question whether the MpCncFlex is the right Interface to use.
  1. The MpCncFlex introduces some Homing-Features if a Transformation is used and reduces the programming effort in comparrisson to ncactions().

  2. The MpCncFlex has no influence to the Movement which is generated by the PathPlanner.

  3. For a CNC with 9 Axes you can use the MpCncFlex, it should not be an issue.

I currently have no standard issue in mind which creates this error you get.
I would recommend to disable the Task with the Mapp-Functionblock and test the behaviour with the ANRC0 Test-Window if the issue with axis A is still there.

If you want to go with ARNC0 and still you have the issue. We need the whole ARNC0 CNC Init-File Declaration to have a look at.

Greetings
Michael

Do we need a different license other than 9 axis license to to use the MpCncFlex block because previously we have used the simulation to test the configuration, but if we try that configuration on a real hardware we are getting the axis group error(Till 4 axis MpCncFlex is working fine).

Hello,

The licence on your Dongle 1TG8CNC0000.01-01 is a ARNC0 1 Channel up to 9 Axis.

As you previously mentioned this will also need the request of the ARNC0 ext Library at B&R office to get the required installation of the ARNC0, due to export limitations. You obviously have it, because it was running in the simulation.

For Legacy Mapp you need an own Licence to use these Functionblocks, but as far as i remember these days if the licence was not present you only got a red blinking LED on the PLC.
There were special licence Ordercodes for MappCnc or you could use the 1TGMPFLAT.02 as a Flat Licence for all Legacy Mapp Functionblocks.

If you need the TRF Library in your Application you would need an additional licence. But as you mentiond, you use a CNC, i am not sure if you use this one.

I am not sure if the licence is your issue, because from the screenshot of the Technology Guarding Window i can’t diagnose the real issue.

Please have a look in the logbooks for errors, relevant to the start up of the ARNC0.


One typical issue between simulation and real PLCs is the requirement of the Broadcast Channel on the Powerlink.

Greetings
Michael Bertsch

1 Like