6
-
143
CHAPTER6 FUNCTIONS
1
2
3
4
5
6
7
8
6.25 Ser
vice Processing
6.25.1
Module
ser
vice inte
rval time re
ad
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.
(2) Program example
The program example of Figure 6.95 reads the module service interval time of the intelligent function module at X/
Y160.
●
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.
Table6.46 Special relay and special registers that read the module service interval time
Number
Name
Description
SM551
Module service interval time
read
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).
SD550
Service interval measurement
module
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
H
.
SD551,
SD552
Service interval read
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
Read
start signal
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.
Содержание 00JCPU
Страница 1: ......
Страница 2: ......
Страница 96: ...2 51 2 4 5 Character string data 1 Definition The CPU module uses shift JIS code character strings...
Страница 541: ......
Страница 542: ......