Bachmann M1 / VxWorks - Need advice how to begin [message #1834683] |
Sun, 15 November 2020 15:37  |
Eclipse User |
|
|
|
Hello all,
first of all, I apologize if I was not searching correctly, but I would like to start running 4diac on Bachmann M1 PLC, but I do not know how to do it.
I have the PLC and Bachmann Solution Center - I can install an application into the controller.
But I'm not sure about the other steps.
1) How to compile the FORTE for Bachmann M1?
2) How to use the toolchain, etc?
3) How to access the inputs and outputs of the PLC - I have the drivers for each IO module from Bachmann, but should I link them to the project somehow, or it's not needed?
Coud please anybody give me an advice?
Thank you very much for support.
David
|
|
|
|
|
|
Re: Bachmann M1 / VxWorks - Need advice how to begin [message #1835268 is a reply to message #1834905] |
Sat, 28 November 2020 17:55   |
Eclipse User |
|
|
|
Hi,
thank you very much for support. I have reported the bug.
Unfortunately, after solving this issue, I'm facing another problem again, when building using Visual Studio 2O1O, I'm getting failure with output:
1>------ Build started: Project: ZERO_CHECK, Configuration: Release Win32 ------
1> Checking Build System
2>------ Build started: Project: forte_generate_modules_cmake_files, Configuration: Release Win32 ------
3>------ Build started: Project: forte_stringlist_externals, Configuration: Release Win32 ------
2> -- FORTE_MODULE_DIR: C:/FORTE_dev/build/win32-3/src/modules com external/
3> Generating src_gen/forte_thread_gen.cpp
2> Building Custom Rule C:/FORTE_dev/forte-incubation_1.13.0A/src/CMakeLists.txt
3> Generating src_gen/forte_sync_gen.cpp
3> Generating src_gen/forte_sem_gen.cpp
3> Generating src_gen/fortemodule_gen.cpp
3> Generating src_gen/genforte_printer_gen.cpp
4>------ Build started: Project: forte_init_generator, Configuration: Release Win32 ------
5>------ Build started: Project: forte_stringlist_generator, Configuration: Release Win32 ------
3> Generating src_gen/timespec_utils_gen.cpp
5> GenerateStringlist
5> Source Dir: C:/FORTE_dev/forte-incubation_1.13.0A/src
5> Binary Dir: C:/FORTE_dev/build/win32-3
3> Generating src_gen/GET_CHAN_INFO_gen.cpp
4> Generate Initfunction
4> Source Dir: C:/FORTE_dev/forte-incubation_1.13.0A
4> Binary Dir: C:/FORTE_dev/build/win32-3
3> Generating src_gen/GET_VALUE_gen.cpp
3> Generating src_gen/SET_VALUE_gen.cpp
3> Generating src_gen/BE_SVIFB_gen.cpp
3> Generating src_gen/SVIsend_1_gen.cpp
5> Building Custom Rule C:/FORTE_dev/forte-incubation_1.13.0A/src/CMakeLists.txt
4> Building Custom Rule C:/FORTE_dev/forte-incubation_1.13.0A/src/CMakeLists.txt
3> Generating src_gen/SVIreceive_1_gen.cpp
6>------ Build started: Project: FORTE_LITE, Configuration: Release Win32 ------
3> Generating src_gen/BE_RMT_DEV_gen.cpp
3> Generating src_gen/genforte_realFunctions_gen.cpp
6> Building Custom Rule C:/FORTE_dev/forte-incubation_1.13.0A/src/CMakeLists.txt
3> Generating src_gen/forte_architecture_time_gen.cpp
3> Generating src_gen/fdselecthand_gen.cpp
6>cl : Command line error D8004: '/W' requires an argument
3> Generating src_gen/bsdsocketinterf_gen.cpp
3> Generating src_gen/mainparam_utils_gen.cpp
3> Generating src_gen/timerha_gen.cpp
3> Generating src_gen/devlog_gen.cpp
3> Generating src_gen/basecommfb_gen.cpp
3> Generating src_gen/commfb_gen.cpp
3> Generating src_gen/comlayer_gen.cpp
3> Generating src_gen/comlayersmanager_gen.cpp
3> Generating src_gen/ipcomlayer_gen.cpp
3> Generating src_gen/fbdkasn1layer_gen.cpp
3> Generating src_gen/localcomlayer_gen.cpp
3> Generating src_gen/rawdatacomlayer_gen.cpp
3> Generating src_gen/forte_any_elementary_gen.cpp
3> Generating src_gen/forte_int_gen.cpp
3> Generating src_gen/forte_sint_gen.cpp
3> Generating src_gen/forte_dint_gen.cpp
3> Generating src_gen/forte_udint_gen.cpp
3> Generating src_gen/forte_uint_gen.cpp
3> Generating src_gen/forte_usint_gen.cpp
3> Generating src_gen/forte_dword_gen.cpp
3> Generating src_gen/forte_word_gen.cpp
3> Generating src_gen/forte_byte_gen.cpp
3> Generating src_gen/forte_bool_gen.cpp
3> Generating src_gen/forte_string_gen.cpp
3> Generating src_gen/forte_time_gen.cpp
3> Generating src_gen/forte_any_gen.cpp
3> Generating src_gen/forte_any_string_gen.cpp
3> Generating src_gen/forte_any_num_gen.cpp
3> Generating src_gen/forte_any_magnitude_gen.cpp
3> Generating src_gen/forte_any_bit_gen.cpp
3> Generating src_gen/forte_any_int_gen.cpp
3> Generating src_gen/forte_any_real_gen.cpp
3> Generating src_gen/forte_struct_gen.cpp
3> Generating src_gen/forte_lint_gen.cpp
3> Generating src_gen/forte_ulint_gen.cpp
3> Generating src_gen/forte_time_of_day_gen.cpp
3> Generating src_gen/forte_date_and_time_gen.cpp
3> Generating src_gen/forte_any_date_gen.cpp
3> Generating src_gen/forte_date_gen.cpp
3> Generating src_gen/forte_lword_gen.cpp
3> Generating src_gen/forte_real_gen.cpp
3> Generating src_gen/forte_lreal_gen.cpp
3> Generating src_gen/forte_array_gen.cpp
3> Generating src_gen/forte_wstring_gen.cpp
3> Generating src_gen/unicode_utils_gen.cpp
3> Generating src_gen/string_utils_gen.cpp
3> Generating src_gen/parameterParser_gen.cpp
3> Generating src_gen/configFileParser_gen.cpp
3> Generating src_gen/ecetFactory_gen.cpp
3> Generating src_gen/conn_gen.cpp
3> Generating src_gen/dataconn_gen.cpp
3> Generating src_gen/eventconn_gen.cpp
3> Generating src_gen/simplefb_gen.cpp
3> Generating src_gen/basicfb_gen.cpp
3> Generating src_gen/cfb_gen.cpp
3> Generating src_gen/device_gen.cpp
3> Generating src_gen/devexec_gen.cpp
3> Generating src_gen/extevhan_gen.cpp
3> Generating src_gen/funcbloc_gen.cpp
3> Generating src_gen/fbcontainer_gen.cpp
3> Generating src_gen/if2indco_gen.cpp
3> Generating src_gen/resource_gen.cpp
3> Generating src_gen/stringdict_gen.cpp
3> Generating src_gen/typelib_gen.cpp
3> Generating src_gen/ecet_gen.cpp
3> Generating src_gen/adapterconn_gen.cpp
3> Generating src_gen/adapter_gen.cpp
3> Generating src_gen/anyadapter_gen.cpp
3> Generating src_gen/iec61131_functions_gen.cpp
3> Generating src_gen/deviceExecutionHandlers_gen.cpp
3> Generating src_gen/monitoring_gen.cpp
3> Generating src_gen/timedfb_gen.cpp
3> Generating src_gen/E_CTU_gen.cpp
3> Generating src_gen/E_CTD_gen.cpp
3> Generating src_gen/E_CTUD_gen.cpp
3> Generating src_gen/E_DELAY_gen.cpp
3> Generating src_gen/E_D_FF_gen.cpp
3> Generating src_gen/E_MERGE_gen.cpp
3> Generating src_gen/E_REND_gen.cpp
3> Generating src_gen/E_RS_gen.cpp
3> Generating src_gen/E_SELECT_gen.cpp
3> Generating src_gen/E_SR_gen.cpp
3> Generating src_gen/E_CYCLE_gen.cpp
3> Generating src_gen/E_DEMUX_gen.cpp
3> Generating src_gen/E_F_TRIG_gen.cpp
3> Generating src_gen/E_PERMIT_gen.cpp
3> Generating src_gen/E_RDELAY_gen.cpp
3> Generating src_gen/E_RESTART_gen.cpp
3> Generating src_gen/E_R_TRIG_gen.cpp
3> Generating src_gen/E_SPLIT_gen.cpp
3> Generating src_gen/E_SWITCH_gen.cpp
3> Generating src_gen/GEN_E_DEMUX_gen.cpp
3> Generating src_gen/GEN_E_MUX_gen.cpp
3> Generating src_gen/ATimeOut_gen.cpp
3> Generating src_gen/E_TimeOut_gen.cpp
3> Generating src_gen/ARTimeOut_gen.cpp
3> Generating src_gen/E_RTimeOut_gen.cpp
3> Generating src_gen/E_T_FF_gen.cpp
3> Generating src_gen/E_TRAIN_gen.cpp
3> Generating src_gen/DEV_MGR_gen.cpp
3> Generating src_gen/EMB_RES_gen.cpp
3> Generating src_gen/RMT_DEV_gen.cpp
3> Generating src_gen/RMT_RES_gen.cpp
3> Generating src_gen/ForteBootFileLoader_gen.cpp
3> Generating src_gen/GEN_CLIENT_gen.cpp
3> Generating src_gen/GEN_PUBLISH_gen.cpp
3> Generating src_gen/GEN_SERVER_gen.cpp
3> Generating src_gen/GEN_SUBSCRIBE_gen.cpp
3> Generating src_gen/GEN_PUBL_gen.cpp
3> Generating src_gen/GEN_SUBL_gen.cpp
3> Generating src_gen/pctimeha_gen.cpp
3> Building Custom Rule C:/FORTE_dev/forte-incubation_1.13.0A/CMakeLists.txt
7>------ Build started: Project: forte, Configuration: Release Win32 ------
7> Building Custom Rule C:/FORTE_dev/forte-incubation_1.13.0A/src/CMakeLists.txt
7>LINK : warning LNK4044: unrecognized option '/Wl,-M'; ignored
7>LINK : warning LNK4044: unrecognized option '/Wl,-Map'; ignored
7>LINK : warning LNK4044: unrecognized option '/Wl,forte.map'; ignored
7>LINK : warning LNK4044: unrecognized option '/Wl,-cref'; ignored
7>LINK : fatal error LNK1181: cannot open input file 'FORTE_LITE.dir\Release\forte_thread.obj'
========== Build: 5 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Bachmann M1 / VxWorks - Need advice how to begin [message #1835937 is a reply to message #1835936] |
Wed, 16 December 2020 15:02  |
Eclipse User |
|
|
|
Here is the output:
C:\FORTE_dev\build\win32-7>make all
-- FORTE_MODULE_DIR: C:/FORTE_dev/build/win32-7/src/modules com external/
[ 0%] Built target forte_generate_modules_cmake_files
GenerateStringlist
Source Dir: C:/FORTE_dev/forte-incubation_1.13.0A/src
Binary Dir: C:/FORTE_dev/build/win32-7
[ 0%] Built target forte_stringlist_generator
Generate Initfunction
Source Dir: C:/FORTE_dev/forte-incubation_1.13.0A
Binary Dir: C:/FORTE_dev/build/win32-7
[ 0%] Built target forte_init_generator
[ 0%] Building CXX object src/CMakeFiles/FORTE_LITE.dir/arch/be_m1/forte_thread
.cpp.obj
i386-wrs-vxworks-g++.exe: cannot specify -o with -c or -S and multiple compilati
ons
make[2]: *** [src/CMakeFiles/FORTE_LITE.dir/build.make:83: src/CMakeFiles/FORTE_
LITE.dir/arch/be_m1/forte_thread.cpp.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:1375: src/CMakeFiles/FORTE_LITE.dir/all] Erro
r 2
make: *** [Makefile:149: all] Error 2
C:\FORTE_dev\build\win32-7>
|
|
|
Powered by
FUDForum. Page generated in 0.07169 seconds