4
FUNCTIONS
4.4 MELSECNET/H Module Access Function
4.4.4 Link device refresh setting
4 - 28
1
OVERVIEW
2
SYSTEM
CONFIGURATION
3
SPECIFICATIONS
4
FUNCTIONS
5
SETTING AND
PROCEDURES
6
I/O NUMBER
ASSIGNMENT
7
MEMORIES AND
FILES
8
INSTALLING /
UNINSTALLING
1) Calculation of total link devices refresh time
Calculate the total link devices refresh time.
( Section 4.4.5 (2))
2) Temporary setting of link device refresh cycle
The link device refresh cycle and the total link devices refresh time obtained in
1) must satisfy the following relational expression.
Set a tentative link device refresh cycle value that satisfies the following
relational expression.
3) Test run of C Controller system
Perform the test run of the C Controller system to check whether the C
Controller system operates properly in the link device refresh cycle temporarily
set in 2).
4) C Controller system operation check
Check the following 1) and 2) when the C Controller system has been test-run
in the link device refresh cycle set temporarily.
[Check 1: Check for an error in the C Controller module.]
Check for an error in the C Controller module.
If the link device refresh is not completed within the set time of the link
device refresh cycle, the C Controller module generates a "Link device
refresh timeout error (Error code: 5012, LNKREF.TIME OVER)".
If this error occurs, take corrective action according to this section 5).
[Check 2: Check if the C Controller system operation satisfies the system
specifications.]
Check if the C Controller system operation satisfies the system
specifications or not.
Even if the error stated in Check 1) has not occurred, make sure that the C
Controller system operates properly.
The user program processing in the C Controller module may be suspended
due to activation of link device refresh processing, interrupt processing, or
high-priority task processing (e.g. Tornado's Shell command or bus interface
driver processing) depending on the operation conditions of the C Controller
system.
If the user program processing is interrupted longer than its operation time,
the C Controller system specifications may not be satisfied.
When the system specifications are not satisfied, take corrective action
according to This section 5).
Figure 4.23 User program processing of C Controller module
[Relational expression]
Total link devices refresh time < Link device refresh cycle
Link device refresh processing
High-priority task
processing
SuspendedSuspendedSuspendedSuspendedSuspendedSuspended
User program processing
( Operation time)
Suspended
Interrupt
processing
Link device
refresh cycle
Link device
refresh cycle
High-priority task
processing
Link device
refresh cycle
High-priority task
processing
Link device
refresh cycle