MEMWR16 |
This function block allow you to write the associated variable, defined by the REFERENCE field, only when the EN (Enable) pin is active. According to this, this block allow you to have a "gate-driven-writing". The OUT pin reflects the value of the associated variable.
Property settings
Parameter |
Description |
REFERENCE |
The REFERENCE field in the properties must refer to a word in the table. User can use a direct address identificator %Mx or specify a tag-name |
Net plugs
Plug |
Description |
EN |
Enable input. The input value (16 bits), applied to the IN pin, will be writed in the associated variable when this signal is active |
|
|
ENO |
Enable output.The ENO output reflects the value applied on the EN pin |
|
|
IN |
The input value that will be written to the associated variable |
|
|
OUT |
The OUT pin reflects the value of the associated variable |
See also : MEMWR32