Industrial and Manufacturing: Case Study
A factory produces text as steadily as it produces parts. Machine controllers write log files, CAD tools export netlists and drawings, ERP systems print bills of materials, and quality teams keep safety notices and work instructions as Word documents. These sources use different formats, character sets and delimiters, and they rarely agree with each other. Our industrial customers use TextPipe to convert and clean that text without writing custom code. The scenario below is a composite of the work we see most often at manufacturers, and the figures are typical of what customers report.
The challenge
A manufacturer with four plants in three countries was consolidating onto one ERP system. Each plant kept its own part-number format, units of measure and supplier codes. Bills of materials arrived as fixed-width print files from two legacy systems, some of them in EBCDIC, and as comma-separated exports from the others. Roughly 2.5 million lines had to be normalized before the new system could load them.
The engineering team had tried spreadsheets, but the largest files exceeded the row limit, and part numbers such as 00417 lost their leading zeros. A handwritten script worked for one plant and failed on the next, because each plant used a different delimiter and decimal convention. Meanwhile, the quality department needed to update equipment specifications and safety notices in several thousand Word documents ahead of an ISO 9001 surveillance audit.
The solution
The integration team built one TextPipe filter list per source format and ran each in a single pass:
- Converted the EBCDIC print files to ASCII with the EBCDIC to ASCII filters, and normalized line endings and character sets.
- Used EasyPattern expressions to find part numbers, supplier codes and unit-of-measure strings, and rewrote them to the corporate standard while keeping leading zeros.
- Converted decimal commas to decimal points, and quoted any field containing a delimiter so the ERP import accepted every row.
- Sorted and de-duplicated the merged list with the sort filter, so one part appeared once across all four plants.
Plant-floor machines also produced large log and sensor files, which the team reduced to the few fields the maintenance system needed, as described in our guide to data historian and IoT text files. The saved filter lists were version-controlled and re-run from the command line, so each plant used the same documented process.
The results
- Conversion time: from an estimated three weeks of manual cleanup to about two hours of processing for all four plants.
- Load errors: the first trial import rejected about 4 percent of lines. After the delimiter, leading-zero and unit rules were added, fewer than 0.05 percent were rejected.
- Duplicate parts: the merge identified roughly 11,000 duplicate part records that differed only in formatting.
- Repeatability: the same filter lists were reused for the next plant acquisition with one rule added.
Beyond data files: controlled documents
Manufacturers also maintain Word documents that must stay consistent: safety data notices, equipment manuals, work instructions and audit checklists. When a model number, a regulation reference or a contact changes, WordPipe can update every affected file in one batch. See how to update equipment specs and safety notices and update audit checklists and SOPs. The quality team used the same approach to refresh its documents before the audit, with a log of every file changed.
Related reading
The same techniques apply in other fields. See the data conversion and systems integration solution pages for the general approach, and the SCADA, NASA and electronics case studies for more engineering examples.
See also: Testimonials and Customer Uses for TextPipe Pro
More industrial uses of TextPipe
- SCADA - Kennedy Space Center
- CAD Circuit Board Output Conversion - NASA
- General text reformatting - Electronics Company
A selection of our customers
DataMystic has more than 2000 customers in 56 countries, across a variety of industries including Banking and Finance, Telecommunications, Utilities, Medicine, Law, Government, Publishing, Consulting and Manufacturing.
- Advanced Circuits - CO, USA
- ADVANCED CAD ENTERPRISES dba ENGINEERING SOFTWARE - FL, USA
- Arrow Electronics - UNITED KINGDOM
- CJ Wildbird Foods - UNITED KINGDOM
- Ford Werke AG, Germany
- Harrington Industrial Plastics, USA
- Industrial Design Corporation, USA
- JenaGraphics - PA, USA
- Johnson & Johnson - NJ, USA
- Nabisco, Inc. - NJ, USA
- Norse Electronics - NORWAY
- Siemens AG - KY, GERMANY
- PepsiCo - TX, USA
- Philips Lighting - NJ, USA
- Phillips & Morris Scale - OR, USA
- Rockwell Automation - OH, USA
- Sanyo, Australia
- Toshiba International (Europe) Ltd, UK
- Tupperware Products SA - SWITZERLAND
- Yokohama Tire Corporation -