Skip to content

Machine FG_03

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

FG_03 in TwinCAT

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

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

Twin PLC path MAIN.FG_03
Control PLC path MAIN.Machine.FG_03
Module FG_03 EXTENDS FB_PackML_BaseModule
Served by Index03 (FG_Transport)
Devices 9
Behaviour fg-03-behaviour.md

Components

Symbol Device type Twin FB Control PLC path I/O Linked
B_Detect1 SignalBinary FB_SensorBinary MAIN.Machine.FG_03.B_Detect1 1 1
B_Detect2 SignalBinary FB_SensorBinary MAIN.Machine.FG_03.B_Detect2 1 1
Y_AxisR1 Cylinder FB_Cylinder MAIN.Machine.FG_03.Y_AxisR1 4 4
Y_AxisX1 Cylinder FB_Cylinder MAIN.Machine.FG_03.Y_AxisX1 4 4
Y_AxisX2 Cylinder FB_Cylinder MAIN.Machine.FG_03.Y_AxisX2 4 4
Y_AxisY1 Cylinder FB_Cylinder MAIN.Machine.FG_03.Y_AxisY1 4 4
Y_AxisY2 Cylinder FB_Cylinder MAIN.Machine.FG_03.Y_AxisY2 4 4
Y_Gripper1 Cylinder FB_Cylinder MAIN.Machine.FG_03.Y_Gripper1 4 4
Y_Gripper2 Cylinder FB_Cylinder MAIN.Machine.FG_03.Y_Gripper2 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_03/FG_03.TcPOU
In .plcproj yes
Mapping targets GVL_EtherCAT_1_SIM
Mapping lines 30

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/13 FG_03/FG_03.TcPOU
In .plcproj yes
PackML states Execute, Aborting, Clearing, Stopping, Resetting
Fault codes 1, 2, 3, 4, 5
HMI struct ST_HMI_FG_03

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_Detect1.HardwareInput IN FG_03_EL1809_1 channel 15 Mapping_PLC.xml
B_Detect2.HardwareInput IN FG_03_EL1809_1 channel 16 Mapping_PLC.xml
Y_AxisR1.ExtendedSensor IN FG_03_EL1809_1 channel 5 Mapping_PLC.xml
Y_AxisR1.RetractedSensor IN FG_03_EL1809_1 channel 6 Mapping_PLC.xml
Y_AxisR1._ExtendOutput OUT FG_03_EL2809_1 channel 5 Mapping_PLC.xml
Y_AxisR1._RetractOutput OUT FG_03_EL2809_1 channel 6 Mapping_PLC.xml
Y_AxisX1.ExtendedSensor IN FG_03_EL1809_1 channel 1 Mapping_PLC.xml
Y_AxisX1.RetractedSensor IN FG_03_EL1809_1 channel 2 Mapping_PLC.xml
Y_AxisX1._ExtendOutput OUT FG_03_EL2809_1 channel 1 Mapping_PLC.xml
Y_AxisX1._RetractOutput OUT FG_03_EL2809_1 channel 2 Mapping_PLC.xml
Y_AxisX2.ExtendedSensor IN FG_03_EL1809_1 channel 9 Mapping_PLC.xml
Y_AxisX2.RetractedSensor IN FG_03_EL1809_1 channel 10 Mapping_PLC.xml
Y_AxisX2._ExtendOutput OUT FG_03_EL2809_1 channel 9 Mapping_PLC.xml
Y_AxisX2._RetractOutput OUT FG_03_EL2809_1 channel 10 Mapping_PLC.xml
Y_AxisY1.ExtendedSensor IN FG_03_EL1809_1 channel 3 Mapping_PLC.xml
Y_AxisY1.RetractedSensor IN FG_03_EL1809_1 channel 4 Mapping_PLC.xml
Y_AxisY1._ExtendOutput OUT FG_03_EL2809_1 channel 3 Mapping_PLC.xml
Y_AxisY1._RetractOutput OUT FG_03_EL2809_1 channel 4 Mapping_PLC.xml
Y_AxisY2.ExtendedSensor IN FG_03_EL1809_1 channel 11 Mapping_PLC.xml
Y_AxisY2.RetractedSensor IN FG_03_EL1809_1 channel 12 Mapping_PLC.xml
Y_AxisY2._ExtendOutput OUT FG_03_EL2809_1 channel 11 Mapping_PLC.xml
Y_AxisY2._RetractOutput OUT FG_03_EL2809_1 channel 12 Mapping_PLC.xml
Y_Gripper1.ExtendedSensor IN FG_03_EL1809_1 channel 7 Mapping_PLC.xml
Y_Gripper1.RetractedSensor IN FG_03_EL1809_1 channel 8 Mapping_PLC.xml
Y_Gripper1._ExtendOutput OUT FG_03_EL2809_1 channel 7 Mapping_PLC.xml
Y_Gripper1._RetractOutput OUT FG_03_EL2809_1 channel 8 Mapping_PLC.xml
Y_Gripper2.ExtendedSensor IN FG_03_EL1809_1 channel 13 Mapping_PLC.xml
Y_Gripper2.RetractedSensor IN FG_03_EL1809_1 channel 14 Mapping_PLC.xml
Y_Gripper2._ExtendOutput OUT FG_03_EL2809_1 channel 13 Mapping_PLC.xml
Y_Gripper2._RetractOutput OUT FG_03_EL2809_1 channel 14 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