Omron DEVICENET#05-2003 Operation Manual page 44

Drt1-com gt1 series devicenet multiple i/o terminal
Table of Contents

Advertisement

Examples of Counter Unit Operation
23201
25315
(1 cycle ON)
23200
23200
35500
23202
Set 1 Setting
Completion
Flag
23201
23201
35501
23203
Set 2 Setting
Completion
Flag
23202
23202
35502
Count Value Set
23203
Completion Flag
23203
23204
32
MOV(21)
When the program starts, set value 1 will be set under
the following conditions:
#5000
Words 51, 52
051
Set value 1:
Output conditions: Present value . Set value 1
MOV(21)
Word 53
#0000
Bit 00: Setting value 1 set
Bit 03: Data code BCD
052
MOV(21)
#0001
053
23200
Bit 23200 is a Step Advance Flag.
MOV(21)
When the Step Advance Flag 23200 turns ON and
set value 1 has been set, set value 2 will be set under
#0000
the following conditions:
051
Words 51, 52
Set value 2:
MOV(21)
Output conditions: Present value . Set value 2
#0001
Bit 01: Set value 2 set
Bit 03: Data code BCD
052
MOV(21)
#0002
053
23201
Bit 23201 is a Step Advance Flag.
MOV(21)
When the Step Advance Flag 23201 turns ON and
set value 2 has been set, the count value will be set
#0000
under the following conditions:
051
Words 51, 52
Count value: 0 (BCD)
MOV(21)
Word 53
Bit 02:
#0000
Bit 03:
052
Bit 10, 11:
MOV(21)
#0C04
053
23202
Bit 23202 is a Step Advance Flag.
When the Step Advance Flag 23202 is ON and
the count value has been set, the Step Advance
23203
Flag 23203 turns ON.
When the Step Advance Flag 23203 turns ON, the initial
MOV(21)
settings are complete. Commence count operation under
#2F40
the following conditions:
Word 53
053
Bit 03:
Bit 06:
Bit 08:
23204
Bit 09:
Bit 10, 11:
Bits 12 to 14: External input, reset mode
Bit 15:
When the settings and operations for the counter
have been completed, the Step Advance Flag 23204
turns ON.
Section 3-1
+5000 (BCD)
+10000 (BCD)
Count value set
Data code BCD
Differential phase pulse input 1
Data code BCD
Count value read
External output 1 enabled
External output 2 enabled
Count mode phase difference 1
Count stop during I/O Unit Interface error

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Drt1-comGt1Gt1-id16Gt1-od16mxGt1-ad08mxGt1-da04mx

Table of Contents