Get/Set I/O Address Mapping of DeviceObjects in python Script

adam
2025-11-14
2025-11-17
  • adam - 2025-11-14

    I want to cancel the automatic address allocation for all IO mappings.
    If I directly set the automatic_iec_address in class ScriptIoMapping to False, the address becomes None. So I reset manual_iec_address with itselfs value. It only work with the Input IOMapping . For output, it reports an error: "Invalid address: The channel type 'Output' requires address type '%Q'."
    I checked the description file ,both accessRight are total same.
    Does anyone know what causes this?

     
  • adam - 2025-11-17

    Found out.Its script engine bug . Update to script engine version 4.2.0.0. and problem solved

     

Log in to post a comment.