Is installing the v3 runtime on windows with the v4 editor only possible with CYGWIN ?
I have Sequent Microsystems boards and it somewhat appears that we only have v3 runtime support right now. I will be working on the v4 soon....
Where I am running into an issue is trying to get simulations to work in the v4 editor. I am assuming I need the v3 runtime and v3 selected in configuration.
I have tried the v4 runtime, click the compile/load to runtime button, it appears that it completes that.
Then I click the debug button and get "connection error could not verify MD5 with target: runtime not connected"
I can get it to run a simulation with no Sequent boards on the main program.
Trying to figure out what is more beneficial, figure out the v4 migration, or just go full back to v3 until I can get the full v4 migration worked out. I have the v3 editor on the other computer, I deleted it off this machine when I found v4. Is the v3 editor still availiable to download ? v4 editor is pretty awesome so far.
thanks!
[26-02-26 11:51:30]: Starting compilation process...
[26-02-26 11:51:30]: Compiling program for project: C:\CODE\GARAGEDO_CTL1 and board target: OpenPLC Runtime v4
[26-02-26 11:51:30]: Host Hardware Info:
[26-02-26 11:51:30]: System Architecture - x64
[26-02-26 11:51:30]: Operating System - win32
[26-02-26 11:51:30]: Processor - Intel64 Family 6 Model 170 Stepping 4, GenuineIntel
[26-02-26 11:51:30]: Logical CPU Cores - 22
[26-02-26 11:51:30]: CPU Frequency - 3072 MHz
[26-02-26 11:51:30]: CPU Model - Intel(R) Core(TM) Ultra 7 165H
[26-02-26 11:51:30]: Checking tools availability...
[26-02-26 11:51:30]: Arduino CLI available at version 1.1.1
[26-02-26 11:51:30]: IEC2C available at version 0.1
[26-02-26 11:51:30]: Directories for compilation source files created.
[26-02-26 11:51:30]: Generated XML from JSON at: C:\CODE\GARAGEDO_CTL1\build\OpenPLC Runtime v4\src
[26-02-26 11:51:31]: Compiling file C:\CODE\GARAGEDO_CTL1\build\OpenPLC Runtime v4\src\plc.xml
[26-02-26 11:51:31]: Collecting data types
[26-02-26 11:51:31]: Collecting POUs
[26-02-26 11:51:31]: Generate Data Type LIGHTING_STATE
[26-02-26 11:51:31]: Generate POU LIGHTING
[26-02-26 11:51:31]: Generate POU testblock
[26-02-26 11:51:31]: Generate POU main
[26-02-26 11:51:31]: Generate Config(s)
[26-02-26 11:51:31]: Stage 1 compilation finished successfully
[26-02-26 11:51:31]: Saving ST file...
[26-02-26 11:51:31]: Parsing complex variables...
[26-02-26 11:51:32]: ST file generated at: C:\CODE\GARAGEDO_CTL1\build\OpenPLC Runtime v4\src\program.st
[26-02-26 11:51:32]: Copying static files...
[26-02-26 11:51:32]: Static files copied successfully.
[26-02-26 11:51:32]: POUS.c
[26-02-26 11:51:32]: POUS.h
[26-02-26 11:51:32]: LOCATED_VARIABLES.h
[26-02-26 11:51:32]: VARIABLES.csv
[26-02-26 11:51:32]: Config0.c
[26-02-26 11:51:32]: Config0.h
[26-02-26 11:51:32]: Res0.c
[26-02-26 11:51:32]: C files generated at: C:\CODE\GARAGEDO_CTL1\build\OpenPLC Runtime v4\src\
[26-02-26 11:51:34]: Debug files generated at: C:\CODE\GARAGEDO_CTL1\build\OpenPLC Runtime v4\src
[26-02-26 11:51:34]: Extracted MD5 hash from program.st: 28f1e464fcf274f0db6b649a199705dc
[26-02-26 11:51:36]: Generating glue variables...
[26-02-26 11:51:36]: Linking variable __QX0_0
[26-02-26 11:51:36]: Linking variable __QX0_1
[26-02-26 11:51:36]: Linking variable __IX0_3
[26-02-26 11:51:36]: Linking variable __IX0_4
[26-02-26 11:51:36]: Glue variables saved to C:\CODE\GARAGEDO_CTL1\build\OpenPLC Runtime v4\src\glueVars.c
[26-02-26 11:51:36]: Glue vars generated at: C:\CODE\GARAGEDO_CTL1\build\OpenPLC Runtime v4\src
[26-02-26 11:51:36]: No C/C++ blocks found, skipping c_blocks.h generation
[26-02-26 11:51:36]: No C/C++ blocks found, skipping c_blocks_code.cpp generation
[26-02-26 11:51:36]: OpenPLC runtime detected.
[26-02-26 11:51:36]: Source files generated successfully at: C:\CODE\GARAGEDO_CTL1\build\OpenPLC Runtime v4\src
[26-02-26 11:51:36]: No conf folder to clean
[26-02-26 11:51:36]: No Modbus TCP server configured, skipping modbus_slave.json generation
[26-02-26 11:51:36]: No Modbus TCP remote devices configured, skipping modbus_master.json generation
[26-02-26 11:51:36]: No S7Comm server configured, skipping s7comm.json generation
[26-02-26 11:51:36]: No OPC-UA server configured, skipping opcua.json generation
[26-02-26 11:51:36]: Compressing source files for OpenPLC Runtime v4...
[26-02-26 11:51:36]: Uploading program to runtime at 127.0.0.1...
[26-02-26 11:51:36]: Program uploaded successfully to runtime.
[26-02-26 11:51:36]: Runtime compilation started: COMPILING
[26-02-26 11:51:37]: [DEBUG] update_plugin_configurations called with generated_dir='core/generated'
[26-02-26 11:51:37]: [DEBUG] Looking for config files in: core/generated/conf
[26-02-26 11:51:37]: [DEBUG] Loaded 4 plugins from plugins.conf
[26-02-26 11:51:37]: [DEBUG] Initial state - modbus_slave: enabled=False, config_path='./core/src/drivers/plugins/python/modbus_slave/modbus_slave_config.json'
[26-02-26 11:51:37]: [DEBUG] Initial state - modbus_master: enabled=False, config_path='./core/src/drivers/plugins/python/modbus_master/modbus_master.json'
[26-02-26 11:51:37]: [DEBUG] Initial state - opcua: enabled=False, config_path='./core/src/drivers/plugins/python/opcua/opcua.json'
[26-02-26 11:51:37]: [DEBUG] Initial state - s7comm: enabled=False, config_path='./core/src/drivers/plugins/native/s7comm/s7comm_config.json'
[26-02-26 11:51:37]: No conf directory found in core/generated, disabling all plugins
[26-02-26 11:51:37]: Found 0 config files (no conf directory): []
[26-02-26 11:51:37]: Plugin configuration update complete. 0 plugins updated.
[26-02-26 11:51:37]: [DEBUG] Final state - modbus_slave: enabled=False, config_path='./core/src/drivers/plugins/python/modbus_slave/modbus_slave_config.json'
[26-02-26 11:51:37]: [DEBUG] Final state - modbus_master: enabled=False, config_path='./core/src/drivers/plugins/python/modbus_master/modbus_master.json'
[26-02-26 11:51:37]: [DEBUG] Final state - opcua: enabled=False, config_path='./core/src/drivers/plugins/python/opcua/opcua.json'
[26-02-26 11:51:37]: [DEBUG] Final state - s7comm: enabled=False, config_path='./core/src/drivers/plugins/native/s7comm/s7comm_config.json'
[26-02-26 11:51:37]: Plugin summary: 0/4 enabled (3 Python, 1 Native)
[26-02-26 11:51:37]: Starting compilation