Hi everyone, Hello,
Excellent, definitely help for type conversion. Kind regards, El sáb, 30 oct 2021 a las 9:23, Christofer Dutz (<christofer.d...@c-ware.de>) escribió: > Hi all, > > We recently added the mspec simple type "byte" in order to work with > byte-data without having to care about, if this is a signed byte (like in > Java) or an unsigned byte (like everywhere else) ... being able to work > with byte[] makes a lot of things a lot easier. > > Now I thought: What if our users want to do the same? If they use a > BYTE-array something pretty unfortunate happens, as each byte is split up > into 8 bit/BOOL. Unfortunately we currently don't have the same option to > pass along bytes to the users application. So I thought: How about we add a > type "RAW" (As byte is already defined otherwiese) and this simpy returns a > "byte" or "byte[]" in case of reading an array of values? > > Chris > > -- *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>*