Mitsubishi Electric MELSEC iQ-R Series User Manual page 411

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

Advertisement

Automatic open of operation profile data
Opens operation profile data automatically.
Operation profile data that satisfy all of the following conditions can be used for control without executing an open FB,
because it is automatically opened when the power turns ON.
• Other than "0" is specified to the initial value of PROFILE_DATA.ID.Number.
• The operation profile data is stored in %PROJECT_ROOT%/calc_profile/auto_open, or %PROJECT_ROOT_DRIVE%/
calc_profile/auto_open.
Read/write operation profile data
Operates data read/write of operation profile data.
Operates data read/write of file an operation profile data in open area by using MCv_ReadProfileData/MCv_WriteProfileData
according to data structure for read/write.
Operation profile data format to which the data structure for read/write is defined can operates read/write operation. For
details of the data structure for read/write of each operation profile data format, refer to the following.
Page 389 Operation profile data format: Cam data
The number of data points that can be read/written at the same time are limited. If read/write is not completed
in one time FB execution, carry out it in several times.
■Read operation profile data
Operation profile data can be read by using the MCv_ReadProfileData.
• To read the whole operation profile data, specify "0" in both Offset and Points.
• Read data is stored in variables specified in Data1 and Data2.
■Write operation profile data
Operation profile data can be written by using the MCv_WriteProfileData.
• The file specified in ProfileData and Target, or the operation profile data in open area are written for the number of points
specified in Points from data specified with Offset.
• To write the whole operation profile data, specify "0" in both Offset and Points.
■Details of setting items
• ProfileData (Profile data)
Set operation profile data for read/write with PROFILE_DATA structure.
Operation profile data format to which the data structure for read/write is defined can operates read/write operation.
If specifying operation profile data that does not correspond to read/write operation, the error "Calculation Profile Read/Write
Unsupported" (error code: 345EH) will occur.
• Data1 (Read data 1/Write data 1)/Data2 (Read data 2/Write data 2)
Set read data/write data of operation profile data with TARGET_REF structure.
Data types of [VAR] and [DEV] can be used.
Data type that can be used is the type of the data structure for read/write of each operation profile data. For details, refer to
the following.
Page 389 Operation profile data format: Cam data
13 OPERATION PROFILE FUNCTION
13.1 Operation Profile Data
13
409

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rd78g32Rd78g64Rd78ghvRd78g4Rd78ghwRd78g8 ... Show all

Table of Contents