Hi,
I got Robot Arm from one week, I setup Flowcode8, I read "Flowcode8_GettingStartedGuide" to learn the basics of flowcode.
I am also read "Robot Arm Curriculum BL0032" but I stopped because I can't know how to control the Robot using FlowCode.
At page 17 Robot Arm Curriculum BL0032
The information about how to load the "RA_FC_Manual control" ?
Could you help me?
FlowCode + Robot Arm
Moderator: Benj
-
- Posts: 5
- Joined: Sun Feb 10, 2019 3:58 pm
Re: FlowCode + Robot Arm
At page no. 18 in "Robot curriculum"
I supposed to:
Create anew Project and choose
2- Choose Robot Arm from Mechatronics menu then added it to 3D panel
3- modify the mode if I want to control the Robot directly or control the simulation.
4- Create a loop with two Macro.
when I did I get this error, Also the detalis of first Macro
It this step right? Could you help me?
I supposed to:
Create anew Project and choose
2- Choose Robot Arm from Mechatronics menu then added it to 3D panel
3- modify the mode if I want to control the Robot directly or control the simulation.
4- Create a loop with two Macro.
when I did I get this error, Also the detalis of first Macro
It this step right? Could you help me?
- Attachments
-
- f8.JPG (103.41 KiB) Viewed 3662 times
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: FlowCode + Robot Arm
Hi mahmoudmagdi,
The error relates to you not entering values in Expression text box for Index (Parameter 1)
and Position (Parameter 2)
Once both values are entered, the error should disappear.
The error relates to you not entering values in Expression text box for Index (Parameter 1)
and Position (Parameter 2)
Once both values are entered, the error should disappear.
Martin
-
- Posts: 5
- Joined: Sun Feb 10, 2019 3:58 pm
Re: FlowCode + Robot Arm
Thanks
About the first Macro
where he get " GetByte() " ?
About the first Macro
where he get " GetByte() " ?
- Attachments
-
- S.JPG (64.24 KiB) Viewed 3653 times
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: FlowCode + Robot Arm
The GetByte is referring to a variable that is called adc and is a byte (0 to 255)
The value of adc is determined by the position of the pot.
If not already added you will need to add it.
The GetByte is found within the ADC component.
The value of adc is determined by the position of the pot.
If not already added you will need to add it.
The GetByte is found within the ADC component.
Martin
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
-
- Posts: 5
- Joined: Sun Feb 10, 2019 3:58 pm
Re: FlowCode + Robot Arm
I am really appreciated your response
After that I only Press " Run" or there is another set I must do.
Also to control in real Robot, I must change the mode in LCD of Combo Board to "API" mode?
Is there Document or Video explain this process step by step it will be appreciated

After that I only Press " Run" or there is another set I must do.
Also to control in real Robot, I must change the mode in LCD of Combo Board to "API" mode?
Is there Document or Video explain this process step by step it will be appreciated
-
- Posts: 5
- Joined: Sun Feb 10, 2019 3:58 pm
Re: FlowCode + Robot Arm
when I press " Run "
This message appeared.
This message appeared.
- Attachments
-
- WhatsApp Image 2019-02-12 at 3.31.26 PM.jpeg (131.84 KiB) Viewed 3620 times
-
- f9.JPG (101.38 KiB) Viewed 3620 times
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: FlowCode + Robot Arm
Hello,
It looks like the Arm is receiving commands which is a good sign. Maybe add a 5 second delay after the first start icon and this may help to allow the Arm time to connect and establish communications before sending commands to the Arm. Hopefully this is all that is required.
It looks like the Arm is receiving commands which is a good sign. Maybe add a 5 second delay after the first start icon and this may help to allow the Arm time to connect and establish communications before sending commands to the Arm. Hopefully this is all that is required.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel