Reference

Smart Factory - Simatic S7 driver

S7 CMX - Java and .NET driver

Possible applications of S7 CMX include

  • Control and monitoring of assembly lines
  • Production documentation
  • Statistical process control (SPC)
  • Visualisation

OSI via TCP/IP according to RFC1006 is used as the connection protocol. This protocol is also referred to as „ISO-on-TCP“ or CMX in the S7 environment and allows telegram-orientated communication. Telegrams can be sent from the S7 side using the „AG_SEND“ function. In each cycle, „AG_RECV“ must be called in order to receive telegrams again.

The connection is established on the Java side using the class: com.sf.s7cmx.S7Connection. A telegram can be sent here using the „send“ method. Telegrams can be received by implementing the abstract method „receive“.

The result is communication according to the ISO/OSI model. TCP/IP and Ethernet are used for the actual data transfer. Communication via telegrams enables event-driven applications, i.e. the Simatic S7 PLC can trigger actions on the part of the higher-level controller.

The realisable response times are in the region of approx. 100ms. S7 CMX supports both active and passive mode. By using 100% Pure Java, the S7 communication module is available on all common platforms. A demo version can be requested for evaluation purposes. The source code of a sample application and the documentation of the Java API are included.

Java versions 1.4, Java 6 and 7 are currently supported. The S7 CMX driver is also available as a .NET version for Windows.

Features:

  • Implementation OSI via TCP/IP according to RFC1006
  • Active / passive mode
  • Event-driven applications
  • Support for all common platforms (Windows, Linux, UNIX)
  • 100% Pure Java
  • Object-orientated API
  • Response times of 100ms possible

If you have any questions or require further information, please do not hesitate to contact us via our Contact available.

download

Download the Simantic S7 driver flyer here!

Discover more references!

Simatic S7™

Simatic S7™ controllers allow connection via Ethernet. The S7 CMX software enables the connection to an S7 controller from a Java application via an RFC1006-compatible protocol. The prerequisite on the S7 side is a communication module with an Ethernet connection (e.g. CP 343 or CP 443). Reliability and risk assessments in conjunction with information from manufacturer specifications, expert recommendations and physical model calculations provide a solid basis for decision-making in the area of maintenance and servicing optimisation. Taking into account safety, HSE and regulatory aspects, traditionally fixed intervals can be optimised in order to minimise both costs and downtimes of machines and systems.