Thank you!
As always there is many different ways to do things.
I’ll try your way, and just keep the ladder default.
Sent from my iPhone using Tapatalk
Thank you!
As always there is many different ways to do things.
I’ll try your way, and just keep the ladder default.
Sent from my iPhone using Tapatalk
So i can use and modify mreg in the robot jobs?
One thing I will do is read in a value for offsetting y-value of a p-var, and the others is for counting and so on.
But if I can use the mreg as you mentioned I can avoid negative numbers for simplicity.
Sent from my iPhone using Tapatalk
Hi,
Sorry, but it's kind of confusing to me too!
My goal is to have 16 words of digital I/O between the robot and the plc, and that is already mapped in the ladder.
But i also need to send numbers of two bytes (integer) from the plc to the robot, and from the robot to the plc.
So i should just use the MOV W# function in the ladder to a MREG, and than the GETREG/SETREG in the robot programs?
Isn't it possible to put two bytes as an integer directly without doing it in a robot job?
Hi!
I am about to configure the communication between a plc and two dx200 controllers.
I will add 32bytes as digital in/out, and 16 INT as in/out.
So in the CIO ladder, i will move two bytes to a MREG. Is it possible to write GETREG in the CIO ladder to move the MREG to an I-var directly?
Like this:
MOV W#20390,M010
GETREG I001 MREG#(10)
MOV W#20410,M010
GETREG I002 MREG#(10)
...
SETREG MREG#(10) I020
MOV M010,W#30390
SETREG MREG#(10) I021
MOV M010,W#30410
Or is there a better way of adding two bytes to a word and into an i-var in the ladder?
BR