hey all,
How can i read num data from plc, working with ABB IRC5.
For ex. waitime (num date from plc) ;
Thanks
hey all,
How can i read num data from plc, working with ABB IRC5.
For ex. waitime (num date from plc) ;
Thanks
var num nTimer;
WaitUntil Gi01_PLC_Numeric <> 0;
nTimer := GInput(Gi01_PLC_Numeric);
TPWrite " Current Timer is "\num:=nTimer;
WaitTime nTimer;
You have to set "Group Input" for 1,2,4,8... Binary Mix.
hey
I am still having difficulties from PLC side.
Wondering if you had the plc and robot code as an example?
Thanks
dhlg0110,
I don't know about other people here, but I'm a robot guy, not a PLC guy. The code provided by Robtics is exactly correct, but not complete. In Robtics' example, You would also need to create a Group Input signal named Gi01_PLC_Numeric, and address the signal to match the same range being used by PLC.
If you're still having PLC issues, I am unable to help.
Allocate 8 bits to be used as a group in the plc. Use a MOV instruction and send "your value" and dest would be the starting bit of the bits allocated for the group. typically used as a sint, however you can go bigger depending on your application
How can i allocate 8 bits on robot studio ?
Please explain. thanks
Add 8 new signals and map them to whatever number you want (I'm guessing the same number that you are sending them to/from PLC).
When you have those 8 signals, create a group by selecting the range start would be the first signal, end would be the last signal that you've added
http://developercenter.robotstudio.com/BlobProxy/manu…ual/doc131.html