Serial read multibytes, B.5.5 serial read multibytes – Nematron Pointe Controller User Manual
Page 328
Appendix B: Flow Chart Command Reference
Pointe Controller User Guide
326
To configure the Status Tag parameter, click the
button to open a
standard
Select Tag
dialog.
B.5.5 Serial Read MultiBytes
This command can be selected from the
Serial commands
list.
When used in a Flow Chart, the Serial Read MultiBytes command reads a string
from the specified COM port and saves it to a
String
variable in Logic Memory.
The command will read up to defined Element Length of the variable and will not
block until the variable is full.
NOTE: The read bytes will be automatically converted into a string, regardless of
how they were originally sent.
Parameters for this command include:
COM Port – Specify which serial communications port to read from. For
more information on how the ports are numbered, see page 321.
The value of COM Port may be an Input/Memory/Output tag, a literal
numeric value, or some other logical expression that is evaluated every
time the block is executed.
To configure the COM Port parameter, click the
button to open a
standard
Build Argument
dialog.
Destination String – The String variable to which the read bytes will be
saved.
To configure the Destination String parameter, click the
button to
open a standard
Select String Tag
dialog.
Status Tag – The Serial Read MultiBytes command checks for a
communication error at the time of command execution. The Status Tag is
the tag to which the error code, if any, is saved. For more information on
interpreting error codes, see “
Serial Get Comm Errors
” on page 328
.