Hướng Dẫn Sử Dụng HRSim Tiếng Anh
Hướng Dẫn Sử Dụng HRSim Tiếng Anh
HRSim software operation manual for the arm simulation environment of Shangyin
1
Machine Translated by Google
content
1 Introduction to the software and instructions for using the environment ................................................ .................................4
2.4.1 Add arm and arm-related operation settings [Robot] ................................................ ................................. 17
2.4.2 Importing the object image file [Object] ................................ ...................................................... ........ 31
2
Machine Translated by Google
4.1 Newly added arm operation and importing object exercises ................................. .................................................95
4.2 Modularization of tray equipment... ...................................................... ..................................................97
4.3 Importing workpieces in the tray, drill.. ...................................................... .................................102 Exercise of
4.4 picking and placing materials at the end of arm installation.. ...................................................... .................................104
4.5 Exercises for the arm erection on the external axis of the parallel track ........................................................
104 ...................................................... ............ 108 4.6 The arm picks up the workpiece and moves it to the machine tool . .................................
3
Machine Translated by Google
HRSim is the abbreviation of HIWIN Robot Simulation, which is a robot simulation environment software developed by Shanghai Yin Technology. This manual
Using HRSim to bring in drawings to build an accurate 3D model can actually simulate the factory environment, as shown in Figure 1-1.
Action simulation of peripheral equipment, production line planning and work area configuration...etc.
Quickly evaluate the benefits of automated system introduction and reduce resource loss caused by incomplete planning.
HRSim can create a 3D configuration model of an automation system by loading a 3D drawing file alone, and teach it offline.
way to easily evaluate the accessibility of the arm in the system; or with the function of virtual controller to simulate the HIWIN robot hand
The motion control system of the arm further realizes functions such as program writing, signal gripping, and object picking and placing, and further evaluates the overall system.
4
Machine Translated by Google
system health.
Unzip the downloaded compressed file and execute the HRSim.exe application (Figure 1-2), see Figure 1-3 HRSim start screen
If you need to close the HRSim software, please save the file and click the "X" in the upper right corner to close the software.
5
Machine Translated by Google
Unzip the downloaded compressed file, there are preset folder categories to store different image files and program data (Figure 1-4),
HRSim will access the required graphic files and program data according to different folders. There are mainly 4 folders classified as follows:
(3). "hrb" folder: Store the robot HRSS (.hrb) program on the local side.
The set HRSim combination file will be stored in the file folder
The robot program written on the local side is placed in the hrb folder
Put the STL image files of peripheral equipment and objects into the STL folder
Among them, there are 3 folders in the "stl" folder to place different types of STL graphics files (Figure 1-5), which are classified as follows:
(a). "External" folder: External axis, applied to linear external axis or rotary axis.
(b). "Object" folder: objects, applied to surrounding objects or objects fixed to the arm.
6
Machine Translated by Google
This chapter describes the interface used by the HRSim software, which can be divided into the following five areas (Figure 2-1):
2.5 Tree view window: arm system structure display, program task list and parameter setting table.
function menu
Function tab
tree view
7
Machine Translated by Google
The display and setting of the simulation window are shown in Figure 2-2: including viewing angle switching, screen zoom adjustment, display/hide arm range display
display, show/hide track path display, floor display settings, coordinate system adjustment, etc.
The world coordinate system is displayed in the upper right corner. The red arrow represents the positive X-axis direction, the green arrow represents the positive Y-axis direction, and the blue arrow represents the positive Y-axis direction.
FPS: Frames per second, the number of frames displayed per second, the frame rate measurement unit.
World coordinates
FPS: The rate at which the simulated screen is updated per second
left side view 7 different standard viewing angles for free choice of desired angle.
8
Machine Translated by Google
Click the following buttons to adjust the screen, provide different ways to switch the view angle, and freely adjust the desired angle to achieve
Zoom in (or mouse wheel forward) Panning the window (or pressing the left mouse button and dragging)
This button is used to show/hide the maximum moving range of the arm. After the function is turned on, the maximum moving range of the arm will be displayed in light green.
The default state is the maximum movement range of the hidden arm.
show hide
Figure 2-3 Schematic diagram of the display (left)/hide (right) arm motion range window
This button is used to show/hide the moving TCP track of the arm. After the function is turned on, the movement track after moving will be displayed with a purple bar.
trace. The default state is to hide the movement track of the arm.
hide show
9
Machine Translated by Google
The simulation software constructs a virtual floor, which is parallel to the XY axis of the world coordinate, so that it can be erected close to the real environment, and the ground
The initial setting is 4 pieces X 4 pieces of plane, the combination of width and length of the base plate can be adjusted through the floor display setting.
It can be used as a plane to move up and down the Z axis, or show/hide the floor plane. After setting, you need to press the "Set" button to adjust
Floor display.
to confirm)
hidden version
10
Machine Translated by Google
The simulation system has various types of coordinate systems according to the types of objects, and users can freely adjust the coordinate system according to their needs.
Robot Tool
Tool Part
External Axis
Robot Base
Object
Workpiece
This button is used to display the object number. After clicking, the display window will display Figure 2-8. You can check to display the object number and workpiece
number. After checking, the number will be displayed in the simulation window, refer to Figure 2-9.
11
Machine Translated by Google
Figure 2-8 Select display label category Figure 2-9 Schematic diagram showing object labels
There are 5 menu functions in the function menu, including file, connection, display, option and information. The following subsections will focus on each function.
Be explained.
New file: Create a new system project (.hrs), if there is an innovative file, the software will first ask whether to close the currently running file
(Close the existing project will not automatically save, if you need to save the current settings, please save and then close).
Open old file: Open the edited system project (.hrs), the software will pop up a window for the user to select the file.
Save the old file: save the current edited file (.hrs), the software will pop up a window for the user to enter the new file name,
If it is not the first time to archive, the old file will be selected and used to overwrite the previous file. It is automatically archived every 5 minutes under the file name
Auto_Save.hrsÿ
12
Machine Translated by Google
new file
In the connection menu, you can add a virtual controller to the existing arm through the "Add New Controller" option (Fig.
2-12), after the arm is connected to the virtual controller, the JOG and IO setting functions in the Robot function tab can be enabled. Add virtual
Before adding a controller, you need to add more than one arm (Robot tab >> Add Robot) to the system before you can execute the controller.
Added.
After pressing the "Add New Controller" option, the controller setting page will appear (Figure 2-13), check the "Pallet" option,
This enables the controller's palletizing-specific kinematics (only available for hexa-axis arms).
The virtual controller can be shut down through "Disconnect" (Figure 2-14, or you can choose Disconnect All (cut all connections) to shut down
Virtual controllers for all arms. (The virtual controller will also be automatically turned off when the arm specification is changed)
13
Machine Translated by Google
Display the information about the software version of HRSim and the software version of the virtual controller.
The simulation software provides two different viewing angle operation modes, and can set the viewing angle rotation according to the user's operating habits
1. Static Axis: Rotate according to the X-axis and Y-axis of the screen
2. HRSS (Dynamic Axis Rotation) : Rotate according to the X axis of the screen and the Z axis of the world coordinate system
14
Machine Translated by Google
The related operation messages (Output) and virtual controller error messages (HRSS Alarm) will be displayed in the message output window.
Output output page: It is used to display relevant information about whether various operations have been successfully executed or a prompt message of wrong operation.
connection message
HRSS Alarm error message output page: used to display the HRSS error code output text information, in order to eliminate arm problems.
The "operator" authority in "EXT mode" can be accessed through the "Clear" button Directly clear arm errors
error message.
15
Machine Translated by Google
The function table tab is mainly used for the setting of the surrounding environment and the JOG operation of the arm. It is divided into four pages according to the function:
[Robot], [Object], [External Axis] and [Palletize], the subsections will describe each interface.
16
Machine Translated by Google
The added arm and arm-related operation setting interface is divided into 7 small interfaces, which are explained in the following chapters:
Arm manual JOG arm signal monitoring Arm tool (TooL) and base (Base) coordinate
Figure 2-20 Add arm and arm related operation setting interface
Different types of arms can be added to the arm setting, and the arm's enable, show/hide and position in the system can be set.
Click the "Add Robot" icon, and the steps to add an arm are as follows: (Refer to Figure 2-21)
(1). There are two types of arms: Articulated and SCARA. Click on the picture to select the desired arm.
Arm series and model specifications (up to 3 new arms can be added to a project).
(2). If it is a SCARA Robot, you need to select the corresponding Z-axis travel (the default Z-axis travel is 200m).
(3). Click the "Add Robot" button to add the arm to the simulation screen.
17
Machine Translated by Google
(3).Add arm
When the arm is added to the simulation screen, it will appear at the origin of the world coordinates. If there are other files before, it may be overwritten
The cover can be moved by using the Modify arm setting method.
Choose to click the "Modify" icon, or right-click the arm model in the Layout page and click Robot Modify to set the arm
Enable, arm screen display/hide, position and change model, refer to Figure 2-23.
or
18
Machine Translated by Google
arm number
arm enabled
ÿ Robot Enable: Enable/disable the arm; the arm and corresponding external axes and arm tools can be disabled.
ÿ Hide_Robot: The display of the arm can be hidden, but the corresponding external axes and arm tools are not affected.
ÿ Robot Type: Displays the model, operating range and load information. Click the icon to modify the robot type.
ÿ Set the position of the arm (Robot Position): the position of the arm on the world coordinates, if there is a setting with the external axis "Couple",
represents the position of the arm on the external axis. (After modifying the value, press "Set" or press "Enter" to write the change)
ÿ Set save and close window (Set & Close) button: "Set" button to change arm position data, "Close" button to close
Displays a list of the connection/disconnection status, authority, external mode, motor servo status and execution status of the three arms.
(1). From the function menu, select Connect >> Robot1 >> Add New Controller option to add a new controller, refer to 2.2.2.
(2). You can confirm the connection status in the status bar, refer to Figure 2-24(a), and see the successful connection message on the message output tab, refer to
Figure 2-24(b).
19
Machine Translated by Google
(a)
(b)
Referring to Figure 2-25, after the HRSS is successfully connected, the connection status will be displayed, and the operation mode of the controller is (EXT) upper control mode
, the operation status is displayed as operator manual at this time, and it is displayed during program running after the program is executed.
false alarm
I on 0 off
20
Machine Translated by Google
The moving arm can choose different coordinate systems by itself. Refer to Figure 2-26 for movement control. are the robot arm joint coordinate system
(JOINT), Cartesian coordinate system (XYZ) or Cartesian coordinate system or base coordinate system, tool coordinate system (TOOL), and external axis coordinate system
(EX). This function can only be used after connecting in HRSS EXT mode. If there is no connection, the icon will be gray and cannot be controlled.
joint coordinate system Cartesian coordinate system Tool coordinate system External axis coordinate system
21
Machine Translated by Google
There are two ways to move the arm: the key JOG mode and the input value mode. The following describes the use methods respectively.
ÿ Description of the button JOG mode, Figure 2-29 takes the six-axis Tool coordinate interface as an example, the unit is mm (/or degrees).
Home key
Switch between
inch value
online and offline modes
22
Machine Translated by Google
ÿ Enter a numerical value to describe the JOG mode (take the six-axis XYZ coordinate interface as an example in Figure 2-30), in mm (/or degrees).
2. Click on the
relative movement
Enter the position you want to
Arm speed adjustment key: adjust the speed of the robot arm when moving, the slowest to fastest ratio is 1% >> 3% >> 5% >>
10% >> 30% >> 50% >> 75% >> 100%, and vice versa. This function can only be enabled after the virtual controller is enabled.
Control the arm speed. When there is no controller, the icon is gray and cannot be controlled.
The arm program operation is simply divided into four buttons: Start, Pause, Stop and Step.
Referring to Figure 2-31, it should be used with the HRB File page of Chapter 2.5.2 File Task. This function needs to be enabled after the virtual controller is enabled.
23
Machine Translated by Google
If the program has been written in the arm HRSS software, the setting steps refer to Figure 2-32 as an example:
(2). In the HRB File tab, first select the program, and right-click the program to be executed.
(3-2). Or you can directly execute the program by clicking "Run HRB File" without selecting the program.
(4). The selected program will be displayed at the Task input, and the link path and file name will be displayed, for example: Mod/Mod_copy.hrb.
(5) Press the arm operation button to control the arm, "Start" to execute the selected program, "Pause" to pause, "Stop" to stop, or
24
Machine Translated by Google
The arm signal monitoring page has five sub-windows: [IO Setting] signal handshake setting, [DI] digital input signal, [DO] data
Bit output signal, [Counter] count register and [EQ Setting] device settings, the following chapters will describe each function separately. this
The function can only be used after the virtual controller is turned on.
Handshake Settings
Equipment setting
Referring to Figure 2-34, the handshaking of I/O signals between the arms can be set here, and the input and output signals of the arms can be monitored and controlled.
In Robot DI Setting, the DI signal of Robot 1 and the DO signal of Robot 2 can be connected.
When the signal is triggered, the corresponding DI signal will be triggered at the same time. Please refer to Figure 2-35 for the setting steps.
25
Machine Translated by Google
[-] to disassociate
4. Select the corresponding DO number
(2) Select the DI[12] signal corresponding to Robot 1, and the DI that has been set in the drop-down menu will be displayed in red text.
(4) Select the DO[12] signal corresponding to Robot 2, and press the "+" button to connect (if you press the "-" button to cancel the connection).
(5) The setting result is displayed in the Robot DI Setting window. The green display on the left is the DI status of Robot 1; the orange display on the right is the DI status of Robot 1.
It shows the DO status of the Robot. Press the orange button to trigger the DO signal, and the corresponding DI signal will be triggered at this time.
(When the signal is triggered, the white box in the button will turn green)
Referring to Figure 2-36, the Robot Tool monitors the gripper pick-up signal, and the Workpiece Group can select the picked workpiece and place it on the
On which object (you can also select the placement position of the workpiece through the setting of the corresponding register, if not selected, it will be placed at the horizon coordinate
middle), Robot Tool 1 Workpiece selects the workpiece number that you want to grip (you can also select the gripping tool through the setting of the corresponding register).
Pieces), press the orange button to send the tool to grip the workpiece, and when the DO is triggered, press the button to put down the gripped object.
workpiece is to be placed
26
Machine Translated by Google
Referring to Figure 2-37, Robot DO Setting (Equipment) is used to set the association between the equipment motion script and the arm IO signal
properties, must be set in EQ Setting first, and the relevant setting results will be displayed here. DO is the trigger signal for the device script action,
DI is the display signal of the action status. Press the orange DO button to trigger the corresponding script action. When the action is completed, the corresponding
The current DI signal status of the corresponding controller will be displayed in the DI window. Refer to Figure 2-38. The descriptions of the fields are as follows:
ÿ The SIM field enables the analog function. After enabling, you can check the DI Value analog signal input.
ÿ The DI Value column is the arm input signal on/off, and a green light will be displayed after the signal is turned on.
ÿ Comment column is a comment. You can make text remarks for the signal, making it easier to confirm the meaning of the signal. If via the Object page
After setting the DI on the surface, the remarks column will add relevant explanations.
The program can use the input signal to open or close it as a judgment condition, and only after the signal is determined, the subsequent program is executed.
Often used in conjunction with the WAIT FOR instruction, or used in IF conditional judgments. Such as: WAIT FOR $DI[1] == TRUE.
27
Machine Translated by Google
The current DO signal status of the corresponding controller will be displayed in the DIO window. Refer to Figure 2-39. The descriptions of the fields are as follows:
ÿ Click DO Value to change the ON/OFF of DO. After the signal is turned on, a green light will be displayed.
ÿ The Comment field is a remark, which can be used as a text remark for the signal, making it easier to confirm the meaning of the signal. If via the Object page
Remarks will be added in the remarks column after setting Do on the surface.
ÿ Counter window
The counter can be used as a temporary variable. When the virtual controller is restarted, the value will be reset to 0. Refer to Figure 2-40, column
ÿ The Value column is a numerical display, you can click to modify the value or use a program to change the value. Program example: $C[1] = 4;
ÿ The column of Comment is a remark, which can be used as a text remark for the count, which is easier to confirm the representative meaning. If set through the Object page
Remarks will be added to the remarks column after the Counter is used.
28
Machine Translated by Google
Here you can set the association between Robot Tool, Equipment scripts and arm IO, refer to Figure 2-41, the function description is as follows
(1.) The items that can be selected in the drop-down menu of ÿ include Robot Tool, Equipment, Load port and Aligner. In ÿ
The corresponding Robot number or Equipment name can be selected from the drop-down menu of .
(2.) After setting the options of ÿ and ÿ, the script data of the related Equipment or Robot Tool will be listed as shown in Figure 2-42.
ÿ After clicking the script field, you can set the association between this motion script and Robot IO.
(3.) The Robot 1 drop-down menu specifies the Robot number corresponding to the DO signal to trigger the script, and the Robot 2 drop-down menu specifies the script
When completed, it corresponds to the Robot number of the DI signal, and the drop-down menus of DO and DI specify the corresponding DO and DI numbers.
(4.) The drop-down menu of ON\OFF can specify the DO state to trigger the script. When ON is selected, the script will start at the specified DO.
Act upon action, when OFF is selected, the script will act when the specified DO is closed, and when the script action ends, the specified DO will be executed.
29
Machine Translated by Google
2.4.1.7 Tool (TooL) and Base (Base) coordinate system switching and setting
Tool coordinate system correction purpose: to rotate and translate the TCP point (Tool Center Point, tool center point) of the flange surface to the workpiece.
On the TCP point with the terminal, it corresponds to the real terminal rotation and translation.
Base coordinate system calibration purpose: Rotate and translate the origin of the coordinate system of the robot arm to the user's desired reference point, and conform to the
Refer to Figure 2-44 for the method of setting the coordinate system of the tool and the base. Steps:
(1). Click the drop-down menu, select the new tool (Tool) coordinate system 1~15 number or the base (Base) coordinate system number 1~31, pay attention to
The 0th coordinate system is the default (Default). The original coordinate system cannot be modified.
(2). Quickly click 2 under the Value field, and enter the values of X, Y, Z, A, B, C, in mm or degrees.
(3). Press the "Save" button to save the settings. (When the virtual controller is not enabled, only Tool 1 and Base 1 can be set)
number
(3).Save
30
Machine Translated by Google
The [Object] interface for importing object graphics files is divided into 4 small interfaces. The following chapters will describe them individually:
Add basic originals that Set the object number Add available tools Set the object number
can be used as and script action workpiece to be gripped and script action
custom device
Figure 2-45 Importing the object image file [Object] interface diagram
Add 3D objects to the world coordinates, which can be fixed on the arm or external axis by setting, or as a composition Tool
(1). Click "Add Object" to select a 3D object (STL format) in the Object folder, and add the object
(3). Select [Object Library] to add parametric objects as required, refer to Figure 2-45. (EX: Arm base fence...etc)
(4). Objects can be selected to be fixed on the arm or on the external axis. Only one set of associations can be set for each object.
a. The object is fixed on the arm: Set the link number of the object fixed on the arm, No. 1 is the base, No. 2 is the axis
1. Number 3 is axis 2...and so on. After selecting the arm number and link number from the drop-down menu, press the "+" button to add
The association between the object and the arm allows the object to move with the arm. After selecting the object in the field, press the "-" key
b. Object fixed on external axis: Set which object on the external axis the object should be fixed on.
31
Machine Translated by Google
Remarks: If the selected Object has been fixed to other objects or has Workpiece, you need to delete the association first
(5). Set the position of the object. After inputting the value, the background will turn light pink. You need to press the "Set" button or the keyboard "Enter"
Press the key to write the numerical value, which is divided into six axial positions, such as X, Y, Z, RX, RY, RZ, etc., and the unit is mm.
arm number
Modify object color
delete association
hidden object
32
Machine Translated by Google
hidden object
Modify object color
Length
Width
After modifying the
Width
hidden object
Modify object color
Length
Length
set object position
33
Machine Translated by Google
Add Workpiece property 3D objects, only Workpiece property objects can be grabbed by the arm tool.
(1). Click "Add WP" to select the workpiece file (STL file) in the Workpiece folder, and add the workpiece.
(2). Click "Setting" to open the workpiece position and group settings.
(3). The workpiece can be fixed on the moving parts or objects of the external axis, and only one set of associations can be set for each workpiece. out of selection
After the axis number or the object number, press "+" to establish the association, click the workpiece in the field, and then press the "-" key to
(4). Set the initial position of the workpiece. After the input value is changed, the background will turn light pink. You need to press the "Set" button or keyboard.
"Enter" key to write the value, divided into X, Y, Z, RX, RY, RZ and other six axial positions to modify, the unit is mm.
Remarks: (1). When the selected Wokrpiece is already associated with other objects, it is necessary to delete the association before adding new ones.
Relevance.
(2). If the Workpiece disappears, the Group of the Workpiece may be set incorrectly for the execution program, or the objects may be placed
34
Machine Translated by Google
arm number
object number
Set the specified 3D Object and action script for the Robot Tool, so that the set tool can be attached to the end of the arm.
The operation of the virtual controller can trigger the script actions of the tool and the pick and place of the workpiece.
(1). After adding the arm, click "Setting" to open the Robot Tool Setting window to add and move the Robot Tool
Configuration.
(2). Click the folder icon to read the existing .tool configuration file from the Tool folder.
(3). If you need to create a .tool file by yourself, you can import Object and add it to Robot Tool Part Tree.
(4). After adding the base object, click on the object in the tree view, and the object can be set as the sub-level object to which it belongs.
Use "Set Tool" to change the properties of the selected object to "Robot Tool". (The movement of the object will bring the subordinate objects together
Movement, each arm can set up to 3 groups of objects with "Robot Tool" attribute)
(5). After completing the “Robot Tool” attribute setting, click the tool in the tree view to set the “Workpiece corresponding to the grasped workpiece”
Change Counter” and the “Workpiece Group Counter” corresponding to the corresponding placed workpiece, the tool will be specified according to the current
35
Machine Translated by Google
The Counter value of , to grab the corresponding workpiece or place the workpiece on the corresponding object.
(6).”Robot Tool Action DO” can set the DO number that triggers the tool to grip and place the workpiece. When the DO is triggered, the tool will
The specified workpiece will be set on the tool according to the value of "Workpiece Change Counter". When DO is closed,
The tool will set the workpiece on the tool on the specified object according to the value of "Workpiece Group Counter". (when
Turn on the flash simulation function to simulate the arc effect during welding)
(7) By checking the "Show On Robot Tool" option, the virtual workpiece can be displayed on the tool according to the set value of the position.
When the "Robot Tool Action DO" is triggered, it will be recalculated according to the value of "Workpiece Change Counter".
Calculate the position of the specified workpiece in the corresponding tool and rewrite it.
36
Machine Translated by Google
profile
s position
(1) .Add a new script, and you can define the name yourself.
(3) .Select the script, and select the script through the drop-down menu to modify and simulate.
37
Machine Translated by Google
(4) .Copy the script. If you have similar script requirements, you can directly copy the script to modify it.
(5) .Rename, you can modify the script name that has been set.
(6) Script DIO setting, each script needs to define a set of DI and DO, and the used DI and DO cannot be reused.
(7) .Add moving objects. On the Tool module, if the moving parts need to be added, they need to be added to the object script settings below.
(8) .Increase the waiting function. In script simulation, if you need waiting time and DI signal, you can add and set it yourself.
(9) .Object script setting, the arm Tool can adjust the range of movement and rotation of each component, and adjust the object according to the needs
The amount of motion and the sequence of motions. (If the Fine option is checked, the movement will be executed before the next object movement)
(10) Perform script simulation. After setting the script, click [Run] to perform script simulation and confirm the script action.
(2).Add script
(3). Delete the script
(1).Select the script
(6).Script IO setting
(8). Increase the waiting
function
order
delete movement
project
38
Machine Translated by Google
Add the Equipment module, through this function, multiple object modules can be grouped into the same group, and can be set through the script
(1). Click "Add EQ" to add an existing EQ file (*eq) from the [eq] folder and load it into HRSim.
(2). Click "Setting" to open the Equipment Setting window for adding Equipment l groups and setting actions.
(3). If no existing device is added, you can add and define the device name by yourself.
(4). The number of DI and DO of the device is set. You can choose how many DI and DO signals the device needs to use. (The number of IOs depends on the number of scripts
quantity pairing)
(5). Add the Object object to the software, first select the Object object number from the drop-down menu
(6). Then click "+" to add the object to the device group. The first object added is the fixed base of the device, and the first object to be moved
When the object is positioned, the entire device will move along with it. If the object has been grouped, the object name will be grayed out and can no longer be changed.
Added on.
(7). To set the affiliation of an object, after selecting the object number, click the desired item in the Equipment Part Tree
Subordinate object number, and then click "+" to append the object to the selected object. (When the object moves through the script,
(8). Part position setting is the coordinate position setting of the object. When the position is set, the coordinate system of the object to which the object belongs is used.
To refer to the origin, click the object in the Equipment Part Tree to switch to the position of the object and adjust it.
(9). Through the save button, the device setting data can be saved, and the next time click "Add EQ" to directly load the object map
39
Machine Translated by Google
delete object
objects
(1) .Add a new script, and you can define the name yourself.
(3) .Select the script, and select the script through the drop-down menu to modify and simulate.
(4) .Copy the script. If you have similar script requirements, you can directly copy the script to modify it.
(5) .Rename, you can modify the script name that has been set.
40
Machine Translated by Google
(6) Script DIO setting, each script needs to define a set of DI and DO, and the used DI and DO cannot be reused.
(7) .Add moving objects. On the Tool module, if the moving parts need to be added, they need to be added to the object script settings below.
(8) .Increase the waiting function. In script simulation, if you need waiting time and DI signal, you can add and set it yourself.
(9) .Object script setting, the arm Tool can adjust the range of movement and rotation of each component, and adjust the object according to the needs
The amount of motion and the sequence of motions. (If the Fine option is checked, the movement will be executed before the next object movement)
(10) Perform script simulation. After setting the script, click [Run] to perform script simulation and confirm the script action.
(2).Add script
(3). Delete the script
(1).Select the script
(6).Script IO setting
(8). Increase the waiting
function
order
delete movement
project
41
Machine Translated by Google
add external axis External Axis Parameter Setting External Axis Group
Configuration
Add an external axis External Axis, you can add 1~3 sets of linear or rotary external axes, this function must be added to the arm before it can be used.
The following chapters will explain the parameter setting of the external axis.
(1). Enable the E1 external axis (8). Set the coupling with the arm
Set the external axis color to show the external axis type
(1). Check Enable to enable the external axis, you can choose E1 ~ E3 three external axis settings.
(2). Select the external axis file (.stl), first select the corresponding file as the mobile stage, press "Open old file", and then select as the base
42
Machine Translated by Google
(3). Click the setting icon to open the external axis setting, refer to Figure 2-54.
(4). Press the picture to select the external axis type, linear or rotary movement.
(5). Select the movement direction of the external axis, X, Y, Z for linear, RX, RY, RZ for rotation, "+" is positive direction; "-" is negative direction.
(6). To rotate the external axis, it is necessary to set the rotation center position of the external axis. After inputting, press "Set".
(7) Set the external axis position, press "Set" after inputting, and "Close" is the button to cancel the setting.
(8). If the arm needs to be fixed on the external axis, check the Couple setting to couple with the arm, and then adjust the world position of the arm.
hidden stage
hidden pedestal
43
Machine Translated by Google
After adding the external axis file, it is necessary to set the external axis parameters of the HRSS software in the arm to simulate the movement of the external axis. Setting method
4
2
3
3
5
12
8
9 13
10 14
11
15
16
44
Machine Translated by Google
2 Select the external axis, and select the input E1~E3 external axis from the drop-down menu.
4 Set the type of external axis as linear/rotary axis movement type, click the picture to switch.
5 Set the direction of the external axis motor, select either forward (Positive) or reverse (Negative).
Set the motion mode of the external axis to either synchronous (Sync) or asynchronous (Async) axis.
Synchronized motion means that the motion of all axes, including the robot and external axes, starts at the same time and starts at the same time
At the end, correct the motion path relationship between the robot and the external axis in the synchronous motion mode and set
6
By determining its kinematics type, synchronous coordinated control can be achieved under the condition of controlling external axes.
Differential movement means that the movement of the robot and the external axis does not start or end at the same time, the machine
The movements of the human and external axes are independent of each other.
9 Set the lower limit of the external axis movement, unit: mm/deg.
10 Set the reduction ratio of the external shaft motor mounted reducer.
11 Set the lead of the external axis (Pitch), which is only applicable to the linear movement of the external axis.
45
Machine Translated by Google
After the external axis function is activated, when the external axis is set as a synchronous axis, the external axis coordination can be enabled through the following correction settings
Refer to Figure 2-54 for the function of movement and the correction method.
3
2
5
6
4 The calibration point position and coordinate information are displayed, and you can click to directly input the value.
5 Perform external axis calibration (Linear needs to be calibrated 2 points / Rotary needs to be calibrated 3 points).
46
Machine Translated by Google
Correction procedure:
STEP 4: Move the TCP position to the calibration jig on the external axis, and set CP1~CP2(Linear)/CP1~CP3(Rotary) respectively
Set CP2
reset reset
Proofreading cure
47
Machine Translated by Google
If the arm needs to be fixed on the external axis and move with the external axis, it is necessary to set the coupling between the external axis and the arm. Refer to the figure for the setting method.
2-57: (1). Check the Couple setting and arm coupling. (2). Red line is displayed at the state after coupling.
Figure 2-57 Schematic diagram of external axis and arm coupling setting
After the external axis group is set, the external axis can move with another external axis. Refer to Figure 2-58 for the setting method: (1).
external axis. (2). Click "+" to set as a group. (3). A red line will be displayed in the status after grouping. If you click "-", the group relationship will be cancelled. (when
When the external axis that has been set as a coupled axis is checked again in the family group, the coupled state will be automatically canceled)
axis to be grouped
48
Machine Translated by Google
For related applications of palletizing, you can quickly import customized boxes, pallets and conveyor belt objects from this function tab, and
Customize the stacking method according to the requirements, and automatically generate the corresponding arm motion program according to the relevant settings.
By adding conveyor belt components, the conveyor belt can automatically generate corresponding box objects or workpieces. With the application of the virtual controller, transparent
The action of the conveyor belt is controlled by the arm IO. The following chapters will explain the parameter setting of the conveyor belt.
For the method of adding conveyor belt, please refer to Figure 2-59:
(1). Add a conveyor belt. After clicking, it will automatically generate a conveyor belt element with a size of 2000mmX300mmX560mm.
(2) Set the size of the conveyor belt. After adding a conveyor belt, you can change the length, width and height of the selected conveyor belt according to your needs.
(3) Set the position of the conveyor belt, and the position and placement angle of the conveyor belt in the simulation system can be modified.
(4). Conveyor belt Speed setting, can set the conveying speed of objects on the conveyor belt, unit (mm/s).
(5). Conveyor belt PPM setting, you can set the number of objects produced by the conveyor belt per minute, unit (quantity/min).
(6). Conveyor belt Limit setting, you can set the transmission limit position of the object on the conveyor belt, when the origin of the object reaches this position
, the movement of the conveyor belt will be interrupted and the corresponding arm DI signal will be triggered.
(7). Conveyor belt Workpiece ID setting, can set the workpiece number automatically generated by the conveyor belt, when the corresponding Robot DO triggers
When the conveyor belt is running, it will automatically generate objects according to the PPM setting. When the workpiece number is not set, the conveyor belt will not automatically
move.
(8). Conveyor Belt Robot IO setting, you can set the DO signal of the arm that controls the conveyor belt operation and when the object reaches the Limit position
49
Machine Translated by Google
Add cabinet components. The following chapters will explain the parameter settings of custom cabinets.
(1). Add a new cabinet. After clicking, it will automatically generate cabinet components with a size of 200mmX200mmX200mm.
(2). Set the size of the cabinet. After adding a cabinet, you can change the length, width and height of the selected cabinet according to your needs, and you can change the size of the selected cabinet.
Change the placement of the labels on the cabinet (Front, Back, Left, Right).
(3) Set the cabinet position, you can modify the position and placement angle of the cabinet in the simulation system.
50
Machine Translated by Google
Add pallet components. The following chapters will explain the parameter settings of custom pallets.
(1). Add a pallet, click it, it will automatically generate pallet components with a size of 1200mmX1200mmX150mm.
(2). Set the pallet size. After adding a pallet, you can change the length, width and height of the selected pallet as required.
(3). Set the position of the pallet, you can modify the position and placement angle of the pallet in the simulation system.
(1).Add pallet
51
Machine Translated by Google
Define the placement method of the objects. Here you can add the placement method of the cabinet objects. After the definition is completed, you can use the exported function
Yes, the arm HRB program corresponding to the placement method is automatically generated. The following chapters will explain the setting of the placement mode.
(1). Add a new placement method. After clicking, a window where you can enter a name will appear. Press "Set" to add a new method.
(2). After selecting the corresponding pallet number, pressing it will automatically move the viewing angle of the simulation screen to the top of the selected pallet.
(3). After selecting the corresponding cabinet number, pressing it will define the cabinet as the placed object, and lock the current viewing angle of the viewing angle.
(4) In the "Origin" tab of the placement setting, you can set and place the starting point position of the sequence, which can be set from the upper left corner, upper right corner,
The lower left corner or the lower right corner, and the left and right directions can be placed first or the upper and lower directions can be placed first.
(5). In the "Pallet Gap" tab of the placement setting, you can set the boundary of the cabinet on the pallet, X is the left and right boundary, Y is the upper
For the downward boundary, the red area displayed on the pallet after the setting is completed is the area where the cabinet cannot be placed, as shown in Figure 2-63.
(6). The distance between the box and the box can be set in the "Box Gap" tab of the placement setting. The red arrow on the icon is the X direction.
The green arrow is the Y direction. After the setting is completed, when defining the placement of the cabinet, the space between the cabinet and the cabinet will be automatically set according to the setting.
(7). According to the needs of use, there are four placement methods: [Manual](a), [Horizontal](b), [Straight](c) and [Cross](d).
[Manual]: Press (or keyboard A key) to add a cabinet, press (or keyboard R key) to rotate the cabinet, press (or keyboard R key)
D key) to delete the selected cabinet, press to unlock the viewing angle (the cabinet cannot be dragged at this time), press
Press "Clear" to clear all the newly added cabinets, move the mouse over the cabinets and press the left button to drag and drop the cabinets freely.
The placement of the box can be freely set according to the needs. When the box overlaps with other boxes during the dragging process,
Cabinet alignment will be performed automatically after releasing the left mouse button.
[Horizontal]: Press it to automatically generate the placement mode with the X direction of the cabinet to the right, and other operation modes are the same as manual.
[Straight]: Press it to automatically generate the placement mode with the cabinet X direction facing up, and other operation modes are the same as manual.
[Cross]: Press it to automatically generate the placement mode in a vertical and horizontal manner, and other operations are the same as manual.
52
Machine Translated by Google
(8). Modify the position of the cabinet. After checking the box, you can directly input and modify the position data of the selected cabinet. Press to write the data (via
(9) Save the setting, save the set placement setting into the corresponding number, and generate the corresponding placement point.
(10).Load settings
delete placement
(1). New placement method
(2). Load pallet (3).
Load box
(7).Setting mode
(a).Manual
(c). Straight
(b). Horizontal (6). Set the spacing
(d).Cross
X-direction boundary
Spacing in X direction
Spacing in Y direction
Y direction boundary
Figure 2-63 Schematic diagram of pallet setting
53
Machine Translated by Google
The parameter setting of the output HRB program will be explained, as shown in Figure 2-64 to Figure 2-66.
(1). Add a new pallet, add a pallet to be placed and press it. After clicking, the tree map will automatically generate the selected pallet.
(2). Add a new placement method, click on the pallet to be placed to make it tick, then select the desired placement method and press
(3). Select the conveyor belt, that is, the workpiece will be sent out from the selected conveyor belt.
(4). Set the offset of the gripping position to set the offset of the arm when gripping.
(5). Set the offset of the placement position, you can set the offset of the arm when it is placed.
(6) Set the arm waiting position, press to set the current arm position as the arm waiting position.
(8). Select the arm tool and select the arm tool to be actuated.
(9). Select the external axis, select the external axis to be enabled, if not, do not need to select.
54
Machine Translated by Google
Export to PR value
export subroutine
55
Machine Translated by Google
This chapter describes the architecture diagram and tree diagram of the system on the left side of the window, as shown in Figure 2-67. There are three pages:
1. System architecture (Layout) page: Layout displays the configuration tree diagram of the object.
2. HRB File tab: HRB File displays the arm HRB program in the virtual controller.
3. Path & Point tab: Path & Point displays the Path and Point data in the system.
56
Machine Translated by Google
The Layout system structure displays a tree diagram of the list of simulated system objects in HRSim, as shown in Figure 2-68. Clicking an object in the tree diagram will
It will be displayed in reverse, and the selected object will be switched to light green color in the simulation screen. Click the option in the tree view and right-click to
Open the function menu, the menu will be different according to the type of the object clicked, the basic options for the object are enable, hide
(Hide), reset 3D file (Reload Stl file), object color setting (Color), open various object setting pages (Setting), and
Move the object (Move) tree view all the sub-items of the scroll (Collapse All).
57
Machine Translated by Google
The file information will be displayed, click the option and right-click to set the current task file (Set Task), open the editing program window (Open
HRB File) or run the selected file (Run HRB File), the selected program file will be displayed in the Task name, and the program will run
Refer to Chapter 2.4.1.5 for the line mode, and refer to Chapter 2.5.3 for the arm program editing method.
task
After clicking the file task folder icon, you can choose to open a new HRB file or open an old HRB file.
case
Figure 2-70 Schematic diagram of adding/opening old files in the file task
58
Machine Translated by Google
If you choose to open a new HRB file, a file window will pop up, and you must first enter the name of the new HRB file.
Letters or English letters + numbers, but the number cannot be the first character, and "-" cannot be used as the principle, and then press the "Save" button,
Start editing a new HRB file, refer to Figure 2-71, click the name of the existing program file to overwrite the file, please choose carefully;
If you choose to open the old HRB file, a file selection window will pop up. After selecting the file, click the "Open Old File" button.
button, the HRB edit window will be displayed to edit the file, refer to Figure 2-72. .
Figure 2-71 Open a new HRB program window Figure 2-72 Open the old HRB program window
59
Machine Translated by Google
After opening the program editing page, refer to Figure 2-73. The following is the window function description:
(3). Save the file, you can choose to save the file or save the file in the specified virtual controller, refer to
Figure 2-74.
(4) Open the point data, you can confirm the point information, and you can add or delete the point data, refer to Figure 2-76.
(5).Open or hide the editing function bar: the commonly used tool bar when compiling programs, refer to Figure 2-65.
(6). Open or hide the command selection bar: You can input common commands from the drop-down menu when writing programming languages. Refer to Figure 2-79, Commonly used commands
For instruction descriptions, please refer to Chapter 3, or refer to the Shanghai Bank Robot Software Instruction Set Manual.
(8). Display the currently opened file location; on the local PC (Local PC) or virtual controller (Device 1~3).
60
Machine Translated by Google
Figure 2-73 Schematic diagram of program editing function and writing page
61
Machine Translated by Google
The point information can be recorded through the Point List point information window, refer to Figure 2-76, after the program is written
When the arm moves, it can move to different points, and then it can perform different things according to the program content. The following is the point
(1). To add a new point, record the current arm posture to the new point.
(2). In order to delete the specified point, it is necessary to select the point before execution.
(3). In order to cover the point information, you need to select the point before it can be executed. .
(4). To select the point-to-point method, PTP is the point-to-point method to move to the selected point, LINE is the straight line method to move to the selected point
position, you need to select the point you want to reach before you can execute it.
(5). In order to add Path data, the point group of points can be grouped into a path, and the related operations of the path can be performed.
(6). Display Path and Point data, refer to Figure 2-67, you can select different Path data for PTP or LINE to go to point
(7) Set the items to be displayed in the point data, refer to Figure 2-68, you can choose which information to display in the point data, and
You can choose which column data to be fixed (currently there are Name and Comment to choose from).
62
Machine Translated by Google
(2). Delete point (4). Move to the specified point (6). Display path tree diagram
(1).Add points
(7). Point information
Display settings
63
Machine Translated by Google
In the program editing window, it is divided into five main functions: motion command, function function, configuration command, program editing, and command editing.
button, click each main function button, there will be sub-function button command options to choose from, after selecting the command, it may jump out of the corresponding command
Exclusive editing window, after editing the window, you can press the "Set" button to insert standardized program commands to achieve quick programming
The function of editing, take the input PTP command in Figure 2-79 as an example, after selecting the Motion function, click PTP, and then click PTP, jump to
A dedicated PTP editing window appears (some commands do not have a dedicated window). After adjusting the parameters, press the “Set” button to insert the program into the
For related common commands, please refer to Chapter 2.6.5.1 for description. For detailed command description, please refer to Shanghai Bank Robot Software Command Set
Manual, please download the manual from the official website of Shanghai Yin Technology.
64
Machine Translated by Google
After opening the Path & Point page, refer to Figure 2-80. The following is the window function description:
(1). After entering the Path & Point page, there are Object and Workpiece items in the tree view, and right-clicking the mouse will display the
(2). If you click [New Path] in the previous step, the Path Group window will appear, and the drop-down menu can be used to select the path to attach to.
On the object (Object) or the workpiece (Workpiece), select (None) to place the Path in the world coordinate system.
(3.) After setting what type of object the Path will be attached to, the drop-down menu at the bottom of the Path Group window will list the current
For objects added to HRSim and matching the selected attributes, you can select the object number to be attached by Path as required.
(4.) After the Path is added to the tree view, right-click on the Path item and a menu for editing Path will appear (refer to Figure 2-81):
[Export Path Data] : Path data is exported to HRB Point List data, it is necessary to connect HRSS and open HRB file and
Point List Only then can the selected Path be imported into HRB Point List data (refer to Figure 2-82).
[Edit Path Data]: Edit Path, you can redefine the object to which Path belongs.
[Add Point]: Add a new point in the selected Path. After clicking, the Point Position window will appear.
[Path Check]: Confirm whether the selected arm tool can reach this path, this function needs to add a virtual controller first
After that, right-click on the corresponding Robot Tool object and select Set Activate, or double-click directly on the simulation screen.
Click the Tool object to make the color of the Tool object change to red, you can click Path Check to confirm whether the path can be reached,
If it cannot be reached, the virtual tool displayed on the point will be red, otherwise it will be blue (refer to Figure 2-83).
[Test Run]: After the Path point planning is completed, the arm running test can be performed after setting the Activate Robot Tool.
(5.) After adding a point in Path, select Point and right-click to display the Edit Point menu:
[Edit Point Data]: Edit the selected Point position (X, Y, Z, RX, RY, RZ).
65
Machine Translated by Google
Figure 2-81 (left) Path edit page (right) Point edit page
66
Machine Translated by Google
67
Machine Translated by Google
This chapter describes the menu of the right mouse button. Common functions will be placed here. They are mainly divided into five items, namely (1). Basic settings,
(2). Pick and place function, (3). Move function, (4). CAM function and (5). Arm and external axis adjustment
(4).CAM function
The following chapters will introduce the basic setting functions of the mouse shortcut menu.
2.6.1.1 Enable
Enable/disable arm enable execution. If checked: enable the execution arm; if unchecked: hide the arm and the corresponding
External axis, and can not start the execution arm (the model on the Layout page will be grayed out).
2.6.1.2 Hide
If checked: the simulation screen of the clicked object can be hidden; if unchecked: the simulation screen of the clicked object is displayed.
68
Machine Translated by Google
The following chapters will introduce the pick and place function of the mouse shortcut menu, the user can quickly move the arm tool to the workpiece position.
Click on the arm tool on the screen and right-click to display the menu and then click on Set Activate or
Double-clicking the left mouse button on the arm tool can also be used. If you want to cancel the activation, it is the same as the setting activation process.
Display the menu on the workpiece and then click Move to Workpiece, or double-click the left mouse button on the workpiece, the arm tool
It will move to the workpiece, as shown in Figure 2-85, and the moved position is the On Robot Tool Position in the arm tool setting.
The values of {X, Y, Z, RX, RY, RZ} are shown in Figure 2-86.
69
Machine Translated by Google
The following chapters will introduce the mouse shortcut menu movement function, the user can quickly move the selected object position and move the arm
2.6.3.1 Move
Move the position and posture of the selected object, and display the moving window. Users can drag, move and rotate on the screen.
Manual import
Move position (XYZ) or
position and attitude
adjust attitude (RXRYRZ)
return to pose
70
Machine Translated by Google
Then it will display whether to move to the point according to the current arm tool pose. If you choose Yes, the position of the arm tool will remain unchanged;
if you choose No, the position and posture of the arm tool will be the same as the position of the point position; if you choose Cancel, it will not act.
2-89ÿ
(2). Click Select Surface to enter CAM mode, as shown in Figure 2-91.
(3). On the main tree (MainTree), click the Path that needs to be clicked, and press it to make it turn green, that is, to lock the Path, such as
Figure 2-92.
(4). Hold down Shift and click on the surface to be dotted, a red triangle and the selected surface will be displayed, refer to Figure 2-93, if click
To the surface not to be dotted, you can select the surface through the Select Surface drop-down menu, refer to Figure 2-94.
(5) Select the surface to be dotted, and then double-click the left mouse button to add a new point, as shown in Figure 2-95.
Remarks: The dotted object must be placed in the corresponding folder, and the dotted object must be placed in the stl\object folder.
71
Machine Translated by Google
Figure 2-90 Add new path (Path) Figure 2-91 Enter CAM mode Figure 2-92 Lock path (Path)
Figure 2-93 Select the dotted surface Figure 2-94 Modify the selected surface Figure 2-95 Dot on the surface
The following chapters will introduce the adjustment of arm and external axis. Users can quickly adjust the position and posture of the arm and external axis by
Select the arm you want to adjust, display the menu and select Joint, then select the axis of the arm, and hold down Shift to display the rotation.
The rotation axis, then hold down the left mouse button to drag and adjust the angle. If the limit is reached, the arm axis will display red.
72
Machine Translated by Google
Click on the arm you want to adjust, display the menu and click the Arm Tool (Tool), hold down Shift to display the axes, then hold down the mouse
Left-click to adjust the position and posture of the arm tool according to the arm tool system. If a singular point or limit is encountered, the arm will display red.
Select the arm you want to adjust, display the menu and select the Arm Tool (Base), press Shift to display the axes, then hold down the mouse
The left button can adjust the position and posture of the arm tool according to the basic system of the arm. If the singular point or limit is encountered, the arm will display red.
73
Machine Translated by Google
Click on the external axis you want to adjust, display the menu and click on the external axis (EX), press Shift to display the move or rotate axis, then press and hold
Click the left mouse button to adjust the position or attitude of the external axis according to the type of the external axis.
74
Machine Translated by Google
This chapter introduces the function description of the command button in the program editing window in HRSim, refer to Figure 2-79. which outlines the soft arm
For the common commands of body programs, please refer to Table 3 for a general list. For more complete descriptions and usage examples, please refer to Shanghai Bank Robot Software Command Set Manual
Please download the manual from the official website of Shanghai Yin Technology.
motion command function function configuration directives program editing command editor
CIRC_REL SPEED VO
BRAKE COORDINATE DO
USER ALARM SO
Get Register
GETPOINT COUNTER
GET_MOTION_STATUS TIMER
75
Machine Translated by Google
CHECK_LIN PR
FWD Subroutine
Jump DEF
QUIT DEFFCT
GOTO EXT
Math EXTFCT
WITHOUT
SOMETHING
SO
SALTY
ACOS
ATAN
ATAN2
Refer to Table 4 for motion commands, and can be programmed in the following motion modes, PTP point-to-point motion, LIN linear motion
Motion, CIRC circular motion, input motion command parameters after motion command to set parameters such as continuity, speed, acceleration and reference coordinate system
number setting. The starting point of a movement is the target point of the previous movement.
Relative position way point PTP_REL {A1 90} Point-to-point relative movement axis 1 90 degrees
PTP_REL
move to point
Relative position way straight LIN_REL {X 100} Linear relative movement X 100mm
LIN_REL
76
Machine Translated by Google
Reference Tool Coordinate Straight LIN_REL_TOOL {Z -200} tool coordinate line relative movement
LIN_REL_TOOL
Line movement command Z -200mm
relative position circle CIRC_REL {Y 100} {X 100 , Y Relative position method arc movement
Arc move command 100} Parameter one is the relative offset to the transition point
CIRC_REL
quantity, parameter 2 is the transition point to the end point phase
pair offset
stop and clear the brake IF [conditional expression] THEN If the condition is true, stop and clear
BRAKE middle order BRAKE After the braking instruction, execute the following instruction
ENDIF make.
Refer to Figure 3-1 for the path of point-to-point movement (PTP) and linear movement (LIN).
The movement path is different from the program movement method, please select the corresponding command according to the different usage situations.
77
Machine Translated by Google
Circular movement (CIRC) refer to Figure 3-2, use three points to form a circular path, from the current arm position + transition point + end point three
After the motion command, there are 6 parameters, please refer to Figure 3-3: trajectory mode, moving speed, moving acceleration, end coordinate system,
Base point coordinate system. A motion command requires at least input of the motion mode and target point. If there are no input parameters, refer to the previous ones.
parameter. Among them, the trajectory mode is divided into two types: continuous trajectory CONT/non-continuous trajectory FINE, refer to Table 5 to determine the motion continuity
Whether or not, when the program is executed, when the motion parameter is CONT, the program will read the program information after CONT in advance to facilitate the
The movement path of the CONT program is planned in advance, so that the movement path of the center of the arm end is a smooth trajectory. If the point is only in the end of the arm
You can use CONT to make the operation smooth. If the point must be reached accurately, you need to use FINE, FINE refers to
The order is divided into three cases, which can be selected by the user according to the task status, and the default state is FINE =1.
78
Machine Translated by Google
FINE (=0)
FINE FINE = 1
FINE = 2
79
Machine Translated by Google
Machine Translated by Google
IF [conditional expression] THEN If the conditional expression is true, execute action 1, and the
[Action command 2]
ENDIF
SWITCH [variable name] If there are more than 2 conditional judgments, use
[Action command 3]
DEFAULT
[Action Command 4]
ENDSWITCH
WAIT FOR [INPUT] The arm stops moving and waits for the input signal.
WAIT FOR WAIT FOR[INPUT]…TIMEOUT waits for the input signal to time out and executes the specified action
do.
81
Machine Translated by Google
WAIT SEC The arm stops and waits for a few seconds.
82
Machine Translated by Google
[Motion Command]
ENDFOR
[action command]
LOOP loop back and forth
ENDLOOP
WHILE [conditional expression] When [Conditional Expression] is established, execute [Motion Command],
[Motion Command] And repeat the [Conditional Expression] interpretation and [Motion Command]
REPEAT After executing the [Motion Command], interpret the [Conditional Expression] as
[Motion Command] Whether it is established or not, if established, repeat the execution of [movement instruction
REPEAT repeats
UNTIL [conditional expression] After setting] and [conditional expression] to [conditional expression] are not established
83
Machine Translated by Google
EX_AX_SYNC_COUPLE[1] = TRUE to close (open) the coordinated control function of the external axis
EXT TCP set external TCP EXT_TCP_START Start external TCP point trajectory command
84
Machine Translated by Google
85
Machine Translated by Google
3.2.4 Jump
GOTO [label name] Jump to the label to execute subsequent motion instructions
[Motion Command]
GETPOINT GET POINT [POINT VARIABLE ] = GETPOINT Store line-in point information to [point variable]
86
Machine Translated by Google
E6AXIS P1_AXIS = {A1 0, Pass the P1_AXIS variable through the directional robot
Forward equipment human luck A3 0, A4 0, A5 -90, A6 0} Convert kinematics to XYZ Cartesian coordinates
FWD
Kinetic Conversion Instructions E6POS P1_POS system, and stored in the P1_POS variable. (Every
P1_POS = FWD (P1_AXIS) The results calculated by different models are different).
87
Machine Translated by Google
88
Machine Translated by Google
The function of the configuration command is to declare variables, registers, output signals, subroutines/functions,
REALfloat _ Real AA = 1.234 Declare floating point number AA initial value 1.234
CHAR character CHAR WORD = 'A' Declare character WORD initial value 'A'
E6POS HOME = {Y 200,Z -100} declares the Cartesian coordinate point HOME, Y number
E6POS Cartesian Coordinate Points
value 200, Z value -100
89
Machine Translated by Google
COUNTER count register $C[1] = 10 Store the value 10 in the count register No. 1
PR position register $PR[2] = {X 0,Y 150,Z 300,A 0,B 0,C 0} store the position information in position register 2
90
Machine Translated by Google
VO solenoid valve output $VO[1] = TRUE turns on the solenoid valve signal gate number 1 to output the signal to the outside
$ RO [1] = FALSE The signal gateway number 1 of the robot end stops outputting
RO Robot end output
signal
virtual output $SO[1] = 0 Fieldbus signal gateway number 1 stop outputting signal
SO
(Fieldbus) No
WO welding output $WO[1] = TRUE to open the welding signal channel number 1 and output the signal to the outside
DEF subroutine DEF ()…END Repeated programs create groups to form subroutines
DEFFCT ()… A reusable program that returns a value creates a grouping function.
DEFFCT function
RETURN ENDFCT
EXT [subroutine name]([subroutine Declare an external subroutine, which represents the user's content of this subroutine
formula parameter value]) Written in another separate file, when needed by the main program,
EXT external subroutine
Call the subroutine content of another file for use.
DEF ()…END
EXTFCT [return data] [letter Declare an external function, on behalf of the user to write the content of this function in
91
Machine Translated by Google
Call the function content of another file for use, and will return the data
RETURN ENDFCT
92
Machine Translated by Google
program editing
Redo restores the previous step and restores the instructions of the previous step
Undo restores the next step and restores the next command
Cancel the text indent, the text will be the same to the left,
The text is indented, the text will be left according to the process
Indent indent Controls the hierarchical arrangement of functions, each indentation phase
4 characters away.
UncommentUncomment _
to restore normal functioning.
Comment _ Lines are omitted to read, the font will change to green slanted
The command editing option will pop up the corresponding modification parameter interface according to each line of commands. After selecting the command to be edited,
Clicking the Edit button will pop out the small window interface where the command was originally edited, which can be used for parameter modification. not all commands have
93
Machine Translated by Google
4.3 The problem of importing workpieces into the tray Robot, Object, Workpiece tab operations. middle
4.4 The problem of picking and placing materials at the end of the arm installation middle
4.5 The arm is erected on the external axis of the parallel track difficult
Certainly
4.6 The arm picks up the workpiece and moves it to the machine tool to unload the material Robot I/O setting, arm program editing, External difficult
axis setting
94
Machine Translated by Google
ÿ Exercise content:
Figure 4-1 Schematic diagram of adding arm operation and importing objects
Steps:
1. Add the arm: model RA610-1476, and match the height of the base, the Z axis is up 450mm.
95
Machine Translated by Google
ra610_base_s.stl
To fix the arm on ra610_base_s, click the Setting button on the Object tab, select RA610-
1476 After the arm is connected to Link1, and then click to add a new link to set as a link, match the height of the base, and the Z axis is down
3. Save, on the File tab, select Save HRS File to save the file.
96
Machine Translated by Google
ÿ Exercise content:
Robot and Object tab operations, Robot I/O settings, and equipment modularization.
Figure 4-6 Schematic diagram of the modularization problem of the tray equipment
ÿ Operation steps:
1. Refer to 4.1 Add Arm Operation and Import Object Exercises, and continue with the subsequent operations.
2. Add Object 3D file stl files: tray_base*1, tray_stage*2 stl files of tray modules.
tray_stage.stl
tray_base.stl
97
Machine Translated by Google
3. Set the Add Equipment tab to make multiple Objects form a module.
(2) Click " " to create a new device group, and enter the modular file name: EQ.
(3) Set the device DIO Count to DI:4 and DO:4, and click Set.
(4) Select the tray_base of the Object object from the drop-down menu, and click “ ” to add it to the Equipment Part Tree
, it is a modular group, execute the tray_ stage of the Object object twice, and click " " to be included in the modular selection.
(5) Adjust the set position of tray base (tray_base), (X,Y,Z,RX,RY,RZ) is (200, 1700, 0, 0, 0, 0), press Set
key. Adjust the setting position of the tray stage (tray_stage), one (X,Y,Z,RX,RY,RZ) is (0, 0, 0, 0, 0, 0), the other
(6) Set the script (Script) Click to expand the script interface, and click " " to enter the script name left_in, click Set,
Select DI1 and DO1 in Script DIO, click Set, select 102 in Add motion, click “ ”, the Y axis moves
Adjust the moving distance to 0mm, set the time to 1.5 seconds, click Save; add a script named left_out,
Script DIO Select DI2 and DO2, Add motion select 102, click “ ”, the Y-axis movement distance is
500mm, set the time to 1.5 seconds, click Save, and perform the same method in the execution of another tray stage (tray_stage) setting.
OK, select 103 for Add motion, click “ ”, the names are right_in and DIO, each is 3; right_out and DIO are
98
Machine Translated by Google
(6).Add script
99
Machine Translated by Google
4. Click the save button in the upper left corner of the Equipment screen, and select the save location for modular file naming and access.
5. Then connect the Controller, click on the EQ Setting column in the Robot I/O to perform EQ I/O Setting, and then drop down the menu
Click Equipment, choose EQ on the right, click Script left_in, DO1 and DI0, ON\OFF choose OFF;
Script left_out, select 1 for DIO, ON\OFF select ON; click Script right_in, DO2 and DI0, ON\OFF
Select OFF; Script right_out, DIO select 2 each, ON\OFF select ON.
6. After selecting the Robot I/O setting on the Robot tab, there will be more DO Settings that have been connected. Use DO[1] and
DO[2] can make the tray platform move, and after the movement, the DI[1] and DI[2] signals will turn green (ON), which means the setting mode
100
Machine Translated by Google
Figure 4-12 The component diagram of the tray module and the completion diagram of the DO signal setting
7. Save, on the File tab, select Save HRS File to save the file.
101
Machine Translated by Google
ÿ Exercise content:
Figure 4-13 Schematic diagram of the problem of importing workpieces in the tray
ÿ Operation steps:
1. Refer to the exercise of 4.2 Modularization of the tray equipment, and continue the subsequent operations.
Workpiece.stl
102
Machine Translated by Google
3. Fix the Workpiece on the tray stage (tray_stage) as follows, click on the Setting button in Add Workpiece
button, the Workpiece Setting window will appear. Select Workpiece on Object to hang 102:tray_stage.stl.
Click "+" to add it to 104: Workpiece.stl, that is, to complete the first workpiece mount, and enter Initial Position
position, (X,Y,Z,RX,RY,RZ) is (120, -1150, 1056, 0, 0, 90), press the Set button.
4. Select another 105: Workpiece.stl in the left window Layout, click the right mouse button and select Workpiece
Setting setting, refer to step 3. Add 106: Workpiece.stl and mount it on 102:tray_stage.stl, refer to
Initial Position, (X,Y,Z,RX,RY,RZ) is (0, -1150, 1056, 0, 0, 90), press the Set button. in the same way
Formula 106: Workpiece.stl position (X,Y,Z,RX,RY,RZ) is (-120, -1150, 1056, 0, 0, 90) and 107:
103
Machine Translated by Google
5. Save, on the File tab, select Save HRS File to save the file.
4.4 Exercise of picking and placing materials at the end of arm installation
ÿ Exercise content:
Robot, Object, Workpiece tab operation, Robot I/O setting, arm program editing.
Figure 4-17 Schematic diagram of the problem of picking and placing materials at the end of the arm installation
ÿ Operation steps:
1. Refer to 4.3 Importing Workpieces in the Material Tray for the exercise, and continue with the subsequent operations.
2. Add the Object 3D file stl file: mcsh_160*1 gripper body 3D file and f_01*1, f_02*1 clip
104
Machine Translated by Google
3. To set the finger on the gripper and the finger movement, click the Setting button in the Add Robot Tool option to start the setting.
After selecting the "108:mcsh_160.stl" object, click "+" to add it to the Robot Tool Part Tree;
Add the "109:f_01.stl" object, the "110:f_02.stl" object, the "108:mcsh_160.stl" object in this way, press
Figure 4-20 Interface diagram of adding Robot Tool Part Tree components
105
Machine Translated by Google
Press the right button to open the script page, add the script name pick, Add motion 109: Y is 40mm, motion
110 : Y is -40mm, Motion Time is 0.5 seconds, DIO is 1, press the Save button; then increase in the same way
Script name place, Add motion 109: Y is 0mm, motion 110: Y is 0mm, Motion Time is 0.5
Figure 4-21 Setting the Part motino setting parameter value interface
4. Set the workpiece clamping signal, clamping position and register number, and set Workpiece Change in Robot Tool
Countor is C1 (change the workpiece clamping state of the gripper), Workpiece Group Countor is C7 (change the specified group setting
In Robot Tool Signal Setting, Robot Tool Action Do : 3 and other parameters; then enter the workpiece placement
The position (X, Y, Z, RX, RY, RZ) in the arm tool is (0, -6, 260, 180, 0, -90), refer to Figure 4-29, and press Set to save.
Figure 4-22 Interface diagram for adjusting workpiece clamping signal and clamping position
106
Machine Translated by Google
5. Then connect the Control, click the EQ Setting column in the Robot I/O to perform EQ I/O Setting, and then drop down the menu to click
Select Robot Tool, select Robot 1 on the right, click Script pick, select 3 for each DIO, select ON for ON\OFF; Script
6. After selecting the Robot I/O setting on the Robot tab, there will be more Robot Tool groups that have been linked. Use (Tool
501) DO[3] can make the gripper move to open and close, and after picking up the Pick movement, the DI[3] signal will turn green (ON);
After the Place is moved, the DI[4] signal will turn green (ON), which means the setting is modular and the signal is correct. (Also programmatically
Figure 4-24 The interface diagram of the end tool signal setting completion
107
Machine Translated by Google
4.5 The arm is erected on the external axis of the parallel track.
ÿ Exercise content:
Figure 4-25 Schematic diagram of the arm erected on the external axis of the parallel track
ÿ Operation steps:
1. Refer to 4.4 Exercise of Picking and Unloading Materials at the End of Arm Mounting, and continue with the subsequent operations.
2. Add external axis (External Axis) 3D file stl file: EX_STAGE (Move mobile platform)*1,
EX_SLIDE(Base movement track) *1 stl file of external axis. Check the E1 Enable option and select the file screen
It must be sequential, first load the stage (EX_STAGE), and then load the movable track (EX_SLIDE).
EX_SLIDE.stl
EX_STAGE.stl
Figure 4-26 3D diagram of moving platform and moving track with external axis added
108
Machine Translated by Google
3. Click on External Axis Setting, set the parameters of the external axis as linear movement mode (click on the straight line graph), and set it as the external axis
E1 increases the +Y direction, the position of the external axis (X, Y, Z, RX, RY, RZ) is (1100, 0, 1160, 0, 0, -90), press Set and press
key.
4. To set the external axis parameters in the arm, you need to connect the arm first, and then click the EX Setting button to set the parameters. E1
The external axis uses the positive and synchronous movement method, the High Limit is 36000mm, and the Low Limit is
3600mm, Gear Ration 100, Pitch 360mm, Motor Max Speed 6000rpm, Motor
Acc Timr is 200ms, Motor Resolution is 131071, press the Save button.
109
Machine Translated by Google
5. Arm and external axis coupling settings and external axis settings, check the Couple (coupling) in the External Axis option to let the arm and the external axis set.
Combine the movement of the external axes, and adjust the position of the arm (X, Y, Z, RX, RY, RZ) to (0, -1200, -470, 0, 0, 0), press Set
key.
6. To test the movement status of the external axis, click the EX single-axis movement button on the Robot tab to test the forward/reverse movement of the E1 axis.
If the movement matches the expected movement then complete the exercise.
110
Machine Translated by Google
4.6 The arm picks up the workpiece and moves it to the machine tool to unload the material
ÿ Exercise content:
Robot , Object , External Axis tab operations, Robot I/O settings, arm program editing.
Figure 4-31 Schematic diagram of the problem that the arm picks up the workpiece and moves it to the machine tool
ÿ Operation steps:
1. Refer to 4.5 The arm is erected on the external axis of the parallel track for the exercise, and then continue the subsequent operations.
2. Import the EQ module, click Open EQ in the Add Equipment option, and select the "EQ_01.eq" file.
111
Machine Translated by Google
3. To set the position of the tool unit, click Add Eq setting in the Add Equipment option, under the Equipment option
Pull to select "EQ_01", click "107:machine_boday.stl" in the Equipment Part Tree to set the machine tool
The position of the main body (X, Y, Z, RX, RY, RZ) is (-1000, -800, 0, 0, 0, 0), press the Set button.
4. Then add the Object files RAS-170_base and RAS-170_A_axis and attach them to the EQ_01
117: on x_platform, then 122: RAS-170_A_axis is appended to 121: RAS-170_base, 121: RAS
112
Machine Translated by Google
5. Set the device script, set the script as close and open, refer to Figure 4-35 and Figure 4-36.
6. On the setting IO page, set the close script DO:4 and DI:5, ON\OFF of EQ_01 of Equipment in EQ Setting.
ON; open scripts DO:4 and DI:6, ON\OFF are set to OFF, refer to Figure 4-37.
113
Machine Translated by Google
7. To program the robot arm, you need to connect the arm first, click the task folder, click the New arm program file, and enter
hrb file name practice_6_1, write arm program, refer to the following program example content. (Please refer to Chapter 3 Hands
8. To calibrate the arm points (including external axes) in the program, 6 points need to be calibrated to match the program, refer to the program position in the table below.
114
Machine Translated by Google
P4
P6
P0
P7 P5
P1
P2
P3
9. Save the HRB program of the arm and send it to Device 1 of the arm device, then select the name of the folder to be accessed
"HRSim" and double-click the left mouse button, the system will return the Save HRB file on
Device1successfully)ÿ
115
Machine Translated by Google
10. Set the execution task program, in the HRB File tab, select the arm program practice_6_1.hrb to be executed, click the mouse
Right-click and select Run HRB File to start running the program.
11. Click the Robot tab, execute the arm program, and confirm that the arm has moved. If the speed is too slow, you can adjust the movement speed.
116
Machine Translated by Google
ÿ Example program 1: Arm grabs a single workpiece loading and unloading machine tool (practice_6_1.hrb)
8 PTP P0 CONT Vel = 100% ÿ Move to the point above the left tray
10 $C[7] = 102 ÿ Set the workpiece group counter to the left tray
11 $C[1] = $C[1] - 1 ÿ
12 $C[7] = 108 ÿ Set the workpiece group counter and place it on the gripper
13 $C[1] = $C[1] + 1 ÿ Set the workpiece counter to increment by 1, and pick up a workpiece with a number one
14 $DO[3] = TRUE ÿ Close the gripper jaws and grip the workpiece
16 PTP P0 CONT
17 PTP P2 CONT ÿ Move to the point above the external axis moving platform
19 $C[7] = 108 ÿ Set the workpiece group counter and place it on the gripper
20 $C[1] = $C[1] - 1 ÿ Set the workpiece counter to decrement by 1, and the workpiece leaves the gripper
21 $C[7] = 11 ÿ Set the workpiece group counter to be placed on the external axis
22 $C[1] = $C[1] + 1
23 $DO[3] = FALSE ÿ Open the gripper jaws and place the workpiece
117
Machine Translated by Google
25 PTP P2
27 $C[7] = 108 ÿ Set the workpiece group counter and place it on the gripper
28 $C[1] = $C[1] - 1
29 $C[7] = 122 ÿ Set the workpiece group counter and place it on the machine tool turntable
30 $C[1] = $C[1] + 1
31 $DO[3] = TRUE ÿ From the external axis platform, pick up the workpiece No. 1
33 LIN P2
34 PTP P5 ÿ Put into the machine tool via P5 to P4, P5 is the relay point
35 PTP P4 Avoid the arm movement path hitting the machine tool
36 $C[7] = 11 ÿ Set the workpiece group counter to be placed on the external axis
37 $C[1] = $C[1] - 1
38 $C[7] = 122 ÿ Set the workpiece group counter and place it on the machine tool turntable
39 $C[1] = $C[1] + 1
40 $DO[3] = FALSE
44 $DO[4] = TRUE ÿ Switch on device signal 4 and close the door of the machine tool
45 WAIT FOR $DI[5] == TRUE ÿ Wait for the machine tool action complete signal
47 $DO[4] = FALSE ÿ Switch off device signal 4 and open the door of the machine tool
50 PTP P4 ÿ Position on the turntable of the discharge point in the gripper machine
118
Machine Translated by Google
52 $C[7] = 118 ÿ Set the workpiece group counter and place it on the machine tool turntable
53 $C[1] = $C[1] - 1
54 $C[7] = 11 ÿ Set the workpiece group counter to be placed on the external axis
55 $C[1] = $C[1] + 1
56 $DO[3] = TRUE
58 LIN_REL{Z 30} ÿ Relatively move to the position of point P4, where Z is raised by 30mm
59 LIN P3 FINE = 1
62 $C[7] = 11 ÿ Set the workpiece group counter to be placed on the external axis
63 $C[1] = $C[1] - 1
64 $C[7] = 103 ÿ Set the workpiece group counter to be placed on the right pallet
65 $C[1] = $C[1] + 1
66 $DO[3] = FALSE ÿ Open the gripper jaws and place the workpiece
68 LIN P6
69 PTP P0
Remark:
ÿ The workpiece group needs to be transformed so that the workpiece can be properly combined with the group.
ÿ If there is related $C[7] workpiece group conversion, it is recommended to write it before the switch signal so that there will be no problem in reading.
ÿ The count register $C[1] should not be a negative value. The workpiece disappears when the value of $C[1] is reduced by 1, and the workpiece appears when it is increased by 1.
ÿ The program is for reference only, and the program content can be written according to the program logic category that users are used to.
119
Machine Translated by Google
ÿ Example program 2: Arm grabs 4 workpieces with loading and unloading machine tool (practice_6_2.hrb)
7 WAIT SEC 1
9 TRAY1 = P0
10 EXP1 = P2
11 $C[2] = 1
13 PTP TRAY1 CONT Vel = 100% ÿ Clamps the workpiece from the pallet to the external axis
15 CHANGEGROUP(103,108) ÿ Switch the workpiece's current group left pallet >> gripper
18 PTP P0 CONT
120
Machine Translated by Google
26 TRAY1.Y = TRAY1.Y-120 ÿ Set the offset and move the point to the next pick-up point
27 EXP1.Y = EXP1.Y-120 ÿ Set the offset and move the point to the next discharge point
28 $C[2] = $C[2] + 1 ÿ Set the workpiece counter, and the next number will be clamped
31 $C[1] = $C[1] -1
33 EXP2.Y = EXP2.Y-360
34 INT I = 0 ÿ Lines 35~70 of the program take the workpiece from the external axis
35 FOR I = 0 TO 3 STEP 1 And put the value inside the machine tool in sequence, and then the machine tool
36 PTP EXP2 FINE=1 Internally places the workpiece back into the external shaft.
39 $DO[3] = TRUE
41 LIN EXP2
42 PTP P5 ÿ Put into the machine tool via P5 to P4, P5 is the relay point
43 PTP P4 FINE=1 Avoid the arm movement path hitting the machine tool
48 PTP P5 FINE=1
49 $DO[4] = TRUE ÿ Switch on device signal 4 and close the door of the machine tool
50 WAIT FOR $DI[5] == TRUE ÿ Wait for the machine tool action complete signal
121
Machine Translated by Google
52 $DO[4] = FALSE ÿ Switch off device signal 4 and open the door of the machine tool
54 P4.Y = P4.Y + 100 ÿ Add 100mm to the Y-axis direction of the P4 point
56 P4.Y = P4.Y - 100 ÿ Calculate the Y axis direction of the P4 point minus 100mm
59 $DO[3] = TRUE
61 LIN_REL{ Z 30}
65 $DO[3] = FALSE
67 LIN_REL {Z 200}
68 $C[1] = $C[1] - 1
69 EXP2.Y = EXP2.Y+120
70 ENDFOR
71 LIN P3 FINE=1
72 TRAY2 = P6
73 EXP3 = P2
74 TRAY2.Y = TRAY2.Y-360
75 INT J=0 ÿ Behaviors 76~92 of the program are sequentially fetched from external axes
76 FOR J= 0 TO 3 STEP 1 and place the workpiece on the tray on the right.
122
Machine Translated by Google
77 $C[1] = $C[1] + 1
78 PTP EXP3
81 $DO[3] = TRUE
84 PTP TRAY2
87 $DO[3] = FALSE
89 LIN TRAY2
90 TRAY2.Y = TRAY2.Y+120
91 EXP3.Y = EXP3.Y-120
92 ENDFOR
95 DEF CHANGEGROUP(G1:IN,G2:IN) ÿ Change the current group type of the workpiece, G1 represents the original
96 INT G1,G2 This group code, G2 represents the new group code,
97 $C[7] = G1 The group code will toggle the value of $C[7] (to change the parameter
98 $C[1] = $C[1] - 1 Refer to Figure 4-22); if the value of $C[1] is reduced by 1, the workpiece will be eliminated.
100 $C[1] = $C[1] + 1 ;$C[7] = 11 ; External axis ;$C[7] = 102 ; left tray
123
Machine Translated by Google
Remark:
ÿ The workpiece group needs to be transformed so that the workpiece can be properly combined with the group; and the group
When replacing, it is recommended to replace the pre-reading state (FINE=1) with the previous point.
ÿ If there is related $C[7] workpiece group conversion, it is recommended to write it before the switch signal so that there will be no problem in reading.
ÿ The count register $C[1] should not be a negative value. The workpiece disappears when the value of $C[1] is reduced by 1, and the workpiece appears when it is increased by 1.
ÿ The program is for reference only, and the program content can be written according to the program logic category that users are used to.
124
Machine Translated by Google
ÿ Please check the current state of the arm in the connection status bar. HRSS needs to be switched to EXT mode and can only be operated in the state of no alarm.
as an arm.
ÿ Connected but unable to execute the program, how to set the arm program to execute?
ÿ When the arm is executed normally without any error, click the Robot tab and the arm to run the Start button does not perform any action. It needs to be set completely.
The path and name of the program to be executed can be executed normally; please go to the HRB File window on the left and click the
After the program, click the left mouse button, select the "Set Task" option, and confirm whether the Set Task field has the program path and name
say. You can also click the program you want to execute, click the left mouse button, select the "Run HRB File" option, and directly start the selection.
program.
125
Machine Translated by Google
ÿ Remember that after editing the program, you need to archive it yourself, the system will not automatically assist in the archive.
ÿ After editing the program, remember to make an archive by yourself. The archive can be divided into two parts: HRSim local side (local) and arm device (device) side
ÿ The image file has been created but cannot be loaded into HRSim?
ÿ Please make sure that the file format is STL file and place it in the specified folder. Please refer to chapter 1.4 for the location of the file.
ÿ There will be a coordinate system of the part when drawing a drawing, and the drawing will be imported into HRSim according to the coordinates.
ÿ Can't see the new simulation object after importing the image?
ÿ If you can see the file name in the object system tree Layout but cannot see the file in the simulation window, the file may be drawn.
Other objects in the surface are blocked or the image file is outside the simulation window screen. You can move the image file position or zoom the simulation window to find it.
Find objects.
ÿ If the file is not used after importing the image, you can click hide or disable in the setting to hide the image.
126
Machine Translated by Google
ÿ Save the created configuration with File- -> Save HRS File, refer to chapter 2.2.1, Error! Reference source not found. At
Find the saved file in the File folder, and share the file and the corresponding image file (STL file) with others.
ÿ If an abnormal alarm occurs when the program is executed, the first number of the alarm content shows the number of abnormal lines in the program, as shown in the figure below, the alarm
The first number of the content shows 0. Refer to the 0th line in the program or 1~2 lines before and after to find the programming error.
ÿ For more complete descriptions and usage examples, please refer to the Shanghai Bank Robot Software Instruction Set Manual, which can be found on the official website of Shanghai Bank Technology Co., Ltd.
site download.
127
Machine Translated by Google