.. first line of object.rst template .. first line of dut-object.rst template .. first line of struct-object.rst template .. <% set key = ".fld-UDT.DATA" %> .. _`.fld-UDT.DATA`: .. <% merge "object.Defines" %> .. <% endmerge %> .. Index:: single: DATA .. _`DATA`: DATA (STRUCT) ------------- TYPE DATA : STRUCT .. <% merge "object.Doc" %> .. todo:: Please add documentation for struct: DATA .. <% endmerge %> .. <% merge "object.iotbl" %> InOut: +----------------+-------------------+-------------------------------------------------------------+ | Name | Type | Comment | +================+===================+=============================================================+ | Activate | BOOL | Aktivierung durch Benutzer (Schalter EIN/AUS) | +----------------+-------------------+-------------------------------------------------------------+ | ServerDeviceNo | BYTE | Slavenenummer | +----------------+-------------------+-------------------------------------------------------------+ | FC | |iotFunctioncode| | | +----------------+-------------------+-------------------------------------------------------------+ | Register | WORD | Startregister oder Startbit | +----------------+-------------------+-------------------------------------------------------------+ | Length | WORD | Anzahl der Register oder Anzahl der Bits | +----------------+-------------------+-------------------------------------------------------------+ | Polltime_ms | WORD | Pollzeit in MS | +----------------+-------------------+-------------------------------------------------------------+ | DoTransfer | BOOL | Veranlasse Transfer aufgrund der angelaufenen Pollzeit. Nur | | | | nötig für Lese-Aufrufe FC1,FC3 | +----------------+-------------------+-------------------------------------------------------------+ | tLastPoll | TIME | Zeit des letzten Abrufs. | +----------------+-------------------+-------------------------------------------------------------+ | tLastRecv | TIME | Letztes Antworttelegramm erhalten; | +----------------+-------------------+-------------------------------------------------------------+ | CountRequest | WORD | Anzahl der Anfragen | +----------------+-------------------+-------------------------------------------------------------+ | CountAnswer | WORD | Anzahl der Antworten vom Slave | +----------------+-------------------+-------------------------------------------------------------+ | CountAnswerOld | WORD | Anzahl der Antworten vom Slave_Merker | +----------------+-------------------+-------------------------------------------------------------+ | ErrorCode | BYTE | 0:= OK, 1:= FC not supported,2:= Register Out of Range; 3= | | | | Register Address NOK 4:= Read Exeption Status NOK; 10:= TCP | | | | Send Error ; 11:= Cant get new Data ;12:= CRC Error | +----------------+-------------------+-------------------------------------------------------------+ .. |iotFunctioncode| replace:: :ref:`tFunctioncode` .. <% endmerge %> .. last line of struct-object.rst template .. last line of dut-object.rst template .. last line of object.rst template