57 package com.boschrexroth.mlpi;
    63 public class Logic extends MlpiComponent {
    93     int getCode() { 
return _code; }
    97         if (code == value.getCode()) 
return value;
   120     int getCode() { 
return _code; }
   124         if (code == value.getCode()) 
return value;
   141     LOGIC_CAP_OPERATION_ENABLE(0),
   142     LOGIC_CAP_OPERATION_DISABLE(1);
   145     int getCode() { 
return _code; }
   149         if (code == value.getCode()) 
return value;
   171     LOGIC_CAP_OPERATION_STOP(0),
   172     LOGIC_CAP_OPERATION_RESET(1),
   173     LOGIC_CAP_OPERATION_DOWNLOAD(2),
   174     LOGIC_CAP_OPERATION_ONLINE_CHANGE(3),
   175     LOGIC_CAP_OPERATION_SET_BREAKPOINT(4),
   176     LOGIC_CAP_OPERATION_WRITE_VARIABLE(5),
   177     LOGIC_CAP_OPERATION_FORCE_VARIABLE(6);
   180     int getCode() { 
return _code; }
   184         if (code == value.getCode()) 
return value;
   203     ACCESS_RIGHTS_NONE      (0),
   204     ACCESS_RIGHTS_READ      (1),
   205     ACCESS_RIGHTS_WRITE     (2),
   206     ACCESS_RIGHTS_READWRITE (3);
   209     int getCode() { 
return _code; }
   213         if (code == value.getCode()) 
return value;
   312     int getCode() { 
return _code; }
   313     LogicType(
int code) { this._code = code; }
   316         if (code == value.getCode()) 
return value;
   334     MEMORY_AREA_INPUT(0),
   335     MEMORY_AREA_OUTPUT(1),
   336     MEMORY_AREA_MARKER(2);
   339     int getCode() { 
return _code; }
   343         if (code == value.getCode()) 
return value;
   388     public int                      numElements;
   389     public int                      dimension;
   415     public boolean  watchdog;
   416     public int      watchdogTime;
   417     public int      cycleTime;
   418     public int      averageCycleTime;
   419     public int      maxCycleTime;
   420     public int      minCycleTime;
   421     public int      cycleCount;
   441     public String               author;
   442     public String               version;
   443     public String               description;
   444     public String               profile;
   477     public boolean  loaded;
   478     public boolean  downloadActive;
   479     public boolean  onlineChangeActive;
   480     public boolean  storeBootprojectActive;
   482     public boolean  forceVariablesActive;
   483     public boolean  exception;
   484     public boolean  initializeActive;
   485     public boolean  storeBootprojectOnlyActive;
   487     public boolean  exitActive;
   488     public boolean  deleted;
   489     public boolean  resetActive;
   490     public boolean  retainMismatch;
   492     public boolean  bootprojectValid;
   493     public boolean  loadBootprojectActive;
   494     public boolean  flowControlActive;
   495     public boolean  runInFlash;
   518   Logic(MlpiHandle connection) {
   540     return new Application(getConnectionHandleObject(), name);
 native int getNumberOfApplications()
LOGIC_TYPE_STRING
character strings (WCHAR16) 
native void writeVariableBySymbolAsString(String symbol, String data)
LOGIC_TYPE_UDINT
unsigned double integer - 4 Byte (ULONG) 
LOGIC_TYPE_LWORD
64 Bit (LLONG) 
LOGIC_TYPE_SINT
signed short integer - 1 Byte (BYTE) 
Class definition of the SystemLib. 
This class defines the dimension range of an array. 
LOGIC_TYPE_USINT
unsigned signed short integer - 1 Byte (USHORT) 
This enumeration defines the different symbol types of the logic using getInformationOfSymbol. 
LOGIC_TYPE_UNSUPPORTED
Symbolic access unsupported. 
This class defines the information about an IEC task used by Application.getTaskInfoOfApplication. 
LOGIC_TYPE_INT
signed integer - 2 Byte (SHORT) 
LOGIC_TYPE_LTIME
Symbolic access unsupported. 
LOGIC_TYPE_TIMEOFDAY
32 Bit, Time is given in milliseconds in TIME and TOD, time in TOD begins at 12:00 A...
LOGIC_TYPE_ANYNUM
Symbolic access unsupported. 
static final int LOGIC_MAX_DIMENSION_OF_ARRAY
LOGIC_TYPE_USERDEF
Symbolic access unsupported. 
This enumeration defines an operation which can be enabled/disabled by using setCapabilityOfOperation...
This enumeration defines the state of an application used by Application.getStateOfApplication. 
This enumeration defines the possible capability to execute an operation. 
native void runSingleCycleApplication()
Application applications(String name)
LOGIC_TYPE_ANY
Symbolic access unsupported. 
LOGIC_TYPE_SUBRANGE
Symbolic access unsupported. 
LOGIC_TYPE_DINT
double integer - 4 Byte (LONG) 
This enumeration defines the memory areas 'Ix' (Input), 'Qx' (Output) and 'Mx' (Marker) of an applica...
LOGIC_TYPE_LREAL
floating point IEC 559 - 8 Byte (DOUBLE) 
This enumeration defines the access rights to a variable. 
native LogicCapabilityOperationValue getCapabilityOfOperation(LogicCapabilityOperation operation)
LOGIC_TYPE_ANYDATE
Symbolic access unsupported. 
This class defines the operation state of an application used by Application.getOperationStateOfAppli...
LOGIC_TYPE_TIME
32 Bit, Time is given in milliseconds in TIME and TOD, time in TOD begins at 12:00 A...
LOGIC_TYPE_DATEANDTIME
32 Bit, Time is given in seconds in DATE and DT beginning with January 1, 1970 at 12:00 A...
native void setCapabilityOfOperation(LogicCapabilityOperation operation, LogicCapabilityOperationValue value)
LOGIC_TYPE_UINT
unsigned signed integer - 2 Byte (USHORT) 
LOGIC_TYPE_ANYREAL
Symbolic access unsupported. 
LOGIC_TYPE_BIT
1 Bit), symbolic access unsupported 
native void resetApplication(ApplicationResetMode mode)
native LogicUserTypeInformation[] getInformationOfUserType(String javaSymbol)
LOGIC_TYPE_PARAMS
Symbolic access unsupported. 
LOGIC_TYPE_POINTER
Symbolic access unsupported. 
native void stopApplication()
Class definition of the LogicLib. 
LOGIC_TYPE_LINT
long integer - 8 Byte (LLONG) 
This enumeration defines the different reset possibilities of an application used by resetApplication...
LOGIC_TYPE_WSTRING
Symbolic access unsupported. 
LOGIC_TYPE_DATE
32 Bit, Time is given in seconds in DATE and DT beginning with January 1, 1970 at 12:00 A...
LOGIC_TYPE_BITCONST
Symbolic access unsupported. 
native void startApplication()
LOGIC_TYPE_ANYINT
Symbolic access unsupported. 
LOGIC_TYPE_DWORD
32 Bit (ULONG) 
LOGIC_TYPE_REFERENCE
Symbolic access unsupported. 
This class defines the information about an application used by Application.getInfoOfApplication. 
LOGIC_TYPE_ULINT
unsigned long integer - 8 Byte (LLONG) 
LOGIC_TYPE_MAX_TYPE
Symbolic access unsupported. 
LOGIC_TYPE_BOOL
1 Byte (BOOL8) 
LOGIC_TYPE_BYTE
8 Bit (BYTE) 
native LogicSymbolInformation getInformationOfSymbol(String symbol)
native String loadBootApplication(String file, String path)
LOGIC_TYPE_ENUM
16 Bit user type 
native String readVariableBySymbolAsString(String symbol)
LOGIC_TYPE_REAL
floating point IEC 559 - 4 Byte (FLOAT) 
Class definition for PLC applications. 
LOGIC_TYPE_NONE
Symbolic access unsupported. 
LOGIC_TYPE_LAZY
Symbolic access unsupported. 
LOGIC_TYPE_WORD
16 Bit (USHORT) 
native String getStopAxesConfiguration()
This structure defines the broken date and time information. 
LOGIC_TYPE_ANYBIT
Symbolic access unsupported. 
native String getNameOfApplication(int index)