Omron CS1W-MCH71 Operation Manual page 653

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

Advertisement

Slave Modules
Address
Bit
OW0030
0 to 15
OW0031
0 to 15
OW0032
0 to 15
OW0033
0 to 15
10-2-2 Using Counter Module
Explanation of the
operation
Parameter settings
No.
Setting
value
P1AA01
5
Physical axis setting
P1AA02
100
MLK-II device classification
P1AA03
5
Input allocation points
P1AA04
6
Output allocation points
P1AA05
10051Hex
Axis allocation first address
P1AA06
0
MLK-II communications error detection
Note
Program for initial setting
608
Output variables
Symbol
Name
-
Output (OUT1)
1 to 16
-
Output (OUT1)
17 to 32
-
Output (OUT2)
1 to 16
-
Output (OUT2)
17 to 32
• 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).
This section describes the parameter settings, the initial module settings, and
the allocation examples when the counter module is connected to the
MECHATROLINK device.
Allocate the counter module at node 4 to Axis 5 of the MC Unit.
Set Axis 5 to I/O in the system parameter of the MC Unit.
Name
(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.
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)
;
Description
Controls status of output signal (connector 1)
Output 1 to output 16
Controls status of output signal (connector 1)
Output 17 to output 32
Controls status of output signal (connector 2)
Output 1 to output 16
Controls status of output signal (connector 2)
Output 17 to output 32
Set the address to "5".
I/O
Input - 5 words
Output - 6 words
The first address of destination word for storing
the count values
IW0051 (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