Cam Data Write: Camwr - Mitsubishi Electric Melsec Q Series Programming Manual

Motion controller (sv13/sv22)
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

5 OPERATION CONTROL PROGRAMS

5.18.2 Cam data write: CAMWR

Format
[Usable data]
Setting
16-bit
data
Bit device
integer
type
(S1)
(S2)
(n)
(S3)
[Setting data]
Setting data
[Functions]
CAMWR(S1), (S2), (n), (S3)
(Note-1)
Word device
64-bit
32-bit
floating
integer
point
type (L)
type (F)
(S1)
(S2)
Stroke ratio data format : 1 to cam resolution
Coordinate data format : 0 to (Coordinate number-1)
(n)
Stroke ratio data format : 1 to 4096
Coordinate data format : 1 to 2048
(S3)
Start device No. which stores the writing cam data
(1) Of the cam data 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 storage area and the cam open area.
(2) Set the cam data first position specified with (S2) within the following range.
• Stroke ratio data format : 1 to cam resolution
• Coordinate data format : 0 to (Coordinate number-1)
(Note-1): Since the stroke ratio of the zeroth point cam data is fixed at 0%, the
cam data cannot be write.
(3) 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.
Usable Data
Constant
16-bit
32-bit
Coasting
integer
integer type
timer
type (K/H)
(K/H, L)
Description
Cam No. (1 to 256)
Cam data first position
Number of cam data points
5 - 164
F/FS
Number of basic steps
Bit
64-bit
Calculation
conditional
floating
expression
expression
point
type (K)
(Note-1): The special register (SD) cannot be used.
Data type of result
(Note-1)
G
7
Comparison
conditional
expression
: Usable

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents