Set up Techman Controller¶
The Techman Controller can be set up in just a few steps. During operation, there are a few details to consider for native programs, for example. The following configuration was tested with controller software version 1.72, 1.76 und 2.14.
Network configuration¶
First, an Ethernet connection must be established between the robot controller and the Mikado controller. This must be done on port 1* on the Techman Controller, as it only works with the Listen Node. A fixed IP address and a corresponding subnet mask must then be set for both the Mikado Controller and the robot controller. The network configuration of the Mikado Controller is explained in more detail in section Network adapter. For the Techman Controller, you can adjust the TCP/IP settings under the menu item System, then Network. Further information on the network configuration of the controller can be found in the manufacturer’s user manual.
Warning
Make sure that the IP addresses of the Mikado Controller and Techman Controller are in the same address space and that the subnet masks match.
Hint
Port 1 corresponds to Local Area Connection 9 on the network side. The robot controller should be accessible from the Mikado controller via ping if communication is successful.
Establish Modbus connection¶
The current Modbus status can be called up and set under the menu item Settings, then Connection. The IP address of the Mikado controller must be permitted on the Techman controller and the Modbus status must be activated. The following steps are necessary for this:
The Modbus status must first be deactivated.
Then add the IP address of the Mikado controller with activated writer permission under IP filter.
And finally reactivate the Modbus status. The Status should be followed by Enable.
Figure: Modbus Enable setting¶
Hint
The console can be opened in the top right-hand corner. If you deactivate and reactivate the Modbus server, its current IP is also written there. After changing the TCP/IP connection settings, the Modbus server must also be restarted.
Create project¶
Mikado requires a project flow with Listen Node in order to be able to communicate at runtime. This must be active so that Mikado can execute robot movements. However, custom programs can also be executed (see below). A minimal flow would consist of Start, Listen and Stop nodes. A somewhat more complex sequence is shown below.
Listen Node with debug display and possibility to return¶
The process allows debug messages to be shown to the user via display nodes. More important, however, is the process via an if node. This tests the state of the var_stop variable and decides where the program continues. The variable can be written from the Mikado program, see Execute robot program and thus the Techman flow can be controlled.
Test project¶
Via Diagnosis, then Stepping the program/flow can be started as a test and run through step by step. The TCP/IP connection with address should also be displayed in the console as soon as the Listen Node is reached. From this point on, the connection to Mikado should also work. I.e. if you now start a Mikado cell or if it is already running, the status light for the robot should turn green.
Listen Node in the console¶
Set project speed and activate automatic mode¶
All executable projects can be viewed in the “Run Setting”. The current display in the file means that this project is currently being executed, the tested display means that this project may be executed in automatic mode.
If the project is to be executed in automatic mode, it must pass the test run. The test run is carried out in manual mode. The following steps are necessary for this:
Go to the page project and open the chosen project file
On the open project page, press the Play button on the teach panel.
Set the speed to the desired value with +/- on the teach panel.
Once you have set your preferred speed, press and hold the M/A mode switch button (do not stop the project).
When the two display positions on the teach panel start to flash, press the +/- buttons in this order: + - + + -.
Now the project can be stoppen
After unlocking, the robot switches to auto mode to complete the test run. The robot saves the speed at this point as the project speed.
Go to the Run Settings page to check that the project speed has been updated
Switch to automatic mode using M/A + - + + -
Hint
Remember that the project speed will be reset to 10% if you carry out the test run again in manual mode. You must perform these steps again to set the project speed.
Troubleshooting¶
As the robot program required for communication with Mikado contains a continuous loop, the test run will never end. In order to obtain the tested status nevertheless and thus be able to start the program in automatic mode, the new program can initially consist of the blocks
Start -> Wait -> Stop
exist. The following steps are then carried out:
The test run is started (press the Play button on the teach panel when the project page is open).
While the wait block is active, set the project speed and confirm with M/A + - + + -.
After the time has expired, the project is tested.
As the tested status is not lost by changes, the wait block can now be replaced by a list block (or by several blocks as in the example illustration Listen Node with debug display and possibility to return).
Writing Techman variables and executing programs¶
To write variables and execute programs, the Execute robot program task is used in the Mikado program. Due to Techman’s sequential flow programming, native robot programs must be executed slightly differently than with other robots. Mikado writes the variables and then leaves the Listen Node, giving up control. With the help of the written variables, the Techman program/flow can then execute further movements in a subflow, for example. Finally, you have to go back to a Listen Node on the Techman side.