LPRINTB
(Statement)
[Version 1.5 or later]

Outputs multiple bytes of data to the RS-232C or Ethernet port.

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)
Default: 1 (controller's RS232C port)
<arrayheadelement>
Head element of an array where output data is stored
<outputbytes>
Number of bytes to be outputted

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.

'!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
|
|