šŸ“„ Nachi Preparation (v2.4)

Nachi Preparation

In this course you will learn how to prepare robots from Nachi for using Mimic. 


Please note that precision of the use of the robot with Mimic is dependent on the calibration of the robot itself. Not all robots are calibrated by default to satisfy all application requirements. Please check the calibration of the robot prior to use.

Mimic for Nachi - Robot Preparations

Mimic Core is compatible with the follwoing Nachi Controllers:

  • FD Controller (external tracking card needed)

  • CFD Controller (external tracking card needed)

  • CFDs Controller

  • CFDq Controller

What you need prior to Mimic installation

ā€

  • External tracking module (Nachi external tracking card - only applicable for FD and CFD Controllers)

    The Nachi controller supports: Intel PWLA8391GT PRO 1000GT Network Card Ethernet PCI RJ45 (or other card with Intel PWLA8391GT).

  • Gigabit switch (at least 3 ethernet ports) 

  • Ethernet cables (2 extras)

  • Please see:  ļ»æšŸ“„ Mimic Controller Setup (v2.4)


Known unsupported models

  • CZ10

  • All Nachi cobots

šŸ’”

Note: The robot code needed is on the USB in the package. It is always possible to get the latest robot code on Nordbo Update Toolļ»æā¬‡ļø Software Download.

ā€

Hardware Setup

Connect a Gigabit switch to the Mimic Controller connect 2 ethernet cables to the switch and the robot.

Wire the Mimic  Controller to the Robot

  1. Install the external tracking network card.

  2. Connect the switch to the Mimic Controller

  3. Connect the 2 ethernet cables to the switch and the robot

    - One from the external tracking network card to the switch

    - One from the main network card to the switch

  4. Restart the robot.

ā€

How to Configure a Nachi Robot

Login and Change the Permission on the Robot

Change the permission on the Nachi robot to the specialist level.

  • Press ā€œRā€ on the teachpad,

  • enter the code ā€œ314ā€,

  • press ā€œEnterā€,

  • enter the code ā€œ12345ā€ and

  • press ā€œEnterā€

Disable Memory Protection

  • Change permission on the robot to be "specialist"

  • Navigate to ā€œConstant Settingā€ > ā€œ1 Control Constantsā€ > ā€œ11 Memory Protectionā€.

  • Hold down the physical Enable button on the teachpad and switch the memory protection to ā€œDisabledā€.

  • Click on ā€œCompleteā€ to save the changes.

  • Restart the robot.

Setup the Extend Ethernet

  • Change permission on the robot to be "specialist".

  • Navigate to ā€œConstant Settingsā€ > ā€œ8 Communicationsā€ > ā€œ7 Extend Ethernetā€.

  • Set extend ethernet to ā€œEnabledā€, the IP address to 192.168.1.51 (default) and the Subnet mask to 255.255.255.0.

    Note: The IP address can be different from the default but need to be on the same subnet as the Mimic Controller.

  • Press ā€œCompleteā€ to save the change.

  • Restart the robot.

Enable Memory Protection

  • Change permission on the robot to be "specialist".

  • Navigate to ā€œConstant Settingsā€ > ā€œ1 Control Constantsā€ > ā€œ11 Memory Protectionā€.

  • Hold down the physical Enable button on the TeachPad and switch the memory protection to ā€œEnabledā€.

  • Press on ā€œCompleteā€ to save the changes.

  • Restart the robot.

ā€

Setup the External Tracking

  • Change permission on the robot to be "specialist".

  • Navigate to ā€œConstant Settingsā€ > ā€œ45 External Trackingā€.

  • Set the IP address to 192.168.1.20. 

  • Set the Port to 2568, 

  • User(Digital) inputs: This is set to the start index of which inputs Mimic can read. Mimic reads 64 inputs so if the index is set to 21 it will read the inputs 21 - 84. Setting this index to 0 will prevent Mimic from reading any inputs.

  • User(Digital) outputs: This is set to the start index of which outputs Mimic can set. Mimic sets 64 outputs so if the index is set to 21 it will set the outputs 21 - 84. Setting this index to 0 will prevent Mimic from setting any outputs.

  • Set Timeout to 300 ms. 

  • Set Parallel movement 0.0mm, 0.0mm. 

  • Set Rotational movement 0.00deg, 0.00deg. 

  • Set Joint angle to 0.00deg. 

  • Press complete to save

  • Restart the robot.

ā€

Setup the Main Ethernet Connection

  • Change permission on the robot to be "specialist".

  • Navigate to ā€œConstant Settingsā€ > ā€œ8 Communicationsā€ > ā€œ2 Ethernetā€ > ā€1 TCP/IPā€

  • Hold down the physical Enable button on the Teachpad and change the DHCP to ā€œDisabledā€

  • IP to 192.168.1.50.

  • The IP address can be different from 192.168.1.50, but it needs to be the same as the subnet on the Mimic Controller and the IP for the Extend Ethernet.

  • Subnet mask to 255.255.255.0.

  • Press complete to save.

  • Restart the robot.

Transfer Mimic Program to the Robot

Transfer the robot programs to the robot in the ā€œProgramā€ folder.

This can be achieved using ftp. The files can be found on the USB. 

ā€

FTP (Optional)

  1. Change permission on the robot to be "specialist".

  2. Enable FTP. Navigate to ā€œConstant Settingsā€ > ā€œ8 Communicationsā€ > ā€œ2 Ethernetā€ > ā€3 FTPā€ Change FTP Service to ā€œEnabledā€.

  3. Connect a PC to the robot via ethernet cable.

  4. Open a file browser

  5. Go to ftp://192.168.1.50

  6. You should now be able to add files to the robot by using the file browser. Add them to the program folder.

  7. Restart the robot.



The files to transfer are:

Change the filenames of MZ07-A.*** to the robot model used


Example: If using a MC20 the MZ07-A.000 file needs to be named MC20-A.000.

  • Public.inc (Global variable definitions)

  • USERTASK-A.000 (TCP communication with Mimic Controller)

  • USERTASK-A.001 (UDP communication with Mimic Controller)

  • GLOBALCONST.INC (Global numeric constants variable definitions)

  • INSTRUCTIONSERVER.INC (Numeric constants and variable alias for USERTASK-A.000)

  • LOGSERVER.INC (Numeric constants and variable alias for USERTASK-A.001)

  • GENERALSERVER.INC (Numeric constants for USERTASK-A.000 and USERTASK-A.001)

  • BOXCOMMANDS.INC (Numeric constants for USERTASK-A.000 and MZ07-A.000)

  • VARIABLEALIAS.INC (Variable alias names for MZ07-A.000 and MZ07-A.001)

  • MZ07-A.000 (Robot Program for execution of Mimic Controller commands)

  • MZ07-A.001 (Robot Program for execution of Mimic Controller trajectories)

  • MZ07-01-A.002 (Robot Program to Run Robot Sub-routines. See details further down)

  • MZ07-A.072 (Mimic main program)

  • MZ07-A.071 (Example on how to play a Mimic program from the robot. Calls program 70)

  • MZ07-A.070 (Program 70)

  • MZ07-A.081 (Example on how to start Track from the robot. Calls program 80)

  • MZ07-A.080 (Program 80)

  • MZ07-A.091 (Example on how to start Teach from the robot. Calls program 90)

  • MZ07-A.090 (Program 90)

  • MCC_LOCALVARS.INC (Local variables for MZ07-A.000)

  • USERTASK0_LOCALVARS.INC (Local variables for USERTASK-A.000)

ā€

Restart the robot.

All the included files are only loaded after robot restart.

ā€

Compile the robot programs

  1. Change permission on the robot to be "specialist".

  2. Navigate to ā€œService Utilitiesā€ > ā€œ9 Program Conversionā€ > ā€œ8 Languageā€.

  3. Select the robot programs to compile.

    USERTASK-A.000

    USERTASK-A.001

    MZ07-A.000

    MZ07-A.001

    MZ07-01-A.002

    MZ07-A.070

    MZ07-A.071

    MZ07-A.072

    MZ07-A.080

    MZ07-A.081

    MZ07-A.091

    MZ07-A.090

  4. Restart your robot.

ā€

Using sub-routines with Mimic on NACHI

It is possible to call sub-routines from the Robot when creating a complete Program in Mimic's Library. See ļ»æšŸ“„ Library 2.2 (v2.4).

To do this on Nachi, use the provided Robot Program MZ07-01-A.002. This is a switch case.

The "Case number" corrosponds to the program ID used in the Mimic Program (created in the Mimic Library). Hence, if the Mimic sub-routine ID = 1, the Nachi Robot Program runs CASE 1.

REM "Run robot job"

INH

SWITCH A1!

  CASE 1

(write code here)

  BREAK

  CASE 2

(write code here)

  BREAK

  CASE 'Nothing

  BREAK

ENDS

END

It is possible to write the intended behaviour directly in the CASE. It is also possible to call an existing NACHI program on the robot.

Example: Calling existing NACHI program with number 30, in CASE 1:

REM "Run robot job"

INH

SWITCH A1!

  CASE 1

  CALLP 30

  BREAK

  CASE 2

  BREAK

  CASE 'Nothing

  BREAK

ENDS

END

ā€

Your Nachi robot is now ready to use Mimic.

ā€