10.1
Example use of a DUT
The following example illustrates the use of a DUT.
햲
Create a new project called “Motor Control DUT”:
햳
Ceate a new Program POU called MOTOR_CONTROL
햴
Create a new Task in the task pool called MAIN and bind the Program MOTOR_CONTROL
to it.
햵
Create a new Function Block “STAR_DELTA” and re-enter the following program code.
Alternatively, ‘Copy-Paste’ the original function block, ‘Body and Header’, from the project
“Motor Control” as follows:
Body: STAR_DELTA
Header: STAR_DELTA
The Header contains the definitions (Mask) of the data types that will be used when creating the
DUT “SD”.
Example use of a DUT
Data Unit Types (DUT)
10 - 2
MITSUBISHI ELECTRIC
Summary of Contents for FX2N-32CAN
Page 1: ...MITSUBISHI ELECTRIC FACTORY AUTOMATION Programmable Logic Controllers GX IEC Developer ...
Page 2: ......
Page 4: ......
Page 6: ......
Page 10: ...IV MITSUBISHI ELECTRIC ...
Page 18: ...Modular PLC Training Hardware Course Overview and Requirements 1 2 MITSUBISHI ELECTRIC ...
Page 176: ...Device Edit 8 4 MITSUBISHI ELECTRIC ...
Page 190: ...Assigning DUT Variables to Function Blocks Data Unit Types DUT 10 10 MITSUBISHI ELECTRIC ...
Page 198: ...Array Example Single Dimension Array Arrays 11 8 MITSUBISHI ELECTRIC ...
Page 219: ...Sequential Function Chart SFC SFC Elements Training Manual GX IEC Developer 14 3 ...
Page 230: ...Structured Text Program Example IEC Structured Text 16 4 MITSUBISHI ELECTRIC ...
Page 278: ...PLC Components Glossary Appendix A 18 MITSUBISHI ELECTRIC ...
Page 283: ......