33
Examples of Counter Unit Operation
Section 3-1
3-1-4
Count Restart Operation after Error Clearance
If power supply from the I/O Unit interface to the Counter Unit is interrupted,
the Counter Unit will stop count operation. It will be necessary to restart the
count operation. When the Counter Unit is restarted, all settings, such as the
setting values, the present value, and the count mode will be cleared. These
settings must be reset. By adding the following program to the program
described in the previous section, 3-1-3 Counter Setting and Execution, the
settings will be reset automatically when the Counter Unit is restarted, and it
will be possible to resume count operations. An example of the program used,
along with an explanation of that program appears below. For details about
the status area of the Master Unit, refer to DeviceNet Operation Manual
(W267).
If any of the following occur after the Counter Unit setting
and start-up have been completed (and 23204 is ON),
the Step Advance Bit 23300 turns ON in order to reset
the settings for the Counter Unit.
•
The Communications Unit Bit (node number 01 =
10601) for the Master Unit normal Slave information
area is OFF (error).
•
Bit 5 (10105) of the Master Status Area 1 is ON
(transmission error in the DeviceNet).
•
The Counter Unit Bit (#0 = 35208) for the error I/O Unit
address in the I/O Unit Interface Status Area is ON
(error).
When the Step Advance Flag 23300 turns ON for reset-
ting, if all of the following conditions are satisfied, the
Counter Unit will start up normally and communications
will be possible. Therefore, the Step Advance Flag 23200
will turn ON. The previously described setting and execu-
tion program will be re-executed.
•
Bit 15 (10115) of the Master Status Area is ON (Device
Net remote I/O communications are operating).
•
Bit 15 (35115) of I/O Unit connection information in the
I/O Unit Interface Status Area is ON (I/O refresh in prog-
ress).
23203
35208
MOV(21)
#0001
232
23204
23300
10105
23300
10115
35115
10601
10114
•
Bit 14 (10114) of the Master Status Area 1 is OFF
(Error/Communications Stopped Flag).
Содержание DRT1-COM
Страница 1: ...OPERATION MANUAL Cat No W348 E1 05 DRT1 COM GT1 Series DeviceNet MULTIPLE I O TERMINAL ...
Страница 2: ...DRT1 COM GT1 Series DeviceNet MULTIPLE I O TERMINAL Operation Manual Revised May 2003 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 13: ...xvi EC Directives 6 3 Keep DeviceNet communications cables as short as possible and ground to 100 Ω min ...
Страница 232: ...Authorized Distributor Cat No W348 E1 05 Note Specifications subject to change without notice Printed in Japan ...
Страница 233: ...DRT1 COM GT1 Series DeviceNet MULTIPLE I O TERMINAL Cat No W348 E1 05 OPERATION MANUAL ...