How do I create an IF statment using DO or DI?
When I try and create it I'm getting the following error.
"Type mismatch of expected type bool and found type SignalDO"
Any help would be much appreciated.
Cheers.
How do I create an IF statment using DO or DI?
When I try and create it I'm getting the following error.
"Type mismatch of expected type bool and found type SignalDO"
Any help would be much appreciated.
Cheers.
See doutput and testdi in the manuals.
Is there a specific manual?
The rapid reference will do. You can get it in this forum, in the dvds or cdroms that come with the robot or downloading robotstudio from the abb website.
You will see this is really easy to use.
It's like: if (doutput (name)=1)...
And: if (testdi (name))...
Hope this helps.
the statatement
if DI01 = 1 then
should work. maybe do you wrote "true" and not "1"? DIs are num and not bool in RAPID, also if can appear strange...