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

  • Download
  • Add to my manuals
  • Print
  • Page
    / 280
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 150
1 Publication 1746-RM001A-US-P
Chapter
12
Output Functions
This chapter describes and illustrates commands that allow the transfer of data
from the BASIC or BASIC-T module to external ports PRT1, PRT2, and DH485
within the BASIC program or from the command line. Table 12.1 lists the
corresponding mnemonics.
Table 12.1 Chapter Reference Guide
If you need (to) Use this
mnemonic
Page
Transfer data from the SLC I/O or M files to PRT1 or PRT2. CALL 23 12-2
Transfer data from the SLC processor to a remote DH485 data
file.
CALL 28 12-6
Handle all errors that are not handled by the ONERR statement. CALL 29 12-13
Display the current PRT2 port setup. CALL 31 12-14
Clear port PRT2 input and output buffers. CALL 37 12-15
Transfer module output buffer to the CPU input image buffer. CALL 54 12-15
Transfer module output buffer to the CPU M1 file. CALL 57 12-16
Transfer module output buffer to the DH485 interface file. CALL 85 12-17
Write module output buffer to the remote DH485 data file. CALL 91 12-18
Write module output buffer to the remote DH485 interface file. CALL 93 12-22
Print current PRT1 port setup. CALL 94 12-24
Clear port PRT1 input and output buffers. CALL 96 12-24
User LED control CALL 112 12-25
Transmit the DF1 packet. CALL 114 12-26
Check the DF1 XMIT status. CALL 115 12-27
Write to a PLC data file. CALL 123 12-28
Print hex value with zero suppression to the console device. PH0. 12-37
Print hex value with zero suppression to PRT2. PH0.# 12-37
Print hex value with zero suppression to PRT1. PH0.@ 12-37
Print hex value with no zero suppression to the console device. PH1. 12-37
Print hex value with no zero suppression to PRT2. PH1.# 12-37
Print hex value with no zero suppression to PRT1. PH1.@ 12-37
Print variables, strings, or literals to the console device; P. is
shorthand for print.
PRINT 12-35
Print to port PRT2. PRINT# 12-35
Print to port PRT1. PRINT@ 12-35
Print carriage return. PRINT CR 12-36
Print spaces. PRINT SPC( ) 12-36
Print tabs. PRINT TAB( ) 12-36
Print numeric values in scientific notation. PRINT USING(Fx) 12-36
Page view 150
1 2 ... 146 147 148 149 150 151 152 153 154 155 156 ... 279 280

Comments to this Manuals

No comments