Delta AS Series Programming Manual page 934

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
1812
COMRS
X
Y
M
Device
S
1
S
2
S
3
D
1
D
2
Data
type
S
1
S
2
S
3
D
1
D
2
Symbol
S
1
S
2
S
3
D
1
D
2
Explanation
1.
S
is a communication port number: COM1 is number 1, COM 2 is number 2, Card 1 is number 11 and Card 2 is
1
number 12. If the data is out of the communication port range, the instruction does not execute any sending or
receiving.
2.
If you use a specific character or characters to end receiving data, it is suggested that you apply the instruction to
ASCII data. If you do not apply the instruction to ASCII data, it is suggested that you use a timeout period to end
receiving data.
3.
S
is the source of the data to be sent.
2
S
is the length of the data to be sent.
3
Operand
S
, S
, S
, D
, D
1
2
3
1
2
S
T
C
HC
Pulse instruction
-
: Communication port number (1–2, 11–12)
: Source of the data to be sent
: Length of the data to be sent
: First device where communication data received is stored
Condition for ending receiving data
Cha p ter 6 App l ied Ins truc tio ns
Sending and receiving communication data
D
FR
SM
SR
E
16-bit instruction
AS
Function
K
16#
"$"
F
32-bit instruction
-
6 - 6 5 5
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents