Example of data communication program
The following is an example of the program that executes sending (BUFSND) and receiving
(BUFRCV). UDP/IP, non-procedural type are used for both commands.
The send destination IP address is 192.168.1.3, and the applicable port No. is 6000. Connection 5 is
used. In the actual program, the send data is set in R500 and above.
Snd OPEN
execut'n
start
pulse
Snd OPEN
Snd OPEN
command
command
complete
error
complet.
Send
Snd OPEN
start
command
pulse
normal
complet.
BUFSND
BUFSND
error
complete
status
complet.
status
BUFSND
normal
complet.
pulse
9. Exclusive Commands 1
BUFSND
- 330 -
Get other manuals https://www.bkmanuals.com
Snd OPEN
command
execut'n
type
Snd OPEN
command
applica-
tion set
Snd OPEN
command
clnt dev
IP addrs
Snd OPEN
command
clnt dev
port No.
Snd OPEN
Snd OPEN
command
command
complete
execut'n
type
Snd OPEN
command
normal
complet.
BUFSND
Transmi-
BUFSND
control
ssion
complete
data
buffer
status
BUFSND
normal
complet.
pulse
CLOSE
CLOSE
command
command
control
normal
data
complet.
Snd OPEN
command
normal
l t