Chapter 11 Motion Control Instructions
11-219
11
Case 2
:
When an error occurs,
Error
changes to TRUE and
ErrorID
shows corresponding error code.
Meanwhile
Busy
changes to FALSE.
Error
changes to FALSE when
Enable
changes from
TRUE to FALSE and then the value of
ErrorID
is cleared to 0.
Functions
DMC_CamReadTappetStatus is used for reading the status of eight tappet points.
The DMC_CamReadTappetStatus instruction is executed to read the status of the tappet points when
the master axis passes the tappet points in the positive direction or in the negative direction. The
status of every tappet point is determined by the setting of every tappet point. The status of every
tappet point will change to FALSE when the master axis passes the final cam point in the positive
direction or when the master axis passes the initial cam point in the negative direction.
Programming Example
1. The variable table and program
Variable name
Data type
Initial value
RTS
DMC_CamReadTappetStatus
RTS_En
BOOL
FALSE
RTS_CT
USINT
1
RTS_TN1
UINT
1
RTS_TN2
UINT
2
RTS_TN3
UINT
3
RTS_TN4
UINT
4
RTS_TN5
UINT
5
RTS_TN6
UINT
6
RTS_TN7
UINT
7
RTS_TN8
UINT
8
RTS_Va
BOOL
RTS_Bsy
BOOL
RTS_Err
BOOL
RTS_ErrID
WORD
RTS_Sta1
BOOL
RTS_Sta2
BOOL
RTS_Sta3
BOOL
RTS_Sta4
BOOL
RTS_Sta5
BOOL
RTS_Sta6
BOOL
RTS_Sta7
BOOL
RTS_Sta8
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...