Mitsubishi Electric MELSEC iQ-R Series User Manual page 397

Motion module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Read/write data structure
Specify the following structures for Data1, Data2 of MCv_ReadProfileData/MCv_WriteProfileData.
• Data1
Specify the PROFILE_CAM_DATA type structure.
PROFILE_CAM_DATA
Interpolate
Specifying
interpolation method
Resolution
Resolution/number of
coordinates
InputUnitString
Input unit character
string
OutputUnitString
Output unit character
string
*1
StartPoint
Start point
StartStroke
Initial stroke amount
StartVelocity
Initial velocity
StartAcceleration
Initial acceleration
CycleLength
Length per cycle
CycleMin
Minimum value per
cycle
CycleMax
Maximum value per
cycle
CycleTime
Time per cycle
Stroke
Stroke amount
NumberOfSections
Number of sections
*2
Options
Options
*1 It is not used in the cam data format (Specifying interpolation method is "0: Linear interpolation"). (It is ignored.)
*2 Specify "0".
• Data2
For MCv_ReadProfileData, a structure specified in Data2 differs depending on the Target. For MCv_WriteProfileData, it can
be executed despite the Target.
FB
MCv_ReadProfileData
MCv_WriteProfileData
Device offset
INT
+0
DWORD(UDINT)
+2
WSTRING[0..31]
+4
WSTRING[0..31]
+36
LREAL
+68
*1
LREAL
+72
*1
LREAL
76
*1
LREAL
80
LREAL
+84
LREAL
+88
LREAL
+92
LREAL
+96
LREAL
+100
*1
DWORD(UDINT)
+104
DWORD(HEX)
+106
Total size: 108 points
Target
0: OpenArea
1: File
0: OpenArea
1: File
Description
Set the specifying interpolation method of the cam data.
0: Linear interpolation
1: Specifying for each section
2: Spline interpolation
Set the resolution.
Linear interpolation/specifying for each section/spline
interpolation
2 to 65535
Set the start point.
(0  StartPoint < The positive positioning range)
Set the stroke amount for the start point.
(0  StartStroke < The positive positioning range)
Set the velocity for the start point.
(-2500000000 < StarVelocity < 2500000000)
Set the acceleration for the start point.
(-2147483647 < StartAcceleration < 2147483647)
Set the input amount that is required for one cycle.
(0 < CycleLength < The positive positioning range)
Set the minimum value per cycle.
(0 У CycleMin < CycleMax)
Set the maximum value per cycle.
(CycleMin < CycleMax =< CycleLength)
Set time per cycle.
(0 < CycleTime < 100000.0)
Set the stroke amount.
(0 < Stroke < The positive positioning range)
Specifying for each section
1 to 360
Spline interpolation
3 to 360
Structure specified in Data2
LREAL[]
LREAL[]
PROFILE_CAM_ELEMENT[]
LREAL[]
PROFILE_CAM_ELEMENT[]
LREAL[]
PROFILE_CAM_ELEMENT[]
13 OPERATION PROFILE FUNCTION
13.1 Operation Profile Data
13
395

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rd78g32Rd78g64Rd78ghvRd78g4Rd78ghwRd78g8 ... Show all

Table of Contents