Diag clear tag status, B.4.3 diag clear tag status – Nematron Pointe Controller User Manual

Page 321

Advertising
background image

Pointe Controller User Guide

Appendix B: Flow Chart Command Reference

319

To configure the Diag Fault Level parameter, click the

button

to open a standard

Build Argument

dialog.

o

If Diag Status Code is selected, then the third parameter is New

Status Code. You can define your own status codes in your
diagnostic routines, but PointeControl does automatically
record I/O errors (see above).

The value of Diag Status Code 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 Diag Status Code parameter, click the
button to open a standard

Build Argument

dialog.

o

If Error Status Bit is selected, then the third parameter is Error

Status Bit. The parameter is not configurable since it simply
toggles the bit from 0 to 1. (To reset the bit to 0, use the Diag
Clear Tag Status command described below.)

B.4.3 Diag Clear Tag Status

This command can be selected from the

Diagnostics commands

list.

When used in a Flow Chart, the Diag Clear Tag Status command clears the current
value of any diagnostic item (resets to 0) on a specified tag.

Parameters for this command include:

Destination Tag – The Input, Output, or Memory tag on which the

diagnostic item will be cleared.

To configure the Destination Tag parameter, click the

button to open a

standard

Select Tag

dialog.

Diag Item – The type of diagnostic item that will be cleared by the

command. Available items include Diag Fault Bit, Diag Fault Level, Diag
Status Code, and Error Status Bit (input and Output tags only).

Advertising