Skip to main content

8.3 IO Variable Mapping

8.3.1 Use variable names instead of addresses

XIN3Plat-ControlBaosky IDERemarks
Supports programming with IO absolute addresses
Supports programming with memory M absolute addresses
Supports direct variable declaration: AT "Address"
Separation of software programming and hardware IO configuration
The software only supports user full symbolic programming
Features and Benefits of Software-Hardware Decoupling
  • Users can independently edit or import the IO mapping table through the editor.The IO mapping table establishes the association between software global variables and hardware IO addresses.
  • The IO mapping table can be exported and saved as a CSV file.CSV files edited using third-party spreadsheet software can be re-imported.
  • The software can be compiled and the program can be downloaded even if the IO addresses corresponding to global variables in the IO mapping table do not exist in the actual PLC hardware configuration.
  • Modifications to the IO mapping table can be downloaded without stopping the system

8.3.2 Local addressing of variables

note

XIN3Plat-Control allows local addressing of integer variables. If XIN3Plat-Control defines local addressing of integer variables, it is recommended to change the integer type to the corresponding length of the bit string type when transferring from XIN3Plat-Control to Baosky IDE.