Extracting and Automating I-O Channel Types in PCS 7 Import-Export Assistant (IEA)
In SIMATIC PCS 7 Import-Export Assistant (IEA), automatically determining whether an instrumentation signal is a Digital Input (DI), Digital Output (DO), Analog Input (AI), or Analog Output (AO) from an exported .IEA file requires configuring the Process Tag Type (PTT) to export the underlying channel driver Block Type or inspecting address prefix syntax. While the standard signal "Value" column in an .IEA file only exports raw addresses (e.g., 16#... for input words IW), adding the block type parameter (PCS7DiIn, PCS7DiOu, PCS7AnIn, PCS7AnOu) or a standardized user attribute to the Process Tag Type template exposes explicit channel typing, enabling external scripts to automate I/O module allocation.
Table of Contents
- Process Tag Types (PTT) and IEA File Architecture
- Why the Default IEA Export Omits Explicit Signal Direction
- Configuring PTT Templates to Export Driver Block Types
- Parsing Address Prefixes in External Sizing Programs
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
Process Tag Types (PTT) and IEA File Architecture
In large-scale PCS 7 engineering, the Import-Export Assistant (IEA) automates the replication of standardized process control loops (motors, valves, transmitters) from master templates known as Process Tag Types (PTT).
Engineers frequently develop external Python, C#, or Excel tools to process customer instrumentation schedules, calculate total I/O module counts, and pre-assign rack addresses into an .IEA file before importing the tags into SIMATIC Manager.
However, when exporting a baseline .IEA file from a PTT, engineers discover that the generated text file lists parameter paths and raw address values (such as 16#0200), but does not provide an explicit column stating whether a signal is a digital input, analog input, or output.
Why the Default IEA Export Omits Explicit Signal Direction
The .IEA file format is a tab-delimited or comma-separated table structured around PTT parameters:
Chart NameFIT_101Signal PathPcs7AnIn\PV_InSignal ValueIW 512 (or 16#0200)Block Type (Optional)PCS7AnInUser Comment4-20mA FlowBecause IEA treats signals as generic pointers to peripheral memory, the export engine only outputs the columns that were explicitly flagged for export in the Process Tag Type editor.
Configuring PTT Templates to Export Driver Block Types
To ensure that exported .IEA files contain unambiguous I/O type indicators for external automation software:
- Open the master Process Tag Type (
.PTT) chart in the Master Data Library. - In CFC Editor, navigate to Options -> Process Tag Type -> Edit Process Tag Type....
- In the parameter selection dialog, expand the channel driver block:
- For analog input: SelectPcs7AnIn-> addBlock Typeto the exported parameter list.
- For digital output: SelectPcs7DiOu-> addBlock Typeto the exported parameter list. - Alternatively, assign a standardized User Attribute or Chart Comment parameter:
- Parameterize an internal string attribute (e.g.,Signal_Type = "AI_4-20mA"or"DO_24V"). - Click OK to save the PTT template.
- When you re-export via IEA -> Export, the resulting file will contain an explicit
BlockTypecolumn identifyingPCS7AnIn(AI),PCS7AnOu(AO),PCS7DiIn(DI), orPCS7DiOu(DO).
Parsing Address Prefixes in External Sizing Programs
If existing PTT templates cannot be modified, external software programs can determine signal direction by parsing standard Siemens STEP 7 address syntax:
- Digital Inputs (DI): Prefixed with
I(Input) or GermanE(Eingang), followed by byte and bit: e.g.,I 10.0,E 4.2. - Digital Outputs (DO): Prefixed with
Q(Output) or GermanA(Ausgang), followed by byte and bit: e.g.,Q 12.0,A 6.1. - Analog Inputs (AI): Prefixed with
IW(Input Word),PIW(Peripheral Input Word), or GermanPEW: e.g.,IW 512,PEW 256, or hex formatted as16#0200. - Analog Outputs (AO): Prefixed with
QW(Output Word),PQW(Peripheral Output Word), or GermanPAW: e.g.,QW 256,PAW 512.
Verification
To verify IEA export and import workflows:
1. Export a Process Tag Type using the modified template containing BlockType.
2. Open the .IEA file in a text editor or Excel; verify that every signal row clearly states its driver type (PCS7DiIn, PCS7AnIn).
3. Run the external sizing program to calculate total DI, DO, AI, and AO module counts; cross-reference against the plant equipment schedule.
4. Re-import the populated .IEA file into SIMATIC Manager; verify that all CFC charts instantiate with correct I/O addresses and zero import syntax errors.
Limitations and Operational Precautions
Ensure that address assignments generated by external tools do not overlap existing process image partitions or communication buffers. When assigning addresses in .IEA files, adhere strictly to the module address boundaries defined in Hardware Configuration: assigning an analog input to an address outside the CPU process image partition will require peripheral addressing (PEW) rather than process image inputs (IW).
Engineer FAQ
Can IEA automatically create Hardware Configuration racks?
No. IEA generates CFC charts and assigns addresses to existing hardware. Hardware racks and I/O cards must be created in HW Config (or via AdvES/PAA) before IEA import.
What file formats are supported by Import-Export Assistant?
IEA supports tab-delimited text (.txt), comma-separated values (.csv), and native .iea file formats.
How does IEA handle multi-signal blocks like MotL?
A MotL PTT typically contains multiple sub-driver blocks: Pcs7DiIn for run feedback (FbkRun), Pcs7DiIn for electrical fault, and Pcs7DiOu for start command (Start), each exported as individual signal rows.
Technical References
- SIMATIC PCS 7 Process Tag Type and Import-Export Assistant Manual (A5E33814033)
- SIMATIC PCS 7 Engineering System Guidelines (A5E33814025)
- SIMATIC PCS 7 Advanced Process Library Manual (A5E33814036)
Related Articles
- Importing Absolute Addresses in PCS 7 Import-Export Assistant (IEA)
- Replicating Graphic Pictures and Arranging Block Icons with IEA in PCS 7
- Restoring Default Database Templates in PCS 7 Advanced Engineering System (AdvES)
Related Tags
- Import-Export Assistant
- Process Tag Type
- Signal Typing
- Hardware Addressing
- Batch Engineering