Chapter 8 Logic Instructions
8-203
8_
%MW registers in the motion
controller
D registers in DVP12SE
%MW18
D8
%MW19
D9
%MW110
D100
%MW111
D101
%MW112
D102
……
……
%MW118
D108
%MW119
D109
Programming Example 2
Example of reading and writing bit registers in the slave
Example explanation
1.
The motion controller is the MODBUS TCP master, DVP12SE is the MODBUS TCP slave
and the IP address of DVP12SE is 192.168.1.10.
2.
The motion controller writes the values in %MX0.0~%MX0.7 to Y0~Y7 in DVP12SE, then
reads the values in Y20~Y27 in DVP12SE and stores the read values in %MX2.0~%MX2.7.
Variable table and program
Variable name
Address
Data type
Initial value
ETH_Link_Config1
ETH_Link_Config
Config1_Ex
BOOL
Config1_En
BOOL
TRUE
Config1_SIP1
USINT
192
Config1_SIP2
USINT
168
Config1_SIP3
USINT
1
Config1_SIP4
USINT
10
Config1_SNodeID
USINT
0
Config1_OT
USINT
1
Config1_En_FunCode17
BOOL
FALSE
Config1_WBf_Add
%MW0
UINT
Config1_WBf_Off
USINT
0
Config1_WDes_Add
UINT
16#0500
Config1_WLTH
UINT
8
Config1_RBF_ADD
%MW1
UINT
Config1_RBF_OFF
USINT
0
Config1_RDES_ADD
UINT
16#0510
Config1_RLTH
UINT
8
Config1_R_Code
USINT
1
Config1_T
UINT
1000
Summary of Contents for DVP-15MC Series
Page 19: ...DVP 15MC Series Motion Controller Operation Manual 1 4 _1 MEMO...
Page 23: ...DVP 15MC Series Operation Manual 2 4 _2 MEMO...
Page 31: ...DVP 15MC Series Motion Controller Operation Manual 3 8 _3 MEMO...
Page 75: ...DVP 15MC Series Motion Controller Operation Manual 6 26 _6 MEMO...
Page 87: ...DVP 15MC Series Motion Controller Operation Manual 7 12 _7 MEMO...
Page 432: ...Chapter 8 Logic Instructions 8 345 8_ MEMO...
Page 470: ...DVP 15MC Series Motion Controller Operation Manual 10 34 10 MEMO...
Page 878: ...DVP 15MC Series Motion Controller Operation Manual 11 408 11 1 MEMO...
Page 920: ...DVP 15MC Series Motion Controller Operation Manual A 16 A MEMO...
Page 941: ...D 1 D Explanation of Homing Modes Table of Contents D 1 Explanation of Homing Modes D 2...
Page 966: ...DVP 15MC Series Motion Controller Operation Manual D 26 D MEMO...