Diag get tag status, B.4.1 diag get tag status – Nematron Pointe Controller User Manual

Page 319

Advertising
background image

Pointe Controller User Guide

Appendix B: Flow Chart Command Reference

317

For all other errors, please contact Nematron Technical Support.

NOTE: The Pointe Controller unit updates a given tag’s Error Status Bit and Diag
Status Code only when a new error is encountered at the tag’s associated I/O
point. As such, the values currently stored in the items should always be handled
as merely the last error encountered, not as an ongoing error condition. To
actually clear the items, use the

Diag Clear Tag Status

command.

Also, clearing one item does not clear the other. Each item must be cleared
individually using separate commands.

B.4.1 Diag Get Tag Status

This command can be selected from the

Diagnostics commands

list.

When used in a Flow Chart, the Diag Get Tag Status command retrieves the
current value of any diagnostic item on a specified tag.

Parameters for this command include:

Source Tag – The Input, Output, or Memory tag for which the diagnostic
item will be retrieved.

To configure the Source Tag parameter, click the

button to open a

standard

Select Tag

dialog.

Diag Item – The type of diagnostic item that will be retrieved by the
command. Available items include Diag Fault Bit, Diag Fault Level, Diag
Status Code, and Error Status Bit (input and Output tags only).

To configure the Diag Item parameter, click the

button and select an

item from the drop-down menu.

Destination Tag – The Memory or Output tag to which the retrieved
value will be saved. If the Diag Fault Bit or Error Status Bit will be
retrieved, then the value should be saved to a Bit tag (%MX or %QX). If
the Diag Fault Level or Diag Status Code will be retrieved, then the value
should be saved to a 32-bit Unsigned tag (%MUD or %QUD).

Advertising