Hi Cesar,

so far my experiences are as follows:

​datatype    read    write
=========================
BOOL        ok      ok
BYTE        ok      ok(only bitwise)
WORD        ok      ok(only bitwise)
DWORD       ok      ok(only bitwise)
SINT        ok      ok
USINT       ok      ok
INT         ok      ok
UINT        ok      ok
DINT        ok      ok
UDINT       ok      ok
REAL        ok      ok
LREAL       nok     nok
CHAR        ok      nok
WCHAR       ok      nok
STRING      nok     nok
WSTRING     nok     nok
TIME        ok      nok
DATE        ok      nok
TIME_OF_DAY ok      nok

So it seems like writing is currently unsupported for quite a few datatypes.
Also reading (W)STRING and LREAL seems to be an issue currently.

Any comments on this?

Thanks in advance,
Markus


________________________________
Von: Cesar Garcia <cesar.gar...@ceos.com.ve>
Gesendet: Montag, 29. November 2021 17:38
An: Apache PLC4X <dev@plc4x.apache.org>
Betreff: Re: Supported Datatypes for S7-1200 with PLC4J

Hi Markus,

Can you put an example of the required formats?

Best regards,

El lun, 29 nov 2021 a las 11:27, Markus Franke (<markus.fra...@sql-ag.de>)
escribió:

> Dear all,
>
> I am currently connecting to a S7-1200 by using PLC4J 0.9.0.
>
> As I have problems with reading/writing certain datatypes from a
> datablock, I was wondering whether there are currently any restriction what
> kind of datatypes are actually supported for reading/writing with this
> hardware setup?
>
> Thanks and best regards,
> Markus
>


--
*CEOS Automatización, C.A.*
*GALPON SERVICIO INDUSTRIALES Y NAVALES FA, C.A.,*
*PISO 1, OFICINA 2, AV. RAUL LEONI, SECTOR GUAMACHITO,*

*FRENTE A LA ASOCIACION DE GANADEROS,BARCELONA,EDO. ANZOATEGUI*
*Ing. César García*

*Cel: +58 414-760.98.95*

*Hotline Técnica SIEMENS: 0800 1005080*

*Email: support.aan.automat...@siemens.com
<support.aan.automat...@siemens.com>*

Reply via email to