External Mode Logging
External mode logging uses specific code that Simulink PLC Coder™ generates. External mode logging can save system states, outputs, and simulation time at each model execution time step.
You can verify your generated code by collecting run-time data while executing the code on the target PLC IDE. Collect run-time data on PLC targets by using external mode logging and visualize the run-time data by using Simulation Data Inspector.
Generate code from Simulink models with external mode logging enabled by using the
Generate logging code feature. To use external mode logging,
the target PLC IDE must support
InOut variables. These target PLC
IDEs, support external mode logging:
3S-Smart Software Solutions CoDeSys Version 2.3
3S-Smart Software Solutions CoDeSys Version 3.5
Rockwell Automation® RSLogix™ 5000
Rockwell Automation Studio 5000
Beckhoff® TwinCAT® 2.11
Beckhoff TwinCAT 3
OMRON® Sysmac® Studio
Visualize the logging data for Rockwell Automation targets, by using an Open Communications Platform (OPC) server and Simulation Data Inspector. The OPC Toolbox™ is required to run the external mode visualization.