EasyManua.ls Logo

Etel DSCDM - F Registers (Float) Example

Default Icon
370 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ETEL Doc. - Operation & Software Manual # DSC2P 903 / Ver. F / 3/6/05 Chapter E: Appendixes
Operation & Software Manual
Direct Drives & Systems 239
15.8 F registers (float) example
:10.0 ;Label 10
X10.0=0 ;Sets user’s variable X10 of axis 0 to 0
F100.0=5.0f ;Sets float F100 of axis 0 to 5
F200.0=10.0f ;Sets float F200 of axis 0 to 10
F100.0*=F100.0 ;F100
2
(= 25)
F100.0-=f200.0 ;F100 - F200 (= 15)
F100.0/=2.0f ;F100 / 2 (= 7.5)
X10.0=f100.0 ;Sets user’s variable X10 of axis 0 with the value of F100 (as the user’s variable must
include an integer, X10.0=8)
END.0 ;Stops the execution of the sequence

Table of Contents

Related product manuals