Denso RC5 Specifications Page 396

  • Download
  • Add to my manuals
  • Print
  • Page
    / 692
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 395
13-14
inputb (Version 1.5 or later)
Function
Inputs a single byte of data from the RS-232C or Ethernet port.
Format
inputb #<portnumber>,<integervarnumber>
<portnumber> Input port number
(1: Controller RS-232C port, -1: µVision RS-232C port,
4 to 7: Ethernet server ports, 8 to 15: Ethernet client ports)
<integervarnumber> Integer variable number where input data is to be
stored
Explanation
This command stores a single byte of data inputted from the specified port, into
<integervarnumber>.
NOTE: If no data exists in the specified port, executing this command will result
in an error. Before execution of this command, transfer data from external
equipment. To check whether any data exists or not, use com_state
command.
Example
'!TITLE "<Title>"
PROGRAM sample
.
.
.
inputb #1,I10 'Store data inputted from RS-232C port into I10
.
.
.
end
Page view 395
1 2 ... 391 392 393 394 395 396 397 398 399 400 401 ... 691 692

Comments to this Manuals

No comments