Diag set tag status, B.4.2 diag set tag status – Nematron Pointe Controller User Manual

Page 320

Advertising
background image

Appendix B: Flow Chart Command Reference

Pointe Controller User Guide

318

To configure the Destination Tag parameter, click the

button to open a

standard

Select Tag

dialog.

B.4.2 Diag Set Tag Status

This command can be selected from the

Diagnostics commands

list.

When used in a Flow Chart, the Diag Set Tag Status command assigns a new value
to any diagnostic item on a specified tag.

Parameters for this command include:

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

diagnostic item will be assigned.

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 assigned 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.

The third parameter varies depending on which Diag Item is selected:

o

If Diag Fault Bit is selected, then the third parameter is Fault

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.)

o

If Diag Fault Level is selected, then the third parameter is New

Fault Level. You can define your own fault levels in your
diagnostic routines.

The value of Diag Fault Level 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.

Advertising