DVP-15MC Series Motion Controller Operation Manual
8-244
_8
8.14.3.4
RS485 Data Exchange Example
Programming Example
The node address of the slave DVP32ES2 is 1. The values in 10 word registers %MW100~%MW109 of
the master are written to D0~D9 in the slave. Then the values in 20 word registers D100~D119of the
slave are read and stored in %MW0~%MW19 in the master as shown in the following variable table 1.
Variable table 1
Variable name
Address
Data type
Initial value
Mng
RS485_Link_Manage
Mng_En
BOOL
TRUE
Mng_Open
BOOL
FALSE
Mng_Valid
BOOL
Mng_LOpen
BOOL
Confg
RS485_Link_Config
Confg _Ex
BOOL
FALSE
Confg _LN
UINT
1
Confg _EL
BOOL
TRUE
Confg _Ncyc
BOOL
FALSE
Confg _SNI
USINT
1
Confg _OT
USINT
0
Confg _EFC17
BOOL
FALSE
Confg _WBA
%MW100
UINT
Confg _WBAO
USINT
0
Confg _WDA
UINT
16#1000
Confg _WL
UINT
10
Confg _RBA
%MW0
UINT
Confg_RBAO
USINT
0
Confg _RDA
UINT
16#44C
Confg _RL
UINT
20
Confg _RFC
USINT
Confg _TOut
UINT
1000
Confg _Done
BOOL
Confg _Err
BOOL
Confg _ErrID
WORD
LStatus
RS485_Link_Status
LStatus_En
BOOL
TRUE
LStatus_LN
UINT
1
LStatus_Valid
BOOL
LStatus_RLE
BOOL
LStatus_RLEID
BOOL
LStatus_Err
BOOL
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...