Mitsubishi Electric R16MTCPU Programming Manual page 225

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

■Coordinate data format
Offset
Item
+0
Can data format (Coordinate data format)
+1
Unusable
+2
Coordinate number
+3
+4
At first point cam data value
+5
+6
+7
+8
At second point cam data value
+9
+10
+11
+(4N)
At Nth point cam data value
+(4N+1)
+(4N+2)
+(4N+3)
For coordinate data format, when reading is not completed in one attempt, divide the reading over several
attempts.
■Auto-generation data format
Executes the CAMRD instruction for cam files created by the CAMMK instruction, or cam files created by the cam curves in
MT Developer2, and reads as auto-generation data format.
• Cam for rotary cutter (Page 233 Device assignment of the cam auto-generation data for the rotary cutter cam)
• Easy stroke ratio cam, Advanced stroke ratio cam (Page 235 Device assignment of the cam auto-generation data)
• Cam file created by the cam curves in MT Developer2 is read as data for auto-generation of the advanced
stroke ratio cam.
• When cam data for a cam curve created by the cam curves in MT Developer2 is read by the CAMRD
instruction, it is read to the specified device as data for auto-generation of the advanced stroke ratio cam
with the cam type of all sections as "constant speed".
• Set a call source to (S3). The cam data is read from the cam file, for setting other than "0".
Setting value
0
2
4
• When the call source specified by (S3) is other than "0: Built-in memory of the cam open area", "Cam data operation flag
(SM505)" turns ON during the reading of cam data from the cam file, and turns OFF when reading ends. Check that "Cam
data operation flag (SM505)" OFF is an interlock condition. When a CAMMK, CAMWR, CAMRD instruction for the cam file
is executed while "Cam data operation flag (SM505)" is ON, an error occurs.
• (S3) can be omitted. The call source when (S3) is omitted is "0: Built-in memory of the cam open area"
Input value X
1
Output value Y
1
Input value X
2
Output value Y
2
Input value X
N
Output value Y
N
Call source
Built-in memory of the cam open area
Cam file on the SD memory card
Cam file on the standard ROM
Range
2
0
2 to 65535
0 to 2147483647
[Cam axis cycle unit]
-2147483648 to 2147483647
[Output axis position unit]
0 to 2147483647
[Cam axis cycle unit]
-2147483648 to 2147483647
[Output axis position unit]
0 to 2147483647
[Cam axis cycle unit]
-2147483648 to 2147483647
[Output axis position unit]
4 OPERATION CONTROL PROGRAMS
4.16 Advanced Synchronous Control Dedicated Function
4
223

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents