![background image](http://html1.mh-extra.com/html/omron/cs1w-mch71/cs1w-mch71_operation-manual_742367653.webp)
608
Slave Modules
Section 10-2
Output variables
• Appropriate parameter settings enable data link between I/O variable
addresses of each axis and the I/O module.
• For details of the I/O variable area, see
4-6 I/O Variables
(page 160).
10-2-2 Using Counter Module
This section describes the parameter settings, the initial module settings, and
the allocation examples when the counter module is connected to the
MECHATROLINK device.
Explanation of the
operation
Allocate the counter module at node 4 to Axis 5 of the MC Unit.
Parameter settings
Set Axis 5 to I/O in the system parameter of the MC Unit.
Note
(1) AA = 05 (Axis 5)
(2) With P1AA02 set to I/O (100), 6 parameters above are valid. (Others are
ignored.)
(3) The contents of the address specified here are reflected in the system pa-
rameter [Current coordinate system FB position]. (For Axis 5:
IL0051h
_
SL02C0h) Only 1 word can be monitored.
Program for initial setting
When using the counter module with the MC Unit, the initial setting for the
counter module has to be performed through the motion program.
PROG P000 Q00000000;
;*** Counter module initial setting
#OW0050 = 0;
WAIT #IW0050 = = 1;
#OW0052 = 0;---------Pulse count setting (Phase A, B,
×
1)
#OB00500 = 1;---------Counter 1 mode setting
WAIT #IB00501 = = 1; ----
→
Mode setting completed normally
#OB00500 = 0; ---------Mode setting reset
WAIT #IB00501 = = 0; ------
→
Mode setting completed normally (Flag OFF
monitored)
;
Address
Bit
Symbol
Name
Description
OW0030
0 to 15
-
Output (OUT1)
1 to 16
Controls status of output signal (connector 1)
Output 1 to output 16
OW0031
0 to 15
-
Output (OUT1)
17 to 32
Controls status of output signal (connector 1)
Output 17 to output 32
OW0032
0 to 15
-
Output (OUT2)
1 to 16
Controls status of output signal (connector 2)
Output 1 to output 16
OW0033
0 to 15
-
Output (OUT2)
17 to 32
Controls status of output signal (connector 2)
Output 17 to output 32
No.
Setting
value
Name
Detail
P1AA01
5
Physical axis setting
Set the address to “5”.
P1AA02
100
MLK-II device classification
I/O
P1AA03
5
Input allocation points
Input - 5 words
P1AA04
6
Output allocation points
Output - 6 words
P1AA05
10051Hex
Axis allocation first address
The first address of destination word for storing
the count values
IW0051 (See note 3.)
P1AA06
0
MLK-II communications error detection
(Default value)
Содержание 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 ...