MELDAS is a registered trademark of Mitsubishi Electric Corporation.
Other company and product names that appear in this manual are trademarks or
registered trademarks of the respective company.
Introduction
This manual describes the various signal interfaces and functions required when
creating MELDAS C6/C64/C64T sequence programs (built-in PLC).
Read this manual thoroughly before programming.
Thoroughly study the "Safety Precautions" on the following page to ensure safe use of
the MELDAS C6/C64/C64T.
Details described in this manual
CAUTION
For items described in "Restrictions" or "Usable State", the instruction manual
issued by the machine manufacturer 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 manufacturer before starting
use.
Some screens and functions may differ or may not be usable depending on the
NC version.
General precautions
The following documents are available as documents related to the contents of
this manual. Refer to these as required.
Always read the specifications issued by the machine manufacturer, this manual,
related manuals and attached documents before installation, operation, programming,
maintenance or inspection to ensure correct use. Understand this numerical controller,
safety items and cautions before using the unit.
This manual ranks the safety precautions into "DANGER", "WARNING" and "CAUTION".
DANGER
WARNING
CAUTION
Note that even items ranked as "
on the situation. In any case, important information that must always be observed is
described.
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.
CAUTION
" may lead to major results depending
DANGER
There are no "Danger" items in this manual.
WARNING
1. Items related to prevention of electric shocks
Do not operate the switches with wet hands, as this may lead to electric shocks.
Do not damage, apply excessive stress, place heavy things on or sandwich the
cables, as this may lead to electric shocks.
CAUTION
1. Items related to product and manual
For the items described in the "Restrictions" and "Usable State", the instruction
manual issued by the machine manufacturer takes a precedence over this
instruction manual.
Items not described in this manual must be interpreted as "not possible".
This instruction manual has been written on the assumption that all options are
provided.
Check the specifications issued by the machine manufacturer before starting use.
Some screens and functions may differ or may not be usable depending on the
NC system version.
2. Items related to connection
When using an inductive load such as relays, always contact a diode in parallel to
the load as a noise measure.
When using a capacitive load such as a lamp, always connect a protective
resistor serially to the load to suppress rush currents.
3. Items related to design
CAUTION
Always turn the spindle phase synchronization complete signal ON before
chucking both ends of the workpiece to the basic spindle and synchronous
spindle. If the spindle phase synchronization signal is turned ON when both ends
of the workpiece are chucked to the basic spindle and synchronous spindle, the
chuck or workpiece could be damaged by the torsion that occurs during phase
alignment.
If the temperature rise detection function is invalidated with the parameters, the
control could be disabled when the temperature is excessive. This could result in
machine damage or personal injuries due to runaway axis, and could damage the
device. Enable the detection function for normal use.
7.1.3 Flow of Spindle (S) Data............................................................. 7-2
i
1. OUTLINE
r
1. OUTLINE
This manual is prepared to assist you to understand the various control signals necessary for
creating the built-in sequence for the MELDAS C6/C64/C64T.
The manual is composed as shown below. Refer to related sections as necessary to gain the
maximum benefit from the manual.
System
configuration
Table for input/
output signals
with controlle
Table for input/
output signals
with machine
Explanation of
devices
Blank tables
for user
Explanation of
interface
signals
Device
Input : X, R
Output : Y , R
Others:
SM,SD,B,W
Spindle
control
(Caution)
Please note that the specifications referred to in the text represents the maximum
specifications which include also those under development.
PLC Interface
Manual
(cover)
1-1
2. SYSTEM CONFIGURATION
p
2. SYSTEM CONFIGURATION
Personal computer
Personal computer
MELSEC PLC
development tool
Other C6/C64
control unit
DC24VINSERVO1SERVO2
ENCHANDLE
ICCARD
SIOTERMINAL
SKIP
RS-232C
or
RS-422
C6/C64
Control unit
Display/
Communication
DC24VINSERVO1SERVO2
ENCHANDLE
ICCARD
SIOTERMINAL
SKIP
Ethernet
Communication
terminal
ROM built in
main unit
RIO-M
Operation
panel, etc.
Remote I/O unit
DX1**
Built-in DI : 16 points(X400 to X40F)
Built-in DO : 1 point (Y400)
Expansion DI: 32 points
Expansion DO: 32 points
Analog output: 1 point
The expansion DIO unit is an
(Note)
o
tion.
Max. 8 units
…………
Extension DIO card
Max. 2 cards
(Note)
Remote I/O unit
**
DX1
Max. input: 256 points
(X000 to X0FF)
Max. output: 256 points
(Y000 to Y0FF)
Machine control signals
Manual pulse
Sensor
Max. 4 channels
generator
RIO-M/S
Max. 8 units
…………
(X418 to X41B)
Remote I/O unit
**
DX1
Max. input: 256 points
(X100 to X1FF)
Max. output: 256 points
(Y100 to Y1FF)
Machine control signals
Refer to the following document for details on the PLC development with the MELSEC PLC
development tool.
MELDAS C6/C64 PLC Programming Manual
(Ladder section with MELSEC tool) .................... BNP-B2309
2-1
2. SYSTEM CONFIGURATION
2.1 Relation of RIO Unit and Devices
2.1 Relation of RIO Unit and Devices
The remote I/O units (hereafter RIO unit) connected to the RIO-M or RIO-M/S have different
specifications respectively as shown below. Each unit has a rotary switch for setting the unit No.,
and for establishing a relation with the device No. (X, Y).
Several remote I/O units can be used in combination. Make sure that the total of stations possessed
by the serial link connection (MC link B) is 8 stations or less. Set a unique station No. for each unit
and make sure that these station numbers are not duplicated. There is one station No. setting rotary
switch on the DX10* unit, and two on the DX11*/12*/14* unit.
Set as shown below when connected to the communication terminal (CR05).
Rotary switch No. Device No. read in Output device No.
The No. of points (devices) will differ according to the RIO unit type.
The devices shown here show an example for when the rotary switch for channel No.
setting on the RIO unit is set to 0 and set to 1.
Refer to section "2.1.2 Rotary Switch for Channel No. Setting" for details on the relation of
The No. of points (devices) will differ according to the RIO unit type.
The devices shown here show an example for when the rotary switch for channel No.
setting on the RIO unit is set to 0 and set to 1.
Refer to section "2.1.2 Rotary Switch for Channel No. Setting" for details on the relation of
the rotary switch and device No.
(Note 3)
The A4 and B4 pin analog output (AO, AO*) in the output connector (5) is found only on
the RIO unit DX120/DX121.
2-6
2. SYSTEM CONFIGURATION
2.2 Outline of Digital Signal Input Circuit
2.2 Outline of Digital Signal Input Circuit
There is a sink type digital signal input circuit and source type digital signal input circuit. Either
method can be selected with each unit's card unit.
Input circuit
(Machine side)
0V
0V
0V
DI-L/DI-R ((1)/(8))
2.2kΩ
2.2kΩ
2.2kΩ
2.2kΩ
0V
0V
24VDC(+)
(Machine side)
24VDC(+)
24VDC(+)
24VDC(+)
24VDC(+)
A3,B3
2.2kΩ
COM
Sink type
DI-L/DI-R ((1)/(8))
2.2kΩ
2.2kΩ
2.2kΩ
2.2kΩ
Control
circuit
24VDC(+)
0V
A3,B3
COM
2.2kΩ
Source type
Control
circuit
2-7
2. SYSTEM CONFIGURATION
2.2 Outline of Digital Signal Input Circuit
Input conditions
The input signal must be used within the conditions shown below.
Sink type
Input voltage when external contact is ON 6V or less
Input current when external contact is ON 9mA or more
Input voltage when external contact is OFF 20V or more, 25.2V or less
Input current when external contact is OFF 2mA or less
Tolerable chattering time
Input signal hold time
Input circuit operation delay time
Machine side contact capacity +30V or more, 16mA or more
T1
T2
T3T4
Source type
Input voltage when external contact is ON 18V or more, 25.2V or less
Input current when external contact is ON 9mA or more
Input voltage when external contact is OFF 4V or less
Input current when external contact is OFF 2mA or less
Tolerable chattering time
Input signal hold time
Input circuit operation delay time
Machine side contact capacity +30V or more, 16mA or more
3ms or less
(Refer to T1 in drawing below)
40ms or more
(Refer to T2 in drawing below)
3ms ≤ T3
T1
.
=
.
T4 ≤ 16ms
3ms or less
(Refer to T1 in drawing below)
40ms or more
(Refer to T2 in drawing below)
3ms ≤ T3
.
=
.
T4 ≤ 16ms
T1
T3
T2
T1
T4
(Note)
The input signal hold time 40ms or more is a reference. The input signal will not be
recognized unless the input signal is held for longer than the ladder process cycle time.
2-8
2. SYSTEM CONFIGURATION
A
A
2.3 Outline of Digital Signal Output Circuit
2.3 Outline of Digital Signal Output Circuit
There is a sink type (DX1*0) digital signal output circuit and source type (DX1*1) digital signal
output circuit. Use this circuit within the range shown below.
Output circuit
24VDC(+)
(Machine side)
R
PL
R
DO-L/DO-R ((4)/(9))
Sink type (DX1*0)
Control
circuit
DO-L/DO-R ((4)/(9))
(Machine side)
24VDC(+)
R
Control
circuit
R
PL
Output conditions
Source type (DX1*0)
Insulation method Non-insulating
Rated load voltage +24VDC
Max. output current 60mA/point
Output delay time 40µs
<Caution>
* When using a conductive load such as a relay, always connect a diode (withstand voltage 100V
or more, 100mA or more) parallel to that load.
* When using a capacity load such as a lamp, connect a protective resistance (R=150ohm)
serially to that load to limit the rush current. (Make sure that the current is lower than the
tolerable current including the momentary current.)
CAUTION
When using a conductive load such as relays, always contact a diode in parallel to the load as a
noise measure.
When using a capacity load such as a lamp, always connect a protective resistor serially to the
load to suppress rush currents.
2-9
2. SYSTEM CONFIGURATION
Ω
A0A
A
A
A
2.4 Outline of Analog Signal Output Circuit
2.4 Outline of Analog Signal Output Circuit
The analog signal circuit can be used only with the FCUA-DX120/DX121/DX140/DX141 unit.
Output circuit
R
220
0*
R
DAC
Output conditions
Output voltage 0V to ±10V (±5%)
Resolution 12 bit (±10V x n/4096) (Note)
Load conditions
Output impedance
10kΩ load resistance (standard)
220Ω
(Note)
2.5 Outline of Analog Signal Input Circuit
The analog signal input circuit can be used only for the FCUA-DX140/DX141.
Input circuit
150Ω
I
DC
n = (2
0
~ 211)
I*
Input conditions
Max. input rating
15V
±
Resolution 10V/2000 (5mV)
Precision
Within ±25mV
AD input sampling time14.2ms (AI0)/42.6ms (AI1 to 3)
2-10
2. SYSTEM CONFIGURATION
2.6 Fixed Signals
2.6 Fixed Signals
The connector pin Nos. in the input signals that are fixed are shown below.
The pin No. cannot be changed because the signals are fixed in the controller.
Signal name ConnectorSignal name Connector
Emergency stop X407 Stroke end –1 X408
Reference point return near-point detection 1 X400 Stroke end –2 X409
Reference point return near-point detection 2 X401 Stroke end –3 X40A
Reference point return near-point detection 3 X402 Stroke end –4 X40B
Reference point return near-point detection 4 X403 Stroke end –5 X405
Reference point return near-point detection 5 X404 Stroke end +1 X40C
Sensor signal 1 X418 Stroke end +2 X40D
Sensor signal 2 X419 Stroke end +3 X40E
Sensor signal 3 X41A Stroke end +4 X40F
Sensor signal 4 X41B Stroke end +5 X406
2.6.1 Ignoring Fixed Signals
The fixed signals can be used as other signals by ignoring them with file registers. (Refer to the
following table.)
Note that the emergency stop signal (X407) can not be ignored with the following registers.
The signal is applicable to (+) and (-) motion at the same time (ignored when "ON").
F ED C B A9876543210
1st axis OT ignored
2nd axis OT ignored
14th axis OT ignored
Bit
:
File register (R921)
F ED C B A9876543210
1st near-point ignored
2nd near-point ignored
14th near-point ignored
Bit
:
2-11
2. SYSTEM CONFIGURATION
2.6 Fixed Signals
2.6.2 Changing the Addresses of Fixed Signals
The fixed devices can be allocated arbitrarily with the following parameters.
The parameters #2073 to #2075 are valid when 1 is set in #1226 aux10 bit 5.
When the parameters #2073 to #2075 are valid, do not set the same device number. If the same
device number exists, an emergency stop occurs. However, no device number check is performed
for an axis to which a signal (R920~) that ignores the fixed signal is input.
When the arbitrary allocation is valid, the fixed signals (X400 to X40F) can be used as other signals.
# Items Details Setting range (unit)
1226 aux10
(bit5)
2073 zrn_dog Origin dog
2074 H/W_OT+ H/W OT+
2075 H/W_OT- H/W OT-
Arbitrary
allocation
of dog·OT
signal valid
arbitrary
allocation
device
arbitrary
allocation
device
arbitrary
allocation
device
Specify whether to enable the arbitrary allocation
parameter for the origin dog and H/W OT.
by the parameters #2073 to #2075)
When it is desired to assign the origin dog signal to a
position other than the fixed device, specify the input
device in this parameter.
When it is desired to assign the OT (+) signal to a
position other than the fixed device, specify the input
device in this parameter.
When it is desired to assign the OT (-) signal to a
position other than the fixed device, specify the input
device in this parameter.
0/1
00 to FF (HEX)
00 to FF (HEX)
00 to FF (HEX)
2-12
2.7 Flow of Signals
Controller
2. SYSTEM CONFIGURATION
2.7 Flow of Signals
PLC
Signal in
controller
Machine/machine operation board
Signal in
controller
Input
Output
X**
Y**
D.D.B.
Input/output signal with
controller and machine
(X, Y)
Transfer at head of
main program
Sequence program
High-speed
program
(per 7.1ms)
Main program
(Scan time with
program size)
X**
Y**
Y**
Input/output signal
with machi ne
(X, Y)
X**
Transfer at head of high-speed
processing program
(per 7.1ms)
The devices used by the PLC are shown below.
Device No. of device X, Y, B, W and H are indicated with hexadecimal, the others with decimal.
Device Device range Units Details
X* X0 to XAFF 2816 points1-bit Input signals to the PLC. Machine input, etc.
Y* Y0 to YE7F 3712 points1-bit Output signals from the PLC. Machine output, etc.
M M0 to M8191 8192 points1-bit For temporary memory
L L0 to L255 256 points1-bit Lat ch relay (Backup memory)
F F0 to F127 128 points1-bit For temporar y memory. Alarm m e s s age interface
SB SB0 to SB1FF 512 points1-bit Special relay for links
B B0 to B1FFF 8192 points1-bit Link relay
SM* SM0 to SM127 128 points1-bit Special relay
V V0 to V255 256 points1-bit Edge relay
SW SW0 to SW1FF 512 points16-bit Special register for links
SD SD0 to SD127 128 points16-bit Special register
T0 to T15 16 points1-bit/16-bit10ms unit timer
T16 to T95 80 points1-bit/16-bit100ms unit timer
T96 to T103 8 points1-bit/16-bit100ms incremented timer
T104 to T143 40 points1-bit/16-bit10ms unit timer (Fixed timers)
T144 to T239 96 points1-bit/16-bit100ms unit timer (Fixed timers)
T
T240 to T255 16 points1-bit/16-bit100ms incremented timer (Fixed timers)
T0000 to T0255 256 points1-bit T1: Timer coil
T1000 to T1255 256 points1-bit T0: Timer contact
T2000 to T2255 256 points16-bit TS: Timer setting value
T3000 to T3255 256 points16-bit TA: Timer current value
C0 to C23 24 points1-bit/16-bitCounter
C24 to C127 104 points1-bit/16-bitCounter (Fixed counters)
C0000 to C0127 128 points1-bit C1: Counter coil
C
C1000 to C1127 128 points1-bit C0: Counter contact
C2000 to C2127 128 points16-bit CS: Counter setting value
C3000 to C3127 128 points16-bit CA: Counter current value
D D0 to D8191 8192 points 16-bit/32-bitData register
R* R0 to R8191 8192 points 16-bit/32-bit File register. CNC word I/F
W W0 to W1FFF 8192 points 16-bit/32-bitLink register
Z Z0 to Z13 14 points16-bit Address index
N N0 to N7 Master control's nesting level
P0 to P255
P*
P360 to P379
K-32768 to K32767 Decimal constant for 16-bit command
K
K-2147483647 to
K2147483647
H0 to HFFFF Hexadecimal constant for 16-bit command
H
H0 to HFFFFFFFF Hexadecimal constant for 32-bit command
(Note 1)
(Note 2)
(Note 3)
Device marked with * in the device column have designated applications. Do not use
such devices for other purposes.
The fixed timer and fixed counter can not be changed with the numerical setting. Note
that those can be changed with the numerical setting when D or R device is specified.
D0 to D8191 can be used with the software version D0 and above.
Conditional jump, subroutine call label
Decimal constant for 32-bit command
2-14
2. SYSTEM CONFIGURATION
2.9 File Register General Map
2.9 File Register General Map
R0 System common NC -> PLC R4000
R100 System common PLC -> NC R4100
R200 Part system control NC -> PLC R4200
R300 Max. 7 part systems R4300
R400 R4400
R500 R4500 PLC constant
R600 R4600 Bit select
R700 R4700
R800 R4800
R900 Part system control PLC -> NC R4900
R1000 Max. 7 part systems R5000
R1100 R5100
R1200 R5200
R1300 R5300
R1400 R5400
R1500 R5500
R1600 Axis control NC -> PLC R5600
R1700 Max. 14 axes R5700
R1800 R5800
R1900 R5900
R2000 R6000
R2100 R6100
R2200 R6200
R2300 Axis control PLC -> NC R6300
R2400 Max. 14 axes R6400 M type: Tool life management
R2500 R6500 L type: Tool life management I, II
R2600
R2700
R2800 R6700 R6720
R2900 R6800
R3000 Spindle control NC -> PLC R6900 User area (backup)
R3100 Max. 7 spindles R7000
R3200 Spindle control PLC -> NC R7100
R3300 Max. 7 spindles R7200
R3400 R7300
R3500 MR-J2-CT NC -> PLC (Max. 7 axes) R7400
R3600 MR-J2-CT PLC -> NC (Max. 7 axes) R7500
R3700 (Do not use.) R7600
R3800 R7700
R3900 R7800
2-15
R6600
R7900
R8000
R8100
User area (non-backup)
M type: Tool registration
L type: Tool life management I
L type: Tool life management II
These registers are available in
(Note)
System reserve
(Note)
the 2nd part system or above.
The system reserve area is used
for function expansion by
Mitsubishi, and must not be used
by the user.
3. INPUT/OUTPUT SIGNALS WITH MACHINE
3.1 How to Read Input/Output Signal Table
3. INPUT/OUTPUT SIGNALS WITH MACHINE
3.1 How to Read Input/Output Signal Table
The method of reading the input/output signal table is shown below.
Each card mounted on the RIO unit uses 32 points. Thus, even the 16 point output card has 32 points,
and the head of the next card number will be a serial No. on the assumption that there are 32 points.
Remote I/O connection destination of C64 main unit
Connector Pin. No.
Input Signal Table from Machine
Device AbbreviationSignal name
X0
X1
X2
X3
X4
X5
X6
X7
No.0:Fi rst car d
RIO-M
Connector
Device AbbreviationSignal name
B20
X8
X9
B19
XA
B18
B17
XB
XC
B16
B15
XD
XE
B14
B13
XF
Card No. determined by remote RIO unit rotary switch.
The 0 in No. is the rotary switch No.
The card for which the rotary switch setting is 0 will be
the 1st card.
Interf ace Table
Table 3-1-1
Connector
B12
B11
B10
B09
B08
B07
B06
B05
Device AbbreviationSignal name
X10
X11
X12
X13
X14
X15
X16
X17
Device AbbreviationSignal name
X20
X21
X22
X23
X24
X25
X26
X27
Device AbbreviationSignal name
X30
X31
X32
X33
X34
X35
X36
X37
Connector
Device AbbreviationSignal name
A20
X18
X19
A19
X1A
A18
X1B
A17
A16
X1C
X1D
A15
X1E
A14
X1F
A13
RIO-M No.1:Second card
Connector
Device AbbreviationSignal name
X28
B20
X29
B19
X2A
B18
X2B
B17
X2C
B16
X2D
B15
X2E
B14
X2F
B13
Connector
Device AbbreviationSignal name
X38
A20
X39
A19
X3A
A18
X3B
A17
X3C
A16
X3D
A15
X3E
A14
X3F
A13
Connector
A12
A11
A10
A09
A08
A07
A06
A05
Table 3-1-2
Connector
B12
B11
B10
B09
B08
B07
B06
B05
Connector
A12
A11
A10
A09
A08
A07
A06
A05
(Note 1)
(Note 2)
Signals marked with
are 1 word (16-bit) data.
in the column for the 2nd part system indicate there is no
signal corresponding to the 2nd part system, or the signal for the 1st part system side is
used commonly.
(Note 3)
D0 to D8191 can be used with the software version D0 and above.
3-1
3. INPUT/OUTPUT SIGNALS WITH MACHINE
3.2 Classification of Machine Input/Output Signals
3.2 Classification of Machine Input/Output Signals
The signals handled by the PLC are classified as shown below.
Refer to the following table when making allocations during design.
Signal type
RI
Input
(Analog input)
RIO-M
RIO-M/S
EXT -
DI Table 3-3
AI
Allocation
table
Table 3-1-1 to
3-1-8
Table 3-2-1 to
3-2-8
Table 4-2-1
Explanation
(1) Allocated to device X.
(2) Some connector pin allocations are determined.
1) Stroke end signal (+, -)
2) Reference point return near-point detection signal
(3) The high-speed processing input is set with the parameters.
(Read in at the head of the high-speed processing scan.)
(4) The device used for EXT differs according to the network
type and specifications. Refer to section "6.6 Network related
functions" for details.
(1) The connector pin allocation is determined.
(2) Allocated to the file register (R).
RO
Output
RIO-M
RIO-M/S
EXT -
DO Table 3-6
AO
(Analog
Output)
Table 3-4-1 to
3-4-8
Table 3-5-1 to
3-5-8
Table 4-4-1
(1) Allocated to device Y.
(2) The high-speed processing output is set with the parameters.
(Output at end of the high-speed processing scan.)
(3) The device used for EXT differs according to the network
type and specifications. Refer to section "6.6 Network related
functions" for details.
(1) The connector pin allocation is determined.
(2) Data to be D/A converted and output can be output by
reading it into the file register (R).
(1) This is the operation board remote I/O connection device.
CR05 Table 3-7
Others
(2) Allocated to the file register (R).
3.3 Allocation of Machine Input/Output Signals
The signals are allocated to the devices of machine input/output signals X and Y, and the device
Nos. are determined automatically depending on the connection destinations.
The connection destinations and allocated device Nos. are as below:
Another unit for extension is necessary to use the expansion slot 3 and 4.
This is connected to the communication terminal.
The unused I/O can be used as input/output device of each type network. Furthermore,
the input/output devices of slot with the expansion cards (Ethernet cards, etc.) which do
not need the input/output devices is also unused, and that can be used.
*Built-in DI stroke end -5
*Built-in DI stroke end +5
*Built-in DI emergency stop
Signal name
Invalid
(3) Relation with dog and OT arbitrary assignment
DIO Built-in DI
DeviceAbbreviationSignal name
X408 DI8
X409 DI9
X40A DIA
X40B DIB
X40C DIC
X40D DID
X40E DIE
X40F DIF
DeviceAbbreviationSignal name
X408 DI8
X409 DI9
X40A DIA
X40B DIB
X40C DIC
X40D DID
X40E DIE
X40F DIF
*Built-in DI stroke end -1
*Built-in DI stroke end -2
*Built-in DI stroke end -3
*Built-in DI stroke end -4
*Built-in DI stroke end +1
*Built-in DI stroke end +2
*Built-in DI stroke end +3
*Built-in DI stroke end +4
*Built-in DI stroke end -1
*Built-in DI stroke end -2
*Built-in DI stroke end -3
*Built-in DI stroke end -4
*Built-in DI stroke end +1
*Built-in DI stroke end +2
*Built-in DI stroke end +3
*Built-in DI stroke end +4
Condition
Power failure
backup module
Mounted
Not mounted
#1226 qaux10/Bit5
(dog, OT arbitrary
assignment)
ON
OFF
ON
OFF *DOG1
X400 meaningHandling of dog and OT signal
Dog and OT arbitrary assignment valid
ACFAIL
Arbitrary
Dog signal invalid for all axes
OT fixed assignment valid
Dog and OT arbitrary assignment valid
Dog and OT fixed assignment
3-11
3. INPUT/OUTPUT SIGNALS WITH MACHINE
Table of Output Signal (Y) to Machine
Output Signal Table to Machine
Table 3-4-1
Device Abbreviation Signal name Connector Device AbbreviationSignal name Connector
Signals marked with * in the abbreviation column or B column are handled as B contacts.
is 1 word (16-bit) data.
4-1
4. TABLE OF INPUT/OUTPUT SIGNALS WITH CONTROLLER
4.2 Classification of Input/Output Signals with Controller
4.2 Classification of Input/Output Signals with Controller
There are 1-bit unit, and 16-bit or 32-bit unit contro ller input/output signals, which are classified as
shown below.
Refer to the following allocation tables for the signal allocations.
Signal type
DI
Allocation table
Table 4-1-
(1) Allocated to device X410 and following.
(2) Data calculated in bit units are allocated as a
principle.
Explanation
Input
Output
Others
Data
DO
Data
Special relay
Special register
Slot information
Table 4-2-
Table 4-3-
Table 4-4-
Table 4-5-
Table 4-6-
(1) Allocated to device R.
(2) Data handled in 16-bit or 32-bit units is allocated
as a principle.
(1) Allocated to device Y410 and following.
(2) Data calculated in bit units are allocated as a
principle.
(1) Allocated to device R.
(2) Data handled in 16-bit or 32-bit units is allocated
as a principle.
(1) Allocated to device SM and SD.
(2) The sequence command calculation state, results
and the signals with special operations are
allocated.
(1) This device is used for the expansion slot.
The meaning and operation of the device differ
according to the application.
Refer to section"6.6 Network related functions" for
details on the assignments.
4-2
4. TABLE OF INPUT/OUTPUT SIGNALS WITH CONTROLLER
Interface Table Input X
Controller->PLC (Common to system) Table 4-1-1
Device Abbrev.
Signal name
X410 X418 SKIP0 Input signal state
X411 X419 SKIP1 Input signal state
X412 X41A SKIP2 Input signal state
X413 X41B SKIP3 Input signal state
X414 X41C
X415 X41D
X416 X41E
X417 X41F
Device Abbrev.
Signal name
X420 MA Controller ready complete X428
X421 SA Servo ready complete X429 DROPNS Door open enable
X422 X42A SPSYN1 In spindle synchronous control
X423 X42B FSPRV Spindle rotation speed
4. TABLE OF INPUT/OUTPUT SIGNALS WITH CONTROLLER
Interface Table Input R
Controller->PLC (System) Table 4-2-1
Device Abbrev. Signal details Device Abbrev.Signal details
R0 AI1 Analog input R10
R1 AI2 Analog input R11
R2 AI3 Analog input R12
R3 AI4 Analog input R13
R4 R14
R5 R15 (Display release)
R6 R16 Display information
R7 R17
R8 KEY IN 1 R18
R9 (Full key) R19
Device Abbrev. Signal details Device Abbrev.Signal details
R20 PLC main scan time R30 User macro input #1035
R21 Emergency stop cause R31
R22 DIO card information R32 CNC software version code
R23 R33
R24 User macro input #1032R34
R25
(PLC −> controller)
R35
R26 User macro input #1033R36
R27
(PLC −> controller)
R37
R28 User macro input #1034R38
R29
(PLC −> controller)
R39
Device Abbrev. Signal details Device Abbrev.Signal details
R40 Battery drop cause R50 Clock data Month/Year
R41 Temperature warning causeR51 Hour/Date
R42
Remote I/O communication
stop channel
R52 Second/Minute
R43 (CT100 connection status) R53 PLC high-speed process time
4. TABLE OF INPUT/OUTPUT SIGNALS WITH CONTROLLER
Interface Table Input R
Controller->PLC (MR-J2-CT control status)
1st
axis
2nd
axis
3rd
axis
4th
axis
5th
axis
6th
axis
7th
axis
R3500 R3504 R3508 R3512 R3516 R3520 R3524J2CT control status 4
R3501 R3505 R3509 R3513 R3517 R3521 R3525J2CT control status 3
R3502 R3506 R3510 R3514 R3518 R3522 R3526J2CT control status 2
R3503 R3507 R3511 R3515 R3519 R3523 R3527J2CT control status 1
R3556 Another control status (common to all axes)
Controller->PLC (Index control axis status)
1st
axis
2nd
axis
3rd
axis
4th
axis
5th
axis
6th
axis
7th
axis
R3560 R3565 R3570 R3575 R3580 R3585 R3590Control status 1
R3561 R3566 R3571 R3576 R3581 R3586 R3591Control status 2
R3562 R3567 R3572 R3577 R3582 R3587 R3592Control status 3
R3563 R3568 R3573 R3578 R3583 R3588 R3593Control status 4
R3564 R3569 R3574 R3579 R3584 R3589 R3594Control status 5
Table 4-2-8
Signal details
Signal details
4-16
4. TABLE OF INPUT/OUTPUT SIGNALS WITH CONTROLLER
Interface Table Output Y
PLC->Controller (Common to system) Table 4-3-1
Device Abbrev. Signal details Device Abbrev.Signal details
Y410 Y418 *KEY1 Data protect key 1
Y411 Y419 *KEY2 Data protect key 2
Y412 Y41A *KEY3 Data protect key 3
Y413 Y41B
Y414 RHD1 Integration time input 1 Y41C
Y415 RHD2 Integration time input 2 Y41DCRTFN CRT changeover complete
Y416 Y41E DISP1 Display changeover $1
Y417 TMAC T macro ignore Y41F DISP2 Display changeover $2
Device Abbrev. Signal details Device Abbrev.Signal details
Y420 TSTIN Tool Registration screen setting
prohibited
Y421 Y429 DOOR2 Door open II
Y422 Y42A SPVC (Spindle speed monitor)
Y423 Y42B
Y424 Y42CRPN Remote program input
Y425 Y42DPCH1 PLC axis 1st handle valid
Y426 Automatic power OFF Y42E PCH2 PLC axis 2nd handle valid
Y427 QEMG PLC emergency stop Y42F PCH3 PLC axis 3rd handle valid
Device Abbrev. Signal details Device Abbrev.Signal details
Y430 SPSYC Spindle synchronization cancel Y438 *PCD1PLC axis near point detect 1
Y431
SPCMPC
Chuck close Y439 *PCD2PLC axis near point detect 2
Y432 SPSY Spindle synchronous control Y43A *PCD3PLC axis near point detect 3
Y433 SPPHS Spindle phase synchronous
control
Y434 SPSDR Spindle synchronous rotation
direction
Y435 SSPHM Phase shift calculation request Y43D*PCD6PLC axis near point detect 6
Y436 SSPHF Phase offset request Y43E *PCD7PLC axis near point detect 7
Y437
SPDRPO
Error temporary cancel Y43F
Y428 DOOR1 Door open
Y43B *PCD4PLC axis near point detect 4
Y43C*PCD5PLC axis near point detect 5
4-17
4. TABLE OF INPUT/OUTPUT SIGNALS WITH CONTROLLER
Interface Table Output Y
Device Abbrev. Signal details Device Abbrev.Signal details
R140 1st axis index R15011th axis index
R141 2nd axis index R15112th axis index
R142 3rd axis index R15213th axis index
R143 4th axis index R15314th axis index
R144 5th axis index R154
R145 6th axis index R155
R146 7th axis index R156
R147
R148
R149
8th axis index R157
9th axis index R158
10th axis index R159
PLC switch
Spindle synchronous function
basic spindle select
Spindle synchronous function
synchronous spindle select
Spindle synchronous function
phase shift amount
4-26
4. TABLE OF INPUT/OUTPUT SIGNALS WITH CONTROLLER
Interface Table Output R
PLC->Controller (System) Table 4-4-2
Device Abbrev. Signal details DeviceAbbrev.Signal details
Device Abbrev. Signal name Device Abbrev.Signal name
SM32 ON Always ON SM402NCLK 2n-second clock
SM33 OFF Always OFF SM41
SM34 BSCN Only 1 scan ON after RUN SM42
SM35 ASCN Only 1 scan OFF after RUN SM43
SM36 01CLK 0.1-second clock SM44
SM37 02CLK 0.2-second clock SM45
SM38 1CLK 1-second clock SM46
SM39 2CLK 2-second clock SM47
Device Abbrev. Signal name Device Abbrev.Signal name
In addition to X, Y, and R, SM, SD devices described above, the following devices exist:
Name
Internal relay
Latch relay
Timer T (1) Timer T is count-up timer.
Counter C (1) Addition system counter C.
Symbol Description
M
F
L
(1) Internal and latch relays are auxiliary relays in the sequence
that cannot directly be output to the external.
(2) The latch relay L will be backed up even if the power is
turned OFF.
(3) The internal relay F may be used as the interface for the
alarm message display.
(2) Timer T can set the timer value from either the sequence
program or display.
(3) The 100ms, 10ms and 100ms integral timer are available.
(2) Counter C can set the counter value from either the
sequence program or screen.
Data register D (1) The data register stores sequence data.
(2) One data register consists of 16 bits and can be read or
written in 16-bit units. To handle 32-bit data, two data
registers are used. The data register addressed by a 32-bit
instruction is used as the low-order 16 bits; the data register
addressed by the specified data register number +1 is used
as the high-order 16 bits.
File register R (1) The file register release area can be used in the same
manner as the data register.
(2) The file register uses a 16-bit structure for 1 point, and reads
and writes in 16-bit units.
Two points are used to handle 32-bit data. The file register
No. designated with the 32-bit command is the low-order
16-bit, and the designated file register plus one is the
high-order 16-bit.
Refer to section "2.9 File Register General Map" for details
on the release area of file register.
The assignment tables for the above tables are on the following pages. Copy and use them as
necessary.
The signals are explained in order of the tables of input/output signals with the controller as shown
below.
6.1 PLC input signals (bit type: X***)
6.2 PLC input signals (data type: R***)
6.3 PLC output signals (bit type: Y***)
6.4 PLC output signals (data type: R***)
6.5 Special relay/register signals (SM**, SD**)
6.6 Signals related to communication
How to read the signals
B con-
tact
*
Signal name
PLC AXIS NEAR POINT
DETECT nTH AXIS
Signal
abbreviation
*PCDn Y438~43E
1st system
2nd system
—
3rd system
—
Device No. for 1st part systemDevice No. for 3rd part system
Device No. for 2nd part system
— indicates that there is no corresponding device.
Refer to the list for device Nos. of 4th part system and
following.
Indicates (B contact) signal that is valid when PLC -> controller signal is OFF.
B con-
tact
—
Signal name
AXIS SELECT OUTPUT AX1~AX14 X441 X461 X481
Signal
abbreviation
1st axis
Device No. for 1st axis
Device No. for 2nd axis
— indicates that there is no corresponding device.
Refer to the list for device Nos. of 4th axis and
following.
2nd axis
Device No. for 3rd axis
3rd axis
6-1-1
6.1 PLC Input Signals (Bit Type: X***)
6-1-2
6. EXPLANATION OF INTERFACE SIGNALS
6.1 PLC Input Signals (Bit Type: X***)
B con-
tact
—
Signal name
CONTROLLER READY
COMPLETE
[Function]
This signal indicates that the controller is ready for normal operation.
[Operation]
The signal turns ON when:
(1) The controller starts working successfully after it is turned ON or when no OFF-condition exists.
The signal turns OFF when:
(1) The controller is turned OFF.
(2) Trouble occurs with the controller (such as failure in the CPU, memory, etc.).
(3) "Servo alarm" which cannot be reset without turning OFF the power supply of the controller
occurs.
B con-
tact
Signal name
Signal
abbreviation
MA
Signal
abbreviation
1st system2nd system 3rd system
X420 — —
1st system2nd system 3rd system
—
SERVO READY COMPLETE SA
X421 — —
[Function]
This signal indicates that the servo system is ready for normal operation. In other words, the servo
system (position control) is not working when the signal is OFF.
[Operation]
The signal turns ON when:
(1) The diagnosis on the servo system is completed successfully after the control unit is turned ON.
(2) "Servo alarm", if occurs, is reset. (Resetting may not be possible depending on the servo alarm
contents.)
(3) "Emergency stop" input is removed.
The signal turns OFF when:
(1) "Servo alarm" occurs.
(2) "Emergency stop" is input.
(3) The power supply of controller is turned OFF.
(4) Trouble occurs with the controller (such as failure in the CPU or memory, etc.).
(Note 1)
This signal (SA) cannot be turned OFF only with the servo OFF (*SVFn) signal.
6-1-3
B con-
tact
Signal name
6. EXPLANATION OF INTERFACE SIGNALS
6.1 PLC Input Signals (Bit Type: X***)
Signal
abbreviation
1st system2nd system 3rd system
—
DOOR OPEN ENABLE
DROPNS
X429 — —
[Function]
This signal notifies the PLC that the drive power to all axes is turned OFF due to "Door open" signal,
or that the same status is canceled.
[Operation]
This signal turns ON when the drive power to all axes is turned OFF due to "Door open" signal
turning ON.
This signal turns OFF at all axes ready ON and at all servo axes servo ON, due to "Door open"
signal turning OFF.
Release of the door lock is enabled at the rising edge of "Door open enable" signal.
The operation is in a READY status at the falling edge of "Door open enable" signal.
[Caution]
(1) Handling of the PLC axis
Set so a "Door open" signal is output to the NC after the PLC axis is stopped by the PLC.
If a "Door open" signal is input without stopping the PLC axis, the axis will stop with a dynamic
brake method due to the ready OFF state.
The remaining distance will be held in the R register being used in the DDB.
(2) Handling of the analog spindle
When an analog spindle is connected, it is not possible to confirm that the spindle has
completely stopped with the NC. Thus, confirm that the spindle has completely stopped using
the PLC, before opening the door.
Because the spindle may start rotating again immediately after the door is closed, for safety turn
the forward run and reverse run signals OFF when the door is open.
(3) Opening the door during ATC operation
When opening the door during ATC operation, apply an interlock with the user PLC.
[Related signals]
Door open (DOOR1, DOOR2: Y428, 429)
6-1-4
6. EXPLANATION OF INTERFACE SIGNALS
6.1 PLC Input Signals (Bit Type: X***)
B con-
tact
—
Signal name
IN SPINDLE SYNCHRONOUS
CONTROL
[Function]
This signal informs that the spindle synchronous control mode has been entered.
[Operation]
The signal turns ON when:
The G114.1 is commanded, and spindle synchronous control is entered. (Spindle synchronous
•
control I)
The spindle synchronous control signal (Y432) turns ON. (Spindle synchronous control II)
•
The signal turns OFF when:
Spindle synchronous control is canceled with the G113 command. Or, when the spindle
•
synchronization cancel signal (Y430) turns ON. (Spindle synchronous control I)
When the spindle synchronous control signal (Y432) turns OFF. (Spindle synchronous control II)
This signal informs that the spindle synchronization state mode is entered.
[Operation]
The signal turns ON when:
The difference of the rotation speeds of the basic spindle and synchronous spindle reaches the
•
value set for the spindle rotation speed attainment level during the spindle synchronous control
mode.
The signal turns OFF when:
The actual rotation speed of the synchronous basic spindle or synchronous spindle, in respect to
•
the spindle synchronous rotation speed command value, widely exceeds or deviates value set for
the spindle synchronization rotation speed attainment level during the rotation synchronization
mode.
The spindle synchronous control mode is canceled.
•
[Related signal]
In spindle synchronous control (SPSYN1: X42A)
Spindle phase synchronization complete (FSPPH: X42C)
Spindle synchronous control (SPSY: Y432)
Spindle phase synchronous control (SPPHS: Y433)
Signal
abbreviation
SPSYN1
Signal
abbreviation
FSPRV
1st system2nd system 3rd system
X42A — —
1st system2nd system 3rd system
X42B — —
6-1-5
6. EXPLANATION OF INTERFACE SIGNALS
6.1 PLC Input Signals (Bit Type: X***)
B con-
tact
Signal name
SPINDLE PHASE
—
SYNCHRONIZATION
COMPLETE
[Function]
This signal informs that the spindle synchronization state is entered.
[Operation]
The signal turns ON when:
The phase alignment of the basic spindle and synchronous spindle is completed during the
•
phase synchronization mode.
The signal turns OFF when:
The phase difference of the basic spindle and synchronous spindle exceeds the value set for the
•
spindle synchronization phase attainment level during the phase synchronization mode.
The spindle synchronous control mode is canceled.
•
Signal
abbreviation
FSPPH
1st system2nd system 3rd system
X42C — —
CAUTION
Always turn the spindle phase synchronization complete signal ON before chucking both ends of
the workpiece to the basic spindle and synchronous spindle. If the spindle phase synchronization
signal is turned ON when both ends of the workpiece are chucked to the basic spindle and
synchronous spindle, the chuck or workpiece could be damaged by the torsion that occurs during
phase alignment.
Spindle rotation speed synchronization
complete ON
Spindle synchronous control ON
(Note1)
Spindle phase synchronization
Spindle phase synchronous
control ON
complete
ON
Spindle phase synchronous
control OFF
Spindle synchronous control OFF
(Note1) Temporary OFF to change the rotation speed during the phase synchronization.
[Related signals]
In spindle synchronous control (SPSYN1: X42A)
Spindle rotation speed synchronization complete (FSPRV: X42B)
Spindle synchronous control (SPSY: Y432)
Spindle phase synchronous control (SPPHS: Y433)
6-1-6
6. EXPLANATION OF INTERFACE SIGNALS
6.1 PLC Input Signals (Bit Type: X***)
B con-
tact
—
Signal name
CHUCK CLOSE
CONFIRMATION
[Function]
This signal informs that chuck close (SPCMPC: Y431) is input during spindle synchronous control.
[Operation]
This signal turns ON when the "Chuck close" (Y431) is ON.
This signal turns OFF when the "Chuck close" (Y431) is OFF.
This signal turns OFF when the spindle synchronous control is canceled.
Use "Error temporary cancel" signal only when the position error between two spindles still occurs
even after the "Chuck close" signal is turned ON.
[Related signal]
Chuck close (SPCMPC: Y431)
In error cancel
6-1-7
B con-
tact
Signal name
6. EXPLANATION OF INTERFACE SIGNALS
6.1 PLC Input Signals (Bit Type: X***)
Signal
abbreviation
1st system2nd system 3rd system
—
BATTERY ALARM BATAL
X42F — —
[Function]
This signal notifies that the voltage of the data storage battery in the controller or the battery
supplying to the absolute position detector has dropped below the specified value.
[Operation]
The signal turns ON when:
(1) The voltage of the data storage battery is checked when the power is turned ON and is below
the specified voltage (approx. 2.6V). At this time, the system alarm "Z52 BATTERY FAULT" will
display.
(2) A fault is detected in the power voltage supplied to the absolute position detector.
At this time, "Z73 ABS. WARNING 0001" and "S52 SERVO WARNING 9F" will display.
(3) A fault is detected in the power voltage for the speed detector in the absolute position detector.
At this time, "Z71 DETECTOR ERR 0001" and "S01 SERVO ALARM" will display.
In the case of (1) and (2), automatic starting is possible.
The signal turns OFF when:
(1) For alarms caused by ON condition (1), the signal can be turned OFF by resetting the setting
and display unit. However, if the battery voltage is still below the specified value when the
controller power is turned OFF and ON, the signal will turn ON again.
(2) For alarms caused by ON conditions (2) and (3), the signal can be turned OFF by removing the
power voltage fault and then turning the power ON again.
[Related signal]
(1) Battery drop cause (R40)
[Caution]
If this battery alarm occurs (especially in the "ON" conditions (1)) assume that the data which
should be registered, such as the machining programs, has been damaged, and take suitable
measure.
Always make a back up of the data in the controller as a safeguard for when this alarm occurs.
6-1-8
B con-
tact
Signal name
6. EXPLANATION OF INTERFACE SIGNALS
6.1 PLC Input Signals (Bit Type: X***)
Signal
abbreviation
1st system2nd system 3rd system
—
ALARM 1 AL1
X430 — —
[Function]
This signal informs that system error occured in the controller.
[Operation]
If "watch dog error", "memory parity check error", etc. occurs on the controller side, the signal turns
ON.
The system error can be reset by turning OFF.
(Note 1)
(Note 2)
Alarm 1 (AL1) may not be detected as signal.
For details of system alarms, refer to the relevant Instruction Manual.
B con-
tact
—
Signal name
ALARM 2 (SERVO ALARM) AL2
Signal
abbreviation
1st system2nd system 3rd system
X431 — —
[Function]
This signal informs that the controller is in servo alarm condition. If servo alarm occurs, "servo
ready complete output" signal (SA) turns OFF.
[Operation]
The signal turns ON when:
(1) Servo alarm occurs. Servo alarms include the following:
• Servo failure 1 (no signal, overcurrent, overvoltage, etc.)
• Initial parameter error (parameter transferred to amplifier when the power is turned ON is
illegal)
• Amplifier not mounted (cable is not connected between controller and servo controller).
• Parameter error (a parameter that will disrupt movement of the control axis was found).
Alarm can be reset by turning OFF the power, or using controller reset, or by setting parameter
again, etc., depending on type of alarm. For details of alarm resetting, and servo alarm, refer to the
relevant Instruction Manual.
6-1-9
6. EXPLANATION OF INTERFACE SIGNALS
6.1 PLC Input Signals (Bit Type: X***)
B con-
tact
Signal name
— SERVO READY nTH AXIS RDY1~14 X440 X460 X480
[Function]
This signal indicates that the drive section of the nth axis is ready for operation.
[Operation]
The signal turns ON when:
(1) The power supply of the controller is turned ON and the diagnosis on the servo system has
been completed successfully.
(2) Servo alarm has been reset.
(3) Emergency stop has been reset.
(4) "Servo OFF" signal is reset.
The signal turns OFF when:
(1) Servo alarm occurs.
(2) Emergency stop is issued.
(3) "Servo OFF" signal is input.
[Operation sequence]
Controller power
supply
Signal
abbreviation
1st axis
2nd axis
3rd axis
Controller READY
Servo "ready",
nth axis
Reset
Emergency stop
Servo alarm
Reset & rewind
3s
0.7s
[Related signal]
(1) Servo ready complete (SA: X421)
0.5s0.5s
0.7s
0.5s
0.7s
6-1-10
A
A
B contact
Signal name
6. EXPLANATION OF INTERFACE SIGNALS
6.1 PLC Input Signals (Bit Type: X***)
Signal
abbreviation
1st axis
2nd axis
3rd axis
—
AXIS SELECT OUTPUT AX1~AX14
X441 X461 X481
[Function]
This signal indicates that motion command is issued to the control axis.
[Operation]
This signal turns ON and OFF as follows:
(1) Automatic operation
The signal is ON while the motion command is issued to the end of movement, or to when
automatic operation pause turns ON.
(2) Manual operation
• For JOG mode
The signal is ON while "Feed axis select" signal (+Jn and -Jn) is ON.
• For HANDLE mode
When "Handle axis No." signal (HS11 to 116) and "Handle valid" signal (HS1S) have been
selected, "Axis select output" signal for the axis specified by the "Handle axis No." signal is
ON.
• For INCREMENTAL mode
The signal turns ON when "Feed axis select" signal turns ON, and turns OFF when the
specified motion is completed.
• For MANUAL RANDOM FEED mode
The signal turns ON when "Strobe" signal (CXS8) turns ON, and turns OFF when the
specified motion is completed.
• For REFERENCE POINT RETURN mode
The signal is ON while "Feed axis select" signal (+Jn and -Jn) is ON. After "Reference point
return near-point detect" signal is detected, and the motion speed changes to approach
(creeping) speed, the "Axis select output" signal remains ON until the motion stops at the
reference point, even when "Feed axis select" signal turns OFF.
(3) Other conditions
• The signal can turn ON even during machine lock (Z-axis is in cancellation). However, it
does not turn ON during machine lock in manual operation mode.
• The signal remains ON even when motion stops due to feedrate override set at 0%, manual
control feedrate set at 0 mm/min, or 0 inch/min.
• Interlock does not affect status of this signal (the signal remains ON, or turns ON).
• "Servo OFF" signal does not affect status of this signal.
• The signal cannot be turned ON by G04 and G92.
• The signal turns OFF with controller reset & rewind, or emergency stop.
(Example)
xial motion
Feed axis select signal
xis select output sig nal
6-1-11
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.