Maxiflex P3 PAC User Manual
95
-© Omniflex
UMM126XR18.pdf
Use this function to read a word of memory directly from an I/O module. This is an
advanced function and is available for use with specialised I/O modules. In most
applications, this function is not necessary.
12.6.1.20.
IOWORDWR - Write a word to an I/O Module
Arguments:
Name
In/Out Type
Description
VAL
IN
Integer
Value of word (0 - 65535)
OFFSET
IN
Integer
Word offset in the memory map of the module.
SLOT
IN
Integer
I/O slot where the module is installed.
F
OUT
Boolean
“True” if write is successful
Description:
Use this function to write a word of memory directly to an I/O module. This is an
advanced function and is available for use with specialised I/O modules. In most
applications, this function is not necessary.
12.6.2
Using “DIT” Virtual I/O Modules to access data in the DIT
In the library of Maxiflex I/O Modules are a number of
“virtual” modules that do not
represent actual Maxiflex Modules, but do represent data in the DIT as if it were an
actual module.
These virtual Modules can be used to read/write data to/from the DIT just as if it was
data from the outside world.
As I/O modules these inputs/outputs will be updated once per scan.
To use these modules, assign them to an I/O slot in the normal way. I/O slots 64 to 255
can be used for this purpose without encroaching on the real I/O Slots available in the
system, although any I/O slot can be used for a virtual module.
Set the DIT parameter in the module to the DIT(s) to be addressed.
See the Descriptive Note attached to these modules for more detailed information.
12.6.2.1.
MxDIT_DI
Use this Virtual I/O Module to read the 16 bits of a single local DIT register as 16
Boolean inputs.