SETIO_PART (FB)ΒΆ
FUNCTION_BLOCK SETIO_PART
The SETIO_PART function block sets the output data for a subset of the output data associated to a slot or subslot of a Field Device. The output data are addressed within the slot or subslot through the OFFSET and LEN parameters. The SETIO_PART function block sets the output data to the Host Controller interface into the cyclically written output data of the Field Device. The function block is invoked by a 1 of the EN input. If the Output data are stored successfully and the Field Device is still cyclically communicating, the ENO output is set to 1.
If the Output data are stored successfully and the Field Device is still cyclically communicating, the ENO output is set to 1
Never use GETIO-/SETIO_PART FBs concurrently with %I/%Q-Input/Output-Mapping for the same slot/subslot !
- InOut:
Scope
Name
Type
Comment
Input
EN
BOOL
Enable
ID
DWORD
Identifier of a slot / subslot of a Field Device
OFFSET
INT
Offset of the subset of output data
LEN
INT
Length of the output data to write
OUTPUTS
POINTER TO BYTE
IO data object to write
Output
ENO
BOOL
Flag indication sending data OK
STATUS
DWORD
Last detected status
ERROR
BOOL
Flag indication an error