PlcService.Create (METH)ΒΆ
METHOD Create : UDINT
- InOut:
Scope
Name
Type
Comment
Return
Create
UDINT
Input
targetByteOrder
uiServiceGroup
UINT
uiService
UINT
udiDevSessId
UDINT
if known, otherwise 0
pBuffer
POINTER TO BYTE
the buffer where the data of the service is to be written
udiBufferSize
UDINT
the size of the buffer pointed to by pBuffer
pWriterBuffer
POINTER TO BYTE
the buffer where the servicewriter will be located, may be null. In case of null, dynamic memory will be allocated to create the service writer!
udiWriterBufferSize
UDINT
the size of the buffer pointed to by pWriterBuffer