Denso RC5 Specifications Page 401

  • Download
  • Add to my manuals
  • Print
  • Page
    / 692
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 400
Chapter 13 Input/Output Control Statements
13-19
com_state (Version 1.5 or later)
Function
Gets the status of RS-232C or Ethernet port.
Format
com_state #<portnumber>,<integervar>
Explanation
This command gets bytes of data remaining in the transmission buffer, into the
integer variable specified by <integervar>.
Note that -1 will be returned if a transmission port error occurs. At the time of
Ethernet use, -1 will be also returned if network connection of the port is not
established.
Example
'!TITLE "<Title>"
PROGRAM sample
.
.
.
com_state #1,I280 'Gets data remaining in transmission buffer into I280
.
.
.
end
Page view 400
1 2 ... 396 397 398 399 400 401 402 403 404 405 406 ... 691 692

Comments to this Manuals

No comments