Lazarus

Programming => Packages and Libraries => Topic started by: Vbxler on September 22, 2019, 04:59:47 pm

Title: PascalScada - write directly into array of bytes
Post by: Vbxler on September 22, 2019, 04:59:47 pm
Hello everyone,

I'm just getting started with PascalScada and can read
some single bytes from a S7300 and display them in a THMIEdit.

But how can I read a few bytes from the PLC
and write them directly into an array of bytes?
Without an output in an HMI object.

Thank you for any help.
Title: Re: PascalScada - write directly into array of bytes
Post by: avra on October 04, 2019, 02:05:14 am
Try to examine source code of TPLCBlock.GetValue(s) and try to cast it to bytes or type you need and see what comes out. You could get much better answer from PascalSCADA author here:
http://www.pascalscada.com/s7-protocol-over-isotcp/
https://sourceforge.net/p/pascalscada/discussion/
TinyPortal © 2005-2018