Mitsubishi 00JCPU User Manual page 323

Q series programmable controller
Table of Contents

Advertisement

6.25 Service Processing
Service processing is the communication processing with GX Developer and external devices.
The service processing refers to the following:
• Communications via intelligent function modules (A link refresh from network modules is not included.)
• Communications via USB cables and RS-232 cables (Communications with GX Developer or GOT.)
6.25.1Module service interval time read
The module service interval designates the intervals of transient requests such as monitoring, test, and program
writing and reading.
The CPU module can monitor the service interval time (time from service acceptance to next service acceptance) of
the intelligent function module, network module, or GX Developer.
This indicates the frequency of access from external devices to the CPU module.
(1) Reading method
Operate the special relay and special registers shown inTable6.46.
Table6.46 Special relay and special registers that read the module service interval time
Number
Name
Module service interval time
SM551
read
Service interval measurement
SD550
module
SD551,
Service interval read
SD552
(2) Program example
The program example of Figure 6.95 reads the module service interval time of the intelligent function module at X/
Y160.
Read
start signal
The access interval in cyclic communication from a network module is not stored.
To read the service interval time when access is made from GX Developer in another station on the network, set the I/
O number of the network module.
Turning off and then on this relay reads the module service interval time of the intelligent function module
specified at the special register SD550 to SD551 and SD552 (on: Reading, off: Non-processing).
Set the I/O number of the module whose module service interval time is to be measured.
Set the I/O number of the peripheral connected to RS-232 or USB interface of the CPU module to FFFF
Stores the service interval time read from the module specified at SD550 when SM551 is turned on.
• SD551: In increments of 1ms (within the range of 0 to 65535)
• SD552: In increments of 100 s (within the range of 0 to 900, stored in increments of 100 s)
(Example) When the module service interval time is 123.4ms, SD551 is 123 and SD552 is 400.
Figure 6.95 Program example of module service interval time read
Description
I/O number "160" (hexadecimal) is set to SD550.
Module service interval time read is started.
Module service interval time is stored to D551 and D552.
CHAPTER6 FUNCTIONS
.
H
6 - 143
1
2
3
4
5
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents