
240
Bit Data Exchanges
Section 8-5
Example 2
Multiple external devices are connected via the RS-422/485 ports, and polling
is used to send commands. The response data is stored in variable arrays
and uploaded to the CPU Unit as required.
8-5
Bit Data Exchanges
Example
A measured temperature from a temperature controller sends an ON signal to
the CPU Unit once a certain temperature is reached.
ASCII Unit
CPU Unit
Response data is stored in the variable
arrays. The ASCII Unit uploads as
required using the PC WRITE@
command.
→
Reads the response data.
CPU Unit
ASCII Unit
Variable array
:
PC WRITE@
A (1)
A (n)
#1
#2
#n
ASCII Unit
CPU Unit
After bit 01 of the numeric variable B% is
turned ON, B is set in word n + 6 via the
PC PUT command.
Reads word n + 6 bit 01.
CPU Unit
ASCII Unit
n + 6
bit 01
Allocated
words
@IF Au100 THEN
B%=0
BITON B%, 1
PC PUT B%
ENDIF
Содержание C200H-ASC11
Страница 1: ...C200H ASC11 ASC21 ASC31 ASCII Units Operation Manual Revised June 2000...
Страница 2: ...iv...
Страница 4: ...vi...