47
C200HX/C200HG/C200HE PCs
Section 6-2
6-2
C200HX/C200HG/C200HE PCs
The programming used in this section provides an example of writing and
reading alarm 1 temperatures using message communications for all the
E5ZE
’
s control points from a ladder program in a C200HX/C200HG/C200HE
Programmable Controller.
Procedure
1,2,3...
1.
Transmit the program to the C200HX/C200HG/C200HE PC.
2.
Set the C200HX/C200HG/C200HE PC to RUN or MONITOR Mode.
3.
Set the alarm 1 temperature data to be written in order in words DM0020
to DM0027 for all control points (0 to 7). (This program will set the temper-
ature to 100.0
°
C (03E8) for all control points.)
4.
Writing will be executed when bit CIO 06000 is turned ON at the C200HX/
C200HG/C200HE PC.
5.
When writing is completed, CIO 05001 will turn OFF.
6.
When bit CIO 06001 is turned ON at the C200HX/C200HG/C200HE PC,
reading will be executed.
7.
When reading is completed, CIO 05006 will turn OFF.
8.
The data that has been read will be stored in order in words DM0060 to
DM 0067 for all control points (0 to 7).
9.
If an attempt is made to execute reading and writing simultaneously, only
writing will be executed.
When bit CIO 05001 is ON, writing is performed, and when bit CIO 05006 is
ON, reading is performed. If message communications are not executed prop-
erly, the same instructions will be executed.
Program Application Conditions
•
Set the C200HW
-
DRM21
-
EV1 CompoBus/D Master Unit to unit number 0
as a CPU Bus Units.
•
Use the CVM1
-
CPU21
-
E CPU Unit.
• Set the communications parameters as follows:
Baud rate: 500 kbps
C200H
-
DRM21
-
EV1 node address: 00
E5ZE node address: 32
Refer to the DeviceNet (CompoBus/D) Operation Manual (Cat. No. W267)
for details on using the IOWR(223) instruction.
• E5ZE IN start address: CIO 382 (This address is used only with fixed allo-
cation.)
• The following tables show the IR Area 1 and DM Area contents. The func-
tion of all of these bits and words is defined by the user for the program.