Mitsubishi Electric MELDAS C6 Programming Manual page 339

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64

Table of Contents