HelloPlc4x example, parameter --field-addresses ?

2019-05-28 Thread Ralf Barkow
Dear list, Regarding the HelloPlc4x example, we are able to connect to a S7_1500 but I need some help with the second parameter --field-addresses. Could you give me an example? Thanks, Ralf Best regards I Freundliche Grüsse Ralf Barkow Technischer Redakteur | MTD Technische

Re: HelloPlc4x example, parameter --field-addresses ?

2019-05-28 Thread Christofer Dutz
Hi Ralf, in general there is no address which is guaranteed to be available in 100% of the cases. But I would assume reading the first 8 bits of the digital outputs should probably work: %Q0:BYTE Or reading a single bit (In this case reading output 4): %Q0.3:BIT Hope this helps. If not,

Re: HelloPlc4x example, parameter --field-addresses ?

2019-05-28 Thread Christofer Dutz
Hi Ralf. Well that address would read an int (4 bytes) from Data-block 225 starting with the first byte of the block ... Chris Am 28.05.19, 10:10 schrieb "Ralf Barkow" : Thanks Chris, So it's along the lines of HelloOpm.java: PLC_FIELD_ADDRESS = "%DB225.DBW0:INT";

Re: [BUILDS] What build system to use?

2019-05-28 Thread Christofer Dutz
I'll subscribe to their dev-list and simply ask them ... (The thrift list) Chris Am 28.05.19, 10:39 schrieb "Dr. Julian Feinauer" : Hi Chris, thanks for the summary. I agree and I don’t know why I didn’t do what you suggest (with the submodule).. propably I should sleep more

Re: [BUILDS] What build system to use?

2019-05-28 Thread Dr. Julian Feinauer
Hi Chris, thanks for the summary. I agree and I don’t know why I didn’t do what you suggest (with the submodule).. propably I should sleep more __ I know about all the docker discussions but many projects use it that way. But that being said, lets look how other projetcs (which rely on thrift)

AW: HelloPlc4x example, parameter --field-addresses ?

2019-05-28 Thread Ralf Barkow
Thanks Chris, So it's along the lines of HelloOpm.java: PLC_FIELD_ADDRESS = "%DB225.DBW0:INT"; Cheers, Ralf Best regards I Freundliche Grüsse Ralf Barkow Technischer Redakteur | MTD Technische Dokumentation Endress+Hauser Flowtec AG | Christoph Merian-Ring 4 | 4153 Reinach |

Re: HelloPlc4x example, parameter --field-addresses ?

2019-05-28 Thread Dr. Julian Feinauer
Hi Ralf, you find a bit more information on this confluence page I did a while ago: https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=89070222 Not everything but most of. Julian Am 28.05.19, 10:10 schrieb "Ralf Barkow" : Thanks Chris, So it's along the lines of

Re: [BUILDS] What build system to use?

2019-05-28 Thread Christofer Dutz
Hi all, I'll try to summarize responses to all ( So in general you are quite happy as it currently is, however the C++ module could use simplification. I would suggest that I get rid of the individual pom.xml files and all the packaging and unpacking and change the CMake files to use relative

Re: [BUILDS] What build system to use?

2019-05-28 Thread Christofer Dutz
Hi Markus, that would be great :-) Chris Am 28.05.19, 11:37 schrieb "Markus Sommer" : Hello Chris, in Case of the CMake files I already did some things here. I would push the CMake files to compile the scources on the branch, so you only have to bind the Pom.xml.