Serial enable port and serial disable port, B.5.2 serial enable port and serial disable port – Nematron Pointe Controller User Manual

Page 325

Advertising
background image

Pointe Controller User Guide

Appendix B: Flow Chart Command Reference

323

B.5.2 Serial Enable Port and Serial Disable Port

These commands can be selected from the

Serial commands

list.

When used in a Flow Chart, the Serial Enable Port and Serial Disable Port
commands open and close the specified COM port, respectively.

Parameters for these commands include:

COM Port – Specify which serial communications port to enable (open) or
disable (close). 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.

Status Tag – The Serial Enable and Serial Disable commands check 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

.

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.

Advertising