Data Reception - Omron C200H-MC221 Operation Manual

Motion control unit
Hide thumbs Also See for C200H-MC221:
Table of Contents

Advertisement

Data Transfer Examples

4-6-2 Data Reception

Example 1
1, 2, 3...
54
3. Write and execute the following diagram to change the acceleration time.
Ladder Diagram Example
Execution condition
R1
Transmission Completed Flag
Transmission
Control Bit
Settings
Initial setting area
D0100
000D
D0101
0500
Set in the expansion data area the following information used for data transmis-
sion.
Set a total of two words to be transmitted (i.e., 2 words x 1 data item).
D0500
0002
D0501
0100
Set the first word (100) of the acceleration time.
D0502
4406
Set the address (4406) of the MC Unit for the acceleration time.
. .
. .
. .
. .
. .
. .
Note: A parameter can change a single data item at a time. In
. .
.
D0522
After Transmission
DM
Refer to the following for examples of data reception using the C200HS with the
MC Unit, the unit number of which is set to 0.
Data items A0456 to A0460 are received at DM 0100 to DM 0114.
Position data
A0456 = 45678.90
. . . . . . . .
A0457 = 123456.78
. . . . . . .
A0458 = –387654.32
. . . . .
A0459 = 123.456
. . . . . . . . .
A0460 = 54321.00
. . . . . . . .
1. Set the data described below in the initial setting area with the Programming
Console.
2. Turn the PC OFF and ON.
Set an expansion DM area in the DM area.
Set the first word of the expansion DM area to 0500.
other words, a total of two words is transmitted at a time.
D0100
0500
Means 500 ms.
D0101
0000
Position data address
DM 0100 to DM 0102
DM 0103 to DM 0105
DM 0106 to DM 0108
DM 0109 to DM 0111
DM 0112 to DM 0114
Section 4-6
Work bit
DIFU
R1
Set in the
expansion DM
area the
information
described in
the following.
Set in the DM
area the position
data described in
the following.
OUT
(Transmission
Control Bit)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents