M
Hello everyone !
I'm an automation student close to graduation and I'm assigned to work with Schneider's PLCs and servo motors for a big college project.
The problem is :
I'm working with a program which exports a text file with numerical values representing robot positions in discrete times. I have to use this data in Unity Pro to operate with two servo motors with Modicon M340.
I was suggested to write data representing these positions from a text file to PLC memory. Then I would make a routine in Unity Pro which would use a pointer on the memory of the PLC and read in which Cartesian position the tip of the robot must be in a certain moment of time. From this position I'd calculate the needed relative moves of the servo motors. The problem is I have no idea how to write a long list of numbers into PLC memory.
An example of how this text file looks like:
1000 1000 1000 1 1.5 1
.
. (couple of thousands of such data sets)
.
xxx yyy zzz a b c
Where x,y and z are Cartesian coordinates of the tip of the robot in real space and a b c are the angles under which he looks in relation to its base.
My questions are :
1) How can a list of numbers from a text file be written into PLC Modicon M340 memory so I can read them and use them with Unity Pro ?
2) I read tons of data over the Internet and on this forum, and if I understand it right, I'd need an OPC server ? There is so much data and products that it's confusing. Does Schneider have their own products which would help me with this ?
3) Could anyone give me a few quick sequential points on how to solve this problem and direct me to some sites or manuals which could help me ?
4) Any opinion or help would be GREATLY appreciated.
With respect and looking forward to some helpful advice,
Mihovil,
FER Zagreb
I'm an automation student close to graduation and I'm assigned to work with Schneider's PLCs and servo motors for a big college project.
The problem is :
I'm working with a program which exports a text file with numerical values representing robot positions in discrete times. I have to use this data in Unity Pro to operate with two servo motors with Modicon M340.
I was suggested to write data representing these positions from a text file to PLC memory. Then I would make a routine in Unity Pro which would use a pointer on the memory of the PLC and read in which Cartesian position the tip of the robot must be in a certain moment of time. From this position I'd calculate the needed relative moves of the servo motors. The problem is I have no idea how to write a long list of numbers into PLC memory.
An example of how this text file looks like:
1000 1000 1000 1 1.5 1
.
. (couple of thousands of such data sets)
.
xxx yyy zzz a b c
Where x,y and z are Cartesian coordinates of the tip of the robot in real space and a b c are the angles under which he looks in relation to its base.
My questions are :
1) How can a list of numbers from a text file be written into PLC Modicon M340 memory so I can read them and use them with Unity Pro ?
2) I read tons of data over the Internet and on this forum, and if I understand it right, I'd need an OPC server ? There is so much data and products that it's confusing. Does Schneider have their own products which would help me with this ?
3) Could anyone give me a few quick sequential points on how to solve this problem and direct me to some sites or manuals which could help me ?
4) Any opinion or help would be GREATLY appreciated.
With respect and looking forward to some helpful advice,
Mihovil,
FER Zagreb