Mitsubishi Electric MELDAS 64, MELDAS MAGIC 64 Interface Manual

DDB Interface Manual
BNP-B2214 (ENG)
MELDAS and MELDASMAGIC are registered trademarks of Mitsubishi Electric Corporation. The other company names and product names are trademarks or registered trademarks of the respective companies.
Introduction
Details described in this manual
CAUTION
For items described in "Restrictions" or "Usable State", the instruction manual
issued by the machine maker takes precedence over this manual. Items not described in this manual must be interpreted as "not possible".
This manual is written on the assumption that all option functions are added.
Refer to the specifications issued by the machine maker before starting use. Some screens and functions may differ or may not be usable depending on the
NC version.
Setting incorrect values could cause the machine to malfunction or run away.
Take care when programming.
General precautions
The following documents are available as documents related to the contents of this manual. Refer to these as required.
(1) MELDAS 64 Series
PLC Programming Manual (Ladder section) ..... BNP-B2212
PLC Interface Manual......................................... BNP-B2211
PLC Onboard Instruction Manual ....................... BNP-B2213
(2) MELDASMAGIC 64 Series
PLC Programming Manual (Ladder section) ...... BNP-B2212
PLC Interface Manual......................................... BNP-B2211
PLC Onboard Instruction Manual ....................... BNP-B2213
Precautions for Safety
Always read the specifications issued by the machine maker, this manual, related manuals and enclosed documents before starting installation, operation, programming, maintenance or inspections to ensure correct use. Thoroughly understand the basics, safety information and precautions of this numerical controller before using the unit. The safety precautions are ranked as "DANGER", "WARNING" and "CAUTION" in this manual.
DANGER
WARNING
CAUTION
Note that even if the item is ranked as " CAUTION", incorrect handling could lead to serious results. Important information is described in all cases, so please observe the
items.
Not applicable in this manual
When there is a great risk that the user could be subject to fatalities or serious injuries if handling is mistaken.
When the user could be subject to fatalities or serious injuries if handling is mistaken.
When the user could be subject to injuries or when physical damage could occur if handling is mistaken.
DANGER
WARNING
Not applicable in this manual.
1. Items related to product and manual For items described as "Restrictions" or "Usable State" in this manual, the
instruction manual issued by the machine maker takes precedence over this manual.
Items not described in this manual must be interpreted as "not possible". This manual is written on the assumption that all option functions are added.
Refer to the specifications issued by the machine maker before starting use.
Some screens and functions may differ or may not be usable depending on the
NC version.
Setting incorrect values could cause the machine to malfunction or run away.
Take care when programming.
CAUTION

Contents

Contents
1. Outline .................................................................................................................. 1
2. Usage of DDB Function with Ladder ................................................................. 2
2.1 Basics of commands ................................................................................... 2
2.2 Basic format of control data ........................................................................ 2
2.2.1 Control signals (Rn or Dn) ................................................................. 3
2.2.2 Section No. (Rn+1 or Dn+1) .............................................................. 3
2.2.3 Sub-section No. (Rn+2, Rn+3 or Dn+2, Dn+3) ................................. 3
2.2.4 Data size (Rn+4 or Dn+4) ................................................................. 3
2.2.5 Read/write designated axis (Rn+5 or Dn+5) ..................................... 4
2.2.6 Read/write data (Rn+6, Rn+7 or Dn+6, Dn+7) .................................. 4
3. Section No. List .................................................................................................... 5
4. Sub-section No. List ............................................................................................ 6
5. Explanation of Read/Write Data ......................................................................... 18
5.1 How to refer to the data ............................................................................... 18
5.2 Data unit system ......................................................................................... 19
5.3 Explanation of data details .......................................................................... 20
6. Example of DDB with Ladder Circuit ................................................................. 59

1. Outline

1. Outline
This manual describes the DDB (Direct Data Bus) function used to realize data input/output with a CNC while running a program developed with the user PLC ladder language. DDB includes the synchronous type (DDBS) and the asynchronous type (DDBA), but only the asynchronous type will be explained in this manual. DDB is a function that allows the PLC to directly read and write the various data in the CNC. By setting the information required for reading and writing into the buffer and calling out the DDB function, the PLC can set (write) the designated data into the CNC. Generally, the data is read and written in one piece units, but data related to the control axis can be processed for the designated number of axes. Features of this function include that the read data can be referred to in the step immediately following the execution of the DDBA command. This also applies to the written data. (Note that for the parameters, they may not be valid immediately after writing.)
This manual is organized in the following manner after the first chapter. Please refer to the required section for use.
6. Example of DDB with
5. Explanation of Read/Write Data
Ladder Circuit
2. Usage of DDB Function with ladder
4. Sub-section No. List
3. Section No. List
- 1 -

2. Usage of DDB Function with Ladder

2. Usage of DDB Function with Ladder

2.1 Basics of commands

Set control data with MOV command, etc.
ACT (Note 1)
DDBA Rn/Dn
(Note 1) The file registers (Rn) and data registers (Dn) in the range usable by the user can be
used in the control data buffer of the asynchronous type DDB .

2.2 Basic format of control data

Rn (Dn) Control signal Rn + 1 (Dn + 1) Section No. Rn + 2 (Dn + 2)
Rn + 4 (Dn + 4) Data size Rn + 5 (Dn + 5) Read/write designated
Rn + 6 (Dn + 6)
Rn + 8 (Dn + 8)
Rn + 10 (Dn + 10)
Rn + 12 (Dn + 12)
Sub-section No.
axis, system designation
Read/write data
(for No. 1 axis)
Read/write data
(for No. 2 axis)
Read/write data
(for No. 3 axis)
Read/write data
(for No. 4 axis)
~ ~
~ ~
(Note 1) The system designation is used when there is a multi-system specification. (Note 2) Always secure 4 bytes as the buffer for one read/write data item. (Note 3) For example, if only the No. 3 axis is designated, the data for the No. 3 axis will be the
read/write data.
- 2 -
2. Usage of DDB Function with Ladder
execution
command
2.2.1 Control signals (Rn or Dn)
F E D C B A 9 8 7 6 5 4 3 2 1 0
Warning output
Error during chopping (not used) No option Size over Number of axes illegal Section No. error Write protect Error occurrence
2.2.2 Section No. (Rn+1 or Dn+1)
0: Read designation 1: Write designation 0: Direct input 1: Added input 0: Decimal point invalid 1: Decimal point valid
Set by controller at completion of DDB
Warning output bit 4 = 1 : Variable data blank 0 : Variable data not blank bit 5 = 1 : Variable data overflowing 0 : Variable data not overflowing
Set by PLC during DDB command
Last four digits of the data during reading/writing of variables corresponding to the decimal place
The section No. of the data to be read/written is designated with a binary. Refer to the "3. Section No. List" for details.
2.2.3 Sub-section No. (Rn+2, Rn+3 or Dn+2, Dn+3) (LOW HIGH)
The sub-section No. of the data to be read/written is designated with a binary. Refer to the "4. Sub-section No. List" for details.
2.2.4 Data size (Rn+4 or Dn+4)
The size of the data to be read/written is designated with a binary.
1: 1 byte 2: 2 bytes 4: 4 bytes
(Note) The date size has not been checked, so exercise care when setting.
- 3 -
2. Usage of DDB Function with Ladder
2.2.5 Read/write designated axis (Rn+5 or Dn+5)
When reading or writing data per axis classified with the section No., designate the axis and system.
F E D C B A 9 8 7 6 5 4 3 2 1 0
System designation
0: No. 1 system 1: No. 2 system
(Note 1)
No. 1 axis No. 2 axis No. 3 axis No. 4 axis
(Note 1) The system designation is used when there is a multi-system specification. (Note 2) When reading and writing the axis data, if there is no axis designation or if the
designation exceeds the maximum control axes, the alarm "No. of axes illegal" will occur.
2.2.6 Read/write data (Rn+6, Rn+7 or Dn+6, Dn+7) (LOW) (HIGH)
When read is designated, the data designated by the PLC will be output by the CNC. When write is designated, the data to be written will be set by the PLC.
1-byte data 2-byte data 4-byte data Rn+6 L Rn+6 L Rn+6 L (Dn+6) H (Dn+6) H (Dn+6) H Rn+7 Rn+7 Rn+7 L (Dn+7)
Code expansion
(Dn+7)
Code
expansion
(Dn+7) H
L
H
The valid area of the data will differ according to the data size. (Shaded area) When read is designated, a code will be added to the 1-byte and 2-byte data to create a 4-byte data size. Thus, even when reading 1-byte or 2-byte data, 4 bytes are required for the buffer size.
- 4 -

3. Section No. List

3. Section No. List
Section
No.
1 Parameters common to each axis
2 Axis independent parameters Possible Valid Valid 3
Workpiece coordinate system offset, external
4
workpiece coordinate system offset 5 Alarm information Not possible Invalid Valid 6 7 8 9
10
Axis common non-modal information in block being
11
executed
Axis independent non-modal information in block
12
being executed
Axis common modal information in block being
13
executed
Axis independent modal information in block being
14
executed
15 Axis common non-modal information in next block Not possible Invalid Valid
Axis independent non-modal information in next
16
block
17 Axis common modal information in next block Not possible Invalid Valid 18 Axis independent modal information in next block Not possible Valid Valid 19 20 Axis common machine control information 1 Not possible Invalid Valid 21 Axis independent machine control information 1 Not possible Valid Valid 22 Information input from PLC to controller Not possible Invalid Valid 23 Information output from controller to PLC Not possible Invalid Valid 24 Cumulative time data Possible Invalid Invalid 25 26 Axis common machine control information 2 Not possible Invalid Valid 27 Axis independent machine control information 2 Not possible Valid Valid 28 29 Common variable value 1 Possible Invalid Invalid From #500 30 Local variable value Possible Invalid Valid 31 Tool compensation amount Possible Invalid Valid (Note 2) 32 Common variable value 2 Possible Invalid Valid From #100
Details Write
Possible (partially
not possible)
Possible Valid Valid (Note 1)
Not possible Invalid Valid
Not possible Valid Valid
Not possible Invalid Valid
Not possible Valid Valid
Not possible Valid Valid
Axis designation
Invalid Invalid
System designation
Remarks
(Note 1) To use the section No. 4 with the MELDASMAGIC 64, the "external workpiece coordinate
system compensation input" option is required.
(Note 2) To use the section No. 31 with the MELDASMAGIC 64, the "external tool compensation
input" option is required.
- 5 -

4. Sub-section No. List

4. Sub-section No. List
The sub-section No. list shows the sub-section No. of each data in correspondence with the section No. Each data has a search No. To refer to the contents of the data, search for the corresponding data in "5. Explanation of Read/Write Data" using this search No.
Search No.
4. Sub-section No. List

Section No. 1 Parameters common to each axis

Search
No.
1-10
~ ~
1 - 10
1-10 Maximum spindle speed (Gear 1st step to gear 4th step)
[Data definition]
This is a parameter for the maximum spindle speed of each gear step. (This corresponds to the setup parameter, spindle parameter smax1 to 4.) The CNC creates the spindle gear shift command 1 and 2 based on this value and the commanded S command.
During tapping, the maximum speed will be the spindle tap speed. ~ ~
Data type
Maximum spindle speed (Gear 1st step) Maximum spindle speed (Gear 2nd step) Maximum spindle speed (Gear 3rd step) Maximum spindle speed (Gear 4th step)
No. of searching (Note) This is not the sub-section No. Section No.
5. Explanation of Read/Write Data
Sub­section No.
8960 8964 8968 8972
Size
(bytes)
4 4 4 4
Write
Possible Possible Possible Possible
System/axis
designation
Invalid/Invalid Invalid/Invalid Invalid/Invalid Invalid/Invalid
Remarks
~ ~
~ ~
Sub-section No. list
Section No. 1 Parameters common to each axis
Search
No.
1-10
Data type
Maximum spindle speed (Gear 1st step) Maximum spindle speed (Gear 2nd step) Maximum spindle speed (Gear 3rd step) Maximum spindle speed (Gear 4th step)
Sub-
section No.
8960 8964 8968 8972
- 6 -
Size
(bytes)
4 4 4 4
Write
Possible Possible Possible Possible
System/axis
designation
Invalid/Invalid Invalid/Invalid Invalid/Invalid Invalid/Invalid
Remarks
4. Sub-section No. List
Search
No.
Spindle limit speed (Gear 1st step) Spindle limit speed (Gear 2nd step)
1-11
Spindle limit speed (Gear 3rd step) Spindle limit speed (Gear 4th step)
Spindle shift speed (Gear 1st step) Spindle shift speed (Gear 2nd step)
1-13
Spindle shift speed (Gear 3rd step)
Spindle shift speed (Gear 4th step) 1-20 Spindle orient speed 9024 2 Possible Invalid/Invalid 1-21 Minimum spindle speed 9026 2 Possible Invalid/Invalid
Method selection parameter (1)
BIT0 :
BIT1 :
BIT2 : 1-50
BIT3 :
BIT4 :
BIT5 :
BIT6 : Synchronous tapping
BIT7 :
Method selection parameter (3)
BIT0 :
BIT1 : Tool compensation method (Tabsmv)
BIT2 : 1-70
BIT3 :
BIT4 :
BIT5 :
BIT6 :
BIT7 :
Method selection parameter (4)
BIT0 :
BIT1 :
BIT2 : 1-80
BIT3 :
BIT4 :
BIT5 : Reference point middle point ignore
BIT6 :
BIT7 :
Data type
Sub-
section No.
8976 8980 8984 8988
9008 9010 9012 9014
195 1 Not possible Invalid/Invalid
130 1 Possible Invalid/Invalid
194 1 Possible Invalid/Invalid
Size
(bytes)
4 4 4 4
2 2 2 2
Write
Possible Possible Possible Possible
Possible Possible Possible Possible
System/axis
designation
Invalid/Invalid Invalid/Invalid Invalid/Invalid Invalid/Invalid
Invalid/Invalid Invalid/Invalid Invalid/Invalid Invalid/Invalid
Remarks
- 7 -
4. Sub-section No. List

Section No. 1 Parameters common to each axis (Position switch No.1 system)

Search
No.
1-100 Position switch [1] dog 1 11968 4 Possible Invalid/Invalid
1-100 Position switch [2] dog 1 11988 4 Possible Invalid/Invalid
1-100 Position switch [3] dog 1 12008 4 Possible Invalid/Invalid
1-100 Position switch [4] dog 1 12028 4 Possible Invalid/Invalid
1-100 Position switch [5] dog 1 12048 4 Possible Invalid/Invalid
1-100 Position switch [6] dog 1 12068 4 Possible Invalid/Invalid
1-100 Position switch [7] dog 1 12088 4 Possible Invalid/Invalid
1-100 Position switch [8] dog 1 12108 4 Possible Invalid/Invalid
Data type
Sub­section No.
axis 11984 1 Possible Invalid/Invalid Designate ASCII code with a decimal
dog 2 11972 4 Possible Invalid/Invalid
axis 12004 1 Possible Invalid/Invalid Designate ASCII code with a decimal
dog 2 11992 4 Possible Invalid/Invalid
axis 12024 1 Possible Invalid/Invalid Designate ASCII code with a decimal
dog 2 12012 4 Possible Invalid/Invalid
axis 12044 1 Possible Invalid/Invalid Designate ASCII code with a decimal
dog 2 12032 4 Possible Invalid/Invalid
axis 12064 1 Possible Invalid/Invalid Designate ASCII code with a decimal
dog 2 12052 4 Possible Invalid/Invalid
axis 12084 1 Possible Invalid/Invalid Designate ASCII code with a decimal
dog 2 12072 4 Possible Invalid/Invalid
axis 12104 1 Possible Invalid/Invalid Designate ASCII code with a decimal
dog 2 12092 4 Possible Invalid/Invalid
axis 12124 1 Possible Invalid/Invalid Designate ASCII code with a decimal
dog 2 12112 4 Possible Invalid/Invalid
Size
(bytes)
Write
System/axis
designation
Remarks
- 8 -
4. Sub-section No. List

Section No. 1 Parameters common to each axis (Position switch No.2 system)

Search
No.
1-100 Position switch [1] dog 1 12128 4 Possible Invalid/Invalid
1-100 Position switch [2] dog 1 12148 4 Possible Invalid/Invalid
1-100 Position switch [3] dog 1 12168 4 Possible Invalid/Invalid
1-100 Position switch [4] dog 1 12188 4 Possible Invalid/Invalid
1-100 Position switch [5] dog 1 12208 4 Possible Invalid/Invalid
1-100 Position switch [6] dog 1 12228 4 Possible Invalid/Invalid
1-100 Position switch [7] dog 1 12248 4 Possible Invalid/Invalid
1-100 Position switch [8] dog 1 12268 4 Possible Invalid/Invalid
Data type
Sub­section No.
axis 12144 1 Possible Invalid/Invalid Designate ASCII code with a decimal
dog 2 12132 4 Possible Invalid/Invalid
axis 12164 1 Possible Invalid/Invalid Designate ASCII code with a decimal
dog 2 12152 4 Possible Invalid/Invalid
axis 12184 1 Possible Invalid/Invalid Designate ASCII code with a decimal
dog 2 12172 4 Possible Invalid/Invalid
axis 12204 1 Possible Invalid/Invalid Designate ASCII code with a decimal
dog 2 12192 4 Possible Invalid/Invalid
axis 12224 1 Possible Invalid/Invalid Designate ASCII code with a decimal
dog 2 12212 4 Possible Invalid/Invalid
axis 12244 1 Possible Invalid/Invalid Designate ASCII code with a decimal
dog 2 12232 4 Possible Invalid/Invalid
axis 12264 1 Possible Invalid/Invalid Designate ASCII code with a decimal
dog 2 12252 4 Possible Invalid/Invalid
axis 12284 1 Possible Invalid/Invalid Designate ASCII code with a decimal
dog 2 12272 4 Possible Invalid/Invalid
Size
(bytes)
Write
System/axis
designation
Remarks
- 9 -
4. Sub-section No. List

Section No. 2 Axis independent parameters

Search
No.
No. 1 reference point coordinates
No. 2 reference point coordinates 2-10
No. 3 reference point coordinates
No. 4 reference point coordinates
Stored stroke limit I (+) 2-11
Stored stroke limit I (-)
Movement control parameters
BIT0 :
BIT1 : Inch output
BIT2 : Reference point return direction (-)
BIT3 : Servo OFF error compensation
BIT4 : Rotary axis
BIT5 : Motor CCW
BIT6 : 2-20
BIT7 :
BIT8 :
BIT9 :
BITA : No reference point axis
BITB :
BITC :
BITD : Diameter designated axis
BITE :
BITF : 2-30 Reference point return approach speed 38 2 Possible Valid/Valid 2-35 Reference point return shift amount 44 2 Possible Valid/Valid 2-36 Rapid traverse backlash amount 46 2 Possible Valid/Valid 2-37 Cutting feed backlash amount 48 2 Possible Valid/Valid
Stored stroke limit II (+) 2-40
Stored stroke limit II (-)
Data type
Sub­section No.
272 276 280 284
288 292
20 2 Not possible Valid/Valid
656 660
Size
(bytes)
4 4 4 4
4 4
4 4
Write
Possible Possible Possible Possible
Possible Possible
Possible Possible
System/axis
designation
Valid/Valid Valid/Valid Valid/Valid Valid/Valid
Valid/Valid Valid/Valid
Valid/Valid Valid/Valid
Remarks
For machine maker For machine maker
For user For user

Section No. 4 Workpiece coordinate system offset, external workpiece coordinate system offset

Search
No.
4-10 G54 workpiece coordinate system offset 0 4 Possible Valid/Valid 4-11 G55 workpiece coordinate system offset 4 4 Possible Valid/Valid 4-12 G56 workpiece coordinate system offset 8 4 Possible Valid/Valid 4-13 G57 workpiece coordinate system offset 12 4 Possible Valid/Valid 4-14 G58 workpiece coordinate system offset 16 4 Possible Valid/Valid 4-15 G59 workpiece coordinate system offset 20 4 Possible Valid/Valid 4-16 External workpiece coordinate system offset 24 4 Possible Valid/Valid
Data type
Sub-
section No.
Size
(bytes)
Write
System/axis
designation
Remarks
- 10 -
4. Sub-section No. List

Section No. 5 Alarm information

Search
No.
5-30 Servo alarm Attribute (bit F) 18 2 Not possible Valid/Invalid (0-Invalid, 1-Valid)
5-90 Servo warning Attribute (bit F) 66 2 Not possible Valid/Invalid (0-Invalid, 1-Valid)
5-130 Operation error Attribute (bit F) 98 2 Not possible Valid/Invalid (0-Invalid, 1-Valid)
5-140 Automatic stop code Attribute (bit F) 106 2 Not possible Valid/Invalid (0-Invalid, 1-Valid)
Data type
Main 16 2 Not possible Valid/Invalid (Note 1)
Sub 1 20 2 Not possible Valid/Invalid Sub 2 22 2 Not possible Valid/Invalid Main 64 2 Not possible Valid/Invalid (Note 1)
Sub 1 68 2 Not possible Valid/Invalid Sub 2 70 2 Not possible Valid/Invalid Main 96 2 Not possible Valid/Invalid (Note 1)
Sub 1 100 2 Not possible Valid/Invalid Sub 2 102 2 Not possible Valid/Invalid Main 104 2 Not possible Valid/Invalid (Note 1)
Sub 1 108 2 Not possible Valid/Invalid Sub 2 110 2 Not possible Valid/Invalid
Sub­section No.
Size
(bytes)
Write
System/axis
designation
Remarks
- 11 -
4. Sub-section No. List

Section No. ACT 11 PCB 15

Search
No.
11/15-10 Interpolation vector length 172 4 Not possible Valid/Invalid
Movement mode gmov
Binary data
0 : Positioning (each axis independent)
1 : Positioning (linear)
2 : Linear interpolation
3 : Circular interpolation (CW)
4 : Circular interpolation (CCW)
5 : Helical interpolation (CW)
6 : Helical interpolation (CCW)
7 :
8 :
9 :
10 :
11 : Time designated dwell
12 :
13 : No. 1 reference point compare
11/15-20
14 : No. 2 reference point compare
15 : No. 3 reference point compare
16 : No. 4 reference point compare
17 : Automatic reference point return
18 : Return from automatic reference point
return
19 : No. 2 reference point return
20 : No. 3 reference point return
21 : No. 4 reference point return
22 : Skip function
23 : Multi-step skip function 1
24 : Multi-step skip function 2
25 : Multi-step skip function 3
26 : Thread cutting
27 :
28 :
29 : Coordinate system setting
Data type
Axis common non-modal information in block being executed (ACT) and in next block (PCB)
Sub­section No.
71 1 Not possible Valid/Invalid
Size
(bytes)
Write
System/axis designation
Remarks
Axis independent non-modal information in block being

Section No. ACT 12 PCB 16

executed (ACT) and in next block (PCB)
Search
No.
12/16-10 Axis direction movement amount 4 4 Not possible Valid/Valid
Data type
Sub­section No.
Size
(bytes)
Write
System/axis designation
- 12 -
Remarks
4. Sub-section No. List

Section No. ACT 13 PCB 17

Search
No.
13/17-10 G code (group 1) 0 1 Not possible Valid/Invalid Interpolation mode 13/17-11 G code (group 2) 1 1 Not possible Valid/Invalid Plane selection 13/17-12 G code (group 5) 2 1 Not possible Valid/Invalid Feed mode
13/17-13 G code (group 7) 3 1 Not possible Valid/Invalid
13/17-14 G code (group 9) 4 1 Not possible Valid/Invalid Fixed cycle modal
13/17-15 G code (group 12) 5 1 Not possible Valid/Invalid
13/17-16 G code (group 13) 6 1 Not possible Valid/Invalid Cutting mode
G code (group 3, 4, 6, 10, 17, 18)
BIT0 : Absolute/incremental mode
BIT1 : Barrier check
BIT2 : Inch/metric mode
13/17-17
13/17-20 Block No. 15 1 Not possible Valid/Invalid 0 to 99 13/17-30 Shape compensation No. 76 2 Not possible Valid/Invalid 13/17-31 Wear compensation No. 78 2 Not possible Valid/Invalid 13/17-40 Miscellaneous function code 208 4 Not possible Valid/Invalid M code (binary) 13/17-41 Spindle function code 212 4 Not possible Valid/Invalid S code (binary) 13/17-42 Tool function code 216 4 Not possible Valid/Invalid T code (binary) 13/17-43 2nd miscellaneous function code 220 4 Not possible Valid/Invalid B code (binary) 13/17-44 Program No. 240 4 Not possible Valid/Invalid O 1 to 99999999 13/17-45 Sequence No. 244 4 Not possible Valid/Invalid N 1 to 99999
BIT3 : Fixed cycle R point return
BIT4 :
BIT5 : Constant surface speed control
BIT6 : Balance cut
BIT7 :
Data type
Axis common modal information in block being executed (ACT)
and in next block (PCB)
Sub­section No.
7 1 Not possible Valid/Invalid
Size
(bytes)
Write
System/axis
designation
Remarks
Diameter com­pensation modal
Workpiece coordi­nate system modal

Section No. ACT 14 PCB 18

Search
No.
14/18-10 Length compensation No. 112 2 Not possible Valid/Invalid
Data type
Axis independent modal information in block being executed
(ACT) and in next block (PCB)
Sub­section No.
Size
(bytes)
Write
System/axis
designation
- 13 -
Remarks
Machining center system only
4. Sub-section No. List

Section No. 20 Axis common machine control information 1

Search
No.
20-10 Automatic effective feedrate 84 4 Not possible Valid/Invalid
20-11 Manual effective feedrate 88 4 Not possible Valid/Invalid
Data type
Sub­section No.
Size
(bytes)
Write
System/axis designation

Section No. 21 Axis independent machine control information 1

Search
No.
21-10 Current position in machine coordinate system 0 4 Not possible Valid/Valid
21-12 Manual interrupt amount (1) 8 4 Not possible Valid/Valid
21-13 Manual interrupt amount (2) 12 4 Not possible Valid/Valid
21-20 Current position in workpiece coordinate system 36 4 Not possible Valid/Valid
21-30
21-31
21-32 Remaining distance during skip ON 120 4 Not possible Valid/Valid
21-33
Current position in workpiece coordinate system
during skip ON
Current position in machine coordinate system
during skip ON
Current position in machine coordinate system
during manual skip ON
Data type
Sub­section No.
112 4 Not possible Valid/Valid
116 4 Not possible Valid/Valid
124 4 Not possible Valid/Valid
Size
(bytes)
Write
System/axis designation
Remarks
Effective speed of feed direction
Effective speed of axis direction
Remarks
When manual ABS switch is OFF
When manual ABS switch is ON
- 14 -
4. Sub-section No. List

Section No. 22 Information input from PLC to controller

Search
No.
22-10
Data type
Emergency stop causes
BIT0 : Software emergency stop BIT1 : BIT2 : Wait for link start up BIT3 : Link stop BIT4 : External input BIT5 : BIT6 : PLC emergency stop BIT7 : BIT8 : BIT9 : BITA : BITB : BITC : BITD : BITE : Spindle emergency stop BITF : Servo emergency stop
Sub­section No.
0 2 Not possible Valid/Invalid
Size
(bytes)
Write
System/axis
designation

Section No. 23 Information output from controller to PLC

Search
No.
23-10 Spindle command speed (effective value) 48 4 Not possible Valid/Invalid
Data type
Sub­section No.
Size
(bytes)
Write
System/axis
designation
Remarks
Remarks
Including override

Section No. 24 Cumulative time data

Search
No.
24-1 Power ON time 0 4 Possible Invalid/Invalid 24-2 Automatic operation time 4 4 Possible Invalid/Invalid 24-3 Automatic start up time 8 4 Possible Invalid/Invalid 24-4 External cumulative time 1 12 4 Possible Invalid/Invalid 24-5 External cumulative time 2 16 4 Possible Invalid/Invalid
Data type
Sub­section No.
Size
(bytes)
Write
System/axis
designation

Section No. 26 Axis common machine control information 2

Search
No.
26-10 Spindle (SR.SF) Motor real speed 8992 4 Not possible Invalid/Invalid
26-20 Spindle (SR.SF) Motor load 8988 2 Not possible Invalid/Invalid
Data type
Sub-
section No.
Size
(bytes)
Write
System/axis
designation
- 15 -
Remarks
Remarks
Including override
4. Sub-section No. List

Section No. 27 Axis independent machine control information 2

Search
No.
Smoothing status, servo status
BIT0 : Ready ON BIT1 : Servo ON BIT2 : In emergency stop BIT3 : In alarm BIT4 : Z phase passing BIT5 : BIT6 : In-position
27-10
27-20 Servo delay amount 308 4 Not possible Valid/Valid 27-30 Feed axis motor load A (%) 328 2 Not possible Valid/Valid 27-31 Feed axis motor load B (%) 330 2 Not possible Valid/Valid 27-33 Feed axis motor speed (rpm) 312 2 Not possible Valid/Valid
BIT7 : Torque limit BIT8 : Smoothing 0 BIT9 : Smoothing+ BITA : Smoothing ­BITB : BITC : Hardware OT+ BITD : Hardware OT­BITE : Near-point dog ON BITF : No. 1 reference point reached
Data type
Sub­section No.
74 2 Not possible Valid/Valid
Size
(bytes)
Write
System/axis designation
Remarks

Section No. 29 Common variable value 1

Search
No.
29-10 Variable command 100 sets 500 to 549 4 Possible
29-11 Variable command 200 sets 500 to 599 4 Possible
Data type
Sub-
section No.
Size
(bytes)
Write
System/axis
designation
Invalid/InvalidSystem common
Invalid/InvalidSystem common

Section No. 30 Local variable value

Search
No.
30-10 Local variables (level 0) 1 to 32 4 Possible Valid/Invalid 30-11 Local variables (level 1) 101 to 132 4 Possible Valid/Invalid 30-12 Local variables (level 2) 201 to 232 4 Possible Valid/Invalid 30-13 Local variables (level 3) 301 to 332 4 Possible Valid/Invalid 30-14 Local variables (level 4) 401 to 432 4 Possible Valid/Invalid
Data type
Sub­section No.
Size
(bytes)
Write
System/axis designation
Remarks
variables
variables
Remarks
- 16 -
Loading...
+ 47 hidden pages