PLC_Generation/logs/workflow_MTN6_MCM01_20250816_204035.log
2025-08-18 13:20:34 +04:00

86 lines
3.1 KiB
Plaintext

=== Workflow ===
Started at 20250816_204035
=== Step 1 Error ===
Data processing failed
=== Step 1: PLC Data Generator stdout ===
Loading IO path mappings...
Loaded IO path mappings:
APF: 11 rows
M12DR: 16 rows
Hub: 16 rows
SorterHub: 16 rows
SIO: 16 rows
IB16: 16 rows
OB16E: 16 rows
IB16S: 16 rows
Available sheets: ['Templates', 'Devices', 'Instructions', 'IO Assignment MCM01', 'NETWORK1', 'NETWORK', 'Part number', 'MCM01_DESC', 'Sheet2', 'MCM01_DESC_V2']
Found DESC sheet: MCM01_DESC_V2
Found NETWORK sheet: NETWORK
DESC columns: ['TAGNAME', 'TERM', 'DESCA', 'DESCB', 'Unnamed: 4', 'CONTROLLERS', 'Unnamed: 6', 'Unnamed: 7', 'Unnamed: 8']
NETWORK columns: ['DPM', 'DPM_IP', 'Name', 'PartNumber', 'IP']
NOTE: Ignored 1 rows from DESC sheet with an empty TAGNAME.
Classifying signals and adding IO paths...
Signal classification results:
SPARE: 1131
I: 747
O: 188
IOLink: 39
Device type distribution:
APF: 1705
M12DR: 304
Hub: 48
IB16: 16
OB16E: 16
IB16S: 16
IO Path mapping results:
Successful mappings: 2105/2105 (100.0%)
Found 3 TAGNAMEs present in DESC but not in NETWORK.
Adding unique DPM names not present in DESC or NETWORK.Name: ['PS1_4_DPM1', 'PS3_3_DPM1', 'PS4_7_DPM1', 'UL10_3_DPM1', 'UL11_10_DPM1', 'UL1_4_DPM1', 'UL2_4_DPM1', 'UL4_4_DPM1', 'UL5_4_DPM1', 'UL7_4_DPM1', 'UL8_3_DPM1']
================================================================================
WARNING: The following issues were found but processing will continue:
================================================================================
- TAGNAME 'SLOT5_IB16' from DESC sheet not found in NETWORK sheet.
- TAGNAME 'SLOT6_OB16E' from DESC sheet not found in NETWORK sheet.
- TAGNAME 'SLOT7_IB16S' from DESC sheet not found in NETWORK sheet.
================================================================================
Continuing with processing...
Normalizing TAGNAME, DESC, and IO_PATH columns for VFDs only in the final output...
Final result has 2127 rows
Sample of merged data:
TAGNAME TERM DESCA ... SIGNAL DEVICE_TYPE IO_PATH
0 PDP1_PMM1 ... NaN NaN NaN
1 PDP2_PMM1 ... NaN NaN NaN
2 PDP6_PMM1 ... NaN NaN NaN
3 SLOT5_IB16 I0 MCM01 ... I IB16 Local:5:I.Data.0
4 SLOT5_IB16 I1 MCM01 ... I IB16 Local:5:I.Data.1
5 SLOT5_IB16 I10 SPARE ... SPARE IB16 Local:5:I.Data.10
6 SLOT5_IB16 I11 SPARE ... SPARE IB16 Local:5:I.Data.11
7 SLOT5_IB16 I12 SPARE ... SPARE IB16 Local:5:I.Data.12
8 SLOT5_IB16 I13 SPARE ... SPARE IB16 Local:5:I.Data.13
9 SLOT5_IB16 I14 SPARE ... SPARE IB16 Local:5:I.Data.14
[10 rows x 16 columns]
New Excel file created: MCM01_DESC_IP_MERGED.xlsx
The file contains all original sheets plus the new 'DESC_IP' sheet with merged data.
Reading input file: MCM01_DESC_IP_MERGED.xlsx
Removed 3 SPARE rows following FIOH entries
Error occurred during processing: 'Series' object has no attribute 'upper'
=== Step 1: PLC Data Generator stderr ===