Delta AS Series Programming Manual page 941

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
Example 2
The mode in D
is 1 (setting the timeout value to 5–3000 ms) and you set the mode for sending and receiving data to 16-
2
bit mode (SM106=OFF).
1.
The length for the data to be sent: D20=4.
2.
The contents for the data to be sent: D100=16#3231, D101=16#3433.
3.
Set D10=16#0001 (mode: 1), D11=300 (set the timeout value to 300 ms).
4.
Enable the contact X0.0.
5.
PLC sends 4 pieces of data.
Sending data: PLC→external equipment 31 32 33 34.
6.
7.
After the external equipment receives the data from the PLC, it sends 5 consecutive data to the PLC, each sent in
less than 20 ms. External equipment→PLC 35 36 37 38 39.
_6
8.
D200=5 (number of data received), and the content of data received: D201=16#3635, D202=16#3837,
D203=16#0039.
9.
SM100=ON: reception of data is complete.
10.
To send more data, set the flag SM100 to OFF to start the operation again.
NOTE: When the sending of data is complete, the receiving flag SM98 is ON, and then the PLC starts to receive data.
You set the timeout between each data reception in D11. When the interval time exceeds the set timeout and no
data is received, SM100 is ON.
6 - 6 6 2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents