This module contains a number of predefined procedures or functions for
communication with the machine tool:
Description
Name
Help procedure for calibrating chuck at main spindle.
PROC CalibMainChuck()
Help procedure for calibrating chuck at sub spindle.
PROC CalibSubChuck()
Initiates what is necessary for machine handling. Sets up traps.
PROC InitMachine1()
NEEDED: Set up correct signals for interrupt handling.
Performs desired machine tool action.
PROC Machine1Ac-
tion(machineaction Ac-
tion)
NEEDED: Define signals and communicate with machine tool.
Checks machine tool and conditions and returns correct state
for use in main flow of program.
FUNC bool Ma-
chine1Check(ma-
chinecheck Check,\IN-
OUT bool Result)
NEEDED: Define signals and communicate with machine tool.
Waits for machine condition to be ok within
nMaxTime
. Returns
false if
nMaxTime
elapses.
FUNC bool Ma-
chine1Wait(ma-
chinecheck sWait,num
nMaxTime)
NEEDED: Define signals and communicate with machine tool.
DANGER
Ensure that the standard features in
Machine1Action
,
Machine1Check
and
Machine1Wait
are correctly implemented. Malfunction and collisions might
otherwise occur.
Note
We recommend the use of an additional background task if the robot cell requires
time critical machine tool communication.
Note
Operation with more than one machine requires the creation of these routines
with equivalent names, e.g. Machine2Action and Machine3Wait.
States and actions
The machine modules uses a number of predefined states and actions that are
consistently used. If needed, new values can be added in
GlobalCodeAndConfig.sys. However, do not remove the existing values, as these
are used in the FlexLoader core functionality.
Examples for predefined values are:
•
Examples for predefined machine checks/waits:
DOOR_OPENED, PREPICK_OK, LOAD_SUB_OK, LOAD_MAIN_OK,
UNLOAD_SUB_OK, UNLOAD_MAIN_OK, HOME_POSITION_OK,
MAIN_CHUCK_OPENED, MAIN_CHUCK_CLOSED, SUB_CHUCK_OPENED,
SUB_CHUCK_CLOSED
•
Examples for predefined machine actions:
Continues on next page
220
Product manual - FlexLoader SC 6000
3HAC051768-001 Revision: D
© Copyright 2014-2020 ABB. All rights reserved.
F FlexLoader RAPID reference
F.7 FlexLoader machine tool interface functionality
Continued
Summary of Contents for FlexLoader SC 6000
Page 1: ...ROBOTICS Product manual FlexLoader SC 6000 ...
Page 8: ...This page is intentionally left blank ...
Page 12: ...This page is intentionally left blank ...
Page 78: ...This page is intentionally left blank ...
Page 172: ...This page is intentionally left blank ...
Page 174: ...This page is intentionally left blank ...
Page 176: ...This page is intentionally left blank ...
Page 178: ...This page is intentionally left blank ...
Page 182: ...This page is intentionally left blank ...
Page 184: ...This page is intentionally left blank ...
Page 186: ...This page is intentionally left blank ...
Page 192: ...This page is intentionally left blank ...
Page 224: ...This page is intentionally left blank ...
Page 283: ......