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.☑️2024 - RobotStudio® User Group0
Categories
- All Categories
- 5.6K RobotStudio
- 399 UpFeed
- 20 Tutorials
- 14 RobotApps
- 301 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 339 IRC5
- 67 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 832 RAPID Programming
- 14 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings