SetAO with decimal place
Neily03
✭✭✭
Hi,
I'm trying to set an virtual analogue output using values from an array, these values have one decimal place but when I try to set the signal in Rapid I don't get the decimal, here's what I'm doing;
So I'm trying to set the signal ACNV_Spdmm using the value from nCur_Spdmm which currently is 15.9 but the output gets set to just 15. Other standard analogue signals are working with decimals so I don't know what I'm missing...
Any ideas?
0
Comments
-
As a test I've tried the following:And still only outputs '15' without the decimal.......0
-
Fixed it by removing the assigned unit and leaving it blank.
0 -
Hello,signalxx data are integers.The easier way to transmit real is to multiply your values ex: 15.9*10.0
Categories
- All Categories
- 5.5K RobotStudio
- 395 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 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