Generates XML configuration files for G3 PLC hardware. Current version: 0.2.16. Release cadence: infrequent.
pip install g3hardwareNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Generates an XML configuration string for a G3 PLC with specified interfaces.
Wrap output with config.decode() if bytes is returned, or use config = generate_config(…).decode('utf-8') if you need a string.Ensure your environment uses Python 3.10 or higher.
Replace 'config_type' with 'generator_type' in function calls.