Caron TMAC Status Constants and Variables
Previous Topic  Next Topic 


TMAC Status Source Variables


The Caron TMAC system has variables and constants which can be accessed within the DataXchange Expression Builder using the following expression syntax. 



Variable Name

Syntax

Connect Time

[TMAC.connect_time]

Connected Time

[TMAC.connected_time]

Alarm State

[TMAC.alarm_state]

Alarm State Time

[TMAC.alarm_state_time]

All Data Items

[TMAC.all_dataitems]

Expired Tools

[TMAC.expired_tools]

Job

[TMAC.job]

Monitor State

[TMAC.monitor_state]

Monitor State

[TMAC.monitor_state_time]

Part Id

[TMAC.partid]



All of the variables also have a corresponding Previous variable which will hold the status from the last time a poll took place. 



Variable Name

Syntax

Connect Time (Previous)

[TMAC.prev_connect_time]

Connected Time (Previous)

[TMAC.prev_connected_time]

Alarm State (Previous)

[TMAC.prev_alarm_state]

Alarm State Time (Previous)

[TMAC.prev_alarm_state_time]

All Data Items (Previous)

[TMAC.prev_all_dataitems]

Expired Tools (Previous)

[TMAC.prev_expired_tools]

Job (Previous)

[TMAC.prev_job]

Monitor State (Previous)

[TMAC.prev_monitor_state]

Monitor State (Previous)

[TMAC.prev_monitor_state_time]

Part Id (Previous)

[TMAC.prev_partid]



TMAC Constants


The TMAC Constants are used to identify the state of the input for the Alarm State or the Monitor State.


Alarm State



Constant Name

Syntax

NO_ALARM

[TMAC.NO_ALARM]

SOFT_ALARM

[TMAC.SOFT_ALARM]

EXTREME_ALARM

[TMAC.EXTREME_ALARM]


Monitor State



Constant Name

Syntax

IDLE

[TMAC.IDLE]

MONITOR

[TMAC.MONITOR]

LEARN

[TMAC.LEARN]

ADAPTIVE

[TMAC.ADAPTIVE]

CALIBRATE

[TMAC.CALIBRATE]

DELAY

[TMAC.DELAY]

DISABLED

[TMAC.DISABLED]

COMM_ERROR

[TMAC.COMM_ERROR]

MONITOR_HOLD

[TMAC.MONITOR_HOLD]