Chapter 6 Inter-Module Synchronization Function - Mitsubishi Electric RD77MS2 User Manual

Melsec iq-r simple motion module
Hide thumbs Also See for RD77MS2:
Table of Contents

Advertisement

6
INTER-MODULE SYNCHRONIZATION
FUNCTION
This function can synchronize the control timings among multiple modules on the same base.
Control details
This function can synchronize the interrupt program execution cycle of the CPU module and the operation cycle of the Simple
Motion module. Refresh which is synchronized with the operation cycle can be executed between the devices and labels of
the buffer memory address and CPU module.
Precautions during control
The following shows the available synchronization cycle to synchronize within the Simple Motion modules.
0.222 ms, 0.444 ms, 0.888 ms, 1.777 ms, 3.555 ms, 7.111 ms
When the synchronization cycle except above, the error "Unit synchronization cycle setting unsupported" (error code: 18C0H)
will occur.
There is no need to match the synchronization cycle to the operation cycle of the Simple Motion module. Note that the value
of buffer memory address is updated and referred to at the operation cycle. Therefore, when the synchronization cycle is
faster than the operation cycle, the monitor data is updated at each operation cycle, and the positioning start signal and
control data, etc. are not processed if only the synchronization cycle is ON for only 1 scan. When the synchronization cycle is
slower than the operation cycle, data may be skipped in the synchronization cycle interrupt program if the monitor data
changes only during 1 operation cycle.
When executing the simultaneous start using inter-module synchronization, the synchronization cycle and the operation cycle
of the Simple Motion module must be matched. Refer to the following for details.
Page 191 Simultaneous start using inter-module synchronization
Setting method for inter-module synchronization
The inter-module synchronization can be set at "Synchronization Setting within the Modules" in "System parameter" of the
engineering tool. Select "Use" for "Use Inter-module Synchronization Function in System" at "Synchronization Setting within
the Modules" and set "Synchronize" in the setting field for the Simple Motion module to be synchronized at "Detailed Setting"
of "Select Synchronous Target Unit between Unit". Set the inter-module synchronization cycle at "Synchronous Fixed Scan
Interval Setting within the Modules". Select the cycle to be synchronized at "Fixed Scan Interval Setting (Not Set by 0.05 ms)".
Simultaneous start using inter-module synchronization
This function is used to synchronize the start timing between different modules. It can synchronize the start timing between
modules by using with the pre-reading start function together. After starting, the Simple Motion module operates
independently.
Refer to the following for "Pre-reading start function".
Page 266 Pre-reading start function
■Procedure
1.
Set the Simple Motion module to start simultaneously to the inter-module synchronous target.
2.
Set the same cycle between the inter-module synchronization cycle of the CPU module and the operation cycle of the
Simple Motion module. If not, the simultaneous start is not guaranteed.
3.
Use the pre-reading start function. Execute the positioning start after turning "[Cd.183] Execution prohibition flag" ON.
4.
Turn "[Cd.183] Execution prohibition flag" OFF in the same inter-module synchronization cycle during the inter-module
synchronous interrupt program (I44).
Ex.
To execute the inter-module synchronous interrupt program (I44) as an event, set "Type: Event" and "Detailed Setting
Information: Interrupt I44" to the execution type of the program to execute in "Program Setting" of "CPU Parameter".
6 INTER-MODULE SYNCHRONIZATION FUNCTION
6
191

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rd77ms16Rd77ms4Rd77ms8

Table of Contents