10
Data Unit Types (DUT)
The following example illustrates the operation of DUT (
D
ata
U
nit
T
ypes).
The previous “Motor Control” example will be used to illustrate the procedures for creating and
using DUT’s.
User defined Data Unit Types (DUT), can be created. This can be useful for programs which
contain common parts, for example; the control of a number of identical ‘Star Delta’ motor start-
ers. Therefore a Data Unit Type, called ‘SD’ can be created, composing patterns of different ele-
ments, i.e. INT, BOOL etc.
When completing a global variable list, identifiers of type SD can be used. This means that the
predefined group called ‘SD’ can be used with the elements defined as required for each Motor
Control, thus reducing design time and allowing re-use of the DUT together with Function
Blocks.
If an element called START exists in type “SD,” then it can be reused for each ‘Star Delta’ Motor
Control instance when declared in the GVL; STAR_DELTA1.START, STAR_DELTA2.START
etc.
This means for one declaration, many derivatives can be used. One particular use for this proce-
dure is in the interface to Tag Groups in SCADA systems. This can keep communication cycles
fast and efficient by utilising shorter and sequential data transactions, instead of multiple frag-
mented data requests to and from the PLC.
Data Unit Types (DUT)
Training Manual GX IEC Developer
10 - 1
Содержание FX2N-32CAN
Страница 1: ...MITSUBISHI ELECTRIC FACTORY AUTOMATION Programmable Logic Controllers GX IEC Developer ...
Страница 2: ......
Страница 4: ......
Страница 6: ......
Страница 10: ...IV MITSUBISHI ELECTRIC ...
Страница 18: ...Modular PLC Training Hardware Course Overview and Requirements 1 2 MITSUBISHI ELECTRIC ...
Страница 172: ...Monitoring Instances of Function Blocks Advanced Monitoring Functions 7 12 MITSUBISHI ELECTRIC ...
Страница 176: ...Device Edit 8 4 MITSUBISHI ELECTRIC ...
Страница 190: ...Assigning DUT Variables to Function Blocks Data Unit Types DUT 10 10 MITSUBISHI ELECTRIC ...
Страница 198: ...Array Example Single Dimension Array Arrays 11 8 MITSUBISHI ELECTRIC ...
Страница 219: ...Sequential Function Chart SFC SFC Elements Training Manual GX IEC Developer 14 3 ...
Страница 220: ...14 3 SFC configuration examples SFC configuration examples Sequential Function Chart SFC 14 4 MITSUBISHI ELECTRIC ...
Страница 230: ...Structured Text Program Example IEC Structured Text 16 4 MITSUBISHI ELECTRIC ...
Страница 248: ...Configuring GX IEC Developer to access the PLC on Ethernet Ethernet Communications 18 10 MITSUBISHI ELECTRIC ...
Страница 278: ...PLC Components Glossary Appendix A 18 MITSUBISHI ELECTRIC ...
Страница 283: ......