![Omniflex Maxiflex P3 M1260E Скачать руководство пользователя страница 86](http://html1.mh-extra.com/html/omniflex/maxiflex-p3-m1260e/maxiflex-p3-m1260e_user-manual_739279086.webp)
Maxiflex P3 PAC User Manual
86
-© Omniflex
UMM126XR18.pdf
7. Once Input and Output variables have been defined in your project dictionary, you can
connect these variables to the appropriate Maxiflex Module Input or Output in this window
by
selecting “Select Channel/Parameter” from the “Edit” menu or double clicking the
desired Channel number on the selected Slot.
NOTE:
Some Maxiflex I/O modules have “parameters” which must be set for the correct
operation of those modules. See a full explanation in the Note attached to the Maxiflex
Module.
12.6 Programming with the DIT
The Data Interchange Table provides a versatile repository for all data used within the
Maxiflex P3 CPU. This data may be accessed in a User Program in a number of ways:
12.6.1 Using DIT Functions to access data in the DIT
A number of functions are available in the Application Workbench to access Data in the
DIT. These can be found in the pull-down list of Functions available when editing a
program in the FBD language, or by entering these functions as text in the ST or IL
languages.
NOTE
: These functions are implemented immediately, and are not synchronised to the
program scan. This has the following consequences:
1. Data is written to the DIT when the function is implemented, and this data is
available immediately for use in the same program scan.
2. DIT access to extended DIT areas (see section 6.4) take longer to execute than
accesses to the local CPU DIT. If many such functions are included in the User
Program, then this will have a significant effect on the scan rate of the program.
Instead, in these circumstances, use the MxDIT_CPY Virtual I/O module to copy the
data from the extended DIT area to the local DIT in blocks, where the data can be
accessed at full speed.
12.6.1.1.
DITRD - Read a DIT register
Arguments:
Name
In/Out Type
Description
DIT
IN
Integer
The DIT Register Address to be read
VAL
OUT
Integer
The 16-bit value read from the DIT Register
Description:
Use this function to read an integer from a local DIT register.
This function cannot be used to access the extended DIT Range