13-16
linputb (Version 1.5 or later)
Function
Inputs multiple bytes of data from the RS-232C or Ethernet port.
Format
linputb #<portnumber>,<arrayheadelement>,<inputbytes>
<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)
<arrayheadelement> Head element of an array where input data is to be
stored
<inputbytes> Number of bytes to be inputted
Explanation
This command inputs the specified number of bytes of data from the specified
element of an array, to the specified port.
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
.
.
.
linputb #1,I64,30 'Input data from I64 to I93 in succession from RS-232C
port.
.
.
.
end
Comments to this Manuals