Delta AS Series Programming Manual page 935

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
If S
is D100 and S
2
communication port specified by S
4.
No strings are sent if the setting value in S
words.
5.
D
is the length of the data that is received.
1
D
+1–D
+n are the devices to store the data that is received
1
1
If D
is D200, the value in D
1
bytes in the devices starting from D201 (the high bytes is unchanged) The instruction continues to receive data
until it receives the consecutive stop characters 16#0D and 16#0A. The instruction writes the length of the data
received to D200 after receiving 16#0D and 16#0A, and sets a completion flag to ON after the receiving data
stops.
6.
D
is the mode for receiving data
2
D
+1 is the condition that ends receiving of data
2
D
and D
+1 are described in the following table.
2
2
D
2
_6
0
1
2
3
4
6 - 6 5 6
is 10, the instruction sends the values in the low bytes in D100–D109 through the
3
.
1
is 3, and the value in D
2
Mode for receiving data
Not receiving communication
data
When the time after the last
piece of data received exceeds
the time set in D
+1, the
2
receiving of data is complete.
The data received ends with a
specific character.
The data received ends with
two consecutive specific
characters.
The data received starts with a
specific character. When the
time after the last piece of data
is 0. The maximum number of characters that can be sent is 256
3
+1 is 16#0D0A, the instruction stores data received in the low
2
Setting value in D
Unused
The setting value in D
+1 is
2
time. The unit of measurement
is 1 millisecond. The setting
value in D
+1 is between 5–
2
3000.
The setting value in D
+1 is a
2
specific character.
The setting value in D
+1 is two
2
specific characters.
A specific character is stored in
the high byte in D
+1, and the
2
time is stored in the low byte in
+1
Remark
2
After the sending of data is
complete, set a completion flag
to ON.
If the time that you set is
greater than 3000 milliseconds,
the value in D
+1 is 3000. If the
2
time that you set is less than 5
milliseconds, the value in D
is 5.
If a specific character is 16#0A,
the value in D
+1 is 16#000A.
2
If two specific characters are
16#0D and 16#0A, the value in
D
+1 is 16#0D0A.
2
If a start character is 16#3A,
and time is 15 milliseconds, the
value in D
+1 is 16#3A0F.
2
+1
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents