54
CS1 PCs
Section 6-3
6-3
CS1 PCs
6-3-1
Using Programs
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 CS1 Programmable Control-
ler.
Procedure
1,2,3...
1.
Transmit the program to the CS1 PC.
2.
Set the CS1 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 013100 is turned ON at the CS1 PC.
5.
When writing is completed, CIO 010001 will turn OFF.
6.
When bit CIO 013101 is turned ON at the CS1 PC, reading will be execut-
ed.
7.
When reading is completed, CIO 10006 will turn OFF.
8.
The data that has been read will be stored in order in words DM0060 to
DM0067 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 10001 is ON, writing is performed, and when bit CIO 10006 is
ON, reading is performed. If message communications are not executed prop-
erly, the same instructions will be executed.
Program Application Conditions
•
Set the CVM1
-
DRM21
-
EV1 DeviceNet Master Unit as a CPU Bus Unit to
unit number 0.
•
Use a CS1H
-
CPU67 Unit.
• Set the communications parameters as follows:
Baud rate: 500 kbps
CS1W
-
DRM21 node address: 00
E5ZE node address: 32
Refer to the CS1W
-
DRM21 DeviceNet Unit Operation Manual (Cat. No.
W380) for details on using the CMND(490) instruction.
• E5ZE IN start address: CIO 3332 (This address is used only with fixed allo-
cation.)
•
Used when Master Mode is enabled. The dot on the left of the Master 7
-
segment LED indicator will light or flash.