Omron CS1W-MCH71 Operation Manual page 657

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

Advertisement

Slave Modules
Address
Bit
OW0052
0 to 15
OW0053
OW0054
OW0055
Program example
Note
10-2-3 Using Pulse Output Module
Explanation of the
operation
Parameter settings
No.
Setting
value
P1AA01
2
Physical axis setting
P1AA02
100
MLK-II device classification
P1AA03
6
Input allocation points
P1AA04
6
Output allocation points
P1AA05
10032Hex
Axis allocation first address
P1AA06
0
MLK-II communications error detection
Note
I/O variables
specifications
612
Symbol
Name
Setting values
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;
Start positions or travel distances for the counter module are processed only
with pulses.
The following shows the parameter settings and the allocation example when
the pulse output module is connected to the MECHATROLINK device.
Allocate the pulse output module at node 2 to Axis 3 of the MC Unit.
Set the Axis 3 to I/O in the system parameter of the MC Unit.
Name
(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.
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.)
Description
The following 3 counter data settings are available:
• Mode settings
• Notch point setting
• Current value setting
Set the address to "2".
I/O
Input - 6 words
Output - 6 words
The first address of destination word for storing
the count values
IW0032 (See note 3.)
(Default value)
Section 10-2
Detail

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Cj1w-mch71

Table of Contents