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
- All Categories
- 5.5K RobotStudio
- 394 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 309 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings