![background image](http://html1.mh-extra.com/html/omron/cs1w-mch71/cs1w-mch71_operation-manual_742367654.webp)
609
Slave Modules
Section 10-2
;*** Present position preset
#OL0052 = 2147483647;---present position setting value
#OB00502 = 1;---------Present value setting ON
WAIT #IB00501 = = 1; ---
→
Present position setting completed
#OL0052 = 0;---------Present position setting value (cleared)
#OB00502 = 0;---------Present value setting OFF
WAIT #IB00501 = = 0; ---
→
(Flag OFF monitored)
#OB00503 = 1; ---------Counting enabled
END;
Note
(1) Make sure to create a program to confirm a response for a command.
(2) After setting is completed, turn ON “Counter 1 count enable (OW0050-
3bit)”. With the output variable OFF, the present value of the counter on
the MC Unit cannot be monitored.
(3) When executing a synchronous command having the input of the counter
module as the master axis, the link option “When master axis is detected”
cannot be used to start synchronization (ignored). The link option “When
master axis reaches link start position” can be used.
(4) Executing present position preset on the module during execution of syn-
chronous command makes the MC Unit to recognize (though not true)
that the axis was moved from the position before the preset to the one af-
ter the preset, which causes the slave axis to operate.
I/O variables specification
The following is the relations between the counter module with the above
parameter settings and I/O variables in the MC Unit. (The addresses are the
ones for the counter module allocated as Axis 5.)
Input variables
Address
Bit
Symbol
Name
Description
IW0050
0
RDY
Ready
Indicates the result of self-diagnosis for the module.
ON: Normal
OFF: Abnormal
1
ACK
Setting normal
Indicates the setting operation was completed normally.
Stays ON while the setting signal is ON.
2
ERR
Setting error
Indicates the setting operation caused an error.
Stays ON while the setting signal is ON.
3 to 7
Not used
8
CARY1
Counter 1, Carry
Turns ON for 1 scan when counter’s current value with
incremental pulses exceeded counter’s upper limit value.
9
BORW1
Counter 1, Borrow
Turns ON for 1 scan when counter’s current value with
decremental pulses exceeded counter’s lower limit value.
10
N1
Counter 1, Notch out-
put status
Indicates the status of external Notch output.
ON: External Notch being output
11
L1
Counter 1, Latch input
status
Indicates the status of external Latch input.
ON: External Latch being input
12
CARY2
Counter 2, Carry
Turns ON for 1 scan when counter’s current value with
incremental pulses exceeded counter’s upper limit value.
13
BORW2
Counter 2, Borrow
Turns ON for 1 scan when counter’s current value with
decremental pulses exceeded counter’s lower limit value.
14
N2
Counter 2, Notch out-
put status
Indicates the status of external Notch output.
ON: External Notch being output
15
L2
Counter 2, Latch input
status
Indicates the status of external Latch input.
ON: External Latch being input
Содержание CS1W-MCH71 -
Страница 2: ...CS1W MCH71 CJ1W MCH71 Motion Control Unit Operation Manual Revised June 2008 ...
Страница 3: ...iv ...
Страница 29: ...xxx ...
Страница 33: ...xxxiv ...
Страница 35: ...xxxvi ...
Страница 39: ...xl ...
Страница 69: ...24 Performance Section 1 7 ...
Страница 99: ...54 Connecting MECHATROLINK Devices Section 3 5 ...
Страница 283: ...238 Saving Data Section 5 4 ...
Страница 417: ...372 Command Details Section 6 3 ...