Performing Teaching - Omron CS1W-MC221 - 02-2008 Operation Manual

Motion control units
Table of Contents

Advertisement

Performing Teaching

Ladder Programming
Example
Transfer Data (DM)
10-2-2 Using the Teaching Box
10-3 Performing Teaching
490
The following example program transfers data with the MC Unit mounted to
the CS and the unit number set to 0. In this example, teaching address 64 hex
(100) of task 1 is set. It is assumed that both the IOWR operand and the data
transferred are normal.
When debugging, check the Error Flags from the ladder program.
Execution condition
Press "TEACH" when performing teaching from the Teaching Box. The teach-
ing address can be changed by using the Numeric Keys to change the posi-
tion data address displayed in the lower-left corner of the screen. Refer to the
Teaching Box Operation Manual (W320) for details.
Teaching can be performed once the teaching address has been set. When
teaching is performed in the following example, the X-axis present position of
30 is stored in position data address A0100 and the Y-axis present position of
40 is stored in position data address A0101.
(Work Bit) W00001
Set the following
teaching address in
D00200 and D00201.
Address (6114) to set the teaching address.
Specifies the first source word.
Specifies destination unit number 0 and
two words to be transferred.
(Work Bit) W00003
(Work Bit) W00002
Teaching address: 100 (A0100)
Section 10-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1w-mc221Cs1w-mc221-v1Cs1w-mc421Cs1w-mc421-v1

Table of Contents