246
SECTION
8
Se
rial
Int
e
rf
ac
e (Hos
t Link)
V530-R160
Operation Manual
SECTION 8
Communication with the Host
Program Examples
This program inputs a One Shot Reading Command to the Programmable Controller's DM. The
V530-R160 references this command and reads the data. The reading data is written to the spec-
ified words in the Programmable Controller.
1.
Set the reading conditions of the V530-R160 and set the reading mode to
RUN
mode.
2.
Set the Start Reading Command in
DM0100
of the Programmable Controller.
The V530-R160 reads codes, sets the Write Flags in DM0110, and writes the reading data to DM words
beginning with DM 0111.
3.
Check the write flag DM0110 at the Programmable Controller.
Check whether or not data has been written.
If data has been written, the write flag changes from [0]
← →
[F].