Output Address Space

The output address space contains data that is sent from the WMX3 engine and received by the servos and I/O modules in the network. This data is updated every communication cycle, and may be associated with the operation of valves, LED indicators, output voltages, and other outputs.

The method of mapping data that is sent to the servos and I/O modules to the output address space depends on the platform. See the discussion for the platform in use inside this manual. By default, output addresses are mapped in the order that the servos and I/O modules are connected to the network, but it is also possible to map specific data in specific servos and I/O modules to specific output addresses.

  • The size of the output address space is maxIoOutSize bytes.

  • All bytes in the output address space contain 0 when the WMX3 engine is started.

  • Output addresses that are not mapped to any servo or I/O module in the network can be read from and written to, but the data will not be sent to any servo or I/O module in the network.

  • If the initial output is set for one or more bytes of the output address space, these bytes will be set to the specified initial values whenever communication is started or restarted. For additional information, see Initial Output.

  • Data in the output address space can be written or read using the functions in the Io class.

  • Expedited I/O functions read or write data from the output address space faster, but have restrictions. See Expedited I/O Functions for additional information.

  • Analog I/O functions read or write 1 to 4 bytes from the output address space as a signed or unsigned integer. See Analog I/O Functions for additional information.

The following table lists the functions that write data to the output address space.

Function

Expedited

Analog

Remarks

SetOutBit

No

No

This function writes one bit to the output address space.

SetOutByte

This function writes one byte to the output address space.

SetOutBytes

This function writes multiple bytes to the output address space.

SetOutAnalogDataChar

Yes

This function writes one byte to the output address space as a signed integer.

SetOutAnalogDataUChar

This function writes one byte to the output address space as an unsigned integer.

SetOutAnalogDataShort

This function writes two bytes to the output address space as a signed integer.

SetOutAnalogDataUShort

This function writes two bytes to the output address space as an unsigned integer.

SetOutAnalogDataInt

This function writes four bytes to the output address space as a signed integer.

SetOutAnalogDataUInt

This function writes four bytes to the output address space as an unsigned integer.

SetOutBitEx

Yes

No

This function writes one bit to the output address space.

SetOutByteEx

This function writes one byte to the output address space.

SetOutBytesEx

This function writes multiple bytes to the output address space.

SetOutAnalogDataCharEx

Yes

This function writes one byte to the output address space as a signed integer.

SetOutAnalogDataUCharEx

This function writes one byte to the output address space as an unsigned integer.

SetOutAnalogDataShortEx

This function writes two bytes to the output address space as a signed integer.

SetOutAnalogDataUShortEx

This function writes two bytes to the output address space as an unsigned integer.

SetOutAnalogDataIntEx

This function writes four bytes to the output address space as a signed integer.

SetOutAnalogDataUIntEx

This function writes four bytes to the output address space as an unsigned integer.

The following table lists the functions that read data from the output address space.

Function

Expedited

Analog

Remarks

GetOutBit

No

No

This function reads one bit from the output address space.

GetOutByte

This function reads one byte from the output address space.

GetOutBytes

This function reads multiple bytes from the output address space.

GetOutAnalogDataChar

Yes

This function reads one byte from the output address space as a signed integer.

GetOutAnalogDataUChar

This function reads one byte from the output address space as an unsigned integer.

GetOutAnalogDataShort

This function reads two bytes from the output address space as a signed integer.

GetOutAnalogDataUShort

This function reads two bytes from the output address space as an unsigned integer.

GetOutAnalogDataInt

This function reads four bytes from the output address space as a signed integer.

GetOutAnalogDataUInt

This function reads four bytes from the output address space as an unsigned integer.

GetOutBitEx

Yes

No

This function reads one bit from the output address space.

GetOutByteEx

This function reads one byte from the output address space.

GetOutBytesEx

This function reads multiple bytes from the output address space.

GetOutAnalogDataCharEx

Yes

This function reads one byte from the output address space as a signed integer.

GetOutAnalogDataUCharEx

This function reads one byte from the output address space as an unsigned integer.

GetOutAnalogDataShortEx

This function reads two bytes from the output address space as a signed integer.

GetOutAnalogDataUShortEx

This function reads two bytes from the output address space as an unsigned integer.

GetOutAnalogDataIntEx

This function reads four bytes from the output address space as a signed integer.

GetOutAnalogDataUIntEx

This function reads four bytes from the output address space as an unsigned integer.