Cam Data Write: Camwr - Mitsubishi Electric R16MTCPU Programming Manual

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

Cam data write: CAMWR

Format
CAMWR (S1), (S2), (n), (S3), (D)
Setting data
■Usable data
: Usable
Setting
Usable Data
data
Bit
device
(S1)
(S2)
(n)
(S3)
(D)
■Description, data type of result
Setting data
Description
(S1)
Cam No. (1 to 1024)
(S2)
Cam data first position
Stroke ratio data format: 1 to cam resolution
Coordinate data format: 0 to (Coordinate number-1)
(n)
Number of cam data points
Stroke ratio data format: 1 to 32768
Coordinate data format: 1 to 16384
(S3)
Start device No. which stores the writing cam data
(D)
Cam file write destination (0000H to 0401H)
Processing details
• Of the cam data (stroke ratio data format, or coordinate data format) stored in the device specified with (S3) or later, the
data of the (n) number of points, starting from the cam data position specified with (S2), is written to the cam open area and
the write destination of the cam file specified with (D).
• Set the cam data first position specified with (S2) within the following range.
Data format
Stroke ratio data format
Coordinate data format
*1 Since the stroke ratio of the zeroth point cam data is fixed at 0%, the cam data cannot be write.
• For (n), specify the number of write points, starting from the cam data first position specified with (S2). Specify the number
of write points so that the device No. storing the end point data is within the range. If the number of write points, starting
from the first position, is outside the cam data range, an operation error occurs and the data is not written.
• The device No. specified with (S3) should be an even number. The write cam data is stored in the specified device
according to the cam data format as follows.
4 OPERATION CONTROL PROGRAMS
226
4.16 Advanced Synchronous Control Dedicated Function
Number of basic steps
16
Word device
16-bit
32-bit
64-bit
integer
integer
floating
type
type (L)
point
type (F)
First position range
*1
1 to cam resolution
0 to (Coordinate number-1)
Usable steps
F/FS
Constant
16-bit
32-bit
64-bit
integer
integer
floating
type
type
point
(K/H)
(K/H, L)
type (K)
G
Calculation
Bit
expression
conditional
expression
Data type of result
Comparison
conditional
expression

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents