![background image](http://html1.mh-extra.com/html/omron/cs1w-mch71/cs1w-mch71_operation-manual_742367657.webp)
612
Slave Modules
Section 10-2
Program example
With the above settings, the program that makes the slave axis [J04] link to
the input of the counter module [J05] as the master axis is shown below (The
same specification method as the normal axes can be used):
PROG P001 Q00000001; Link option (Start position)
WAIT #OB00503 = = 1;-------------------------------- Counter, monitor started
WHILE #IB03411 = = 1;-------------------------------- Task 2 start switch
MOVELINK [J01]100 [J05]100 A0 D0 Q4 I100 B1;------ Link operation (Start
position)
NOPS;
WEND;
END;
Note
Start positions or travel distances for the counter module are processed only
with pulses.
10-2-3 Using Pulse Output Module
The following shows the parameter settings and the allocation example when
the pulse output module is connected to the MECHATROLINK device.
Explanation of the
operation
Allocate the pulse output module at node 2 to Axis 3 of the MC Unit.
Parameter settings
Set the Axis 3 to I/O in the system parameter of the MC Unit.
Note
(1) AA = 03 (Axis 3)
(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]. (With Axis 3:
IL0032h
_
SL0260h) Only 1 word can be monitored.
I/O variables
specifications
The following is the relations between the pulse output module with the above
parameter settings and I/O variables in the MC Unit. (The addresses are the
ones for the pulse output module allocated as Axis 3.)
OW0052
0 to 15
Setting values
The following 3 counter data settings are available:
• Mode settings
• Notch point setting
• Current value setting
OW0053
OW0054
OW0055
Address
Bit
Symbol
Name
Description
No.
Setting
value
Name
Detail
P1AA01
2
Physical axis setting
Set the address to “2”.
P1AA02
100
MLK-II device classification
I/O
P1AA03
6
Input allocation points
Input - 6 words
P1AA04
6
Output allocation points
Output - 6 words
P1AA05
10032Hex
Axis allocation first address
The first address of destination word for storing
the count values
IW0032 (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 ...