EasyManua.ls Logo

Mitsubishi Electric R64MTCPU - Cam Data Write: CAMWR

Mitsubishi Electric R64MTCPU
354 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
226
4 OPERATION CONTROL PROGRAMS
4.16 Advanced Synchronous Control Dedicated Function
Cam data write: CAMWR
Setting data
Usable data
: Usable
Description, data type of result
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.
*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.
Format Number of basic steps Usable steps
F/FS G
CAMWR (S1), (S2), (n), (S3), (D) 16 
Setting
data
Usable Data
Bit
device
Word device Constant Calculation
expression
Bit
conditional
expression
Comparison
conditional
expression
16-bit
integer
type
32-bit
integer
type (L)
64-bit
floating
point
type (F)
16-bit
integer
type
(K/H)
32-bit
integer
type
(K/H, L)
64-bit
floating
point
type (K)
(S1) 
(S2) 
(n) 
(S3) 
(D) 
Setting data Description Data type of result
(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)
Data format First position range
Stroke ratio data format 1 to cam resolution
*1
Coordinate data format 0 to (Coordinate number-1)

Table of Contents

Other manuals for Mitsubishi Electric R64MTCPU

Related product manuals