MemOutW Method

Description
Simultaneously sets 16 memory I/O bits based on the 16 bit value specified by the user.

Syntax
Sub MemOutW (PortNumber As Integer, Value As Integer)
Sub MemOutW (Label As String, Value As Integer)

Parameters

  • PortNumber
    An integer expression indicating the memory I/O word.
  • Label
    A string expression indicating the memory I/O word label.
  • Value
    Specifies the output data (integer from 0 to 65535) using an expression or number.

See Also
In Method, InBCD Method, MemIn Method, MemSw Method, Sw Method, Off Method, On Method, Oport Method

MemOutW Example
VB Example:

m_spel.MemOutW(2, 25)  

C# Example:

m_spel.MemOutW(2, 25);