Repository navigation
Machine FG_04
This page is generated from the machine handoff and the TwinCAT solution. Published from
_docs/context/fg-04.md— edit it there, not here. Changes made in the wiki are overwritten on the next sync.
The control side only. What FG_04 is - its scene hierarchy, its devices and everything a human authored about it - is in the main repo: FG_04.
| Twin PLC path | MAIN.FG_04 |
| Control PLC path | MAIN.Machine.FG_04 |
| Module | FG_04 EXTENDS FB_PackML_BaseModule |
| Served by |
Index04 (FG_Transport) |
| Devices | 2 |
| Behaviour | fg-04-behaviour.md |
| Symbol | Device type | Twin FB | Control PLC path | I/O | Linked |
|---|---|---|---|---|---|
B_NIO |
SignalBinary | FB_SensorBinary |
MAIN.Machine.FG_04.B_NIO |
1 | 1 |
Y_AxisZ |
Cylinder | FB_Cylinder |
MAIN.Machine.FG_04.Y_AxisZ |
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.
| POU | TwinCAT_1/PLC/SIM_1/FG_04/FG_04.TcPOU |
In .plcproj
|
yes |
Mapping targets |
GVL_EtherCAT_1_SIM |
Mapping lines |
5 |
Only the Mapping action is ours. The {region generated code} block belongs to OC Assistant and is overwritten on the next twin regeneration.
| POU | TwinCAT_1/PLC/PLC_1/Modules/14 FG_04/FG_04.TcPOU |
In .plcproj
|
yes |
| PackML states |
Execute, Aborting, Clearing, Stopping, Resetting
|
| Fault codes | 1 |
| HMI struct | ST_HMI_FG_04 |
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.
| Process image member | Dir | Terminal | Via |
|---|---|---|---|
B_NIO.HardwareInput |
IN | FG_04_EL1008_1 channel 3 | Mapping_PLC.xml |
Y_AxisZ.ExtendedSensor |
IN | FG_04_EL1008_1 channel 1 | Mapping_PLC.xml |
Y_AxisZ.RetractedSensor |
IN | FG_04_EL1008_1 channel 2 | Mapping_PLC.xml |
Y_AxisZ._ExtendOutput |
OUT | FG_04_EL2008_1 channel 1 | Mapping_PLC.xml |
Y_AxisZ._RetractOutput |
OUT | FG_04_EL2008_1 channel 2 | Mapping_PLC.xml |
5 members, 5 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.
Generated from DT_PSA_OPCV_Beckhoff by _workflow/tools/build_wiki.py — 27 pages. Edit the source there; changes made here are overwritten.
Getting started
The machine
- Machine
- Machine-FG_01
- Machine-FG_02
- Machine-FG_03
- Machine-FG_04
- Machine-FG_05
- Machine-FG_System
- Machine-FG_Transport
- Machine-PLC-IO
- Machine-Provenance
Reference
Device types
- Device-Button
- Device-ControlBunker
- Device-Cylinder
- Device-DataReader
- Device-DrivePosition
- Device-DriveSimple
- Device-LinkByte
- Device-Lock
- Device-PanelSampler
- Device-SensorBinary
- Device-SignalBinary
The machine