7-5
Section
Pulse Inputs
94
7-4-2 Outline
The MCRO instruction can be executed in the ladder program in the Customiz-
able Counter Unit to start an external interrupt task in the CPU Unit.
Customizable Counter Unit
CPU Unit
Ladder diagram
External inter-
rupt task
started
External interrupt task
(task No. = n – 100)
MCRO
N
S
D
Using MCRO
N: External interrupt task number in CPU Unit
(N = 100 to 199 for task numbers 0 to 99)
Set S and D to 000.
Example: When specifying to execute the external interrupt task has been completed, the Equals
Flag (SR 25506) will turn ON. This can be used as shown below to monitor completion of specify-
ing the start of the task.
External interrupt task 10 in
the CPU Unit will start when
IR 00200 in the Customiz-
able Counter Unit turns ON.
The Equals Flag (SR 25506)
will turn ON specifying to ex-
ecute the external interrupt
task has been completed
Equals Flag
Note Be sure to use 100 plus the interrupt task number as the value of the first operand.
MCRO
110
000
000
MCRO
N
S
D
00200
25506
[ SBN 110 ]
[ RET ]
Note
1. Program a dummy subroutine for the subroutine number specified for
MCRO, as shown above.
2. If the external interrupt task is set to 1, 2, or 3, the power interruption or
scheduled interrupt tasks in the CPU Unit will be executed. If these tasks are
going to be executed from the Customizable Counter Unit, they should nor-
mally be disabled from the CPU Unit as the power interruption or scheduled
interrupt tasks. If they are not disabled, they will be executed both for their
normal conditions as well as for MCRO from the Customizable Counter Unit.
7-5
Pulse Inputs
7-5-1 Applicable Models
Model numbers
Functions
CS1W-HCP22
12 contact inputs, 8 contact outputs, 2 pulse inputs, 2 pulse outputs
CS1W-HCA22
12 contact inputs, 8 contact outputs, 2 pulse inputs, 2 analog outputs
7-5-2 Outline
The
CS1W-HCP22 and CS1W-HCA22 Customizable Counter Unit provide 2 pulse in-
puts. The pulse inputs can be used to count pulse signals from rotary encoders or other
Содержание CS1 -
Страница 1: ...Cat No W378 E1 1 Customizable Counter Units SYSMAC CS1 CS1W HI001 HCP22 HCA22 OPERATION MANUAL...
Страница 2: ......
Страница 3: ...CS1W HIO01 HCP22 HCA22 Customizable Counter Units Operation Manual Produced January 2001...
Страница 4: ...iv...
Страница 6: ...vi...
Страница 10: ......
Страница 20: ......
Страница 40: ......
Страница 60: ......
Страница 146: ......
Страница 166: ......