B FlexLoader RAPID reference
B.1 FlexLoader data type prefix
Variable prefixes and naming
The following prefixes are used for data types.
•
b (bool), e.g. bRobotStandsStill
•
btn (btnres), e.g. btnResponse
•
c (clock), e.g. clkInPosition
•
DOF (signaldo on virtual I/O), e.g. DOF_RunFeeder1
•
i (intnum), e.g. iOutletInPosition
•
io (iodev), e.g. ioSicMarker
•
jt (jointtarget), e.g. jtSoftwareSyncPos
•
n (num), e.g. nDetailInGripper1
•
p (robtarget), e.g. pViaMachine1
•
s (string), e.g. sModuleCam{}
•
di (signaldi), e.g. diSampleOutletInPositionSensor
•
do (signaldo), e.g. doRunFeederOut
•
t (tooldata), e.g. tCalibTool1
•
v (speeddata), e.g. vLowSpeed
•
w (wobjdata), e.g. wCamera1
Several seldom used data types do not obtain their own prefix, e.g. shapedata,
errnum, wzstationary. Variables inside records do not use prefixes either.
Variables are named with prefix and a descriptive name, where start of new words
is indicated with capital letters (see examples above).
Constant prefixes and naming
Constants do not have any prefix. They are named with capital letters, with words
divided by “_”. Examples are LOW_AIR_PRESSURE and STATE_LOAD_MAIN.
Product manual - FlexLoader Vision
257
3HAC051771-001 Revision: B
© Copyright 2014-2018 ABB. All rights reserved.
B FlexLoader RAPID reference
B.1 FlexLoader data type prefix
Содержание FlexLoader Vision
Страница 1: ...ROBOTICS Product manual FlexLoader Vision ...
Страница 8: ...This page is intentionally left blank ...
Страница 12: ...This page is intentionally left blank ...
Страница 14: ...This page is intentionally left blank ...
Страница 16: ...This page is intentionally left blank ...
Страница 62: ...This page is intentionally left blank ...
Страница 96: ...This page is intentionally left blank ...
Страница 180: ...This page is intentionally left blank ...
Страница 218: ...This page is intentionally left blank ...
Страница 286: ......
Страница 287: ......