Mitsubishi Electric MELSEC iQ-R Series User Manual page 90

High speed digital-analog converter module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Setting the module parameter
Set the module parameter to use the inter-module synchronization function.
The setting method is shown below.
"Basic setting" window
[Navigation window]  [Parameter]  [Module Information] 
Module model name  [Basic setting]
"Application setting" window
[Navigation window]  [Parameter]  [Module Information] 
Module model name  [Application setting]
In "Output selection during synchronous error", set whether to continue or stop the synchronization of D/A converter modules
when an inter-module synchronization cycle crossing over error (error code: 2600H) or inter-module synchronization signal
error (error code: 2610H) occurs.
■Interrupt program setting
When the inter-module synchronization function is used, 'CH1 Synchronization digital value' (Un\G9500) is converted to
analog.
Write the value of 'CH1 Synchronization digital value' (Un\G9500) with an inter-module synchronous interrupt program (I44).
The inter-module synchronous interrupt program (I44) contains the interrupt pointer (I44) to the IRET instruction set with the
program, and the program is executed on the cycle set by a customer. The D/A converter module obtains 'CH1
Synchronization digital value' (Un\G9500) at the timing when the interrupt program is executed.
The following shows how to set an interrupt program.
Navigation window  [Parameter]  Model name of the CPU module  [CPU Parameter]  [Program Setting]
"CPU Parameter" window
"Program Setting" window
"Event Execution Type Detailed Setting" window
1 FUNCTIONS
88
1.15 Inter-Module Synchronization Function
1.
Set "D/A conversion enable/disable setting" to
"D/A conversion enable".
2.
The setting of "Output range setting" is the
same as the one for the normal output mode.
Select an appropriate output range.
3.
Set "Analog output HOLD/CLEAR setting" to
"HOLD" or "CLEAR".
4.
The setting of "Operation mode setting" is
ignored.
5.
Set "Output selection during synchronous
error".
6.
Write the module parameter into the CPU
module and change the status of the CPU
module from RESET to RUN.
1.
Double-click "Detailed Setting" of "Program
Setting".
2.
Set an arbitrary name of inter-module
synchronous interrupt program (I44) for
"Program Name".
3.
Set "Event" for "Type" of "Execution Type".
4.
Double-click "Detailed Setting Information" of
"Execution Type".
5.
Set "Interruption Occurrence" for "Trigger
Type".
6.
Set "I44" for "Interruption Occurrence".

Advertisement

Table of Contents
loading

This manual is also suitable for:

R60dah4

Table of Contents