Delta AH500 Programming Manual page 591

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

D
+1: Condition of ending the receiving of data
2
D
and D
+1 are described below.
2
2
D
Mode of receiving data
2
Not receiving
0
communication data
When the time which
passes before the next
piece of data is received
1
exceeds the time set in
D
+1, the receiving of
2
data is complete.
The data received ends
2
with a specific character.
The data received ends
with two consecutive
3
specific characters.
The data received starts
with a specific character.
When the time which
passes before the next
4
piece of data is received
exceeds the time set in
D
+1, the receiving of
2
data is complete.
The data received starts
with a specific character,
5
and ends with a specific
character.
A specific quantity of data
6
is received.
If the mode used is not a
mode which is supported,
Others
the instruction will not be
executed.
9.
If the value in D2 is in the range of 1 to 5, the maximum number of characters which can be
received is 1000. After 1000 characterse are received, the execution of the instruction will
stop.
10. The relation among communication port, related spcial auxiliary relays, and a related special
data register are described below.
Communication
port number
Reception flag
Completion flag
Setting value in D
Unused
The setting value in D
is time. The unit of
measurement for time is
1 millisecond. The setting
value in D
range of 2 to 3000.
The setting value in D
is a specific character.
The setting value in D
is two specific characters.
A specific character is
stored in the high byte in
D
+1, and time is stored
2
in the low byte in D
(The time set in the low
byte in D
range of 2 milliseconds to
255 millseconds.)
The setting value in D
is a specific start
character, and a specific
end character.
The setting value in D
is the length of the data
which is received.
COM1
COM2
When the PLC receive data, it sets a reception
flag to ON. After the receiving of data is
SM98
SM99
complete, the PLC will reset the reception flag to
OFF.
When the receiving of data is complete, the PLC
sets a completion flag to ON. Users have to
SM100
SM101
reset the completion flag to OFF by means of a
program. After the completion flag is reset to
OFF, the PLC will wait for the next
C ha pt er 6 A p pl i e d In s tr uc t io n
+1
2
After the sending of data
is complete, a completion
flage will be set to ON.
+1
If the time that users set
2
is greater than 3000
milliseconds, the value in
D
+1 will be 3000. If the
2
+1 is in the
time that users set is less
2
than 2 milliseconds, the
value in D
+1
If a specific character is
2
16#0A, the value in D
will be 16#000A.
+1
If two specific characters
2
are 16#0D and 16#0A,
the value in D
16#0D0A.
If a start character is
16#3A, and time is 15
milliseconds, the value in
+1.
D
+1 will be 16#3A0F.
2
2
+1 is in the
2
+1
If a start character is
2
16#3A, and a stop
character is 16#0A, the
value in D
16#3A0A.
+1
If users want to receive
2
10 characters, the value
in D
2
Remark
Remark
+1 will be 2.
2
+1
2
+1 will be
2
+1 will be
2
+1 is 10.
6 - 4 2 3

Advertisement

Table of Contents
loading

Table of Contents