Hey, I am trying to figure out if RAPID is object oriented.
I cannot figure out how to create something like a class and have instances of it.
Any help will be appreciated. Thanks!
Object Oriented RAPID
-
dangalg -
February 11, 2019 at 6:49 AM -
Thread is marked as Resolved.
-
-
Check out "RECORD" for your data.
Sent from my S41 using Tapatalk
-
Check out "RECORD" for your data.Sent from my S41 using Tapatalk
I cannot find anything about RECORD.
can you give an example? -
This comes from dispenseware:
! Definition of open datatypes for RobotWare Dispense
!
RECORD beaddata
string info;
num flow1;
num flow2;
num flow1_type;
num flow2_type;
num equip_no;
num gun_no;
ENDRECORDRECORD equipdata
string info;
num on_time;
num off_time;
num ref_speed;
num acc_max;
num decel_max;
num fl1_on_time;
num fl1_off_time;
num fl1_inc_time;
num fl1_dec_time;
num fl1_delay;
num fl1_corr;
num fl2_on_time;
num fl2_off_time;
num fl2_inc_time;
num fl2_dec_time;
num fl2_delay;
num fl2_corr;
ENDRECORDMake sure that it is declared at the very top of the module, rapid will give a lot of errors if you don't declare it first.