Subsystem inputs and outputs
Creating a TcCOM input/output from a Simulink® subsystem
A Simulink® model is created, which outputs two negated inputs. An input is placed in a subsystem, see figure below.
According to the described property of the TC Module Input/Output blocks, the TC Module Input in the Simulink® subsystem in TwinCAT is also included in the process image of the TcCOM. Thus, it is not necessary to route to the top level of the Simulink® model, as is the case with standard in-ports or out-ports.
