Class PLCmon.ActionConstant
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class PLCmon.ActionConstant

Object
   |
   +----PLCmon.ActionConstant

public class ActionConstant
extends Object
This class provide a number of symbolic constants for use by the "Action" object for representing the data items: "action", "type" and the "result". Since these are static constants you can use them simply by preceding with "ActionConstant." string.
E.g. Action action = new Action(1, ActionConstant.READ, ActionConstant.INPUT, 1, 0x24, "");
E.g. E.g. if (action[0].result == ActionConstant.PLCNORESPONSE) ...

1) action:

READSINGLE
READDM
WRITESINGLE
WRITEDM

2) type:

DM
INPUT
OUTPUT
RELAY
TIMER
CTR
TIMERPV
CTRPV
TIME
DATE
HSCPV
ADC
DAC
PWM
RESERVE
EMINT
EMLINT
EMEVENT
INTEGER
STRING
TIMERSV
CTRSV

3) result:

OK
LOSTSVRERROR
PLCNORESPONSE
CORRUPTEDRESPONSE
ACCESSLEVELVIOLATION
UNSENT PLCPWDERROR

See Also:
Action

Variable Index

 o ACCESSLEVELVIOLATION
 o ADC
 o CORRUPTEDRESPONSE
 o CTR
 o CTRPV
 o CTRSV
 o DAC
 o DATE
 o DM
 o EMEVENT
 o EMINT
 o EMLINT
 o HSCPV
 o INPUT
 o INTEGER
 o LOSTSVRERROR
 o OK
 o OUTPUT
 o PLCNORESPONSE
 o PLCPWDERROR
 o PWM
 o READDM
 o READSINGLE
 o RELAY
 o RESERVE
 o STRING
 o TIME
 o TIMER
 o TIMERPV
 o TIMERSV
 o UNSENT
 o WRITEDM
 o WRITESINGLE

Constructor Index

 o PLCmon.ActionConstant()

Variables

 o ACCESSLEVELVIOLATION
public static final int ACCESSLEVELVIOLATION
 o ADC
public static final int ADC
 o CORRUPTEDRESPONSE
public static final int CORRUPTEDRESPONSE
 o CTR
public static final int CTR
 o CTRPV
public static final int CTRPV
 o CTRSV
public static final int CTRSV
 o DAC
public static final int DAC
 o DATE
public static final int DATE
 o DM
public static final int DM
 o EMEVENT
public static final int EMEVENT
 o EMINT
public static final int EMINT
 o EMLINT
public static final int EMLINT
 o HSCPV
public static final int HSCPV
 o INPUT
public static final int INPUT
 o INTEGER
public static final int INTEGER
 o LOSTSVRERROR
public static final int LOSTSVRERROR
 o OK
public static final int OK
 o OUTPUT
public static final int OUTPUT
 o PLCNORESPONSE
public static final int PLCNORESPONSE
 o PLCPWDERROR
public static final int PLCPWDERROR
 o PWM
public static final int PWM
 o READDM
public static final int READDM
 o READSINGLE
public static final int READSINGLE
 o RELAY
public static final int RELAY
 o RESERVE
public static final int RESERVE
 o STRING
public static final int STRING
 o TIME
public static final int TIME
 o TIMER
public static final int TIMER
 o TIMERPV
public static final int TIMERPV
 o TIMERSV
public static final int TIMERSV
 o UNSENT
public static final int UNSENT
 o WRITEDM
public static final int WRITEDM
 o WRITESINGLE
public static final int WRITESINGLE

Constructors

 o ActionConstant
public ActionConstant()

All Packages  Class Hierarchy  This Package  Previous  Next  Index