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

Variabel Index

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

Constructor Index

PLCmon.ActionConstant()

Variables

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

Constructors

ActionConstant
public ActionConstant()