Storing a group output value to a variable
Hello All,
Am using IRB6700 robot for pick and place Palletization application. i recive the count values from siemens PLC using profinet. Assigned Group Input and Group Output to receive decimal values from PLC to robot. But i do nit know how to store the decimal values of Group Output in a variable.
Any sample code would be helpful. Or any other method also appreciated.
Thanks
Am using IRB6700 robot for pick and place Palletization application. i recive the count values from siemens PLC using profinet. Assigned Group Input and Group Output to receive decimal values from PLC to robot. But i do nit know how to store the decimal values of Group Output in a variable.
Any sample code would be helpful. Or any other method also appreciated.
Thanks
Tagged:
0
Best Answers
-
Rapid function GInput to read the value of a group input signal, and GOput to read a group output signal.
5 -
Code below, no data declarations though.
nMyNumber:=gi_myGroupInput;
SetGO go_MyGroupOutput,nMyNumber;5
Answers
-
Thanks all.
Also i would like to know is there any way to send and receive integer from PLC via Profinet instead of using Group inputs and outputs.0 -
Set it up as an analog signal. Refer to system parameter manual, inputs/outputs.Lee Justice0
-
Hello all.
I have got an error when executing the following Instruction:
Var Signalgi PINFEED_CNT;
var num count;
count:=PINFEED_CNT;
Am getting Alias IO instruction error.0 -
The group input needs to be setup in the EIO configuration file not in RAPID.
Are you using RobotStudio to do your programing or via the teach pendant?
0
Categories
- 10.4K All Categories
- 5.3K RobotStudio
- 351 UpFeed
- 15 Tutorials
- 9 RobotApps
- 282 PowerPacs
- 404 RobotStudio S4
- 1.8K Developer Tools
- 239 ScreenMaker
- 2.6K Robot Controller
- 251 IRC5
- 36 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 701 RAPID Programming
- 14 Wizard Easy Programming
- 107 Collaborative Robots
- 3 Job listings