|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.langner.jmatic2.FetchWriteRFC1006Settings
This class is used to preparing the settings for a new FetchWrite object for
a PC/PLC communication using a RFC1006 connection (ISO-On-TCP).
Note:
For build up an RFC1006(ISO-On-TCP) connection the JMatic product 'ISO On TCP' (containing the classes RFC1006 and RFC1006TCPSettings) is required.
| Field Summary | |
static java.lang.String |
TSAP_NOT_USED
This is the value for TSAPs which are not used. |
| Constructor Summary | |
FetchWriteRFC1006Settings(java.net.InetAddress address,
java.lang.String remoteTSAPFetch,
java.lang.String localTSAPFetch,
java.lang.String remoteTSAPWrite,
java.lang.String localTSAPWrite)
Constructs an initialized object. |
|
| Method Summary | |
java.net.InetAddress |
getInetAddress()
Returns the network address for connecting the PLC. |
java.lang.String |
getLocalTSAPFetch()
Returns the local RFC1006 TSAP (FETCH commands) for connecting the remote PLC. |
java.lang.String |
getLocalTSAPWrite()
Returns the local RFC1006 TSAP (WRITE commands) for connecting the remote PLC. |
java.lang.String |
getRemoteTSAPFetch()
Returns the remote RFC1006 TSAP (FETCH commands) for connecting the remote PLC. |
java.lang.String |
getRemoteTSAPWrite()
Returns the remote RFC1006 TSAP (WRITE commands) for connecting the remote PLC. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String TSAP_NOT_USED
| Constructor Detail |
public FetchWriteRFC1006Settings(java.net.InetAddress address,
java.lang.String remoteTSAPFetch,
java.lang.String localTSAPFetch,
java.lang.String remoteTSAPWrite,
java.lang.String localTSAPWrite)
throws JMaticException
FetchWrite object.
Note:
You may use the Fetch/Write protocol for accessing either a Siemens S5 via the CP1430 or a Siemens S7 via
the CP343/443. If you want read and write data from the plc please note that two connections must be configured
in the Simatic manager (NetPro), one for the Fetch connection and one for the Write connection.
address - The internet address of the remote PLC. You can obtain a valid address for
a given hostname by calling InetAddress.getByName()remoteTSAPFetch - The remote RFC1006 TSAP for a Fetch connection. If you don't want a fetch connection use the predefined valuelocalTSAPFetch - The local RFC1006 TSAP for a Fetch connection. If you don't want a fetch connection use the predefined valueremoteTSAPWrite - The remote RFC1006 TSAP for a Fetch connection. If you don't want a write connection use the predefined valuelocalTSAPWrite - The local RFC1006 TSAP for a Write connection. If you don't want a write connection use the predefined value
JMaticException - if portfetch and portwrite are equal.TSAP_NOT_USED.,
TSAP_NOT_USED.,
TSAP_NOT_USED.,
TSAP_NOT_USED.| Method Detail |
public java.net.InetAddress getInetAddress()
public java.lang.String getRemoteTSAPWrite()
public java.lang.String getLocalTSAPWrite()
public java.lang.String getLocalTSAPFetch()
public java.lang.String getRemoteTSAPFetch()
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||