Re: Handling of signed / unsigned values

2018-08-03 Thread Christofer Dutz
Gesendet: Donnerstag, 2. August, 17:14

Re: Handling of signed / unsigned values

2018-08-03 Thread Julian Feinauer
Von: Julian Feinauer

Re: Handling of signed / unsigned values

2018-08-03 Thread Christofer Dutz
Chris Outlook for Android<https://aka.ms/ghei36> herunterladen Von

Re: Handling of signed / unsigned values

2018-08-03 Thread Julian Feinauer
ink about this? Chris Outlook for Android<https://aka.ms/ghei36> herunterladen Von: Julian F

Re: Handling of signed / unsigned values

2018-08-03 Thread Christofer Dutz
the same for all drivers. What do you all think about this? Chris Outlook for Android<https://aka.ms/ghei36> herunterladen Von: Julian Feinauer

Re: Handling of signed / unsigned values

2018-08-02 Thread Julian Feinauer
or all drivers. What do you all think about this? Chris Outlook for Android<https://aka.ms/ghei36> herunterladen Von: Julian Feinauer Gesendet: Donnerstag, 2. August, 17:14 Betreff: Re: Handling of signed / unsigned values An: dev@plc4x.apache.

Re: Handling of signed / unsigned values

2018-08-02 Thread Christofer Dutz
Re: Handling of signed / unsigned values An: dev@plc4x.apache.org Hi Chris, I think we have both different approaches and views. I totally agree with you that it should be as straight forward and easy for users of the API to use Plc4x. But, as far as my understanding goes, we are missing some info

Re: Handling of signed / unsigned values

2018-08-02 Thread Julian Feinauer
Hi Chris, I think we have both different approaches and views. I totally agree with you that it should be as straight forward and easy for users of the API to use Plc4x. But, as far as my understanding goes, we are missing some information which we need for the user. The following example

Re: Handling of signed / unsigned values

2018-08-02 Thread Christofer Dutz
Hi Julian, regarding your question. As far as I have encountered, PLCs mostly transfer unsigned values and Java usually uses signed values ... this could generally cause problems. Fortunately as far as I know the size of the Java types is usually way bigger than the one of the PLC types.

Handling of signed / unsigned values

2018-08-02 Thread Julian Feinauer
Hey all, again me with another question : ) I started going through some examples on our PLC and came to a situation where we use signed and unsigned values in the PLC. This goes kind of back to my type system question. How could I tell the Reader to read me an Unsigned Int from a S7 (Usigne