To integrate a PLC, you need to have three main steps.
1.You have to create the variables on PLC and write the PLC logic.
2.You have to write the driver for x4Trace. This driver is only for communication between the PLC and x4Trace.
3.Write the line module. This is the line logic on the x4Trace side. It starts the production, sets the PLC variables (via driver), sends data to the PLC, receives production data, and saves it to the database.
Our recommendation: x4Trace contains S7 and Modbus drivers. If you use one of them, you needn't write a new driver. Use the process controller. This is a complex line module that covers the x4Trace functions. If you follow this recommendation, you only have to create some PLC variables and write logic that fills the variables with the correct production data.
However, in some cases, the process controller may lack some features, so you have to extend it.