Troubleshooting

Problem

Cause

Solution

Error message in TwinCAT: "PREOP to SAFEOP failed".

Variables of different sizes in the process data objects "IO Inputs" and "IO Outputs".

Ensure that the size of the variables in "IO Inputs" and "IO Outputs" is the same.

Error message in TwinCAT: "Invalid SM In/Out Cfg".

The variables in the process data objects "IO Inputs" and "IO Outputs" exceed 1280 bytes.

Ensure that the sum of the variables in each of the process data objects does not exceed 1280 bytes.