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
Содержание DVP-15MC Series
Страница 16: ...1 1 1 Preface Table of Contents 1 1 Explanation of Symbols in This Manual 1 2 1 2 Revision History 1 3...
Страница 19: ...DVP 15MC Series Motion Controller Operation Manual 1 4 _1 MEMO...
Страница 20: ...2 1 2 Overview Table of Contents 2 1 Product Description 2 2 2 2 Functions 2 2 2 3 Profile and Components 2 3...
Страница 23: ...DVP 15MC Series Operation Manual 2 4 _2 MEMO...
Страница 31: ...DVP 15MC Series Motion Controller Operation Manual 3 8 _3 MEMO...
Страница 75: ...DVP 15MC Series Motion Controller Operation Manual 6 26 _6 MEMO...
Страница 87: ...DVP 15MC Series Motion Controller Operation Manual 7 12 _7 MEMO...
Страница 432: ...Chapter 8 Logic Instructions 8 345 8_ MEMO...
Страница 433: ...9 1 9 Chapter 9 Introductions of Axis Parameters Table of Contents 9 1 Description of Axis Parameters 9 2...
Страница 470: ...DVP 15MC Series Motion Controller Operation Manual 10 34 10 MEMO...
Страница 878: ...DVP 15MC Series Motion Controller Operation Manual 11 408 11 1 MEMO...
Страница 920: ...DVP 15MC Series Motion Controller Operation Manual A 16 A MEMO...
Страница 941: ...D 1 D Explanation of Homing Modes Table of Contents D 1 Explanation of Homing Modes D 2...
Страница 966: ...DVP 15MC Series Motion Controller Operation Manual D 26 D MEMO...