Skip to content

Machine FG_05

github-actions[bot] edited this page Sep 15, 2026 · 1 revision

FG_05 in TwinCAT

This page is generated from the machine handoff and the TwinCAT solution. Published from _docs/context/fg-05.md — edit it there, not here. Changes made in the wiki are overwritten on the next sync.

The control side only. What FG_05 is - its scene hierarchy, its devices and everything a human authored about it - is in the main repo: FG_05.

Twin PLC path MAIN.FG_05
Control PLC path MAIN.Machine.FG_05
Module FG_05 EXTENDS FB_PackML_BaseModule
Served by Index05 (FG_Transport)
Devices 10
Behaviour fg-05-behaviour.md

Components

Symbol Device type Twin FB Control PLC path I/O Linked
B_Detect SignalBinary FB_SensorBinary MAIN.Machine.FG_05.B_Detect 1 1
B_Part SensorBinary FB_SensorBinary MAIN.Machine.FG_05.B_Part 1 1
P_Camera DataReader FB_Camera MAIN.Machine.FG_05.P_Camera 2 2
Y_AxisR Cylinder FB_Cylinder MAIN.Machine.FG_05.Y_AxisR 4 4
Y_AxisX Cylinder FB_Cylinder MAIN.Machine.FG_05.Y_AxisX 4 4
Y_AxisZ1 Cylinder FB_Cylinder MAIN.Machine.FG_05.Y_AxisZ1 4 4
Y_AxisZ2 Cylinder FB_Cylinder MAIN.Machine.FG_05.Y_AxisZ2 4 4
Y_CapsSource ControlBunker FB_DeviceByte MAIN.Machine.FG_05.Y_CapsSource 2 2
Y_CapsSourceStopper Cylinder FB_Cylinder MAIN.Machine.FG_05.Y_CapsSourceStopper 4 4
Y_Gripper Cylinder FB_Cylinder MAIN.Machine.FG_05.Y_Gripper 4 4

The twin path is not the control path. Only the control PLC path works in an HMI binding or a TcLinkTo pragma, and the twin's spelling fails silently in both.

SIM_1

POU TwinCAT_1/PLC/SIM_1/FG_05/FG_05.TcPOU
In .plcproj yes
Mapping targets GVL_EtherCAT_1_SIM
Mapping lines 49

Only the Mapping action is ours. The {region generated code} block belongs to OC Assistant and is overwritten on the next twin regeneration.

PLC_1

POU TwinCAT_1/PLC/PLC_1/Modules/15 FG_05/FG_05.TcPOU
In .plcproj yes
PackML states Execute, Aborting, Clearing, Stopping, Resetting
Fault codes 1, 2, 3, 4, 5, 6
HMI struct ST_HMI_FG_05

Fault codes are read from _FaultCode := in the ST. What each one means is behaviour and lives in the reference page named in the header.

Mapping

Process image member Dir Terminal Via
B_Detect.HardwareInput IN FG_05_EL1809_1 channel 14 Mapping_PLC.xml
B_Part.HardwareInput IN FG_05_EL1809_1 channel 13 Mapping_PLC.xml
P_Camera.InputData IN FG_05_EL1859_2 channel 8 Mapping_PLC.xml
P_Camera.OutputData OUT FG_05_EL1859_2 channel 16 Mapping_PLC.xml
Y_AxisR.ExtendedSensor IN FG_05_EL1809_1 channel 7 Mapping_PLC.xml
Y_AxisR.RetractedSensor IN FG_05_EL1809_1 channel 8 Mapping_PLC.xml
Y_AxisR._ExtendOutput OUT FG_05_EL2809_1 channel 7 Mapping_PLC.xml
Y_AxisR._RetractOutput OUT FG_05_EL2809_1 channel 8 Mapping_PLC.xml
Y_AxisX.ExtendedSensor IN FG_05_EL1809_1 channel 1 Mapping_PLC.xml
Y_AxisX.RetractedSensor IN FG_05_EL1809_1 channel 2 Mapping_PLC.xml
Y_AxisX._ExtendOutput OUT FG_05_EL2809_1 channel 1 Mapping_PLC.xml
Y_AxisX._RetractOutput OUT FG_05_EL2809_1 channel 2 Mapping_PLC.xml
Y_AxisZ1.ExtendedSensor IN FG_05_EL1809_1 channel 3 Mapping_PLC.xml
Y_AxisZ1.RetractedSensor IN FG_05_EL1809_1 channel 4 Mapping_PLC.xml
Y_AxisZ1._ExtendOutput OUT FG_05_EL2809_1 channel 3 Mapping_PLC.xml
Y_AxisZ1._RetractOutput OUT FG_05_EL2809_1 channel 4 Mapping_PLC.xml
Y_AxisZ2.ExtendedSensor IN FG_05_EL1809_1 channel 5 Mapping_PLC.xml
Y_AxisZ2.RetractedSensor IN FG_05_EL1809_1 channel 6 Mapping_PLC.xml
Y_AxisZ2._ExtendOutput OUT FG_05_EL2809_1 channel 5 Mapping_PLC.xml
Y_AxisZ2._RetractOutput OUT FG_05_EL2809_1 channel 6 Mapping_PLC.xml
Y_CapsSource.InputData IN FG_05_EL1859_1 channel 8 Mapping_PLC.xml
Y_CapsSource.OutputData OUT FG_05_EL1859_1 channel 16 Mapping_PLC.xml
Y_CapsSourceStopper.ExtendedSensor IN FG_05_EL1809_1 channel 11 Mapping_PLC.xml
Y_CapsSourceStopper.RetractedSensor IN FG_05_EL1809_1 channel 12 Mapping_PLC.xml
Y_CapsSourceStopper._ExtendOutput OUT FG_05_EL2809_1 channel 11 Mapping_PLC.xml
Y_CapsSourceStopper._RetractOutput OUT FG_05_EL2809_1 channel 12 Mapping_PLC.xml
Y_Gripper.ExtendedSensor IN FG_05_EL1809_1 channel 9 Mapping_PLC.xml
Y_Gripper.RetractedSensor IN FG_05_EL1809_1 channel 10 Mapping_PLC.xml
Y_Gripper._ExtendOutput OUT FG_05_EL2809_1 channel 9 Mapping_PLC.xml
Y_Gripper._RetractOutput OUT FG_05_EL2809_1 channel 10 Mapping_PLC.xml

30 members, 30 linked, 0 unlinked. A declared but unlinked signal compiles and is silently dead - see plc-io.md for the channel map and plc-io-exceptions.md for the ones that are unlinked on purpose.

Clone this wiki locally