1. Trang chủ
  2. » Kỹ Thuật - Công Nghệ

FX Series Programmable Controllers jy992d71801b

56 382 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 56
Dung lượng 710,32 KB

Nội dung

FX Series Programmable Controllers

USER’S MANUAL CC-Link INTERFACE BLOCK FX2N-32CCL FX Series Programmable Controllers Foreword • • • This manual contains text, diagrams and explanations which will guide the reader in the correct installation and operation of the FX2N-32CCL CC-Link Interface Block It should be read and understood before attempting to install or use the unit Further information can be found in the FX PROGRAMMING MANUAL, FX 0N/FX2N/FX2NC series hardware manuals If in doubt at any stage during the installation of the FX2N-32CCL CC-Link Interface Block always consult a professional electrical engineer who is qualified and trained to the local and national standards If in doubt about the operation or use of the FX2N-32CCL CC-Link Interface Block please consult the nearest Mitsubishi Electric distributor This manual is subject to change without notice FX2N-32CCL CC-Link Interface Block FX2N-32CCL CC-Link INTERFACE BLOCK USER’S MANUAL Manual number : Manual revision : Date : JY992D71801 B JANUARY 1999 i FX2N-32CCL CC-Link Interface Block Guidelines for the safety of the user and protection of the FX2N-32CCL CC-Link Interface Block This manual provides information for the installation and use of the FX 2N-32CCL CC-Link Interface 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 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 the said product All maintenance should be carried out in accordance with established safety practices c ) All operators of the compliance product 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 all 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 ii FX2N-32CCL CC-Link Interface 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 the 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 ) Indicates that the identified danger WILL cause physical and property damage ) Indicates that the identified danger POSSIBLY cause physical and property damage ) Indicates a point of further interest or further explanation Software warnings ) Indicates special care must be taken when using this element of software ) Indicates a special point of which the user of the associate software element should be aware ) Indicates a point of interest or further explanation iii FX2N-32CCL CC-Link Interface Block Memo iv FX2N-32CCL CC-Link Interface Block Contents CONTENTS Introduction 1-1 1.1 Outline of product 1-1 1.2 Connection to CC-Link 1-3 1.3 System configuration of entire CC-Link 1-4 Product Specifications .2-1 2.1 Outside dimensions and nomenclature 2-2 2.2 General specifications and performance specifications 2-3 Connection and Wiring 3-1 3.1 Connection to PC 3-1 3.2 Wiring of power supply 3-2 3.3 Wiring of CC-Link 3-3 Setting of Remote Device Stations 4-1 4.1 Setting of station Nos., number of stations and transmission speed 4-1 4.2 List of number of remote points and remote Nos 4-3 Assignment of Buffer Memory (BFM) 5-1 5.1 Outline of data communication 5-1 5.2 BFM dedicated to read 5-2 5.3 BFM dedicated to write 5-8 5.4 System area of remote I/O 5-12 5.5 Contents of errors 5-14 Programming Examples 6-1 6.1 System configuration 6-1 6.2 Flow of communication data 6-3 v Contents FX2N-32CCL CC-Link Interface Block 6.3 Program in master PC 6-5 6.4 Program in FX PC 6-11 vi FX2N-32CCL CC-Link Interface Block Introduction Introduction The CC-Link interface block FX2N-32CCL is an interface block which connects the FX0N/FX2N/FX2NC PC to the CC-Link 1.1 Outline of product Applicable PC The FX2N-32CCL can be connected as a special extension block of the FX0N/FX2N/FX2NC Series micro PC Control instruction The buffer memory of the FX2N-32CCL is read and written by FROM/TO instructions Connection to CC-Link The FX2N-32CCL is connected as a remote device station to the CC-Link system Shielded twisted pair cables are used for wiring Number of I/O points Eight I/O points (including input and output) are occupied in the FX PC However, the capacity of the V DC power supplied from the PC is limited The current consumption of V DC in the FX2N-32CCL is 130 mA Make sure that the total current consumption of V DC including other special blocks does not exceed the criteria Station No and number of stations Station No : to 64 (rotary switch) Number of stations: to (rotary switch) 1-1 FX2N-32CCL CC-Link Interface Block Introduction Transmission speed Transmission distance 10 Mbps : 100 m Mbps : 150 m 2.5 Mbps : 200 m 625 kbps : 600 m 156 kbps : 1,200 m Detailed specifications conform to the CC-Link system common specifications Number of remote points The number of remote I/O points in one station is 32 input points and 32 output points However, the upper 16 points of the final station are occupied by the CC-Link system as the system area The number of remote registers in one station is points of RW write area and points of RW read area Because the number of stations can be selected within the range of to 4, the system can be constructed in accordance with the control size 1-2 FX2N-32CCL CC-Link Interface Block Programming Examples Preparation ) Set the station No set switch, the mode set switch, the transmission set switch and the condition set switch provided on the master unit ( User’s manual of master unit) ) Set the station No set switch, the number of occupied stations set switch and the transmission speed set switch provided on the FX2N-32CCL ( 4.1) Item Setting of FX2N-32CCL (station No 1) Setting of FX2N-32CCL (station No 5) Station No (rotary switch) (rotary switch) Number of occupied stations (rotary switch) (rotary switch) Transmission speed In accordance with setting in master unit (rotary switch) Assignment of Number of remote points and No when four number of stations are occupied remote points •Remote input: and No RX00 to RX6F (112 points) for user area RX70 to RX7F (16 points) for system area Number of points and No •Remote output: RY00 to RY6F (112 points) for user area are deterRY70 to RY7F (16 points) for system area mined by selected num- •Remote register: RWr0 to RWrF (16 points) for write ber of occuRWw0 to RWwF(16 points) for read pied stations Number of remote points and No when two stations are occupied •Remote input: RX00 to RX2F (48 points) for user area RX30 to RX3F (16 points) for system area •Remote output: RY00 to RY2F (48 points) for user area RY30 to RY3F (16 points) for system area •Remote register: RWr0 to RWr7 (8 points) for write RWw0 to RWw7 (8 points) for read 6-2 FX2N-32CCL CC-Link Interface Block 6.2 Programming Examples Flow of communication data Remote input (RX), remote output (RY) In a sample program, communication is performed between remote inputs and remote outputs as shown in the figure below Master station (station No 0) Master PC Remote input (RX) E0H E7H E8H ~ FROM BFM#0(RX0F~RX00) RX7F~RX70 RX8F~RX80 TO M227~M100 BFM#7(RX7F~RX70) Remote output (RY) ~ M963~M900 FROM Remote input (RX) ~ M627~M500 RX0F~RX00 Remote device station (station No 1) FX2N-32CCL A FX PC BFM#0(RY0F~RY00) FROM ~ EBH RXBF~RXB0 M427~M300 BFM#7(RY7F~RY70) Remote output (RY) 160H Remote input (RX) BFM#0(RX0F~RX00) ~ TO 167H RY7F~RY70 168H RY8F~RY80 ~ M1063~M1000 TO Remote device station (station No 5) FX2N-32CCL B FX PC ~ M827~M700 RY0F~RY00 TO M163~M100 BFM#3(RX3F~RX30) 16BH RYBF~RYB0 BFM#0(RY0F~RY00) FROM ~ CC-link scan Remote output (RY) M363~M300 BFM#3(RY3F~RY30) 6-3 FX2N-32CCL CC-Link Interface Block Programming Examples Remote register (RWr, RWw) In a sample program, communication is performed in remote registers as shown in the figure below Master station (station No 0) Master PC 2E0H 2EFH 2F0H ~ FROM BFM#8(RWr0) D25~D10 Remote register (RWw) RWr10 BFM#8(RWw0) RWr17 ~ 2F7H TO BFM#23(RWrF) RWrF ~ D707~D700 FROM Remote register (RWr) RWr0 ~ D515~D500 Remote device station (station No 1) FX2N-32CCL A FX PC FROM D65~D50 BFM#23(RWwF) 1E0H Remote register (RWr) RWwF BFM#8(RWr0) 1F7H RWw10 ~ TO 1EFH 1F0H ~ D807~D800 TO ~ D615~D600 Remote device station (station No 5) FX2N-32CCL B FX PC RWw0 TO D17~D10 BFM#15(RWr7) RWw17 Remote output (RWw) BFM#8(RWw0) ~ CC-link scan FROM D57~D50 BFM#15(RWw7) 6-4 FX2N-32CCL CC-Link Interface Block 6.3 Programming Examples Program in master PC When the PC CPU starts to run, data linking is automatically started by the program shown below During debugging X0000 Parameter setting X000F PLS M300 SET M301 MOV K2 D0 Number of connected units MOV K7 D1 MOV K1 D2 H0001 D0 K3 Number of retries Number of automatic double row units Write from D2 to D0 to H0001 MOV K0 D3 Specification of operation at CPU down (stop) H0006 D3 K1 Write from D3 to H0006 MOV H1401 D4 MOV H1205 D5 Station information A side (remote device, stations occupied, station No 1) Station information B side (remote device, stations occupied, station No 5) H0020 D4 K2 RST M301 Unit error Unit ready M300 M301 TO M301 TO TO H0000 H0000 H0000 Write from D5 and D4 to H0020 6-5 FX2N-32CCL CC-Link Interface Block Programming Examples M 9038 SET Y00 Initial pu lse X 0000 X 000F P LS M 303 SET Y06 RST D ata link by param eter of buffer m em ory M 302 SET Instruction of refresh Y06 M 302 M 303 D ata link startup request by param eter of buffer m em ory X 0006 S tartup no rm al com ple tion RST M 303 D 100 K1 RST Y06 RST W hen data link start up is norm ally com pleted by param eter of buffer m em ory M 303 X 0007 S tartup ab norm al com ple tion FROM H 0000 H 0668 W hen data link start up is abnorm ally com pleted by param eter of buffer m em ory 6-6 FX2N-32CCL CC-Link Interface Block R e gis tra tio n co m m a n d X 0000 Programming Examples P a m e te r reg istration to EEPROM X 000F P LS M 304 SET M 305 SET Y0A RST Y0A M 304 M 305 P aram eter registration request to E E P R O M X 000A R e gis tra tio n n orm al co m ple tio n RST M 305 D 101 K1 RST Y0A RST W hen param eter registration to E E P R O M is norm ally com pleted M 305 X 000B R e gis tra tio n a bn orm al co m ple tio n FROM H 0000 H 06B W hen param eter registration to E E P R O M is abnorm ally com pleted 6-7 FX2N-32CCL CC-Link Interface Block Programming Examples During operation M 9038 SET Y00 In itia l p ulse X 0000 X 000F P LS M 300 P LS Y08 RST Y08 RST M 301 D 100 K1 RST Y08 RST D ata link by param eter of EEPRO M M 301 SET Instruction of refresh M 301 U n it e rro r U n it rea d y M 300 M 301 D ata link startup request by param eter of EEPRO M X 0008 S ta rtup n orm a l co m ple tio n W hen data link startup is norm ally com pleted by param eter of E E P R O M X 0009 S ta rtup a bn orm al co m ple tio n FROM H 0000 H 0668 W hen data link startup is abnorm ally com pleted by param eter of E E P R O M 6-8 FX2N-32CCL CC-Link Interface Block Programming Examples Program for communication with remote device station X0000 X000F X0001 FROM Unit error Unit ready Data link status H0000 H0680 K1 CALL P10 FX2N-32CCL (station No 1) Data link being executed Y10 FX2N-32CCL (station No 1) Data link error P20 FX2N-32CCL (station No 5) Data link being executed Y11 FX2N-32CCL (station No 5) Data link error M401 Link normal (station No 1) M401 Link error (station No 1) M405 Link normal (station No 5) M405 Data link status (SW0080) of remote device station is read K1M401 CALL Link error (station No 5) FEND Communication with FX2N-32CCL (station No 1) M9036 P10 Always ON FROM H0000 H00E0 K4M500 K8 Read of remote input E7H to E0H (RX7F to RX00) → M627 to M500 TO H0000 H0160 K4M700 K8 Write of remote output M827 to M700→167H to 160H (RY7F to RY00) FROM H0000 H02E0 D500 K16 Read of remote register (RWr) 2EFH to 2E0H (RWrF to RWr0) → D515 to D500 TO H0000 H01E0 D600 K16 Write of remote register (RWw) D615 to D600 → 1EFH to 1E0H (RWwF to RWw0) 6-9 FX2N-32CCL CC-Link Interface Block Programming Examples Communication with FX2N32CCL (station No 5) M9036 P20 Always ON FROM H0000 H00E8 K4M900 K4 Read of remote input EBH to E8H (RXBF to RX80) → M963 to M900 TO H0000 H0168 K4M1000 K4 Write of remote output M1063 to M1000 →16BH to 168H (RYBF to RY80) FROM H0000 H02F0 D700 K8 Read of remote register (RWr) 2F7H to 2F0H (RWr17 to RWr10) → D707 to D700 TO H0000 H01F0 D800 K8 Write of remote register (RWw) D807 to D800 → 1F7H to 1F0H (RWw17 to RWw10) RET 6-10 FX2N-32CCL CC-Link Interface Block 6.4 Programming Examples Program in FX PC When the PC starts to run, data linking is automatically started by the program shown below Communication program in station No M 8000 F N C 78 FROM K0 K 25 K 4M B lo ck N o B F M N o T ns fer d estina tio n K1 R ead of com m unication status R ead of com m unication status B F M #25 → M 15 to M N u m be r of tran sfe r p oin ts M C R C error M T im eout error M Link being executed Indication of com m unication status (upon necessity) M M aster P C running M M aster P C error 6-11 FX2N-32CCL CC-Link Interface Block M7 Link being executed Programming Examples FNC78 FROM K0 K0 K4M300 K8 Read of remote output and register Read of remote output BFM #7 to #0 (RY7F to RY00) → M427 to M300 FNC78 FROM K0 K8 D50 K16 Read of remote register BFM #23 to #8 (RWwF to RWw0) → D65 to D50 M300 (RY00) M412 (RY6F) Utilization of read result FNC12 MOV K50 D FNC12 MOV D65 D Write of remote input and register (RX00) (RX6F) M100 M212 FNC12 MOV D10 FNC12 MOV M7 K30 D100 Program determining the ON/OFF status of remote input and the remote register value to be written D25 FNC79 TO K0 K0 K4M100 K8 Write of remote input M227 to M100 → BFM #7 to #0 (RX7F to RX00) FNC79 TO K0 K8 D10 K16 Write of remote register D25 to D10 → BFM #23 to #8 (RWrF to RWr0) 6-12 FX2N-32CCL CC-Link Interface Block Programming Examples Example of communication program in station No The contents equivalent to those in the station No described above are to be programmed as a communication status read program M7 Link being executed FNC78 FROM K0 K0 K4M300 K4 Read of remote output and register Read of remote output BFM #3 to #0 (RY3F to RY00) → M363 to M300 FNC78 FROM K0 K8 D50 K8 Read of remote register BFM #15 to #8 (RWw7 to RWw0) → D57 to D50 M300 (RY00) M363 (RY3F) Utilization of read result FNC12 MOV K50 D FNC12 MOV D57 D (RX00) (RX3F) Write of remote input and register M100 M163 FNC12 MOV D10 FNC12 MOV M7 K30 D100 Program determining the ON/OFF status of remote input and the remote register value to be written D17 FNC79 TO K0 K0 K4M100 K4 Write of remote input M163 to M100 → BFM #3 to #0 (RX3F to RX00) FNC79 TO K0 K8 D10 K8 Write of remote register D17 to D10 → BFM #15 to #8 (RWr7 to RWr0) 6-13 FX2N-32CCL CC-Link Interface Block Programming Examples Memo 6-14 FX Series Programmable Controllers 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 CC-Link INTERFACE BLOCK FX2N-32CCL HEAD OFFICE: MITSUBISHI DENKI BLDG MARUNOUCHI TOKYO 100-8310 TELEX: J24532 CABLE MELCO TOKYO HIMEJI WORKS: 840, CHIYODA CHO, HIMEJI, JAPAN JY992D71801B (MEE 9901) Effective JAN.1999 Specifications are subject to change without notice ... resistor Remote device station FX0 N /FX2 N /FX2 NC Series PC + FX2 N-32CCL Remote device station FX0 N /FX2 N /FX2 NC Series PC + FX2 N-32CCL Remote I/O station Remote device station 1-3 FX2 N-32CCL CC-Link Interface... units Local station FX PC FX0 N /FX2 N /FX2 NC Series + FX2 N-32CCL Up to 64 units Remote I/O station Remote I/O unit AJ65BTB AJ65BTC Shielded twisted pair cable 64 units in all 1-4 FX2 N-32CCL CC-Link... and output) of FX PC Applicable PC Communication with PC FX0 N, FX2 N, FX2 NC Series PC Communication is performed from the FX PC via the buffer memory using FROM/TO instructions 2-5 FX2 N-32CCL CC-Link

Ngày đăng: 23/04/2014, 08:14

TỪ KHÓA LIÊN QUAN