Mitsubishi Electric FX2N-32ASI-M User Manual

USER’S MANUAL
FX2N-32ASI-M AS-interface Master Block
FX2N-32ASI-M AS-interface Master Block

Foreword

This manual contains text, diagrams and explanations which will guide the reader in the correct installation
Before attempting to install or use the communication facilities of FX series this manual should be read and
understood.
If in doubt at any stage of the installation of the communication facilities of FX series always consult a
professional electrical engineer who is qualified and trained to the local and national standards which apply to the installation site.
If in doubt about the operation or use of the communication facilities of FX series please consult the nearest
Mitsubisi Electric distributor.
This manual is subject to change without notice.
FX2N-32ASI-M AS-interface Master Block
FX
2N
-32ASI-M AS-interface
Master Block
User’s Manual

Manual number : JY992D76901

Manual revision : F
Date : October 2006
This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
i
FX2N-32ASI-M AS-interface Master Block
ii
FX2N-32ASI-M AS-interface Master Block
Guidelines for the safety of the user and protection of the FX2N-32ASI-M AS-interface Master Block.
This manual provides information for the use of the FX2N-32ASI-M AS-interface Master Block. The manual has been written to be used by trained and competent personnel. The definition of such a person or persons is as follows:
a) Any engineer who is responsible for the planning, design and construction of automatic
equipment using the product associated with this manual should be of a competent nature, trained and qualified to the local and national standards required to fulfill that role. These engineers should be fully aware of all aspects of safety with regards to automated equipment.
b) Any commissioning or service engineer must be of a competent nature, trained and
qualified to the local and national standards required to fulfill that job. These engineers should also be trained in the use and maintenance of the completed product. This includes being completely familiar with all associated documentation for said product. All maintenance should be carried out in accordance with established safety practices.
c) All operators of the completed equipment should be trained to use that product in a safe
and co-ordinated manner in compliance to established safety practices. The operators should also be familiar with documentation which is connected with the actual operation of the completed equipment.
Note :
The term ‘completed equipment’ refers to a third party constructed device which contains or uses the product associated with this manual.
iii
FX2N-32ASI-M AS-interface Master Block
Note’s on the symbols used in this manual
At various times through out this manual certain symbols will be used to highlight points of information which are intended to ensure the users personal safety and protect the integrity of equipment. Whenever any of the following symbols are encountered its associated note must be read and understood. Each of the symbols used will now be listed with a brief description of its meaning.
Hardware warnings
1) Indicates that the identified danger WILL cause physical and property damage.
2) Indicates that the identified danger could POSSIBLY cause physical and property damage.
3) Indicates a point of further interest or further explanation.
Software warning
4) Indicates special care must be taken when using this element of software.
5) Indicates a special point which the user of the associate software element should be aware.
6) Indicates a point of interest or further explanation.
iv
FX2N-32ASI-M AS-interface Master Block
Under no circumstances will Mitsubishi Electric be liable responsible for any consequential damage that may arise as a result of the installation or use of this equipment.
All examples and diagrams shown in this manual are intended only as an aid to understanding the text, not to guarantee operation. Mitsubishi Electric will accept no responsibility for actual use of the product based on these illustrative examples.
Owing to the very great variety in possible application of this equipment, you must satisfy yourself as to its suitability for your specific application.
v
FX2N-32ASI-M AS-interface Master Block
vi
FX2N-32ASI-M AS-interface Master Block

Table of contents

Guideline .............................................................................................iii
Table of contents
1. Introduction............................................................................................1-1
1.1 External Dimensions and Each Part Name .........................................................1-2
1.2 System configuration ........................................................................................... 1-4
1.3 Applicable PLC ....................................................................................................1-5
1.3.1 Controlled Maximum I/O Points of Each PLC............................................................ 1-5
1.3.2 Maximum Controlled Slave Units .............................................................................. 1-6
2. Wiring ....................................................................................................2-1
2.1 Caution for Wiring................................................................................................ 2-1
2.2 Wiring ..................................................................................................................2-2
3. Specifications ........................................................................................3-1
3.1 Environmental Specifications ..............................................................................3-1
3.2 Power Supply Specifications ...............................................................................3-1
3.3 Performance Specifications.................................................................................3-2
vii
FX2N-32ASI-M AS-interface Master Block
4. Master Start-Up .....................................................................................4-1
4.1 Flow of Master Start-Up....................................................................................... 4-1
4.2 Off-line Phase...................................................................................................... 4-2
4.3 Detection Phase ..................................................................................................4-2
4.4 Activation Phase..................................................................................................4-2
4.5 Start of Normal Operation.................................................................................... 4-3
5. Allocation of Buffer Memories (BFMs)...................................................5-1
5.1 Buffer Memories (BFM) List.................................................................................5-1
5.2 Execution Control (EC) Flags and Host Interface (HI) Flags
<BFM #0 bit 0 to bit 3 and #8> ............................................................................ 5-3
5.2.1 Execution Control (EC) Flags (Using FROM Instruction)
<BFM #0 bit 0 to 3, BFM #8> .................................................................................... 5-4
5.2.2 Host Interface (HI) Flags (Using TO Instruction) <BFM #0 bit 0 to bit 3>.................. 5-7
5.3 Input and Output Data for AS-interface slave
<BFM #0 bit 4 to bit 15 and #1 to #7> (Read / Write).......................................... 5-8
5.4 Watchdog Time Setting <BFM #9> (Read / Write) .............................................. 5-9
5.5 List of Detected Slave (LDS) <BFM #10, #11> (Read only).............................. 5-10
5.6 List of Activated Slaves (LAS) <BFM #12, #13> (Read only)............................ 5-11
5.7 List of Projected Slaves (LPS) <BFM #14, #15> (Read / Write)........................ 5-12
5.8 List of Slaves with Configuration Differences <BFM #16, #17> (Read only)..... 5-13
5.9 Command Buffer <BFM #20 to 22> (Read / Write) ........................................... 5-14
5.9.1 Command Word List................................................................................................5-15
5.9.2 Result List................................................................................................................5-18
5.9.3 Example Program for Command Buffer ..................................................................5-19
viii
FX2N-32ASI-M AS-interface Master Block
5.10 Error Status <BFM #29> (Read Only) ............................................................... 5-24
5.11 ID Code <BFM #30> (Read Only) ..................................................................... 5-25
6. Configuration Mode and Protected Operating Mode.............................6-1
6.1 Changing the Operation Mode ............................................................................6-2
6.1.1 Switching to Protected Operation Mode.................................................................... 6-2
6.1.2 Switching to Configuration Mode............................................................................... 6-2
6.2 Configuration Mode .............................................................................................6-3
6.2.1 Operating the Master in Configuration Mode ............................................................6-3
6.2.2 Programming the Slave Address............................................................................... 6-4
6.2.3 Delete Slave Address................................................................................................6-5
6.3 Protected Operating Mode ..................................................................................6-6
6.3.1 Operating the Master in Protected Operating Mode.................................................. 6-6
6.3.2 Automatic Address Assignment ................................................................................6-7
6.3.3 Manual Address Assignment..................................................................................... 6-8
6.4 Displayed Message Number ............................................................................... 6-9
7. Example Program..................................................................................7-1
7.1 Content of Operation ........................................................................................... 7-1
7.2 System Configuration ..........................................................................................7-2
7.3 Example Program................................................................................................7-3
ix
FX2N-32ASI-M AS-interface Master Block
8. Diagnostics............................................................................................8-1
8.1 Preliminary Checks.............................................................................................. 8-1
8.2 Error Checking..................................................................................................... 8-2
8.2.1 LED Check ................................................................................................................8-2
8.2.2 Check the display message for the 32ASI-M ............................................................ 8-5
8.2.3 Check BFM #29 error status of the 32ASI-M ............................................................8-7
Appendix A:
Further Information Manual Lists.............................................................. A-1
x
FX2N-32ASI-M AS-interface Master Block

1. Introduction

The FX2N-32ASI-M (hereinafter referred to “32ASI-M”) is master block in AS-interface (Actuator-Sensor-Interface) system for FX
1) Automatic Address Assignment for AS-interface Slave Units When a slave breaks down (one of the configured slaves is not recognized), 32ASI-M can automatically allocate the slave at address 0 to the failed address. If the non-functioning slave is replaced, the system will revert to the original slave address numbering.
2) Control Slave Units The 32ASI-M can control a maximum of 31 slave units (up to 4 inputs and 4 outputs per address) on an AS-interface system. However, the maximum number of controllable slaves may be limited according to programmable controller connected. (refer to subsection 1.3.2.)
3U
, FX2N, FX1N and FX0N series PLCs.
Introduction 1.
3) The Maximum Total Extension Distance The maximum total extension distance is usually 100m (328' 1"). Using 2 repeaters, the maximum total extension distance is 300 m (984' 3").
4) I/O Refresh Time I/O refresh time is about 5ms using maximum I/O points.
1-1
FX2N-32ASI-M AS-interface Master Block Introduction 1.

1.1 External Dimensions and Each Part Name

Dimensions: mm (inches) MASS (Weight): 0.2 kg (0.44 lbs) Accessory: Special block No. label
a)
90(3.54")
80(3.15")
b)
9(0.35")
87(3.43")
c)
4(0.16")
d)
n)
m)
e)
ADDRESS/ERROR
FX2N-32ASI-M
MODE SET
4(0.16")
55(2.17")
U ASI
ASI ACTIVE
POWER
PRJ MODE
PRG ENABLE
FROM/TO
CONFIG ERR
b)
f )
g)
h)
i )
j )
k)
l )
o)
ASI+
ASI-
ASI+
ASI-
FX2N-32ASI-M
n) m)
Remove Top Cover
ASI+
ASI+
ASI-
ASI-
p)
1-2
FX2N-32ASI-M AS-interface Master Block Introduction 1.
a) Groove for DIN rail mounting (Width of DIN rail: 35 mm <1.38">)
b) Hook for Din rail
c) Extension cable
d) Display: Station number, location of 32ASI-M or error code are displayed on this display.
e) Direct mounting holes (2-
4.5 mm <0.18">)
f) U ASI LED : Lit when external power is supplied from the AS-interface power
supply.
g) ASI ACTIVE LED : Lit when 32ASI-M is normal operation.
h) POWER LED : Lit when the 5 V DC power is supplied from the main unit.
i) PRJ MODE LED : Lit when 32ASI-M is in configuration mode.
j) PRG ENABLE LED : Lit when 32ASI-M is in Automatic address programming enable.
k) FROM / TO LED : Lit when 32ASI-M is accessed from main unit.
l) CONFIG ERR LED : Lit when AS-interface system has a configuration error.
m)SET button
n) MODE button
o) Terminal screw (M3)
p) Extension connector
1-3
FX2N-32ASI-M AS-interface Master Block Introduction 1.

1.2 System configuration

FX0N,FX1N,
FX2N,FX
3U
AS-interface flat cable
AS-interface
Power Supply
32ASI-M
(Master)
Slave (Sensor / Actuator)
Slave (Sensor / Actuator)
Repeater
Slave (Sensor / Actuator)
The maximum number of controllable slaves is 31.
AS-interface flat cable
AS-interface
Power Supply
Slave
(Sensor /
Actuator)
However, the maximum number of controllable slaves may be limited according to the programmable controller connected. For this limitation, refer to subsection 1.3.2.
Total extension distance is for 32ASI-M is 100 m (328.1')
(Up to 2 repeaters can be used on the system. A repeater may extend the total distance an additional 100 m (328.1
).
'
1-4
FX2N-32ASI-M AS-interface Master Block Introduction 1.

1.3 Applicable PLC

32ASI-M can be connected to FX3U, FX2N, FX1N, or FX0N Series PLCs. The I/O control points of both the 32ASI-M and PLC CPU must not exceed the host PLC’s maximum I/O point capacity.
Therefore, there is a limitation in the number of units (number of slaves) which can be controlled according to the I/O points recognized by the with PLC's CPU (occupation)
follows.
*1
as
*1 To use FX
2N
, FX1N, or FX0N Series PLCs, each AS-i slave station occupies 4 CPU I/O points. To u s e F X
3U
Series PLC, each AS-i slave station occupies 8 CPU I/O points.
Note;
An 32ASI-M module cannot be attached to an FX series PLC that is using an FX2N-16CCL­M module. Only one 32ASI-M module can be connected to the PLC.

1.3.1 Controlled Maximum I/O Points of Each PLC

Table 1.1: Controlled Maximum I/O Points of Each PLC
PLC Type Maximum I/O Points
3U
FX
FX
FX
2N
1N
384 points
256 points
128 points
FX
0N
128 points
1-5
FX2N-32ASI-M AS-interface Master Block Introduction 1.

1.3.2 Maximum Controlled Slave Units

The 32ASI-M can connect up to 31 slaves. However, there is a limit to the maximum number of controllable slaves according to the PLC connected. 32ASI-M calculates the number of active slaves which can be operated, and sets a limit which cannot be exceeded.
Note:
There is a possibility that an active slave may not operate, even if it is within the system limits.
1) Calculation for the number of active slaves which can be operated The number of active slaves which can be operated by each PLC type is calculated as follows.
a) FX
0N
, FX1N, FX
Maximum I/O points
( ) ( )
2N
*1
-
Controlled I/O points
<include occupied points>
4
= Number of active slave ≤ 31 Slaves
*1 Maximum I/O points, as shown in table 1.1.
b) FX
3U
The value of A in Formula M is obtained from Formula N below. Note that when the Formula result is larger than 248, a value of 248 must be assigned to A.
A
= Number of active slave = 31 Slaves ..........
8
A = (Maximum I/O points
*2
) - (Controlled I/O points <include occupied points>) ..........
M
N
*2 Maximum I/O points, as shown in table 1.1.
1-6
N
FX2N-32ASI-M AS-interface Master Block Introduction 1.
2) Active slaves fall into 2 limitation categories.
a) Limitation 1
A slave which can operate is allocated the lowest available active slave address. A slave which exceeds the number of allowable active slaves cannot operate.
b) Limitation 2
One slave requires 4 bits in either the upper or lower areas of a byte. If an active in an upper or lower byte area cannot operate (through limitation 1) then any other active slaves located in the remaining 4 bits of the upper or lower byte area cannot operate either.
1-7
FX2N-32ASI-M AS-interface Master Block Introduction 1.
Limitation Example 1
- Connected PLC: FX
- Controlled I/O points of PLC: 48 points <FX
1N
-40MR + 32ASI-M
1N
(40 points) + 32ASI-M(8 points)>
Number of active slaves which can be operated: (128 - 48) ÷ 4 = 20
- Active slave addresses: 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 19, 20, 21, 22, 23, 24,
25, 26 and 27
Bit 0Bit 15
Upper byte Lower byte
BFM #0 BFM #1 BFM #2 BFM #3 BFM #4 BFM #5 BFM #6 BFM #7
3
7 6 5 4 11 10 9 8 15 14 13 12 19 18 17 16 23 22 21 20 27 26 25 24 31 30 29 28
2 1
CE flag
: This area represents an operative active slave address.
: This area represents an inoperative active slave address refering to limitation 1
As these active slaves correspond only to limitation 1 in this example; The active slaves which can be operated are 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 19, 20, 21, 22, 23, 24 and 25. (The active slaves which cannot be operated are 26 and 27 by limitation 1.)
1-8
FX2N-32ASI-M AS-interface Master Block Introduction 1.
Limitation example 2
- Composition of programmable controller:FX
1N
-40MR + FX0N-40ER + 32ASI-M
- Controlled I/O points of PLC: 88 points
1N
<FX
(40 points) + FX0N(40 points) + 32ASI-M(8 points)>
Number of active slaves which can be operated: (128 - 88) ÷ 4 = 10
- Active slave addresses: 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 19, 20, 21, 22, 23, 24, 25, 26 and 27
Bit 0Bit 15
Upper byte Lower byte BFM #0 BFM #1 BFM #2 BFM #3 BFM #4 BFM #5 BFM #6 BFM #7
3
7 6 5 4 11 10 9 8 15 14 13 12 19 18 17 16 23 22 21 20 27 26 25 24 31 30 29 28
2 1
CE flag
: This area represents an operative active slave address.
: This area represents an inoperative active slave address refering to limitation 1
: This area represents an inoperative active slave address refering to limitation 2
As these active slaves correspond to limitation 1 and 2 in this example; The active slaves which can be operated are 2, 3, 4, 6, 7, 8, 9, 10 and 11 as these active slaves correspond to limitation 1 and limitation 2 in this example. (The active slaves which cannot be operated are 13, 15, 17, 19, 20, 21, 22, 23, 24, 25, 26 and 27 by limitation 1. The active slave which cannot be operated is 12 by limitation 2.)
1-9
FX2N-32ASI-M AS-interface Master Block Introduction 1.
Note:
In this example, the maximum capacity is 10 active slaves. If the 10th active slave is changed by either of the two following methods, it can be made operative.
When the slave allocated to address 13 is reallocated in an empty address of 14 or more, active slave address 12 can operate.
.When the slave allocated to address 12 is re-allocated in an empty address, lower than its current address, the active slave can operate (from its new location) for example, relocation to position 5.
1-10
FX2N-32ASI-M AS-interface Master Block

2. Wiring

2.1 Caution for Wiring

1) Do not lay signal cable near high voltage power cables or put them in the same trunking duct. Otherwise, the effects of noise or surge induction are likely to take place. Keep a safe distance of more than 100 mm (3.94") from these wires.
2) Connect the ground terminal on 32ASI-M with the ground terminal on the main unit of the programmable controller. Use class D (100Ω or less) grounding on the main unit.
3) The terminal screws for the terminal of the 32ASI-M are M3 (0.12") screws and therefore the crimp style terminal (see drawing) suitable for use with these screws should be fitted to the cable for wiring.
Wiring 2.
For M3 (0.12")
6.2 mm (0.24" ) or less
4) The terminal tightening torque is 0.5 to 0.8 N
6.2 mm (0.24") or less
·
m (5 to 8 kgf·cm). Tighten securely to avoid
For M3 (0.12")
malfunction.
5) Cut off all phases of power source externally before installation or wiring work in order to avoid electric shock or damage to the product.
6) Replace the provided terminal cover before supplying power and operating the unit after installation or wiring work in order to avoid electric shock.
2-1
FX2N-32ASI-M AS-interface Master Block Wiring 2.

2.2 Wiring

To connect the 32ASI-M to slave units or AS-interface power supply use the AS-interface flat cable (yellow). For slaves, refer to relevant manuals.
f
d
ASI+ ASI-ASI+ ASI-
*1
c
e
Table 2.1: Wiring
No. Item Description
c
d
e
f
g
Main unit of FX
Grounding resistance of 100 Ω or less (Class D)
32ASI-M
AS-interface flat cable (yellow)
AS-interface power supply
, FX1N, FX2N or FX
0N
Series programmable controller
3U
ASI+ ASI-
g
2-2
FX2N-32ASI-M AS-interface Master Block

3. Specifications

3.1 Environmental Specifications

Table 3.1: Environmental Specifications
Item Description
Environmental specifications excluding dielectric withstand voltage and complies with
Dielectric Withstand Voltage 500 V AC > 1 min, tested between all points, terminals and ground
Complies with AS-i certification (EN50295) Ver. 2.04

3.2 Power Supply Specifications

Same as those of the main unit.
Specifications 3.
Table 3.2: Power Supply Specifications
Item Description
External Power Supply AS-interface power supply
External Current Consumption 70 mA (Typical 30.5 V DC)
Internal Current Consumption 150 mA at 5 V DC
3-1
FX2N-32ASI-M AS-interface Master Block Specifications 3.

3.3 Performance Specifications

Table 3.3: Performance Specifications
Item Description
Max. 31 slave units Maximum Number of Controllable Units
The maximum number of controllable slaves may be limited
according to the programmable controller connected. (Refer to
subsection 1.3.2.)
Maximum Allowable Write to the EEPROM
I/O Refresh Time Max. 5 ms (Connecting maximum I/O points)
Communication Speed 167 kbps
Communication Method APM (Alternating Pulse Modulation) method
Communication Path Format Bus network type (Free topology)
Total Extension Distance
Number of Occupied I/O Points
10,000 or below
Max. 100 m (328
(Up to 2 repeaters can be used on the system. The total extension
distance may be extended by 100 m (328
The occupied I/O points taken from the programmable controller
extension bus (can be either input or output).
32ASI-M: 8 points
1 Slave;
•FX
•FX
, FX1N, FX2N: 4 points
0N
: 8 points
3U
'
1")
1") for each repeater.)
'
3-2
FX2N-32ASI-M AS-interface Master Block Specifications 3.
Table 3.3: Performance Specifications
Item Description
FX
, FX2N, FX1N, FX0N Series PLCs
3U
The maximum number of system I/O (including 32ASI-M occupied Applicable Programmable Controller
points);
•FX
•FX
•FX
3U
2N
1N
: 384 or less : 256 or less , FX0N: 128 or less
AS-i Version Ver. 2.04
Communication with
FROM / TO instruction Programmable Controller
Display (7 Segment) 2 column (slave address / error code)
POWER Lit when the 5 V DC power supplied from main unit.
Lit when external power supplied from the AS-interface
U ASI
power supply.
LED Indication
ASI ACTIVE
PRJ MODE
Lit when AS-interface system is in normal operation.
Lit when 32ASI-M is in configuration mode.
PRG ENABLE
FROM / TO
CONFIG ERR
Lit when 32ASI-M is in automatic address programming
enable.
Lit when 32ASI-M is accessed from main unit.
Lit when AS-interface system has a configuration error.
3-3
Loading...
+ 61 hidden pages