FX Series Programmable Controllers
USER’S MANUAL FX2N-32ASI-M AS-Interface Master Block FX2N-32ASI-M AS-Interface Master Foreword • This manual contains text, diagrams and explanations which will guide the reader in the correct installation and operation of the communication facilities of FX series • 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 FX2N-32ASI-M AS-Interface Master Block Manual number : JY992D76901 User’s Manual Manual revision : A Date : February 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 ASInterface 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 coordinated 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 symbology 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-23ASI-M AS-Interface Master Block Table of Contents Guideline iii Introduction 1-1 1.1 External Dimensions and Each Part Name 1-2 1.2 System configuration 1-4 Wiring 2-1 2.1 Caution for Wiring 2-1 2.2 Wiring 2-2 Specifications 3-1 3.1 Environmental Specifications 3-1 3.2 Power Supply Specifications 3-1 3.3 Performance Specifications 3-2 Master Start-Up .4-1 4.1 4.2 4.3 4.4 4.5 Flow of Master Start-Up 4-1 Off-line Phase 4-2 Detection Phase 4-2 Activation Phase 4-2 Start of Normal Operation 4-3 v FX2N-23ASI-M AS-Interface Master Block 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 5-3 5.2.1 Execution Control (EC) Flags (Using FROM Instruction) 5-4 5.2.2 Host Interface (HI) Flags (Using TO Instruction) 5-7 5.3 5.4 5.5 5.6 5.7 5.8 5.9 Input and Output Data for AS-Interface slave 5-8 Watchdog Time Setting 5-9 List of Detected Slave (LDS) 5-10 List of Activated Slaves (LAS) 5-11 List of Projected Slaves (LPS) 5-12 List of Slaves with Configuration Differences 5-13 Command Buffer 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 5.10 Error Status 5-24 5.11 ID Code 5-25 vi FX2N-23ASI-M AS-Interface Master Block 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 Configuration 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 Example Program 7-1 7.1 Content of Operation 7-1 7.2 System Configuration 7-2 7.3 Example Program 7-3 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 vii FX2N-23ASI-M AS-Interface Master Block viii FX2N-32ASI-M AS-Interface Block Slave is active M104 Example Program Slave is projected M144 M104 FNC 12 MOV FNC 40 ZRST K1X010 K1M200 M200 M203 Put out X000 to X003 to data bit to for slave If slave is inactive slave or not projected slave, output data for slave is reset M144 Slave Slave is is active projected M105 M145 M105 FNC 12 MOV FNC 40 ZRST K1X014 K1M204 M204 M207 Putting out X004 to X007 to data bit to for slave If slave is inactive slave or not projected slave, output data for slave is reset M145 Continued 7-4 FX2N-32ASI-M AS-Interface Block Normal Operation Flag M2 Hardware Error Flag M33 Slave Slave is is active projected M104 Example Program M144 M104 FNC 79 TO K0 K1 K2M200 K1 Writing output data to BFM #1 for slave and FNC 78 FROM K0 K1 K2M300 K1 Reading input data from BFM #1 for slave and FNC 12 K1M300 K1Y010 MOV Putting out input data bit to of slave to Y010 to Y013 FNC 40 ZRST If slave is inactive slave or not projected slave, output Y010 to Y013 for slave is reset Y010 Y013 M144 Continued 7-5 FX2N-32ASI-M AS-Interface Block Slave is active M105 Example Program Slave is projected M145 M105 FNC 12 K1M304 K1Y014 MOV Putting out input data bit to of slave to Y014 to Y017 FNC 40 ZRST If slave is inactive slave or not projected slave, output Y014 to Y017 for slave is reset Y014 Y017 M145 General Error M30 Y000 General error occurs Y001 Configuration error occurs Y002 APF (AS-Interface Power Fail) occurs Configuration Error M31 APF Error M32 Continued 7-6 FX2N-32ASI-M AS-Interface Block Example Program Hardware Error M33 Y003 Hardware error occurs Y004 Watchdog timer error occurs Watchdog Timer Error M34 END 7-7 FX2N-32ASI-M AS-Interface Block Example Program 7-8 FX2N-32ASI-M AS-Interface Master Block Diagnostics 8.1 Diagnostics Preliminary Checks 1) Check “POWER” and “U ASI” LED a) If “POWER” LED is OFF, check the connection of the 32ASI-M extension cable to the programmable controller b) If “U ASI” LED is OFF, check the current rating of AS-Interface power supply, wiring and, total distance of system For detail of total distance, refer to section 8.1 6) 2) Check the 24 V DC power supply for slave If whether this power supply capacity is not enough or miss-wiring is, the slave is not normal operation 3) Check “ASI ACTIVE” and “CONFIG ERR” LED a) If “ASI ACTIVE” LED is OFF, check the wiring about the slave b) If “CONFIG ERR” LED is ON, check the wiring about the slave And see section 8.2 4) Check total slave number If total slave number is more than 31, please remove an unnecessary slave and adjust the number of total slaves to 31 or less 5) Check whether it is an intended slave configuration If it is not so, please remake slave configuration 6) Check total extension distance The total extension distance must not exceed 100 m However, when the repeater is used, it is possible to extend by 100m repeater Repeaters can be used up to two system 8-1 FX2N-32ASI-M AS-Interface Master Block 8.2 Diagnostics Error Checking If the 32ASI-M does not seen to operate normally, check the following items 8.2.1 LED Check Check the status of the LEDs for the 32ASI-M as follows 1) Check the status of the “U ASI” LED Table 8.1 :U ASI LED check Status Lit Description AS-Interface power supply is OK Otherwise Check the wiring and capacity about AS-Interface power supply 2) Check the status of the “POWER” LED Table 8.2 :POWER LED check Status Lit Description The extension cable is properly connected And V DC is properly supplied from PLC Otherwise Check the connection of the 32ASI-M extension cable to the PLC 8-2 FX2N-32ASI-M AS-Interface Master Block Diagnostics 3) Check the status of the “CONFIG ERR” LED Table 8.3 :CONFIG ERR LED check Status Description OFF Slave configuration status is OK Otherwise Existing slave was lost or response was lost from slave, so that the mismatch occurred in LPS and LDS Check the following points • Check the status of the slave If the slave break, please replace the slave • Check the wiring for the slave If the wire break, please exchange the cable • Check type of slave (permanent configuration of slave and actual configuration of slave) If type of slave is different type, please replace the slave, or please remake permanent configuration of slave • Please check this power supply if the AS-Interface power supply after the repeater fails 8-3 FX2N-32ASI-M AS-Interface Master Block Diagnostics 4) Check the status of other LEDs for the 32ASI-M as follows Table 8.4 :Other LEDs check LED Name Status ON OFF ASI ACTIVE 32ASI-M is in the normal operation 32ASI-M is not in the normal operation PRJ MODE 32ASI-M is in the configuration mode 32ASI-M is not in the configuration mode Automatic address assignment enable PRG ENABLE (requirements of automatic address assignment is fulfilled.) FROM / TO BFM is accessed by FROM / TO instruction requirements of automatic address assignment is not fulfilled BFM is not accessed by FROM / TO instruction 8-4 FX2N-32ASI-M AS-Interface Master Block 8.2.2 Diagnostics Check the display message for the 32ASI-M Table 8.5 :Displayed Message Number No to 31 Description Slave number 39 The last slave address which caused an configuration error is nothing 40 32ASI-M is in off-line phase 41 32ASI-M is in detection phase 42 32ASI-M is in activation phase 43 32ASI-M starts normal operation 70,72 to 76 Hardware error: Please contact a service representative 80 Recognized slave address 0, 32ASI-M can not finish the configuration mode 81 General error while changing a slave address 82 32ASI-M is set in the button operation prohibition from PLC 88 32ASI-M is starting 90 Error while changing a slave address in protected operating mode; No slave with address present 91 Error while changing slave address; Target address is already occupied 92 Error while changing slave address; New address could not be set 93 Error while changing slave address; New address could only be stored volatile memory in the slave 8-5 FX2N-32ASI-M AS-Interface Master Block Diagnostics Table 8.5 :Displayed Message Number No Description 94 Error while changing a slave address in protected operating mode; Slave has wrong configuration information 95 Error while changing a slave address in protected operating mode; The address where the configuration error occurs is a slave of taking the place of a missing slave 8-6 FX2N-32ASI-M AS-Interface Master Block 8.2.3 Diagnostics Check BFM #29 error status of the 32ASI-M Table 8.6 :Error Status BFM #29 Bit No Bit Bit Description 0(OFF) 1(ON) Check Points General Error This bit is ON if one or No general error more error bits (1 to 4) Check Bit to in BFM #29 are ON Config_OK No configuration Configuration error error occurs Check whether wiring is correct or LPS is the same as LDS For detail, refer to section 8.2 Bit APF APO (AS-Interface Power On) APF (AS-Interface Power Fail) Check the current rating of AS-Interface power supply, wiring and, total distance of system For detail of total distance, refer to section 8.1 6) Bit Hardware Error No hardware error detected Hardware error occurs Please contact a service representative Bit Watchdog Error No watchdog error Watchdog error occurs See section 5.4 Bit to 15 Reserved 8-7 FX2N-32ASI-M AS-Interface Master Block Diagnostics 8-8 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 USER’S MANUAL FX2N-32ASI-M AS-Interface Master Block HEAD OFFICE: MITSUBISHI DENKI BLDG MARUNOUCHI TOKYO 100-8310 TELEX: J24532 CABLE MELCO TOKYO HIMEJI WORKS: 840, CHIYODA CHO, HIMEJI, JAPAN JY995D76901A (MEE9902) Effective FEB 1999 Specification are subject to change without notice ... the programmable controller extension bus (can be either input or output) Applicable Programmable Controller FX2 N Series, FX0 N Series (Total system I/O points: 256 or less) Communication with Programmable. .. Description Main unit of FX0 N or FX2 N Series programmable controller Grounding resistance of 100 Ω or less (Class 3) 32ASI-M AS-Interface flat cable (yellow) AS-Interface power supply 2-2 FX2 N-32ASI-M AS-Interface... installation and operation of the communication facilities of FX series • Before attempting to install or use the communication facilities of FX series this manual should be read and understood • If