Inherits com.boschrexroth.mlpi.MlpiComponent.

Classes | |
| enum | AddressMode |
| enum | CommandStatus |
| class | ParameterAddressing |
| class | ReadEverythingAddressing |
| class | ReadEverythingData |
| class | WriteAccessData |
Public Member Functions | |
| native String | readDataAsString (String idn, long address) |
| native String | readMinimumAsString (String idn, long address) |
| native String | readMaximumAsString (String idn, long address) |
| native String | readDefaultAsString (String idn, long address) |
| native String | readName (String idn, long address) |
| native String | readUnit (String idn, long address) |
| native int | readAttribute (String idn, long address) |
| native void | command (String idn, long address) |
| native void | writeDataAsString (String idn, long address, String data) |
| native Parameter.CommandStatus | getCommandStatus (String idn, long address) |
| native boolean | getDataStatus (String idn, long address) |
| native Parameter.ReadEverythingData[] | readEverything (Parameter.ReadEverythingAddressing[] addressing, int dataLoad) |
| Parameter.ReadEverythingData | readEverything (Parameter.ReadEverythingAddressing addressing, int dataLoad) |
| native int | writeAccessSetup (Parameter.ParameterAddressing[] addressing) |
| native Parameter.WriteAccessData[] | writeAccessStatus (int process, boolean waitForWriteAccess, int timeout) |
| native void | writeAccessAbort (int process) |
Static Public Member Functions | |
| static long | MLPI_ADDRESS (AddressMode mode, long master, long slave) |
Static Public Attributes | |
| static final long | MLPI_ADDRESS_SLAVE_MASK = 0x000000000000FFFFL |
| static final long | MLPI_ADDRESS_MASTER_MASK = 0x00000000FFFF0000L |
| static final long | MLPI_ADDRESS_MODE_MASK = 0x000000FF00000000L |
| static final long | MLPI_READ_EVERYTHING_SINGLE_PARAMETER = 8 |
| static final long | MLPI_READ_EVERYTHING_LIST_PARAMETER = 65536 |
| static final long | MLPI_INFINITE = -1 |
Class definition of the ParameterLib.
Use the ParameterLib to access parameters on the MLPI device or its slave devices.
Definition at line 70 of file Parameter.java.
|
inlinestatic |
This method creates a correct 64 Bit address identifier.
| [in] | mode | Address type (logical, physical, topological). Master and slave element of this address identifier are interpreted based on this selection. Use the AddressMode enum to define it. |
| [in] | master | Master address. |
| [in] | slave | Slave address. |
MLPI_ADDRESS, where you can find further documentation. Definition at line 352 of file Parameter.java.
References com.boschrexroth.mlpi.Parameter.command(), com.boschrexroth.mlpi.Parameter.getCommandStatus(), com.boschrexroth.mlpi.Parameter.getDataStatus(), com.boschrexroth.mlpi.Parameter.MLPI_ADDRESS_MASTER_MASK, com.boschrexroth.mlpi.Parameter.MLPI_ADDRESS_MODE_MASK, com.boschrexroth.mlpi.Parameter.MLPI_ADDRESS_SLAVE_MASK, com.boschrexroth.mlpi.Parameter.readAttribute(), com.boschrexroth.mlpi.Parameter.readDataAsString(), com.boschrexroth.mlpi.Parameter.readDefaultAsString(), com.boschrexroth.mlpi.Parameter.readEverything(), com.boschrexroth.mlpi.Parameter.readMaximumAsString(), com.boschrexroth.mlpi.Parameter.readMinimumAsString(), com.boschrexroth.mlpi.Parameter.readName(), com.boschrexroth.mlpi.Parameter.readUnit(), and com.boschrexroth.mlpi.Parameter.writeDataAsString().

| native String com.boschrexroth.mlpi.Parameter.readDataAsString | ( | String | idn, |
| long | address | ||
| ) |
This method reads the value of a parameter and returns it as string. A conversion from other types is performed automatically.
| [in] | idn | String representation of a SERCOS parameter IDN. For example "S-0-0051", "S-0-1050.0.1", "C-0-0484", "A001:A-0-0100", "S" or "P-100". |
| [in] | address | Device address identifying the object to be accessed. |
mlpiParameterReadDataString, where you can find further documentation. Referenced by com.boschrexroth.mlpi.Parameter.MLPI_ADDRESS().

| native String com.boschrexroth.mlpi.Parameter.readMinimumAsString | ( | String | idn, |
| long | address | ||
| ) |
This method reads the minimum value of a parameter and returns it as a string. A conversion is performed automatically.
| [in] | idn | String representation of a SERCOS parameter IDN. For example, "S-0-0051", "S-0-1050.0.1", "C-0-0484", "A001:A-0-0100", "S" or "P-100". |
| [in] | address | Device address identifying the object to be accessed. |
mlpiParameterReadMinimumString, where you can find further documentation. Referenced by com.boschrexroth.mlpi.Parameter.MLPI_ADDRESS().

| native String com.boschrexroth.mlpi.Parameter.readMaximumAsString | ( | String | idn, |
| long | address | ||
| ) |
This method reads the maximum value of a parameter and returns it as a string. A conversion is performed automatically.
| [in] | idn | String representation of a SERCOS parameter IDN. For example, "S-0-0051", "S-0-1050.0.1", "C-0-0484", "A001:A-0-0100", "S" or "P-100". |
| [in] | address | Device address identifying the object to be accessed. |
mlpiParameterReadMaximumString, where you can find further documentation. Referenced by com.boschrexroth.mlpi.Parameter.MLPI_ADDRESS().

| native String com.boschrexroth.mlpi.Parameter.readDefaultAsString | ( | String | idn, |
| long | address | ||
| ) |
This method reads the default value of a parameter and returns it as a string. A conversion is performed automatically.
| [in] | idn | String representation of a SERCOS parameter IDN. For example, "S-0-0051", "S-0-1050.0.1", "C-0-0484", "A001:A-0-0100", "S" or "P-100". |
| [in] | address | Device address identifying the object to be accessed. |
mlpiParameterReadDefaultString, where you can find further documentation. Referenced by com.boschrexroth.mlpi.Parameter.MLPI_ADDRESS().

| native String com.boschrexroth.mlpi.Parameter.readName | ( | String | idn, |
| long | address | ||
| ) |
This method reads the name of a parameter.
| [in] | idn | String representation of a SERCOS parameter IDN. For example, "S-0-0051", "S-0-1050.0.1", "C-0-0484", "A001:A-0-0100", "S" or "P-100". |
| [in] | address | Device address identifying the object to be accessed. |
mlpiParameterReadName, where you can find further documentation. Referenced by com.boschrexroth.mlpi.Parameter.MLPI_ADDRESS().

| native String com.boschrexroth.mlpi.Parameter.readUnit | ( | String | idn, |
| long | address | ||
| ) |
This method reads the unit of a parameter.
| [in] | idn | String representation of a SERCOS parameter IDN. For example, "S-0-0051", "S-0-1050.0.1", "C-0-0484", "A001:A-0-0100", "S" or "P-100". |
| [in] | address | Device address identifying the object to be accessed. |
mlpiParameterReadUnit, where you can find further documentation. Referenced by com.boschrexroth.mlpi.Parameter.MLPI_ADDRESS().

| native int com.boschrexroth.mlpi.Parameter.readAttribute | ( | String | idn, |
| long | address | ||
| ) |
This method reads the attribute of a parameter.
| [in] | idn | String representation of a SERCOS parameter IDN. For example, "S-0-0051", "S-0-1050.0.1", "C-0-0484", "A001:A-0-0100", "S" or "P-100". |
| [in] | address | Device address identifying the object to be accessed. |
mlpiParameterReadAttribute, where you can find further documentation. Referenced by com.boschrexroth.mlpi.Parameter.MLPI_ADDRESS().

| native void com.boschrexroth.mlpi.Parameter.command | ( | String | idn, |
| long | address | ||
| ) |
This method executes a parameter command. The command will be executed and the function will return when the command was either executed successfully or with an error (function is blocking while executing the command).
| [in] | idn | String representation of a SERCOS parameter IDN. For example, "S-0-0051", "S-0-1050.0.1", "C-0-0484", "A001:A-0-0100", "S" or "P-100". |
| [in] | address | Device address identifying the object to be accessed. |
mlpiParameterCommand, where you can find further documentation. Referenced by com.boschrexroth.mlpi.Parameter.MLPI_ADDRESS().

| native void com.boschrexroth.mlpi.Parameter.writeDataAsString | ( | String | idn, |
| long | address, | ||
| String | data | ||
| ) |
This method writes a value given as a string to a parameter. A conversion is performed automatically if possible.
| [in] | idn | String representation of a SERCOS parameter IDN. For example, "S-0-0051", "S-0-1050.0.1", "C-0-0484", "A001:A-0-0100", "S" or "P-100". |
| [in] | address | Device address identifying the object to be accessed. |
| [in] | data | Input data to be written to the parameter. |
mlpiParameterWriteDataString, where you can find further documentation. Referenced by com.boschrexroth.mlpi.Parameter.MLPI_ADDRESS().

| native Parameter.CommandStatus com.boschrexroth.mlpi.Parameter.getCommandStatus | ( | String | idn, |
| long | address | ||
| ) |
This function will return the status of a command execution using enum Parameter.CommandStatus.
| [in] | idn | String representation of a SERCOS parameter IDN. For example, "S-0-0051", "S-0-1050.0.1", "C-0-0484", "A001:A-0-0100", "S" or "P-100". |
| [in] | address | Device address identifying the object to be accessed. |
mlpiParameterReadCommandStatus, where you can find further documentation. Referenced by com.boschrexroth.mlpi.Parameter.MLPI_ADDRESS().

| native boolean com.boschrexroth.mlpi.Parameter.getDataStatus | ( | String | idn, |
| long | address | ||
| ) |
This function will return the data status of a parameter.
| [in] | idn | String representation of a SERCOS parameter IDN. For example, "S-0-0051", "S-0-1050.0.1", "C-0-0484", "A001:A-0-0100", "S" or "P-100". |
| [in] | address | Device address identifying the object to be accessed. |
mlpiParameterReadDataStatus, where you can find further documentation. Referenced by com.boschrexroth.mlpi.Parameter.MLPI_ADDRESS().

| native Parameter.ReadEverythingData [] com.boschrexroth.mlpi.Parameter.readEverything | ( | Parameter.ReadEverythingAddressing[] | addressing, |
| int | dataLoad | ||
| ) |
This function reads every SERCOS element of a list of given sets of device address and SERCOS parameter IDN.
| [in] | addressing | Array containing sets of device address and SERCOS parameter IDN (ReadEverythingAddressing). |
| [in] | dataLoad | Size of buffer in bytes for data exchange used by the mlpiCore function. You can calculate the worst case data load by using MLPI_READ_EVERYTHING_SINGLE_PARAMETER and MLPI_READ_EVERYTHING_LIST_PARAMETER. |
mlpiParameterReadEverything, where you can find further documentation. Referenced by com.boschrexroth.mlpi.Parameter.MLPI_ADDRESS(), and com.boschrexroth.mlpi.Parameter.readEverything().

|
inline |
This function reads every SERCOS element of given set of device address and SERCOS parameter IDN.
| [in] | addressing | Single set of device address and SERCOS parameter IDN (ReadEverythingAddressing). |
| [in] | dataLoad | Size of buffer in bytes for data exchange used by the mlpiCore function. You can calculate the worst case data load by using MLPI_READ_EVERYTHING_SINGLE_PARAMETER and MLPI_READ_EVERYTHING_LIST_PARAMETER. |
mlpiParameterReadEverything, where you can find further documentation. Definition at line 654 of file Parameter.java.
References com.boschrexroth.mlpi.Parameter.readEverything(), com.boschrexroth.mlpi.Parameter.writeAccessAbort(), com.boschrexroth.mlpi.Parameter.writeAccessSetup(), and com.boschrexroth.mlpi.Parameter.writeAccessStatus().

| native int com.boschrexroth.mlpi.Parameter.writeAccessSetup | ( | Parameter.ParameterAddressing[] | addressing | ) |
This function initializes a monitoring of parameters on a write access of the operation data. Not the modification of the operation data is monitored, but the write access. A process is started in the control. The status of this process can be read via the function writeAccessStatus. The process can be stopped via the function writeAccessAbort.
| [in] | addressing | Set of device address and SERCOS parameter IDN (ParameterAddressing). |
mlpiParameterWriteAccessSetup, where you can find further documentation. Referenced by com.boschrexroth.mlpi.Parameter.readEverything().

| native Parameter.WriteAccessData [] com.boschrexroth.mlpi.Parameter.writeAccessStatus | ( | int | process, |
| boolean | waitForWriteAccess, | ||
| int | timeout | ||
| ) |
This function reads the status of a write access monitoring process. Process has be initialized via the function writeAccessSetup.
| [in] | process | Handle of process. |
| [in] | waitForWriteAccess | Set this value 'true' to call this function synchronously. The function returns in this case if one monitored parameter has been written. |
| [in] | timeout | Timeout in milliseconds if the value of 'waitForWriteAccess' is 'true'. Use MLPI_INFINITE for infinite wait. |
mlpiParameterWriteAccessStatus, where you can find further documentation. Referenced by com.boschrexroth.mlpi.Parameter.readEverything().

| native void com.boschrexroth.mlpi.Parameter.writeAccessAbort | ( | int | process | ) |
This function aborts a write access monitoring process.
| [in] | process | Handle of process. |
mlpiParameterwriteAccessAbort, where you can find further documentation. Referenced by com.boschrexroth.mlpi.Parameter.readEverything().

|
static |
This definition masks the slave address of an address identifier.
Definition at line 76 of file Parameter.java.
Referenced by com.boschrexroth.mlpi.Parameter.MLPI_ADDRESS().
|
static |
This definition masks the master address of an address identifier.
Definition at line 78 of file Parameter.java.
Referenced by com.boschrexroth.mlpi.Parameter.MLPI_ADDRESS().
|
static |
This definition masks the address mode of an address identifier.
Definition at line 80 of file Parameter.java.
Referenced by com.boschrexroth.mlpi.Parameter.MLPI_ADDRESS().
|
static |
This definition helps you to calculate the maximum (worst case) required data load (bytes) for a single parameter on a readEverything request.
Definition at line 83 of file Parameter.java.
|
static |
This definition helps you to calculate the maximum (worst case) required data load (bytes) for a list parameter on a readEverything request.
Definition at line 85 of file Parameter.java.
|
static |
Infinite timeout value.
Definition at line 87 of file Parameter.java.