Open Core Interface - MLPI
MLPI-MotionLogicProgrammingInterface(mlpi4Java)  1.26.2
com.boschrexroth.mlpi.Io Class Reference

Inherits com.boschrexroth.mlpi.MlpiComponent.

Collaboration diagram for com.boschrexroth.mlpi.Io:
Collaboration graph

Classes

class  IoDiagnosis
 
enum  IoFieldbusArea
 
class  IoFieldbusMasterInfo
 
enum  IoFieldbusMasterType
 
class  IoFieldbusSlaveInfo
 
class  IoHandle
 

Public Member Functions

Fieldbus fieldbusses (String name)
 
native String[] readFieldbusMasterList ()
 

Detailed Description

Class definition of the IoLib.

Definition at line 65 of file Io.java.

Member Function Documentation

Fieldbus com.boschrexroth.mlpi.Io.fieldbusses ( String  name)
inline

This method returns the fieldbus object for a given fieldbus master name.

Parameters
[in]nameThe fieldbus master name.
Returns
Returns the requested fieldbus.
Example Java:
//read masterlist and print each master and its slave count to output
String[] masterList = connection.io().readFieldbusMasterList();
for (String master: masterList)
{
IoFieldbusMasterInfo info = connection.io().fieldbusses(master).readFieldbusMasterInfo();
java.lang.System.out.println(master + ": " + info.numberOfSlaves + " slave(s)");
}

Definition at line 236 of file Io.java.

References com.boschrexroth.mlpi.Io.readFieldbusMasterList().

Here is the call graph for this function:

native String [] com.boschrexroth.mlpi.Io.readFieldbusMasterList ( )

This method reads the name list of the available fieldbus masters on the target.

Returns
Returns a list of fieldbus masters.
Example Java:
//read masterlist and print each master name to output
String[] masterList = connection.io().readFieldbusMasterList();
for (String master: masterList)
java.lang.System.out.println(master);
Note:
This method maps to the mlpiCore function mlpiIoReadFieldbusMasterList, where you can find further documentation.

Referenced by com.boschrexroth.mlpi.Io.fieldbusses().

Here is the caller graph for this function:


The documentation for this class was generated from the following file: