Mitsubishi Electronics 13JW55 Network Card User Manual


 
App. - 36
Appendix 4.23 Application example using index Z
(1) The number of manufactured products is counted every day in one month cycle,
and the resulting number is stored to the corresponding register of the date (D1
to D31).
(2) The planned number of products to be manufactured is inputted with the
external digital switch. Production stops when this number is accomplished.
(3) The date is also specified with the external digital switch.
(4) The accumulated number of products manufactured in the current month as
well as the number of manufactured products on the current day is displayed to
exterior.
K2X20
K4X30
X02
Input
module
Output
module
K2Y58
K4Y40
K4Y60
Date display
Manufactured number
on current day
Accumulated number
Date
Planned number
of products
Count value
30
0 180
30
0180
3782
The number of products manufactured on the current day is counted by C5.
The accumulated number of products manufactured is counted by C6.
The date is entered in the index Z to indirectly specify the data register
corresponding to the date using D0Z0.
When Z0 is 30, D0Z0 becomes 0 + 30, specifying D30.
[Device/Buffer Memory Batch Monitor screen]
Accumulated number
Planed number of products
Date
Stores the resulting
number of each day
ranging from 1 to 31
in D1 to D31.
Manufacturing results of each day ranging from 1 to 31 are stored in D1 to D31,
which are available as production data.