EasyManuals Logo

Delta DVP-EX2 User Manual

Delta DVP-EX2
1006 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #475 background imageLoading...
Page #475 background image
DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming
3-354
Program Example 1:
(The instruction is sent and received through the Ethernet port built in DVP-SE.)
The IP address stored in D100 and D101 is 192.168.0.2, the communication port number stored in
D102 is K108, the station address stored in D103 is K1, and the function code stored in D104 is
H’03. The device address is H’1000, and two pieces of data are read. When M0 is ON, ETHRW is
executed. After the reception of the communication command is complete, bit8 in D1394 is ON. The
data received is stored in D10 and D11.
ETHRW D100 H1000 D10 K2
M0
M1002
MOV H0002 D100
MOV HC0A8 D101
MOV K108 D102
MOV K1 D103
MOV K3 D104
BLD D1394 K8
MOV D10 D20
ETHRW D100 H1000 D10 K2
M0
M1002
MOV H0002 D100
MOV HC0A8 D101
MOV K108 D102
MOV K1 D103
MOV K3 D104
BLD D1394 K8
MOV D10 D20
Program Example 2:
(The instruction is sent and received through the Ethernet port built in DVP-SE.)
The IP address stored in D100 and D104 is 192.168.0.2, the communication port number stored in
D102 is K108, the station address stored in D103 is K1, and the function code stored in D104 is
H’02. The device address is H0400 (X0), and 32 pieces of bit data (X0~X37) are read. When M0 is
ON, ETHRW is executed. After the reception of the communication command is complete, bit8 in
D1395 is ON. The data received is stored in D10: high byte (X0~X7) and low byte (X10~X17) and
D11: low byte (X0~X27) and high byte (X30~X37).

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta DVP-EX2 and is the answer not in the manual?

Delta DVP-EX2 Specifications

General IconGeneral
BrandDelta
ModelDVP-EX2
CategoryController
LanguageEnglish

Related product manuals