Chapter 8 Logic Instructions
8-267
8_
8.14.4.4
RS232 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~D119 of the
slave are read and stored in %MW0~%MW19 in the master as shown in the following variable table 1.
Variable table 1
Name
Address
Data type
Initial value
Mng
RS232_Link_Manage
Mng_En
BOOL
TRUE
Mng_Open
BOOL
FALSE
Mng_Valid
BOOL
Mng_LOpen
BOOL
Confg
RS232_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
RS232_Link_Status
LStatus_En
BOOL
TRUE
LStatus_LN
UINT
1
LStatus_Valid
BOOL
LStatus_RLE
BOOL
LStatus_RLEID
BOOL
Содержание 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...