Serial get comm errors, B.5.7 serial get comm errors – Nematron Pointe Controller User Manual

Page 330

Advertising
background image

Appendix B: Flow Chart Command Reference

Pointe Controller User Guide

328

The value of Status Tag may be any 16-bit Unsigned tag (%IUW, %MUW,
or %QUW).

To configure the Status Tag parameter, click the

button to open a

standard

Select Tag

dialog.

B.5.7 Serial Get Comm Errors

This command can be selected from the

Serial commands

list.

When used in a Flow Chart, the Serial Get Comm Errors command simply checks
the specified COM port for communication errors.

Parameters for this command include:

COM Port – Specify which serial communications port to check. 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.

Errors Tag – The tag to which the error code, if any, is saved.

The value of Errors Tag may be any 16-bit Unsigned tag (%IUW, %MUW,
or %QUW).

To configure the Errors Tag parameter, click the

button to open a

standard

Select Tag

dialog.

Error Codes

To interpret a serial communication error code, get the value that was saved to
the Status/Errors Tag and check it against the table below:

Advertising