STEP 7 - Convert Real to int

The RND instruction converts from real to double integer. If the value does not exceed +32767 or -32768 you can use the result as an integer.
 

Similar Topics

Hi ! I want to convert a Real value (say 94.2 PSI) into two separate Integers so that +94 goes into MW210 and +2 goes into MW212. My Modbus...
Replies
16
Views
19,909
Helo I have a FB-Libary in Step 7 v5.4 i want to use in TIA-Portal V11 Sp2. How can i convert this?
Replies
5
Views
5,108
I am just beginning to learn PLC i have this ladder http://imageshack.us/f/233/ladderw.jpg/ i take me about 30sek to write it down and it...
Replies
6
Views
2,073
Hi All, I'm currently busy on a project where i must take a number of char type objects and convert them to a decimal number for comparison...
Replies
4
Views
6,759
I have a plc w/ a 24VDC pulse output and want to connect it to a stepper drive that takes +/- 5V Step+ and Step- inputs. In the manual it says...
Replies
3
Views
2,253
Back
Top Bottom