Denso RC5 Specifications Page 391

  • Download
  • Add to my manuals
  • Print
  • Page
    / 692
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 390
Chapter 13 Input/Output Control Statements
13-9
LINEINPUT (Statement)
Function
Reads data to a delimiter through the RS232C or Ethernet port and assigns it
to a character string type variable.
Format
LINEINPUT [#<Circuit number>,] <Character string type variable name>
Explanation
All characters, from the data received via the RS232C or Ethernet port to a
delimiter (CR or CR + LF), are stored into the variable designated by
<Character string type variable name >. Delimiter is not stored into any
variable.
For <Circuit number>, designate the circuit number of the RS232C or Ethernet
port to be used. If <Circuit number> is ignored, the default value of ch2 is set.
Ch1 cannot be designated since it is used for the pendant. (Refer to Section
2.4.1, “ Circuit Number”.)
Designate the name of the character string type variable for <Character string
variable name>.
Related Terms
Example
DEFSTR ls1,ls2,ls3
LINEINPUT #0, ls1 '
Receives a character string from port 1 and assigns it to ls1.
LINEINPUT #1, ls2 '
Receives a character string from port 2 and assigns it to ls2.
LINEINPUT ls3 '
Receives a character string from port 2 and assigns it to ls3.
Page view 390
1 2 ... 386 387 388 389 390 391 392 393 394 395 396 ... 691 692

Comments to this Manuals

No comments