Real Data From PLC to Analog Input in the Robot
in IRC5
Hi all,
i am sharing I/O values between a S7-1200 and Abb robot IRC5 through Profinet I/O)
If i send a 1 ( Data Type INT in S7-1200) i recieve 1.5 in the ABB robot (Analog Input) (i swap the bytes correctly)
and if i send a 1.0 (data type Real in S7-1200) i recieve 1.065.353.000 in the ABB robot (Analog Input) with same swaping as before. Without swaping robot recieve 32831.5
i want to send real values and read correctly in the ABB robot, any clue?
thanks in advance
0
Comments
-
Hello,Don't forget to set Min and Max Logical Value.What I've done:-Name "AiOffS_X_TPB1" -SignalType "AI" -Device "PN_Internal_Device"\
-DeviceMap "208-223" -MaxLog 327.67 -MinLog -327.68
☑️2024 - RobotStudio® User Group1 -
What bit size have you configured? 8, 16? You mentioned swapping the bytes so I have to ask. If it is a matter of big-endian to little-endian then you do not have to map starting with the lower bit, you can map from, for example, 32-17.Lee Justice1
-
the analog input is a32 bits signal. If i define the limtits, for example -10000 and 10000, 0 is 0 but 100.0 is 5230.17 and 300 is 5546, the scale is not linear0
-
Can you post the actual part of the eio.cfg for that signal?Lee Justice1
-
Hello,32bits = -2147483648 to 2147483647So you can set it to -MaxLog 21474.83647 -MinLog -21474.83648
Don't use Real in PLC because this is a special format.
☑️2024 - RobotStudio® User Group1
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings