MemOut
(Engine-Level Function)
Deprecated. This function relies on the VTSIO driver, which is no longer included in new installations. Will continue to function in legacy installations but should not be used in new code.
Description: |
Writes a byte, word, or longword of RAM memory. |
Returns: |
Nothing |
Usage: |
Script or steady state. |
Function Groups: |
Memory I/O |
Related to: |
CopyIn | CopyOut | MemIn |
Format: |
MemOut(Address, Type, Value) |
Parameters: |
|
Address |
Required. Any numeric expression that gives the RAM address to write. This may be specified using the @ operator. |
Type |
Required. Any numeric expression giving the type of write:Type | Write Type |
---|
0 | Write 8 bit byte | 1 | Write 16 bit word | 2 | Write 32 bit long word |
|
Value: |
Required. Any numeric expression giving the value to write. |
Comments: |
This function requires that the VTSIO driver be installed. In certain cases, the registry may need to be modified to allow access to the memory location. |
Trihedral and VTScada are registered trade marks of Trihedral Engineering Limited
© Trihedral Engineering Limited 1983- 2024 All rights reserved.