background image

Copyright © 2009. All rights reserved. Specifications are subject to change without notice. Printed in Europe. 

ACGM0333V9EN     11/2010

Asia Pacific

Japan

North America Europe

Global Network

Europe

 

f

Headquarters

Panasonic Electric Works Europe AG

Rudolf-Diesel-Ring 2, 83607 Holzkirchen, Tel. +49(0)8024648-0, Fax +49(0)8024648-111,  

www.panasonic-electric-works.com

 

f

Austria

Panasonic Electric Works Austria GmbH

Rep. of PEWDE, Josef Madersperger Str. 2, 2362 Biedermannsdorf, Tel. +43(0)223626846, Fax +43(0)223646133, 

www.panasonic-electric-works.at

PEW Electronic Materials Europe GmbH

Ennshafenstraße 9, 4470 Enns, Tel. +43(0)7223883, Fax +43(0)722388333, www.panasonic-electronic-materials.com

 

f

Benelux

Panasonic Electric Works 

Sales Western Europe B.V.

De Rijn 4, (Postbus 211), 5684 PJ Best, (5680 AE Best), Netherlands, Tel. +31(0)499372727, Fax +31(0)499372185, 

www.panasonic-electric-works.nl

 

f

Czech Republic Panasonic Electric Works Czech s.r.o.

Prumtyslová 1, 34815 Planá, Tel. (+420-)374799990, Fax (+420-)374799999, www.panasonic-electric-works.cz

 

f

France

Panasonic Electric Works 

Sales Western Europe B.V.

French Branch Office, B.P. 44, 91371 Verrières le Buisson CEDEX, Tél. +33(0)16013 5757, Fax +33(0)1 6013 5758, 

www.panasonic-electric-works.fr

 

f

Germany

Panasonic Electric Works Deutschland GmbH

Rudolf-Diesel-Ring 2, 83607 Holzkirchen, Tel. +49(0)8024648-0, Fax +49(0)8024648-555,  

www.panasonic-electric-works.de

 

f

Hungary

Panasonic Electric Works Europe AG

Magyarországi Közvetlen Kereskedelmi Képviselet, 1117 Budapest, Neumann János u. 1., Tel. +36(0)14829258, 

Fax +36(0)14829259, www.panasonic-electric-works.hu

 

f

Ireland

Panasonic Electric Works UK Ltd.

Dublin, Tel. +353(0)14600969, Fax +353(0)14601131, www.panasonic-electric-works.co.uk

 

f

Italy

Panasonic Electric Works Italia s.r.l.

Via del Commercio 3-5 (Z.I. Ferlina), 37012 Bussolengo (VR), Tel. +390456752711, Fax +390456700444, 

www.panasonic-electric-works.it

PEW Building Materials Europe s.r.l.

Piazza della Repubblica 24, 20154 Milano (MI), Tel. +39022900-5391, Fax +39022900-3466, 

www.panasonic-building-materials.com

 

f

Nordic Countries Panasonic Electric Works Nordic AB

Sjöängsvägen 10, 19272 Sollentuna, Sweden, Tel. +4659476680, Fax +46859476690, www.panasonic-electric-works.se

PEW Fire & Security Technology Europe AB

Jungmansgatan 12, SE-211 19 Malmö, Tel. +46406977000, Fax +46406977099, www.panasonic-fire-security.com

 

f

Poland

Panasonic Electric Works Polska sp. z o.o.

Przedstawicielstwo w Polsce, Al. Krakowska 4/6, 02-284 Warszawa, Tel. +48 22 338-11-33, Fax +48 22 338-12-00, 

www.panasonic-electric-works.pl

 

f

Portugal

Panasonic Electric Works España S.A.

Portuguese Branch Office, Avda Adelino Amaro da Costa 728 R/C J, 2750-277 Cascais, Tel. +351 214812520, 

Fax +351 214812529

 

f

Spain

Panasonic Electric Works España S.A.

Barajas Park, San Severo 20, 28042 Madrid, Tel. +34 91 3293875, Fax +34 91 3292976,  

www.panasonic-electric-works.es

 

f

Switzerland

Panasonic Electric Works Schweiz AG

Grundstrasse 8, 6343 Rotkreuz, Tel. +41(0)417997050, Fax +41(0)417997055, www.panasonic-electric-works.ch

 

f

United Kingdom Panasonic Electric Works UK Ltd.

Sunrise Parkway, Linford Wood, Milton Keynes, MK14 6 LF, Tel. +44(0) 1908 231555, +44(0) 1908 231599, 

www.panasonic-electric-works.co.uk

North & South America

 

f

USA

PEW Corporation of America

629 Central Avenue, New Providence, N.J. 07974, Tel. +1-908-464-3550, Fax +1-908-464-8513, 

www.pewa.panasonic.com

Asia Pacific / China / Japan

 

f

China

Panasonic Electric Works (China) Co., Ltd.

2013, Beijing Fortune, Building No. 5, Dong San Huan Bei Lu, Chaoyang District, Beijing 

Tel. +86-10-6590-8646, Fax :+ 86-10-6590-8647, www.pewc.panasonic.cn

 

f

Hong Kong

Panasonic Electric Works 

(Hong Kong) Co., Ltd.

RM1205-9, 12/F, Tower 2, The Gateway, 25 Canton Road, Tsimshatsui, Kowloon, Hong Kong, Tel. +852 2956-3118,  

Fax +852 2956-0398

 

f

Japan

Panasonic Electric Works Co., Ltd.

1048 Kadoma, Kadoma-shi, Osaka 571-8686, Japan, Tel. +81-6-6908-1050, Fax +81-6-6908-5781

http://panasonic-electric-works.net

 

f

Singapore

Panasonic Electric Works Asia Pacific Pte. Ltd.

101 Thomson Road, #25-03/05, United Square, Singapore 307591, Tel. +65-6255-5473, Fax +65-6253-5689

China

Panasonic Electric Works Global Sales Companies

FP

 User

’s Manual

Panasonic Electric W

orks Europe 

AG

ACGM0333V9EN     1

1/2010

PROGRAMMABLE CONTROLLERS

FP

S

User’s Manual

Содержание FPS Series

Страница 1: ...asonic building materials com f f Nordic Countries Panasonic Electric Works Nordic AB Sj ngsv gen 10 19272 Sollentuna Sweden Tel 4659476680 Fax 46859476690 www panasonic electric works se PEW Fire Sec...

Страница 2: ...or its documentation even if advised of the possibility of such damages We invite your comments on this manual Please e mail us at tech doc eu pewg panasonic com Please direct support matters and tec...

Страница 3: ...l injury CAUTION Indicates that you should proceed with caution Failure to do so may result in injury or significant damage to instruments or their contents e g data NOTE Contains important additional...

Страница 4: ...mory area tables system registers unit dimensions REFERENCE Please refer to the FP Series Programming Manual or to the online help of FPWIN Pro or FPWIN GR for information on system instructions speci...

Страница 5: ...us examples Some of the sample programs can be opened directly in FPWIN Pro The FPWIN Pro projects in LD and ST code can be downloaded from the Panasonic Web site http www panasonic electric works com...

Страница 6: ...rs and Compile Options dialog is displayed 6 Click Adapt automatically When the new PLC type is displayed in FPWIN Pro you need to change the value in system register 7 from 90 to 248 Make the same ch...

Страница 7: ......

Страница 8: ...unication Cassettes 9 2 2 4 Units for FP0 and FP 10 2 2 5 Accessories 10 2 3 Restrictions on Unit Combinations 11 2 3 1 FP0 Expansion Units 11 2 3 2 FP Expansion Units 12 2 4 Programming Tools 13 2 5...

Страница 9: ...or Fixed Schedule and Automatic Start 37 3 6 4 Sample Program for 30 Second Compensation 37 4 Expansion 41 4 1 Expansion Methods 42 4 2 FP I O Expansion Units 43 4 2 1 Parts and Functions 43 4 2 2 Inp...

Страница 10: ...1 5 Connecting FP0 Expansion Units 74 6 1 6 Installing Communication Cassettes 75 6 2 Safety Instructions for Wiring 76 6 3 Wiring the Power Supply 78 6 3 1 Grounding 80 6 4 Input and Output Wiring 82...

Страница 11: ...ounter Control Code 111 7 3 3 2 Writing and Reading the Elapsed Value for the High Speed Counter 113 7 3 3 3 F166_HighSpeedCounter_Set Target Value Match ON 114 7 3 3 4 F167_HighSpeedCounter_Reset Tar...

Страница 12: ...ith 2 Axes 145 7 4 3 5 Example 5 JOG Operation 148 7 4 3 6 Example 6 Linear and Circular Interpolation Control 148 7 4 3 7 Example 7 Circular Interpolation Continue Mode 149 7 5 PWM Output Function 15...

Страница 13: ...with Computer 178 8 5 5 2 1 1 Communication with Programmable Displays of GT Series 180 8 5 6 1 N Slave Communication 182 8 5 6 1 Wiring 184 8 5 7 Sample Program for Master Communication 185 8 6 Progr...

Страница 14: ...C Link Response Time 239 8 7 7 1 Reducing Transmission Cycle Times 242 8 7 7 2 Error Detection Time for Transmission Assurance Relays 243 8 8 Modbus RTU Communication 244 8 8 1 Setting Communication P...

Страница 15: ...69 11 9 No RS485 Communication 270 11 10No RS232C Communication 271 12 Appendix 273 12 1 General Specifications 274 12 1 1 Weight 275 12 1 2 Current Consumption 275 12 2 Performance Specifications 277...

Страница 16: ...System Registers 292 12 6 3 Checking and Changing System Registers 293 12 6 4 Table of System Registers 293 12 7 Error Codes 299 12 7 1 Error Codes E1 to E8 299 12 7 2 Self Diagnostic Error Codes 300...

Страница 17: ......

Страница 18: ...Chapter 1 Safety Measures...

Страница 19: ...urges Maintain at least 100mm of space between these devices and the unit Static electricity Before touching the unit or equipment always touch some grounded metal to discharge any static electricity...

Страница 20: ...program Be sure to clear any existing program before entering a new program 1 2 3 Procedure 1 Online Online Mode 2 Online Clear Program and Reset System Register 3 Choose OK in the confirmation dialog...

Страница 21: ......

Страница 22: ...Chapter 2 Overview...

Страница 23: ...ts MEWNET W0 MEWTOCOL COM Master Slave MODBUS RTU Master Slave Program controlled communication via TOOL or COM port RS232C Using the TOOL port RS232C provided as a standard feature on the CPU communi...

Страница 24: ...stor s resistance can be loaded as analog input Thermistors with a resistance value of 200 to 75k can be used Clock calendar function see page 35 If an optional backup battery is installed in the FP a...

Страница 25: ...trol using PWM output function see page 151 A special instruction makes it possible to output pulses with a specified duty ratio A B 1 Increasing the pulse width increases heating 2 Decreasing the pul...

Страница 26: ...g unit Line driver 2 axes FPG PP22 ARCT1F365 2 axes FPG PN2AN 4 axes FPG PN4AN FP positioning unit RTEX 8 axes FPG PN8AN ARCT1F421 FP memory expansion unit 256 Kwords FPG EM1 This manual FP S Link mas...

Страница 27: ...04 Cable length 1m AFP0521D AFP0521BLUED AFP0521COLD I O cable 10 pin MIL wire press socket on one side 2 pieces blue white or multi colored Cable length 3m AFP0523D AFP0523BLUED FP0R FP power supply...

Страница 28: ...ansistor output types is also possible A B A FP CPU B Maximum expansion 3 units 1 Expansion unit intelligent unit 1 2 Expansion unit intelligent unit 2 3 Expansion unit intelligent unit 3 Maximum numb...

Страница 29: ...32 transistor outputs A B A FP CPU B Maximum expansion 4 units 1 Expansion unit 1 2 Expansion unit 2 3 Expansion unit 3 4 Expansion unit 4 Maximum number of I O points CPU type CPU Using FP expansion...

Страница 30: ...required if used in conjunction with the FP positioning unit Version 5 2 or later is required if used in conjunction with the FP 32k type FPWIN GR Version 2 0 or later FP Memory Loader AFP8670 AFP867...

Страница 31: ...l see note F175_PulseOutput_Linear Circular interpolation control see note F176_PulseOutput_Center F176_PulseOutput_Pass PWM output F170_PulseOutput_PWM F173_PulseOutput_PWM NOTE Linear and circular i...

Страница 32: ...Chapter 3 CPU Types...

Страница 33: ...ON CONNECTOR 11 13 12 14 14 15 16 FPG C32 FPG C28 FPG C24 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 18 FP FPG CxxxxTM A B C A Front view B Left side view C Right side view 1 Operation status LEDs Disp...

Страница 34: ...d the actual operation mode may differ Verify the mode with the operation status LED Otherwise restart the FP and set the operation mode using the operation mode selector 3 Communication status LEDs D...

Страница 35: ...an be set within a range of 0 1000 Using the potentiometers you can change the internal set values in the PLC e g of an analog clock without needing the programming tool See also Analog Potentiometer...

Страница 36: ...ation on the FP0 flat type mounting plate part no AFP0804 15 Connector for FP0 expansion units Connects an FP0 expansion unit to the internal circuit The connector is located under the seal 16 DIN rai...

Страница 37: ...pply can be connected to the common terminal Min ON voltage min ON current For X0 X1 X3 X4 For X2 X5 XF 19 2V DC 6mA 19 2V DC 3mA Max OFF voltage max OFF current 2 4V DC 1 3mA For X0 X1 X3 X4 3k For X...

Страница 38: ...hin the following range as determined by the ambient temperature 16 8 C32 12 46 52 55 y x 16 8 55 42 47 C28 y x 16 7 9 46 48 55 C24 y x x Ambient temperature C y Number of points per common which are...

Страница 39: ...ent 100 A ON state voltage drop 0 5V FALSE TRUE For Y0 Y1 Y3 Y4 at max 15mA 2 s For Y2 Y5 and higher 0 2ms Response time TRUE FALSE For Y0 Y1 Y3 Y4 at max 15mA 8 s For Y2 Y5 and higher 0 5ms Voltage 2...

Страница 40: ...tions 23 Internal circuit diagram C32 NPN Y0 Y1 Y3 Y4 Y2 Y5 YF 24V DC 24V DC 5 24V DC 5 24V DC 1 Internal circuit 5 Load 2 Output circuit 6 External power supply 3 Output indicator LED 7 Load power su...

Страница 41: ...rcuit 4 Output Relay types These output specifications apply to the C24 CPU type Item Description Output type 1a Nominal switching capacity resistive load 2A 250V AC 2A 30V DC max 4 5A common Output p...

Страница 42: ...Keep the number of output points per common which are simultaneously TRUE within the following range as determined by the ambient temperature C24 8 4 46 48 55 x y x Ambient temperature C y Number of...

Страница 43: ...E X8 XA X0 X1 X8 F X8 X9 1 Connector front view The COM terminals of the input circuits are connected internally Output connector Y5 Y7 Y1 Y3 Y4 Y6 Y0 Y2 L L L L L L L L YD YF Y9 YB YC YE Y8 YA L L L...

Страница 44: ...XC XE X8 XA X0 X1 X9 X8 1 Connector front view The COM terminals of the input circuits are connected internally Output connector Y0 _ 5 Y6 B Y5 Y1 Y3 Y4 Y0 Y2 YB Y7 Y9 YA Y6 Y8 Y0 Y1 Y7 Y6 L L L L L L...

Страница 45: ...r X0 X8 COM X5 X7 X1 X3 COM XD XF X9 XB XC XE X8 XA X4 X6 X0 X2 1 Connector front view The COM terminals of the input circuits are not connected internally Output connector Y0 Y5 Y7 Y1 Y3 Y4 Y6 Y0 Y2...

Страница 46: ...0 to 1000 V1 potentiometer 1 Changes the value of DT90041 within a range of 0 to 1000 System variables and special data registers Potentiometer System variable Special data register Range V0 sys_iPoti...

Страница 47: ...CPU Types FP User s Manual 30 LD Body...

Страница 48: ...special data registers DT90040 and DT90041 and can be read by the user program Block diagram V REF V IN GND FP 3 3V 3 3V 2 2kW 1 Lead wire red 2 Lead wire black 3 Thermistor The space between the the...

Страница 49: ...ng to the thermistor resistance by reading in the FP s special data register To access special data registers and special internal relays use the PLC independent system variables Applicable special da...

Страница 50: ...1 Conversion program using the scaling instruction F282_SCAL Appropriate data interpolated from non linear data can be obtained by creating a data table with digital values and temperature data and th...

Страница 51: ...CPU Types FP User s Manual 34 POU Header and LD Body...

Страница 52: ...16 23 Minute data 16 00 16 59 X DT90054 sys_w_RTC_MinSec Minute data 16 00 16 59 Second data 16 00 16 59 X X DT90055 sys_w_RTC_DayHour Day data 16 01 16 31 Hour data 16 00 16 23 X X DT90056 sys_w_RTC_...

Страница 53: ...ccess special data registers and special internal relays use the PLC independent system variables You can insert system variables directly into the POU body Use the Variables dialog without entering a...

Страница 54: ...m every day Here the hour minute data stored in special data register DT90053 is used to output the signal at the appointed time The value of DT90053 is written using a system variable GVL POU Header...

Страница 55: ...CPU Types FP User s Manual 38 LD Body...

Страница 56: ...ent MinSec AND 16 00FF 30 then To round up 1 minute 16 100 is added to the current time F157_ADD_DTBCD_TIMEBCD s1_DTBCD dtbcdCurrent s2_TIMEBCD 16 100 d_DTBCD dtbcdCurrent end_if Set the seconds to ze...

Страница 57: ......

Страница 58: ...Chapter 4 Expansion...

Страница 59: ...alling communication cassettes see page 75 Expansion units Dedicated expansion units for the FP are connected on the left side of the CPU Expansion units from the FP0 series are connected on the right...

Страница 60: ...LED selector Switches between the LED display of the 32 input points and the 32 output points 2 Input connector 40 pins 3 Output connector 40 pins 4 Input status LEDs Output status LEDs 5 Expansion co...

Страница 61: ...0 2ms Response time TRUE FALSE 0 3ms Operation mode indicator LEDs Transistor output specifications Description Item NPN PNP Insulation method Optical coupler Output type Open collector Rated load vol...

Страница 62: ...ambient temperature Input Output 32 52 55 29 y x 32 29 52 55 y x x Ambient temperature C y Number of points per common which are simultaneously TRUE 1 At 24V DC and at 26 4V DC Internal circuit diagra...

Страница 63: ...Expansion FP User s Manual 46 Output PNP Yn 24V DC 1 Internal circuit 4 Load 2 Output circuit 5 External power supply 3 Output indicator LED 6 Short circuit prevention circuit...

Страница 64: ...20 20 L L L L L L L L L L L L L L L L L L L L L L L L L L L L L L L L 100 10D 10C 101 102 103 104 105 106 107 108 109 10A 10B 10F 10E 110 111 112 113 114 115 116 117 118 119 11A 11B 11C 11D 11E 11F 1...

Страница 65: ...age of the battery for memory backup is reduced or the memory backup switch is turned off 3 Memory backup switch Switch 1 and 2 must be turned ON to use the backup battery factory setting is OFF Witho...

Страница 66: ...1 s based on in house measurements Operation conditions Free from corrosive gases and excessive dust Weight 80g Performance specifications Item Description Memory 256 Kwords 1 Kword x 256 banks Batter...

Страница 67: ...sion Unit The following instructions are used to access the memory expansion unit from the CPU 1 F150_READ reads data from memory expansion unit into CPU 2 F151_WRT writes data from CPU into memory ex...

Страница 68: ...INT WORD Starting address in specified bank source address Range 0 1023 16 0 16 3FF n_Number INT Number of words to be read Range 1 1024 16 1 16 400 d_Start INT WORD Starting address in CPU target ad...

Страница 69: ...ng address in CPU source address n_Number INT Number of words to be written Range 1 1024 16 1 16 400 d_Start INT WORD Starting address in specified bank target address Range 0 1023 16 0 16 3FF EXAMPLE...

Страница 70: ...installed as expansion unit 1 in slot 0 LED Status Description Off Battery voltage is normal X100 On Battery voltage for memory backup is low or the memory backup switch is set to OFF Off Battery vol...

Страница 71: ...FP User s Manual 54 4 4 Other FP Expansion Units REFERENCE A list of FP expansion units can be found in this manual see FP Expansion Units on page 9 For more information please refer to the dedicated...

Страница 72: ...of communication cassettes each having a particular field of application see page 163 Types FPG COM1 1 channel RS232C type see page 159 FPG COM2 2 channel RS232C type see page 160 FPG COM3 1 channel...

Страница 73: ......

Страница 74: ...Chapter 5 I O Allocation...

Страница 75: ...nits Type of unit Unit number Slot number 1 I O addresses 2 3 4 FP CPU 1 X0 XF Y0 YF 2 1 X20 X3F Y20 Y3F 3 2 X40 X5F Y40 Y5F FP0 I O expansion unit 4 3 X60 X7F Y60 Y7F 5 1 0 X100 X17F Y100 Y17F 6 2 1...

Страница 76: ...5 1 General 59 3 On the FP and the FP0 the same numbers are used for inputs and outputs e g X20 Y20 4 The usable I O numbers depend on the unit type See FP Expansion Units on page 61 and FP0 Expansion...

Страница 77: ...60 5 2 FP CPU The I O allocation of the FP CPU is fixed CPU type Number of I O points I O addresses Input 16 X0 XF FPG C32x NPN Output 16 Y0 YF Input 16 X0 XF FPG C28x PNP Output 12 Y0 YB Input 16 X0...

Страница 78: ...9F Y260 Y27F Y340 Y35F Input 16 X100 X10F X180 X18F X260 X26F X340 X34F FP positioning unit 1 axis type FPG PP11 FPG PP12 Output 16 1st Y100 Y10F Y180 Y18F Y260 Y26F Y340 Y34F 1st X100 X10F X180 X18F...

Страница 79: ...Y67 FP0 E16YT E16YP Output 16 Y20 Y2F Y40 Y4F Y60 Y6F Input 16 X20 X2F X40 X4F X60 X6F FP0 E32T E32P Output 16 Y20 Y2F Y40 Y4F Y60 Y6F Input 16 0 WX2 X20 X2F WX4 X40 X4F WX6 X60 X6F Input 16 1 WX3 X30...

Страница 80: ...TE The data for each channel of the A D and D A conversion units FP0 A80 FP0 TC4 TC8 FP0 A04V I and FP0 RTD6 is converted and loaded with a user program that includes a switching flag to convert the d...

Страница 81: ......

Страница 82: ...Chapter 6 Installation and Wiring...

Страница 83: ...nner alcohol or other organic solvents or strong alkaline solutions such as ammonia or caustic soda Direct vibration shock or direct drop of water Influence from power transmission lines high voltage...

Страница 84: ...ale resistors Installation space Leave at least 50mm of space between the wiring ducts of the unit and other devices to allow heat radiation and unit replacement 50mm 50mm Maintain a minimum of 100mm...

Страница 85: ...ANSION CONNECTOR 1 1 Fit upper hook of unit onto DIN rail 2 Without moving upper hook press on lower hook to fit unit into position Removal is very simple too 1 2 3 Procedure EXPANSION CONNECTOR 1 2 3...

Страница 86: ...ons of the mounting plates 6 1 3 1 Slim Type and FP Mounting Plates Slim type mounting plate Use the slim type mounting plate AFP0803 for mounting 25mm type FP0 units 6mm 10mm 25mm 30mm 30mm 90mm 4mm...

Страница 87: ...NNECTOR Combining mounting plates When combining several mounting plates tighten the screws after joining all of the mounting plates to be connected Tighten all corner screws The following diagram sho...

Страница 88: ...be used with a stand alone CPU It should not be used if an expansion unit is attached to the CPU 45mm 60 0mm 90 0mm 6 2mm 60 0mm Installation 1 2 3 Procedure 1 Raise expansion hooks on top and bottom...

Страница 89: ...2 Removal 1 2 3 Procedure 1 Raise expansion hooks on top and bottom of the unit 2 Remove unit from mounting plate Attachment to DIN rail A unit with an attached flat type mounting plate can also be in...

Страница 90: ...he expansion hooks on the side of the unit 1 2 3 Procedure 1 Remove cover on left side of unit to expose expansion connector 2 Raise expansion hooks on top and bottom of the unit 3 Align pins and hole...

Страница 91: ...expansion hooks on the side of the unit 1 2 3 Procedure 1 Peel seal on right side of the unit to expose expansion connector 2 Raise expansion hooks on top and bottom of the unit 3 Align pins and hole...

Страница 92: ...ttes The communication cassette is easily attached to the FP NOTE Turn off the power supply to the CPU before installing a cassette 1 2 3 Procedure 1 Remove cover using screwdriver 2 Install communica...

Страница 93: ...on occurs Start up sequence The PLC should be operated only after all of the field devices are energized To ensure this sequence the following measures are recommended Turn ON the PLC with the operati...

Страница 94: ...ctly applied the internal circuit may be damaged or destroyed If using a power supply device without an internal protective circuit always make sure power is supplied to the unit through a protective...

Страница 95: ...ge 21 6 26 4V DC NOTE To minimize adverse effects from noise twist the brown and blue wires of the power supply cable To protect the system against faulty voltages from the power supply line use an in...

Страница 96: ...C CPU 1 Circuit breaker 2 Insulated DC power supply Power supply sequence Make sure the power supply of the CPU turns off before the power supply for input and output If the power supply for input and...

Страница 97: ...roduce an adverse effect Always use an exclusive ground for each device OK 1 PLC 2 Other device inverter etc Risk of short circuits Depending on the surroundings in which the equipment is used groundi...

Страница 98: ...port shielding is connected with the function earth terminal PE Therefore the GND and function earth terminals of the FP are connected if the computer is connected Especially when the FP is connected...

Страница 99: ...city Arrange the wiring so that the input and output wiring are separated and so that these wirings are separated from the power wiring as much as possible Do not route them through the same duct or w...

Страница 100: ...ensor 2 Output B FP 3 Power supply for input 1 Internal circuit 4 Input terminal Voltage output universal output type Vcc 0V COM 1 2 3 4 A Sensor 2 Output B FP 3 Power supply for input 1 Internal circ...

Страница 101: ...put of the PLC does not turn off because of leakage current from the two wire type sensor photoelectric sensor or proximity sensor the use of a bleeder resistor is recommended as shown below COM R 1 2...

Страница 102: ...he OFF voltage of the input is 2 4V Therefore when the power supply is 24V select the bleeder resistor R so that the current will be greater than the result of this formula I 24 2 4 r The resistance R...

Страница 103: ...pe A FP 1 Output terminal 2 Load 3 Surge absorber e g resistance R 50 capacitance C 0 47 F COM 2 1 3 R C A FP 1 Output terminal 2 Load 3 Varistor COM 2 1 3 Using a DC inductive load A FP 1 Output term...

Страница 104: ...FP User s Manual 6 4 Input and Output Wiring 87 A FP 1 Output terminal 2 Load 3 Inductor COM 2 1 3...

Страница 105: ...1 1mm 3A Optional cables Description Product no I O cable with 10 pin MIL connector 2pcs 1 10 blue 1 10 white wires 1m AFP0521D I O cable with 10 pin MIL connector 2pcs 1 10 blue 1 10 white wires 3m A...

Страница 106: ...oving its insulation until it stops 2 Lightly grip tool 1 2 3 Insert press fitted wire into connector housing 4 When all wires have been inserted fit semi cover into place NOTE If there is a wiring mi...

Страница 107: ...ires to connect them The solder may break due to vibration After wiring make sure stress is not applied to the wire If the socket in the terminal block closes upon counter clockwise rotation the conne...

Страница 108: ...Size 0 25 AWG24 0 50 AWG20 0 75 AWG18 1 00 AWG18 0 5 x 2 AWG20 for 2 pieces The tightening torque should be 0 22 0 25Nm or less Use a screwdriver with a blade size of 0 4 x 2 5 Wiring method 1 2 3 Pro...

Страница 109: ...ake sure stress is not applied to the wire If the socket in the terminal block closes upon counter clockwise rotation the connection is wrong Disconnect the wire check the terminal hole and then re co...

Страница 110: ...sleeve For pole terminals please consider the following specifications Cross sectional area mm 2 Size 0 25 AWG24 0 50 AWG20 0 75 AWG18 1 00 AWG18 0 5 x 2 AWG20 for 2 pieces The tightening torque shou...

Страница 111: ...thylene 0 5 7 8 VCTF 1 2 3 0 75 AWG18 25 1 Polychlorinated biphenyl 0 6 6 6 1 Cover 2 Insulator 3 Conductor 4 Shield NOTE Only use shielded twisted pair cables Only use one type of transmission cable...

Страница 112: ...rget to monitor the battery status or to reset the hold areas to the default values if no battery is used An empty battery status is indicated by the following Special internal relays R9005 and R9006...

Страница 113: ...ver or similar tool open battery cover 2 Connect connector and place battery so that battery terminal fits between the two tabs 3 Insert battery cover from above 6 8 2 Setting the Battery Error Alarm...

Страница 114: ...eas in system registers no 6 to 14 For internal relays and data registers a dialog box opens in which you can adjust the values CAUTION Do not change the default values if no battery is installed If t...

Страница 115: ......

Страница 116: ...Chapter 7 High Speed Counter and Pulse Output...

Страница 117: ...E or to FALSE b a c 1 PLC 2 Encoder a Encoder output is input to the high speed counter 3 Motor 4 Roller 5 Inverter b Start stop signal 6 Cutter c Cutter blade control signal 7 Tape lead wire Pulse ou...

Страница 118: ...a ring counter Consequently if the counted value exceeds the maximum value the counter returns to the minimum value Similarly if the counted value drops below the minimum value the counter goes back t...

Страница 119: ...nput X5 can be set to either channel 2 or channel 3 Performance No of phases Minimum input pulse width 1 No of channels Maximum counting speed 1 50kHz 2 30kHz 2 channels 3 20kHz 3 channels 1 10 s 100...

Страница 120: ...polation 1 Y0 Y3 Y1 Y4 Y2 Y5 X2 X5 Any 2 1 The home return operation of the interpolation axes should be performed for every channel see page 145 2 Any input can be specified in the global variable li...

Страница 121: ...ation output function there are two designated channels and outputs NOTE The PWM output function is only available with the transistor output type Output numbers Channel no Pulse output 0 Y0 2 Y3 Perf...

Страница 122: ...cy to 30kHz or less Otherwise the first pulse may be lost The high speed counter control flag e g sys_bIsHscChannel0ControlActive and the pulse output control flag e g sys_bIsPulseChannel0Active are a...

Страница 123: ...1 F171_PulseOutput_Trapezoidal Trapezoidal control F171_PulseOutput_Home Home return Pulse direction 60 700 s 1 CW CCW 20 s F172_PulseOutput_Jog JOG operation Pulse direction 320 s 1 CW CCW 30 s Pulse...

Страница 124: ...stem registers 1 2 3 Procedure 1 Double click PLC in the navigator 2 Double click System Registers 3 Double click High Speed Counter Pulse Catch Input Interrupt Input 4 Select the desired inputs for e...

Страница 125: ...easing Incremental decremental control 3 2 1 0 2 0 4 3 1 a b TRUE FALSE TRUE FALSE 1 Inputs X0 or X1 X3 or X4 2 Reset input X2 X5 3 Count a Rising edge count disabled elapsed value cleared b Falling e...

Страница 126: ...ctions on page 102 The output to be turned to TRUE or to FALSE can be specified with the instructions F166_HighSpeedCounter_Set and F167_HighSpeedCounter_Reset Outputs can be specified from Y0 to Y7 U...

Страница 127: ...tailed information on using system variables System variables for memory areas used Description System variable Address 0 sys_bIsHscChannel0ControlActive R903A 1 sys_bIsHscChannel1ControlActive R903B...

Страница 128: ...ed counter bit 2 Enabling disabling counting operations bit 1 Resetting the elapsed value software reset of the high speed counter to 0 bit 0 Clearing high speed counter instructions bit 3 To cancel e...

Страница 129: ...bited and the elapsed value keeps its current value Counting is continued when bit 1 is reset to FALSE Resetting the elapsed value software reset of the high speed counter to 0 bit 0 0 1 0 t 2 X0 1 X0...

Страница 130: ...e 16 2009 Group Value Description IV 2 Channel number 2 III 0 fixed II 0 fixed Hex 9 corresponds to binary 1001 Clear high speed counter instruction clear bit 3 1 Reset input enabled bit 2 0 Count per...

Страница 131: ...SpeedCounter_Set Target Value Match ON If the elapsed value of the high speed counter matches the target value an interrupt process immediately turns the specified output to TRUE Characteristics of ta...

Страница 132: ...value In addition the high speed counter control flag turns to FALSE and the instruction is deactivated REFERENCE Please refer to the FPWIN Pro online help for details and a programming example 7 3 5...

Страница 133: ...example 7 3 5 1 Positioning Operations with a Single Speed Inverter Wiring example Y0 X0 X5 COM C OM A B C D E Y0 PNP NPN 1 Input terminal X0 Encoder input X5 Operation start A PLC 2 Output terminal...

Страница 134: ...3 High Speed Counter Function 117 Operation chart Y0 5000 0 y x x Number of pulses y Speed System register settings REFERENCE For POU Header and POU Body please see the programming examples in Panason...

Страница 135: ...n start A PLC 2 Output terminal Y0 Inverter operation Y1 Inverter high speed 3 Operation stop B Inverter 4 Fast slow C Encoder D Motor E Conveyor When X5 turns to TRUE Y0 and Y1 turn to TRUE and the c...

Страница 136: ...gh Speed Counter Function 119 Operation chart Y0 5000 4500 Y1 0 y x x Number of pulses y Speed System register settings REFERENCE For POU Header and POU Body please see the programming examples in Pan...

Страница 137: ...e output 1 2 3 Procedure 1 Double click PLC in the navigator 2 Double click System Registers 3 Double click High Speed Counter Pulse Catch Input Interrupt Input 4 Set any high speed counter allocated...

Страница 138: ...r to specify the direction of rotation with TRUE FALSE signals In this mode forward rotation is carried out when the rotation direction signal is TRUE Relative value control The number of pulses set w...

Страница 139: ...sition of the axis this difference cannot be predetermined The internal value must be synchronized with the actual position value of the axis This is done by means of a home return during which a posi...

Страница 140: ...se Output Function on page 103 Double pulse input driver CW CCW pulse output method Two output contacts are used as a pulse output for CW CCW Set the control code for F171_SPDH to CW CCW Using channel...

Страница 141: ...t pulse output stops when the target value is matched Data table control F174_PulseOutput_DataTable Permits positioning control in accordance with the specified parameters Linear interpolation control...

Страница 142: ...e beginning of the program Output relays and system variables for FP Channel and pulse output numbers Pulse output method Channel no Interpolation axis 1 Pulse output CW CCW Pulse direction Y0 CW Puls...

Страница 143: ...se output forced stop Enabling disabling counting operations Resetting the elapsed value software reset of the high speed counter Setting resetting near home input The near home bit is retained Set th...

Страница 144: ...0 The elapsed value keeps the value 0 until bit 0 is reset to FALSE Control code settings Bits 0 15 of the control code are allocated in groups of four The bit setting in each group is represented by...

Страница 145: ...ng the near home input is not possible if counting is prohibited or if a software reset is performed REFERENCE Please refer to the FPWIN Pro online help for programming examples 7 4 3 2 Writing and Re...

Страница 146: ...TRUE After a drive system has been switched on there is a difference between the internal position value elapsed value and the mechanical position of the axis this difference cannot be predetermined...

Страница 147: ...d 3 Near home input TRUE 2 Target speed 4 Home input TRUE 5 Home input is effective at any time Type 2 The home input is effective only after deceleration started by near home input has been completed...

Страница 148: ...ype 0 Pulses are output in accordance with the conditions set in the DUT as long as the execution condition is TRUE 300Hz 0Hz TRUE FALSE 1 Execution condition 2 CW pulse output Target value match stop...

Страница 149: ...d the execution condition is TRUE Pulse output characteristics 1000 2500 5000 x f Hz 1000 3000 8000 10000 0 1 2 x Elapsed value of high speed counter 1 Execution condition 2 Pulse output control flag...

Страница 150: ...for this channel is FALSE and the execution condition is TRUE Pulse output characteristics 5000 2000 y x 5000 X axis target value channel 0 2000 Y axis target value channel 2 Pulses are output from c...

Страница 151: ...tion Reverse from channel 0 to channel 2 CW axis 2 Rotation direction Forward from channel 2 to channel 0 CW axis Fv Composite speed O Xo Yo Center position Fx X axis speed S Xs Ys Current position St...

Страница 152: ...rection Reverse from channel 0 to channel 2 CW axis 2 Rotation direction Forward from channel 2 to channel 0 CW axis Fv Composite speed S Xs Ys Current position Start Fx X axis speed P Xp Yp Pass posi...

Страница 153: ...zoidal F171_PulseOutput_Home F172_PulseOutput_Jog F174_PulseOutput_DataTable F175_PulseOutput_Linear F176_PulseOutput_Center and F176_PulseOutput_Pass The FPWIN Pro projects in LD and ST code can be d...

Страница 154: ...VDC A D E F X0 Near home sensor XA Home return start channel 0 X2 Home sensor XB Home return start channel 2 X8 Positioning start XD Overrun A PLC Input terminal X9 Positioning start B PLC Output term...

Страница 155: ...2 X5 X3 XA X0 XB XC COM Y0 Y3 Y1 Y4 D CH0 CH2 B C 24VDC A E C D X2 Home sensor XA Home return start X0 Near home sensor XB Positioning start X5 Home sensor XC Emergency stop A PLC Input terminal X3 Ne...

Страница 156: ...lse is output from the CW pulse output of the specified channel 0 The output is used implicitly by F171_PulseOutput_Trapezoidal 0V 24V DC A x C B D 1 X8 Positioning start 2 Y0 CW pulse output A PLC 3...

Страница 157: ...1 X9 Positioning start 2 Y0 CW pulse output A PLC 3 Y1 CCW pulse output B Motor driver C Stepping motor side side D Moving table X 8000 pulses Pulse output diagram 300ms 300ms 6000Hz 1000Hz 0Hz 1 Tot...

Страница 158: ...0000 22000 30000 0V 24V DC A C B D Regardless of the current value the moving table moves towards position 22000 1 X8 Positioning start 2 Y0 CW pulse output A PLC 3 Y1 CCW pulse output B Motor driver...

Страница 159: ...urn to home begins When X0 X0_bNearHome_CH0 turns to TRUE deceleration begins and when X2 turns to TRUE home return has been completed At this point the elapsed value area sys_diPulseChannel0ElapsedVa...

Страница 160: ...02_HomeReturn_Channel0_Minus_ST_FPSIGMA pro 7 4 4 3 Example 3 Home Return in a Forward Direction When XB XB_bGoHomeStart_CH2 turns to TRUE a pulse is output from CW output Y3 of the specified channel...

Страница 161: ...B A C XB Home return start X5 Home input X3 Near home input Y3 CW pulse output Y4 CCW pulse output A Motor driver B Stepping motor side C Moving table side X3 Near home sensor X5 Home sensor Pulse out...

Страница 162: ...2 Home return begins In channel 0 deceleration begins when X0 turns to TRUE When X2 turns to TRUE home return is complete The elapsed value area sys_diPulseChannel0ElapsedValue is cleared to 0 In chan...

Страница 163: ...In_CH0 X5 Home input X5_bHomeSensorInput_CH2 X3 Near home input X3_bNearHomeSensorIn_CH2 Y0 CW pulse output channel 0 Y0_bPulseOutCW_CH0 Y1 CCW pulse output channel 0 Y1_bPulseOutCCW_CH0 Y3 CW pulse o...

Страница 164: ...00ms 300ms 2000Hz 100Hz 0Hz 1 Positioning start 2 Near home input 3 Home input REFERENCE For POU Header and POU Body please see the programming examples in Panasonic s download area Applicable FPWIN P...

Страница 165: ...FPWIN Pro Project Sample_PulseOutput_05_JogOperation_LD_FP_SIGMA_FPX pro Sample_PulseOutput_05_JogOperation_ST_FP_SIGMA_FPX pro 7 4 4 6 Example 6 Linear and Circular Interpolation Control Using linea...

Страница 166: ...to confirm completion of the circular interpolation action REFERENCE For POU Header and POU Body please see the programming examples in Panasonic s download area Applicable FPWIN Pro Project Sample_Pu...

Страница 167: ...P4 switch the control code to stop mode 3 In this example since the rotation direction changes for each positioning point designation of the rotation direction is as follows 1 Between P1 and P2 rotat...

Страница 168: ...system variables Setting system registers When using the PWM output function make sure the high speed counter function is not allocated to channel 0 or channel 2 1 2 3 Procedure 1 Double click PLC in...

Страница 169: ......

Страница 170: ...Chapter 8 Communication...

Страница 171: ...terface Using the communication cassettes the FP provides the following additional ports COM port RS232C or RS485 interface COM port RS232C interface 8 1 1 Terminology in FPWIN Pro and FPWIN GR Althou...

Страница 172: ...n PROG mode the TOOL port is automatically set to MEWTOCOL COM mode even if program controlled mode has been selected This way it is always possible to communicate in PROG mode with a programming soft...

Страница 173: ...sending and receiving the data RS 232C POWER READY MODE A B C KEY PAD CAMERA MONITOR COM COM D2 D4 D6 D8 D9 FLASH D1 D3 D5 D7 READY MICRO IMAGECHECKER M100 Matsuhita Electronic Works Ltd 24VDC START A...

Страница 174: ...for sending and areas for receiving data Station numbers and link areas are allocated using the system registers EXAMPLE Link relay L0 for station 1 turns to TRUE The status change is fed back to the...

Страница 175: ...U master function and a Modbus RTU slave function The side that issues commands is called master The slave receives the commands executes the process and sends back responses The slave answers automat...

Страница 176: ...M2 FPG COM3 FPG COM4 S SD SD SD RS485 SD COM1 R RD RD RD RS485 RD S RS SD RS232C SD COM2 R CS RD RS232C RD SD Send Data output RS Request to Send RD Receive Data input CS Clear to Send The LED flashes...

Страница 177: ...C External device R1 Receive Data 1 PLC External device COM 1 S2 Send Data 2 PLC External device R2 Receive Data 2 PLC External device COM 2 SG Signal Ground COM 1 COM 2 Communication modes Communicat...

Страница 178: ...s 1 as well as 2 stop bits during reception regardless of the stop bit setting 8 2 5 FPG COM4 1 Channel RS485 and 1 Channel RS232C Combination Type This communication cassette contains a 1 channel uni...

Страница 179: ...station switch SW1 2 to set the baud rate For RS485 connections COM port 1 the baud rate must be set in the system registers and with the DIP switch For RS232C connections the baud rate is only set i...

Страница 180: ...ommunication when communication errors due to excessive noise occur or when the receiver equipment cannot receive temporarily 2 For RS232C connections the maximum number of stations is 2 Communication...

Страница 181: ...n 0 enables the switch setting and the system register setting is ignored In this case the same station number is allocated to all communication ports A maximum of 31 stations can be specified with th...

Страница 182: ...rmation The communication mode can be switched using F159_MRTN see page 169 8 4 1 Setting System Registers in PROG Mode 1 2 3 Procedure 1 Double click PLC in the navigator 2 Double click System Regist...

Страница 183: ...d 1200bit s can be specified using the SYS1 instruction However this will not change the setting value of the system register The setting must match the external device connected to the communication...

Страница 184: ...er setting switch to 0 enables the SYS1 instruction and the system register settings In the system registers individual settings are possible for the communication ports Setting the station number set...

Страница 185: ...ON A 11 OFF B 27 ON B 12 OFF C 28 ON C 13 OFF D 29 ON D 14 OFF E 30 ON E 15 OFF F 31 ON F 1 Setting the station number setting switch to 0 enables the SYS1 instruction and the system register settings...

Страница 186: ...e In RS485 communication using FPG COM3 or FPG COM4 it may be necessary to adjust the response time time between the reception of an instruction and the return of a response This applies to all commun...

Страница 187: ...g adjustments depending on the communication mode and the connected device 1 FP using FPG COM4 PLC Link No adjustments required Program controlled Adjust t in the program algorithm MEWTOCOL COM Master...

Страница 188: ...essary on the slave MEWTOCOL COM master function The master can be a PLC or any external device supporting the master function To use the built in master functionality of the PLC select MEWTOCOL COM M...

Страница 189: ...s For 1 N communication in a C NET the station number must be specified in the system registers of the slave No program is necessary on the slaves The program for the master side must send and receive...

Страница 190: ...art code Start code Text Text Source Computer Transmission program Reception processing program Command message Response message The type of command Any settings and data required in order to execute...

Страница 191: ...l upper case characters following the fixed formula for the particular command The method for writing text segments in the message varies depending on the type of command 4 Check code Hexadecimal bloc...

Страница 192: ...aries depending on the type of command The value should be read based on the content If the processing is not completed successfully an error code will be stored here so that the content of the error...

Страница 193: ...s Read data area RD Reads the contents of a data area Write data area WD Writes data to a data area Read timer counter set value area RS Reads the value set for a timer counter Write timer counter set...

Страница 194: ...tion This sections describes 1 1 MEWTOCOL COM communication in which the FP acts as a slave The examples below contain the wiring diagrams for the connection to a computer and to a programmable displa...

Страница 195: ...5 COM port 2 baud rate 2400 115200bit s The setting must match the external device connected to the communication port Programming There is no programming required on the slave Only the station number...

Страница 196: ...tion 1 CD Carrier Detect 2 RXD Receive Data 3 TXD Transmit Data 4 DTR Data Terminal Ready 5 GND System Ground 6 DSR Data Signal Ready 7 RTS Request To Send 8 CTS Clear To Send 5 1 9 6 9 pin Sub D male...

Страница 197: ...8 5 5 2 1 1 Communication with Programmable Displays of GT Series For a 1 1 MEWTOCOL COM connection between the FP and a programmable display of the GT Series an RS232C cable is needed Communication...

Страница 198: ...of expansion units connected to the FP is limited due to the capacity of the PLCs power supply The maximum number of expansion units is six Using the TOOL port 5 1 2 3 4 SG SD RD RS CS SG SD RD 1 2 3...

Страница 199: ...85 cable The computer and the PLCs communicate via commands and responses The computer sends a command specifying the station number and the PLC with that station number sends a response back to the c...

Страница 200: ...either 19200bit s or 115200bit s Set DIP switch SW1 2 of the cassette to the same setting see page 162 When setting the station number using the system registers be sure to set the switch on the unit...

Страница 201: ...nals of the two transmission lines are connected internally and either terminal pair is assigned to COM port 1 NOTE Wiring should extend from one station to the next Never run two wires from a single...

Страница 202: ...to ON on the first and on the last station of the transmission line to terminate the data bus See DIP Switch Setting on FPG COM4 on page 162 8 5 7 Sample Program for Master Communication Use the F145...

Страница 203: ...Communication FP User s Manual 186 LD Body ST Body REFERENCE Please refer to the FPWIN Pro online help for detailed information...

Страница 204: ...0 Matsuhita Electronic Works Ltd 24VDC START ACK IN1 IN3 IN5 COM COM IN2 IN4 COM Data registers DT Send buffer Receive buffer Receiving data Image checker Bar code reader Sending data using F159_MTRN...

Страница 205: ...198 Receiving data Reception done flag is turned on Data registers DT Device with RS232C port Send buffer Receive buffer PLC No end code is included in the data stored The maximum volume of data that...

Страница 206: ...WIN Pro In order to use the data in the receive buffer define a global variable having the same starting address and capacity 8 6 2 Sending Data to External Devices Steps for sending data to external...

Страница 207: ...ea for the data to be sent Bold numbers indicate the order of transmission The maximum volume of data that can be sent is 2048 bytes EXAMPLE Define a send buffer for 30 bytes ARRAY 0 15 OF WORD and co...

Страница 208: ...can be copied into each element of the array SendBuffer SendBuffer 0 is reserved for the total number of bytes to be sent by F159_MTRN 3 Sending the data using the instruction F159_MTRN Execute F159_M...

Страница 209: ...turns to TRUE The end code is automatically added to the data sent At the end of transmission the value in offset 0 is automatically reset to 0 EXAMPLE Transmit the characters ABCDEFGH to an external...

Страница 210: ...ata Format on page 197 Data cannot be sent unless the pin CS Clear to Send is on When connecting to a three wire port short circuit the RS and CS pins 8 6 3 Receiving Data from External Devices Steps...

Страница 211: ...hibited The reception done flag only turns to TRUE if an end code e g CR has been selected in the system registers 3 Processing the data in the receive buffer Verify the end of reception Copy the data...

Страница 212: ...Reception possible Execution of F159_MTRN Receive buffer layout 0 1 2 4 16 42 B 16 41 A 16 44 D 16 43 C 16 48 H 16 47 G 16 46 F 16 45 E 8 3 Offset When reception begins the value in offset 0 is 8 At t...

Страница 213: ...next data without immediately sending further data the receive buffer is reset by executing F159_MTRN with n_Number 0 NOTE The status of the reception done flag may change while a scan is being carri...

Страница 214: ...he data received are recognized if the corresponding start and end codes have been specified in the system registers Start and end codes are not stored in the receive buffer The end code serves as a r...

Страница 215: ...to FALSE The reception done flag can be evaluated using the IsReceptionDone function Or use the system variable sys_bIsComPort1ReceptionDone sys_bIsComPort2ReceptionDone or sys_bIsToolPortReceptionDo...

Страница 216: ...bIsToolPortTransmissionDone COM1 1 R9039 sys_bIsComPort1TransmissionDone COM2 2 R9049 IsTransmissionDone sys_bIsComPort2TransmissionDone TRUE Communication error flag If the communication error flag t...

Страница 217: ...e flag 8 Write pointer When receiving data operation is as follows 1 Characters A B and C received from the external device are stored in the receive buffer 2 When the end code is received the recepti...

Страница 218: ...fset 0 to 0 and moves the write pointer back to offset 1 Subsequent data will be stored in the receive buffer starting at offset 1 8 6 5 2 Start Code STX End Code ETX Receiving data A B C STX D H ETX...

Страница 219: ...9_MTRN is executed at the same time the end code is received from the external device F159_MTRN turns the reception done flag to FALSE Therefore this flag will not be detected NOTE Resetting the recei...

Страница 220: ...eps 1 to 5 are repeated This time the characters c d and e are sent 8 6 6 1 1 Communication This section describes 1 1 program controlled communication in which the FP acts as a master The examples be...

Страница 221: ...2 bits End code CR CR LF None ETX Start code No STX STX 415 COM port 2 baud rate 2400 115200bit s 418 COM port 2 receive buffer starting address 0 32762 initial value 0 419 COM port 2 receive buffer...

Страница 222: ...trol 9600bit s 8 1 Odd None 53 Serial Output Output Invalid Digit Read End Process End Numerical Calculation Judgment 5 Column Repl 0 None None Output Output NOTE If Del is specified for the invalid p...

Страница 223: ...er no ANM81303 Pin Name Cable color 1 TXD Red 2 RXD White 3 RTS Black 4 CTS Yellow 5 DSR Blue 6 GND Green 7 CD Brown A100 A200 COM port 8 DTR Gray Wiring diagrams Using the 1 channel RS232C type commu...

Страница 224: ...RXD RTS CTS DRS GND DCD DTR SG S1 R1 S2 R2 1 2 3 4 5 6 7 8 9 Left FP right Micro Imagechecker 1 Shield housing 2 To second external device Using the 1 channel RS485 and 1 channel RS232C combination ty...

Страница 225: ...rite start command S C R in send buffer 2 Send data with F159_MTRN 3 Transmission done flag FALSE Reception done flag FALSE Receive buffer reset 4 Send start command S C R A Sending data 5 Transmissio...

Страница 226: ...er settings In order to use the data in the receive buffer define a global variable having the same starting address and capacity In this example the starting address is 200 VAR_GLOBAL awReceiveBuffer...

Страница 227: ...Communication FP User s Manual 210 LD Body ST Body...

Страница 228: ...lue in offset 0 is automatically reset to 0 Status of the receive buffer when the reception is completed DT200 16 30 DT201 DT202 DT203 DT204 16 31 0 1 16 32 16 31 2 1 16 34 16 33 4 3 16 35 5 7 The num...

Страница 229: ...many other commands System register settings The factory setting for the communication mode is MEWTOCOL COM Master Slave For 1 1 program controlled communication the system registers should be set as...

Страница 230: ...ght FP0 COM port SG SD RD RS CS 1 2 3 4 5 6 7 8 9 FG SD RD RS CS SG Left FP right FP2 FP2SH COM port Using the 2 channel RS232C type communication cassette FPG COM2 S R G SG S1 R1 S2 R2 Left FP right...

Страница 231: ...ort 1 1 communication between the FP and another FP series PLC includes two processes A Reading data from remote FP series PLC B Writing data to remote FP series PLC A Reading data from remote FP seri...

Страница 232: ...a b c FP FP System register settings In order to use the data in the receive buffer define a global variable having the same starting address and capacity In this example the starting address is 200...

Страница 233: ...Communication FP User s Manual 216 POU Header LD Body...

Страница 234: ...25 0 19 16 23 16 31 1 16 44 16 52 D R 16 30 16 44 0 D 16 30 16 30 0 0 16 30 16 30 0 0 16 30 16 30 0 0 16 30 16 30 0 0 16 2A 16 31 1 16 2A 1 2 3 4 5 6 7 8 9 10 0 Offset At the end of transmission the...

Страница 235: ...0 and offset 1 of the data area awReceivedData F72_AHEX is the hexadecimal ASCII to hexadecimal data conversion instruction 16 36 6 16 34 4 16 30 0 16 30 0 16 30 0 16 30 0 16 43 C 16 38 8 16 64 16 00...

Страница 236: ...FP User s Manual 8 6 Program Controlled Communication 219 POU Header LD Body 1 2...

Страница 237: ...Communication FP User s Manual 220 2 2 ST Body...

Страница 238: ...200 s System register settings By default the COM port is set to MEWTOCOL COM mode For 1 N program controlled communication the system registers should be set as shown below Settings for COM port 1 F...

Страница 239: ...Bridge the E terminal and the free terminal on the first and on the last station of the transmission line to terminate the data bus FPG COM4 Set SW1 1 to ON on the first and on the last station of the...

Страница 240: ...registers LD The statuses of the link relays and link registers of one PLC are automatically fed back to the other PLCs on the same network The link relays and link registers of the PLCs contain area...

Страница 241: ...L0 LD 0 100 100 LD 0 RS485 1 4 2 3 1 4 2 3 100 LD 0 100 LD 0 PLC Link connection between four FP units Station number of PLC LD Link register 8 7 1 Setting Communication Parameters Make the following...

Страница 242: ...Make sure the same station number is not used for more than one of the PLCs connected through the PLC Link function Station numbers should be set sequentially and consecutively starting from 1 with n...

Страница 243: ...44 Link registers Send area Start sending from this word address 0 0 127 45 Link registers Send area Number of words to send 0 0 128 words PLC link 0 47 1 Highest station number in network 16 1 16 50...

Страница 244: ...the same area as on the sending side Link relay allocation WL0 19 20 63 WL0 19 20 63 WL0 63 WL0 63 39 40 39 40 1 4 2 3 1 2 3 1 2 3 1 2 3 Send area Receive area Station number of PLC System register s...

Страница 245: ...eas of stations no 2 and 3 Station no 4 is allocated as a receive area only and can receive data from stations no 1 2 and 3 but cannot send data to other stations 8 7 2 2 Example for PLC link 1 Set sy...

Страница 246: ...d area of station no 1 can be transmitted to the receive areas of stations no 2 3 and 4 Also the receive area of station no 1 can receive data from the send areas of stations no 2 and 3 Station no 4 i...

Страница 247: ...0 to WL63 can be used as internal relays Link register allocation Send area Receive area Area for internal relays 1 Used for link relays 2 Not used for link relays LD0 39 40 127 79 80 99 100 System re...

Страница 248: ...rror so that communication cannot be carried out WL0 19 20 63 WL0 19 20 63 WL0 63 39 40 29 40 1 2 3 1 2 3 1 3 Send area Overlapping area System register settings Station settings No Name 1 2 3 40 Link...

Страница 249: ...ion number 1 2 1 2 3 4 n Highest station number 1 2 2 4 4 4 4 N 1 Same setting for each station 8 7 4 PLC Link 0 and 1 Allocation Setting The default setting of system register 46 PLC Link 0 and 1 all...

Страница 250: ...ng the data from a different station in the network check to make sure the transmission assurance relay for this station is TRUE Relay no Station no System variable name Conditions for TRUE FALSE R906...

Страница 251: ...lcLink0Station8InRunMode R9078 9 sys_bIsPlcLink0Station9InRunMode R9079 10 sys_bIsPlcLink0Station10InRunMode R907A 11 sys_bIsPlcLink0Station11InRunMode R907B 12 sys_bIsPlcLink0Station12InRunMode R907C...

Страница 252: ...1 Link relay L0 turns to TRUE 2 Link relay L1 turns to TRUE System register settings For PLC Link the communication format and baud rate settings are fixed No Name Set value 413 COM port 1 communicat...

Страница 253: ...FPWIN Pro 2 Set using the mode speed setting switch on the MCU Link relay allocation WL0 19 20 63 WL0 19 20 63 WL0 63 39 40 39 40 1 2 3 1 2 3 1 2 3 FP X FP2 FP10SH FP Send area Receive area Station se...

Страница 254: ...nd the free terminal on the first and on the last station of the transmission line to terminate the data bus See FPG COM3 1 Channel RS485 Type on page 160 Connection diagram for FPG COM4 To terminate...

Страница 255: ...artMotor1 turns to TRUE when g_b_StartMotor2 is TRUE g_b_FromStation1_StartMotor2 turns to TRUE POU Header LD Body Station 2 When g_b_FromStation1_StartMotor1 is TRUE the output g_b_Motor1 turns to TR...

Страница 256: ...nsmission time per station Ts scan time Tpc Tpc Ttx Pcm Ttx 1 transmission speed 1000 11ms 0 096ms at 115200bit s Pcm 23 number of relay words number of register words 4 Tpc PLC link sending time Ttx...

Страница 257: ...ission time T of one cycle will be T max 7 82 16 4 32 1 130 44ms Calculation example 2 Conditions All stations have been added to a 16 unit link Highest station number 16 Relays and registers have bee...

Страница 258: ...transmission time T of one cycle will be T max 44 072 2 1 632 5 94 776ms Calculation example 6 Conditions All stations have been added to a 2 unit link Highest station number 2 32 relays and 2 registe...

Страница 259: ...ncrease in the transmission cycle time EXAMPLE Set SYS1 to change the waiting time for a link to be added to the PLC link from the default value of 400ms to 100ms LD Body NOTE If there are any station...

Страница 260: ...assurance is off from the default value of 6 4s to 100ms LD Body NOTE The setting should not be changed as long as a longer transmission assurance relay detection time does not cause any problems The...

Страница 261: ...e instructions received The master station has read and write access to a maximum number of 99 slave stations Modbus RTU connection between the FP and an external device 1 Command message 2 Response m...

Страница 262: ...ddress FUNCTION 8 bits DATA Varies depending on the commands CRC 16 bits END Transmission time for 3 5 characters differs depending on baud rate Please refer to Reception done judgment time 1 FPWIN Pr...

Страница 263: ...145_WRITE 06 Preset Single Register Write DT 1 Word 4X Cannot be issued 08 Diagnostics Loopback Test F145_WRITE 15 Force Multiple Coils Write Multiple Ys and Rs 0X F145_WRITE 16 Preset Multiple Regist...

Страница 264: ...setting must always be CR and the start code setting must be No STX The station number can be set within a range of 1 to 99 With a C NET adapter a maximum of 32 stations can be specified 8 8 2 Sample...

Страница 265: ...Communication FP User s Manual 248 LD Body ST Body REFERENCE For details on Modbus settings and communication using the F145_WRITE and F146_READ commands please refer to the online help of FPWIN Pro...

Страница 266: ...Chapter 9 Security Functions...

Страница 267: ...ecurity Functions FP User s Manual 250 9 1 Security Function Types The following security settings are available PLC program upload protection password protection security settings for FP Memory Loade...

Страница 268: ...ntly even if you know the password When using this function be sure to back up your programs The program on your PLC will not be recoverable either by a person knowing the password or by customer supp...

Страница 269: ...ing tool the SYS1 instruction Be sure to memorize your password Without the password you will not be able to read programs on password protected PLCs If you have forgotten your password our support te...

Страница 270: ...mory Loader Upload protection Download protection 9 3 1 Upload Protection Upload protection prevents programs from being uploaded to an FP Memory Loader 1 2 3 Procedure 1 Online Security Settings The...

Страница 271: ...e source PLC and target PLC are protected by identical passwords 01234567 9 3 2 Download Protection Using download protection you can transfer a program from one PLC to another with the FP Memory Load...

Страница 272: ...oad to a target PLC that is not password protected is not possible CAUTION During program download from the FP Memory Loader to a target PLC the password set on the source PLC may be changed under cer...

Страница 273: ......

Страница 274: ...Chapter 10 Other Functions...

Страница 275: ...struction P13_EPWT Writing can be performed up to 10000 times After that the correct operation cannot be guaranteed If the power supply turns off while the instruction P13_EPWT is being executed or du...

Страница 276: ...me axis After data recording in the PLC has been completed the data is loaded into FPWIN Pro Sampling parameters such as the sampling time and trigger conditions can be set in FPWIN Pro A maximum of 1...

Страница 277: ......

Страница 278: ...Chapter 11 Troubleshooting...

Страница 279: ...dicator LEDs on CPU LED status RUN PROG ERROR ALARM Description Operation status On Off Off Normal operation Continue Off On Off PROG mode Stop Normal condition Flashes Flashes Off Forcing on off in R...

Страница 280: ...click System Registers 3 Double click Act on Error Select the desired setting for each type of error EXAMPLE 1 Operation is to continue even though a calculation error has occurred Set system register...

Страница 281: ...on while in PROG mode this clears all of the contents of the operation memory except hold type data Execute the self diagnostic error set instruction F148_ERR NOTE If the mode selector switch has been...

Страница 282: ...the power off and then on If the ERROR ALARM LED turns on again there is probably an abnormality in the CPU Please contact your dealer Check if the ERROR ALARM LED is flashing See ERROR ALARM LED is...

Страница 283: ...he range of the rating Be sure to check the fluctuation in the power supply Disconnect the power supply wiring to the other devices if the power supplied to the CPU is shared with them If the LEDs on...

Страница 284: ...ains OFF there is probably an abnormality with the outputs Please contact your dealer If the input indicator LEDs are OFF Check the wiring of the input devices Check that the power is properly supplie...

Страница 285: ...Message If a protect error message appears a password has been set To access a PLC for which a password has been set a login is required whenever the power is turned on 1 2 3 Procedure 1 Online Secur...

Страница 286: ...Change to RUN If PROG mode does not change to RUN a syntax error or a self diagnostic error that caused operation to stop has occurred Check to see if the ERROR ALARM LED is flashing See ERROR ALARM L...

Страница 287: ...ics of the transmission cables are within the specified ranges See Transmission Cables on page 94 Make sure all of the cables in the link are of the same type Make sure the terminating resistors have...

Страница 288: ...to the SD terminal of the communication cassette and that SD is connected to RD Make sure SG is connected Check that link areas do not overlap When using FPG COM1 Data cannot be sent unless the pin CS...

Страница 289: ......

Страница 290: ...Chapter 12 Appendix...

Страница 291: ...nals X0 X7 Input terminals X8 XF 500V AC for 1min 1 Breakdown voltage C24 Input terminals X0 X7 Input terminals X8 XF Output terminals 1500V AC for 1min 1 Input terminals Output terminals Power supply...

Страница 292: ...5g FP0 E16T E16P E16X E16YT E16YP 70g FP0 E32T E32P 85g FP0 A21 80g FP0 A80 90g FP0 IOL 85g FP0 TC4 85g FP0 TC8 95g FP0 CCLS 80g FP0 expansion unit FP0 A04V A04I RTD6 75g 12 1 2 Current Consumption Ty...

Страница 293: ...M3 FPG COM4 25mA Display GT01 AIGT0030B1 AIGT0030H1 80mA C NET adapter S2 AFP15402 50mA 1 The current consumed by the CPU power supply connector If expansion units or intelligent units are added the c...

Страница 294: ...16 218 Operation speed 0 32 s step for basic instruction External input relays X 1184 1 External output relays Y 1184 1 Internal relays R 4096 R0 R255F Timer relays Counter relays T C 1024 2 Factory s...

Страница 295: ...ment interval 1 year Comment memory 328kByte PLC link function Max 16 units link relays 1024 link registers 128 words Other functions Editing in RUN mode constant scan on off forcing of inputs outputs...

Страница 296: ...els used 1 0 2 Pulse output method CW CCW Pulse direction Maximum output frequency 1 channel 100kHz x 1 2 channels 60kHz x 2 Linear interpolation control 100kHz Circular interpolation control 20kHz Pu...

Страница 297: ...me channel cannot be used by more than one function Channel used Maximum output frequency kHz High speed counter Pulse output High speed counter Pulse output 1 phase 2 phase No interpol CH0 CH1 CH2 CH...

Страница 298: ...5 X 3 X 3 X X 20 30 Lin 100 2 Lin 80 X 3 Lin 20 60 X 3 Lin 20 60 X 3 X 3 Lin 20 45 Circ 20 X 3 Circ 20 20 X 3 Circ 20 20 X 3 X 3 Circ 20 20 CH Channel X Available 1 If the two channels are not used si...

Страница 299: ...n when communication errors due to excessive noise occur or when the receiver equipment cannot receive temporarily 2 For RS232C connections the maximum number of stations is 2 Communication specificat...

Страница 300: ...other than 0 enables the switch setting and the system register setting is ignored In this case the same station number is allocated to all communication ports A maximum of 31 stations can be specifie...

Страница 301: ...utput 32 Y100 Y11F Y180 Y19F Y260 Y27F Y340 Y35F Input 16 X100 X10F X180 X18F X260 X26F X340 X34F FP positioning unit 1 axis type FPG PP11 FPG PP12 Output 16 1st Y100 Y10F Y180 Y18F Y260 Y26F Y340 Y34...

Страница 302: ...WX3 X30 X3F WX5 X50 X5F WX7 X70 X7F FP0 analog I O unit FP0 A21 Output 16 WY2 Y20 Y2F WY4 Y40 Y4F WY6 Y60 Y6F Input 16 0 2 4 6 WX2 X20 X2F WX4 X40 X4F WX6 X60 X6F FP0 A D conversion unit FP0 A80 and F...

Страница 303: ...t Type CPU FPG C32T2 H FPG C28P2 H 18 40 13 9 10 3 5 7 5 60 0 90 0 130 0 90 0 60 0 30 0 5 0 4 5 2 0 100 1 2 1 Maximum installation dimension 2 DIN rail DIN EN50022 35mm FPG C32T2 H TM FPG C28P2 H TM E...

Страница 304: ...PU with communication cassette 100 With FPG COM4 105mm 12 4 2 Relay Output Type CPU FPG C24R2 H 10 40 13 9 10 FP 30 0 90 0 60 0 3 5 60 0 90 0 Approx 130 0 7 5 5 0 4 5 2 0 90 1 2 1 Maximum installation...

Страница 305: ...TM EXPANSION CONNECTOR 10 20 10 150 3 5 60 0 90 0 30 0 60 0 90 0 5 0 4 5 CPU with communication cassette For dimensions refer to the transistor output type CPU see page 286 12 4 3 Expansion Unit FPG...

Страница 306: ...FP User s Manual 12 4 Dimensions 289 FPG EM1 30 0 60 0 3 5 90 0 4 5 12 4 4 Communication Cassettes Using FPG COM1 FPG COM2 Using FPG COM4 FPG COM3 100 mm 105 mm...

Страница 307: ...address area Type Memory size FP IEC Function External input relays 1 74 WX0 WX73 IW0 IW73 Code for specifying 16 external input points as one word 16 bits of data External output relays 1 74 WY0 WY7...

Страница 308: ...mer counter elapsed value area 2 512 DEV0 DEV1022 MD4 0 MD4 1022 Data memory for storing the elapsed values during operation of timers or counters The values are stored by timer counter number Special...

Страница 309: ...rs are used to set values parameters which determine operation ranges and functions used Set values based on the use and specifications of your program There is no need to set system registers for fun...

Страница 310: ...ing and Changing System Registers 1 2 3 Procedure 1 Double click PLC in the navigator 2 Double click System Registers 3 To change a value write the new value into the system register table 4 Online On...

Страница 311: ...iagnostic error is issued and the ERROR ALARM will LED flash 4 DF P function leading falling edge detection Holds result Holds result disregards result 20 Duplicate output Enable Fixed 23 I O verifica...

Страница 312: ...eed counter Channel 0 Unused Two phase input X0 X1 Two phase input X0 X1 Reset input X2 Incremental input X0 Incremental input X0 Reset input X2 Decremental input X0 Decremental input X0 Reset input X...

Страница 313: ...Unused Rising edge Falling edge 403 Interrupt input X4 Interrupt 4 Unused Rising edge Falling edge 403 Interrupt input X5 Interrupt 5 Unused Rising edge Falling edge 403 Interrupt input X6 Interrupt 6...

Страница 314: ...rogram controlled PLC Link Modbus RTU Master Slave 410 COM port 1 station number 1 1 99 415 COM port 1 baud rate 1 2 9600 baud 115200 57600 38400 19200 960 0 4800 2400 baud 413 COM port 1 sending data...

Страница 315: ...2048 0 32762 419 COM port 2 receive buffer capacity 0 0 2048 412 COM port 2 modem connection Disable Disable Enable 1 For PLC Link the communication format and baud rate settings are fixed Data lengt...

Страница 316: ...ROG mode and correct the error E5 see note Program area error Stops An instruction was written to the wrong program area main program area or subprogram area Change to PROG mode and correct the error...

Страница 317: ...r using the system variable sys_wHardwareErrorLeftIoUnit and locate the faulty FP expansion I O unit Then check the unit E41 Intelligent unit error Stops An error in an intelligent unit occurred Check...

Страница 318: ...r is full 52 Transmit disable error Transmission processing to another device is not possible link unit runaway etc 53 Busy error Processing of command received is not possible because of multiple fra...

Страница 319: ...gram area or the memory contains an error Or reading of non registered data was attempted 68 Rewrite during RUN error When inputting with programming tool software editing of an instruction ED SUB RET...

Страница 320: ...er counter elapsed value area RK Reads the timer counter elapsed value Write timer counter elapsed value area WK Writes the timer counter elapsed value Register or Reset contacts monitored MC Register...

Страница 321: ...te and time of day 32 bits DT 2001 01 01 00 00 00 DT 2099 12 31 23 59 59 TIME OF DAY 1 TOD Time of day only 32 bits TOD 00 00 00 TOD 23 59 59 DATE 1 DATE Date only 32 bits DT 2001 01 01 DT 2099 12 31...

Страница 322: ...0 0001 0001 0000 0000 0001 0010 0000 0000 0001 0011 0000 0000 0001 0100 0000 0000 0001 0101 16 17 18 19 20 21 22 23 0010 0011 0012 0013 0014 0015 0016 0017 0000 0000 0001 0000 0000 0000 0001 0001 0000...

Страница 323: ...1 1 1 b3 b2 b1 b0 b6 b5 b4 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 8 9 A B C D E F b4 b5 b6 SP AC E DEL LF VT FF CR SO SI DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB...

Страница 324: ...169 Communication cassette 155 Communication 153 Specifications 163 Communication cassette 163 COM ports 155 Communication cassette 75 Communication mode 154 Dimensions 289 Terminal layout 159 Trouble...

Страница 325: ...tput_Center 134 148 F176_PulseOutput_Pass 135 148 Features of FP 6 Flat type mounting plate 71 FP Memory Loader 253 FP0 program compatibility 14 FP0 units 10 74 I O allocation 62 Restrictions 11 FP un...

Страница 326: ...n 182 Command format 174 Commands 176 Communication parameters 177 Error codes 301 Example for master communication 185 Micro Imagechecker 206 MIL connector 88 Minimum input pulse width 109 Modbus RTU...

Страница 327: ...ion output method 120 PWM output function 100 151 Booting time 106 F173_PulseOutput_PWM 151 Restrictions 105 Specifications 104 280 R Real time clock 35 Receive buffer 193 Record of Changes 314 Reed s...

Страница 328: ...oidal control 129 139 Troubleshooting 261 Two phase input 107 Two wire type sensor 82 U Unit combinations 11 Unit types 9 Upload protection 251 253 W Watchdog timer 265 Weight 275 Wiring Communication...

Страница 329: ...ion F171 deviation counter clear signal p 7 34 F173 PWM output function note on out of range duty area p 7 74 programming example F159 body p 10 14 flag number R9049 changed to R9048 p 10 35 command n...

Страница 330: ...f thermistor input function in chapter 2 Terminal layout diagram of FPG expansion unit NPN type in chapter 3 FPWIN Pro examples in chapter 6 FPWIN Pro examples updated corrected in chapter 7 Descripti...

Страница 331: ...es from the Panasonic Web site Security functions upload protection password protection FP Memory Loader Section Scope of this manual In MEWTOCOL COM mode term pair computer PLC changed to slave maste...

Страница 332: ...onic Electric Works Nordic AB Sj ngsv gen 10 19272 Sollentuna Sweden Tel 46 859476680 Fax 46 859476690 www panasonic electric works se PEW Fire Security Technology Europe AB Jungmansgatan 12 21119 Mal...

Отзывы: