7.3 FlexLoader Vision interface
Overview
The FlexLoader Vision interface code handles the interface and the communication
to and from FlexLoader Vision. No changes should be made to this code.
The basic application related use of the FlexLoader Vision interface is described
above, see
FlexLoader application functionality on page 92
. This section describes
additional functionality that can be used for a large variety of purposes.
For further reference, see
FlexLoader Vision interface on page 194
.
RAPID examples using Vision.sys
Camera exposure time, contrast and gain can be controlled from the robot.
! set contrast for camera 1 to 50%
CameraContrast CAMERA_NO_1, 50;
! set exposure time for camera 2 to 10%
CameraExposureTime CAMERA_NO_2, 10;
! set gain for camera 3 to 30%
CameraContrast CAMERA_NO_3, 30;
Positions for the currently used part can be switched on and off, if required by the
application.
! enable all positions for camera 1
EnablePosition CAMERA_NO_1, 1000;
! disable position 1 for camera 1
DisablePosition CAMERA_NO_1, 1;
! disable all positions for camera 1
DisablePosition CAMERA_NO_1, 1000;
! enable position 1 for camera 1
EnablePosition CAMERA_NO_1, 1;
Set alarm, warning and information in FlexLoader Vision alarm list.
! Set an alarm
SetAlarm "This is an alarm text";
! Set a warning
SetWarning "This is a warning text";
!Set an information message
SetInformation "This is an information";
!Reset the alarm
ResetAlarm "This is an alarm text";
! Reset the warning
ResetWarning "This is a warning text";
!Reset the information message
ResetInformation "This is an information";
Continues on next page
102
Product manual - FlexLoader SC 6000
3HAC051768-001 Revision: D
© Copyright 2014-2020 ABB. All rights reserved.
7 RAPID program
7.3 FlexLoader Vision interface
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: ......