![Omron SYSMAC C200H-NC112 Скачать руководство пользователя страница 173](http://html1.mh-extra.com/html/omron/sysmac-c200h-nc112/sysmac-c200h-nc112_operation-manual_742431173.webp)
Appendix G
Using the C200H-NC112 with CS1-series PCs
169
Using Multiple Banks
A program that distinguishes between two banks, the bank starting from positioning action #0 and the bank start-
ing from positioning action #5, is given below. In order to select and execute either positioning action #0 or #5, it
turns the valid initial positioning action number bit (bit 01 of word n) ON, then immediately OFF. Leaving the valid
initial positioning action number bit ON forces execution of IR word n+1.
The data for one bank is stored into positioning action numbers 0, 1, and 2.
Speed #4
Speed #3
D20022 3 0 0 2
D20023 0 0 0 0
D20024 0 0 0 1
D20025 4 0 0 0
D20026 5 0 0 0
D20027 0 0 0 1
D20028 3 0 0 3
D20029 0 0 0 0
D20030 0 0 0 0
START
0
CCW
Stop
10000
D20084
Speed #3
#0
(continuous)
#2
(bank end)
D20085
#1
Stop
START
15000
CW
The data for the other bank is entered into positioning action numbers 5, 6,
and 7.
D20037 3 0 0 2
D20038 9 0 0 0
D20039 0 0 0 0
D20040 4 0 0 0
D20041 5 0 0 0
D20042 0 0 0 1
D20043 3 0 0 3
D20044 1 0 0 0
D20045 0 0 0 0
0
#7
(bank end)
#5
(continuous)
#6
9000
Speed #4
D20085
D20084
Speed #3
START
CCW
Stop
1000
15000
CW
Stop
START
Speed #3
First Bank
(Positioning Action
Numbers 0 to 2)
Second Bank (Positioning
Action Numbers 5 to 7)