ESX.4cs-gw: Programming of the controller with C for safety projects

Seminar ID 102026
Course type Classroom Based Training
Duration 3 Days
Target audience Developers
Price 2400 €


The course includes the explanation of the hardware functions and the programming of the controller in C considering the requirements in SIL2/PLd projects. Further contents are the introduction to the diagnostic functions, memory protection and other safety specific functions of the software.

The course is intended for developers who program their own safety applications on the ESX.4cs-gw.


The participant

  • Knows the hardware and software requirements for programming the ESX.4cs-gw
  • Knows the STW documentation (user and safety manual) and is able to use it for target-
  • oriented research
  • Knows the requirements for the programming of safety projects
  • Can program own safety applications with C and the STW software package
  • Knows the debugger solutions
  • Can use STW Tools to load, parameterize and monitor the software on the ESX-4XS-GW


Basic knowledge of programming electronic controllers.

Programming skills in the programming language “C“.

Course Content

  • Introduction to the hardware of the ESX.4cs-gw
    • Mainboard, supplies, GND concept, pin assignment, main switch
    • Multicore architecture
    • Inputs / Outputs
    • Ethernet interface, Ethernet switch, CAN-bus, RS232, LIN
  • Software development environment
    • Installing and setting up the software
    • Compiler
  • Communication interfaces
    • CAN bus: Editing the CAN objects
    • Ethernet: Programming with the lwIP library
    • Application Layer: SAE J1939 and CANopen
  • Programming requirements for SIL-2/PL-D projects (Safety Manual)
  • Introduction to safety functions
    • STW-API, memory protection
    • Introduction to SIL2 diagnostics
  • STW-Tools
    • Introduction to openSYDE
    • Code generation with openSYDE
    • Flashing, parametrizing, monitoring, visualizing
  • Debugger
    • Introduction of the hardware solution
    • Demonstration of the Lauterbach hardware debugger
  • Programming exercises

Individual Training

Interested in a special training?

Based on our standard courses and completed with the expertise our trainers and application engineers gained in many applications, we can offer courses tailored to your know-how and requirements. No matter if you are interested in digitalitalization, automation or electrification of your mobile machine or in holistic solutions - you are always welcome to discuss with us any support we might have to enable an early market entry for you and your new products.

Request a Quote