This function copies values from input variable IN to the %MW register area (4x register area for Quantum CPUs). OFF is the word offset in the %MW register area.
The function copies as many bytes as the size of the data type connected to the input pin IN.
The value in OFF may be modified at runtime. If OFF is outside the configured %MW register area, an error message is generated and ENO is set to 0.
The function writes in any case only until the end of the configured %MW area, even if the connected data type could have more data. The remaining part of the connected data type remains unread by the block in such cases.
and can be configured as additional parameters.
This function writes the 16-bit value of register %MW120 (register 400120), if OFF = 120 and the input is of data type INT.
This function writes only 1 word, if OFF addresses the last configured %MW, even if the size of the connected IN variable is of larger size than a word.
Representation:
Representation:
Representation:
LD OffsetIn4XRegisterMemory
PUT_4X Input
Representation:
PUT_4X (OffsetIn4XRegisterMemory, Input);
Description of input parameters:
Parameter
|
Data type
|
Description
|
OffsetIn4XRegisterMemory
|
|
Offset in the %MW register memory (4x).
|
Input
|
|
Input
|