Owner's manual
Handshaking
Chapter 5
55
Figure 4.2
Write
Handshaking
The Ladder Program
Data T
ransfer
The Module
T
oggles bit CW1(16) and transfers its new
status with data to the module
>
CW1(16) and new data
Detects that CW1(16) has been toggled
Moves data to output buf
fer where it is sent to
the ASCII device
T
oggles SW1(16) and returns new status to
acknowledge receipt
<
SW1(16)
Repeats the cycle when it detects a change in
SW1(16), and when you enable the oneshot
NOTE:
The processor can write data to the module but the module will not process the data to its output buf
fer (inhibits data to the ASCII
device) until the module detects that your program has toggled SW1(16).
Table 5.B
Logic Conditions for a W
rite
If
Then
SW1(16) = CW1(16) at
processor
Module has acknowledged processing the
previous block of data
Program sets CW1(16) = SW1(16) when you
enable the oneshot to write new data
CW1(16)
≠
SW1(16) at
module
Module moves new data to output buf
fer (to
ASCII device)
Module sets SW1(16)
≠
CW(16) to acknowledge
that it processed the data