Hi guys,
I had a Yaskawa M1440 Robot with DX200 Controller and OMRON NX1P2 + Sysmac Studio
With that OMRON I can turn on/off universal input/output through Ethernet.
But I need to transfer data position from PC to Robot. Do you guys used to did something like that? Please help me. I need a guide, this is my thesis, I have to solve it to graduate.
Any solution to write variables to DX200?
-
nhochamcuoi -
March 13, 2018 at 8:14 AM -
Thread is marked as Resolved.
-
-
What protocol are you using? (Modbus TCP or Ethernet/IP)
what setting did you do in controller and NX1P? -
I'm using Ethernet bro
-
if you set you ladder you can get the data from your PLC .
read the document of instruction ladder .you can use "GRP" for use one byte or,
you can use "BMOV" with Wrelay using 2 byte so you take the data form your external input and write it in a "register" and after you move the register in a Position variable
Make a Mapping of your I/O network . -
if you set you ladder you can get the data from your PLC .
read the document of instruction ladder .you can use "GRP" for use one byte or,
you can use "BMOV" with Wrelay using 2 byte so you take the data form your external input and write it in a "register" and after you move the register in a Position variable
Make a Mapping of your I/O network .Can you describe more clearly? Did you use to do something like that?
Please give me your email to we can discuss more. -
Hello
You need first make your ladder. You need to read concurrent I/O manual.
Here is example when plc send to robot values what are writing external inputs group 20080 and 20090 to robot register M011.
MOV W#20080,M011He is example when robot send to plc data.
MOV M001,W#30080.Okay when you get communication ok
here is little example one way to send position data to robot or robot to plc.
'ROBOT TO PLC
GETPOS PX000 STEP#(1)
GETE D001 P000 (1)
GETE D002 P000 (2)
GETE D003 P000 (3)
GETE D004 P000 (4)
GETE D005 P000 (5)
GETE D006 P000 (6)
SET I001 D001
SET I002 D002
SET I003 D003
SET I004 D004
SET I005 D005
SET I006 D006
SETREG MREG#(1) I001
SETREG MREG#(2) I002
SETREG MREG#(3) I003
SETREG MREG#(4) I004
SETREG MREG#(5) I005
SETREG MREG#(6) I006
'PLC to Robot
GETREG I011 MREG#(11)
GETREG I012 MREG#(12)
GETREG I013 MREG#(13)
GETREG I014 MREG#(14)
GETREG I015 MREG#(15)
GETREG I016 MREG#(16)
SET D011 I011
SET D012 I012
SET D013 I013
SET D014 I014
SET D015 I015
SET D016 I016
SETE P001 (1) D011
SETE P001 (1) D011
SETE P001 (2) D012
SETE P001 (3) D013
SETE P001 (4) D014
SETE P001 (5) D015
SETE P001 (6) D016I hope this helped.
-
Just be carefully the DATA that your receive from the PLC use heavyweight and lowweight , you must use Roll left or right whatever you want.
if you don't use it the data send by the PLC would be wrongcordially