Author Topic: mitsubishi rv 1a robot and MELFA CR1-571 Controller problem  (Read 2025 times)

0 Members and 1 Guest are viewing this topic.

Offline jone.smith

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 8
mitsubishi rv 1a robot and MELFA CR1-571 Controller problem
« on: December 06, 2016, 11:40:38 AM »
Hi every one
I am trying to control mitsubishi rv 1a robot using c# (MELFA CR1-571 Controller)

I know that there are two type of robot language (MELFA-BASIC IV & MOVEMASTER)

in MELFA-BASIC IV I tried following code to Initialize connection:

SerialPort _SerialPort = new SerialPort();
_SerialPort.PortName = combo_Port_Name.Text;
_SerialPort.BaudRate = Convert.ToInt16(combo_Port_CommSpeed.Text);
_SerialPort.DataBits = Convert.ToInt16(combo_Port_DataBit.Text);
_SerialPort.StopBits = (StopBits)Enum.Parse(typeof(StopBits), combo_Port_StopBit.Text);
_SerialPort.Parity = (Parity)Enum.Parse(typeof(Parity), combo_Port_Parity.Text);

_SerialPort.Open();
_SerialPort.Write("1;1;OPEN=usertool" + "\r");
_SerialPort.Write("1;1;Cntlon" + "\r");
_SerialPort.Write("1;1;Srvon" + "\r");

I expected to recieve QoK from serial port and servo turned on

but that didn't happened

is there any wrong in my code????

and if i need to control robot using MOVEMASTER what are commands to Initialize connection????

thanks to all


Notes:
the serial port parameters as datasheet
connection speed = 9600
Data Bit = 8
Stop Bits = 2
Parity = even

Offline MeanMit

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
Re: mitsubishi rv 1a robot and MELFA CR1-571 Controller problem
« Reply #1 on: December 08, 2016, 11:39:23 AM »
Hello,

Unfortunately I can't help, I only have a question...
Can you please tell me where you got Melfa Basic IV

Cheerios,

Offline jone.smith

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 8
Re: mitsubishi rv 1a robot and MELFA CR1-571 Controller problem
« Reply #2 on: December 10, 2016, 10:07:17 AM »
Hello,

Unfortunately I can't help, I only have a question...
Can you please tell me where you got Melfa Basic IV

Cheerios,

I am not sure that I  understood your question

I am not using Melfa software
I just using c# to send commands to cr1-571 controller (which contains builtin Functions (MELFA-BASIC IV or MOVEMASTER) )


Offline MeanMit

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
Re: mitsubishi rv 1a robot and MELFA CR1-571 Controller problem
« Reply #3 on: December 10, 2016, 01:46:23 PM »
Sorry, my bad!

I am a beginer with robots and I had the impression that melfa basic IV is something like cosirop/cosimir..