Omron CS1W-MCH71 Operation Manual page 654

Sysmac cs/cj-series
Hide thumbs Also See for CS1W-MCH71:
Table of Contents

Advertisement

Slave Modules
Note
I/O variables specification
Address
Bit
IW0050
0
1
2
3 to 7
8
9
10
11
12
13
14
15
;*** 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;
(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.
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
Symbol
Name
RDY
Ready
ACK
Setting normal
ERR
Setting error
Not used
CARY1
Counter 1, Carry
BORW1
Counter 1, Borrow
N1
Counter 1, Notch out-
put status
L1
Counter 1, Latch input
status
CARY2
Counter 2, Carry
BORW2
Counter 2, Borrow
N2
Counter 2, Notch out-
put status
L2
Counter 2, Latch input
status
Description
Indicates the result of self-diagnosis for the module.
ON: Normal
OFF: Abnormal
Indicates the setting operation was completed normally.
Stays ON while the setting signal is ON.
Indicates the setting operation caused an error.
Stays ON while the setting signal is ON.
Turns ON for 1 scan when counter's current value with
incremental pulses exceeded counter's upper limit value.
Turns ON for 1 scan when counter's current value with
decremental pulses exceeded counter's lower limit value.
Indicates the status of external Notch output.
ON: External Notch being output
Indicates the status of external Latch input.
ON: External Latch being input
Turns ON for 1 scan when counter's current value with
incremental pulses exceeded counter's upper limit value.
Turns ON for 1 scan when counter's current value with
decremental pulses exceeded counter's lower limit value.
Indicates the status of external Notch output.
ON: External Notch being output
Indicates the status of external Latch input.
ON: External Latch being input
Section 10-2
609

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Cj1w-mch71

Table of Contents