
Chapter 13 Input/Output Control Statements
13-15
lprintb (Version 1.5 or later)
Function
Outputs multiple bytes of data to the RS-232C or Ethernet port.
Format
lprintb #<portnumber>,<arrayheadelement>,<outputbytes>
<portnumber> Output port number
(1: Controller RS-232C port, -1: µVision RS-232C port,
4 to 7: Ethernet server ports, 8 to 15: Ethernet client ports)
<arrayheadelement> Head element of an array where output data is stored
<outputbytes> Number of bytes to be outputted
Explanation
This command outputs the specified number of bytes of data from the specified
element of an array where the output data is stored, to the specified port.
Example
'!TITLE "<Title>"
PROGRAM sample
.
.
.
lprintb #1,I64,30 'Output the lower byte of data from I64 to I93 in
succession
'to RS-232C port.
.
.
.
end
Comentarios a estos manuales