Standard function blocks
305
Outputs Contents of dataset (Data1 16B): INT
Contents of dataset (Data2 32B): DINT
Error output (Error): DINT
DS_WriteLocal
(10093)
Illustration
Execution time -
Operation Writes data into the local dataset table. Each dataset contains 48 bits; the data is input
through the Data1 16B (16 bits) and Data2 32B (32 bits) inputs. The dataset number is
defined by the LocalDsNr input.
The error codes indicated by the Error output are as follows:
Inputs Local dataset number (LocalDsNr): INT
Contents of dataset (Data1 16B): INT
Contents of dataset (Data2 32B): DINT
Outputs Error output (Error): DINT
DS_WriteLocal
74
TLA1 1 msec (1)
LocalDsNr
Data1 16B
Data2 32B
Error
Error(74)
Bit Description
1 LOCAL_DS_ERR: LocalDsNr out of range (16…199)