Rockwell-automation 1746-BAS BASIC LANGUAGE User Manual Page 188

  • Download
  • Add to my manuals
  • Print
  • Page
    / 280
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 187
Publication 1746-RM001A-US-P
12-38 Output Functions
Syntax
PH0., PH1.
Example
>PH0.2*2
04H
>PH1.2*2
0004H
>PH0. 100
64H
>PH0. 1000
3E8H
>PH1. 1000
03E8H
>PH1. 3E8
3.0 E+8
>PH0. PI
03H
>
ST@
Purpose
Use the ST@ statement to store module floating point numbers to a specified
address. The expression [expr] following the ST@ statement specifies the address
where the number is stored in RAM. The ST@ statement takes the value on the
top of the argument stack and stores it in RAM at the address location specified by
[expr].
This statement can be used with CALL 77 to store variables to a protected area of
memory. This protected area is not zeroed on powerup or when the RUN
command is issued.
Syntax
ST@ [expr]
Example
>P. MTOP
24515
Page view 187
1 2 ... 183 184 185 186 187 188 189 190 191 192 193 ... 279 280

Comments to this Manuals

No comments