Java on PLCnext Technology

Overview

The purpose of this section is to enable you creating Java™ applications and communicate with PLCnext Technology RSC services. Java knowledge is required. 

The sub project com.phoenixcontact.commonremoting (Java module: com.phoenixcontact.ade.commonremoting) contains the API to communicate with the RSC gateway of a PLCnext device.

The module com.phoenixcontact.commonremoting.implementation (Java module: com.phoenixcontact.ade.commonremotingimpl) is an implementation of the API to communicate with the RSC gateway of a PLCnext device and execute remote service calls.

com.phoenixcontact.rsc.common (Java module: com.phoenixcontact.arp.system.rsc) uses the API implementation to communicate with the RSC gateway of a PLCnext device and contains certificates and classes for the validation of the SSL connection.

And the public RSC service interfaces are inside the com.phoenixcontact.rsc.services (Java module: com.phoenixcontact.arp.system.rsc.services).

Project dependencies

  • Find the Java RSC API at the Phoenix Contact website (Download section for any PLCnext Control, e.g. AXC F 2152). 
  • The projects provide logging through the logging framework SLF4J.
    SLF4J is distributed under the MIT-License https://www.slf4j.org/license.html
  • The Arp.System.Rsc project uses the Bouncy Castle library to validate certificates in accordance to the chain validity model.
    Bouncy Castle is distributed under the MIT-License https://www.bouncycastle.org/license.html

 

Project Dependencies
com.phoenixcontact.commonremoting Simple Logging Facade for Java (SLF4J)
com.phoenixcontact.commonremoting.implementation Simple Logging Facade for Java (SLF4J), com.phoenixcontact.commonremoting
com.phoenixcontact.rsc.common Simple Logging Facade for Java (SLF4J), com.phoenixcontact.commonremoting, com.phoenixcontact.commonremoting.implementation,
Bouncy Castle (bcprov, bctls, bcpkix) (optional)
com.phoenixcontact.rsc.services com.phoenixcontact.commonremoting

 

The projects are build for Java 8 and Java 9 as multi-release JAR.

The API implementation does not support remote service calls that exceed the size of 2 GB.

 

Note: Java is a registered trademark of Oracle Corporation.