Home
FP0R User`s Manual, ACGM0475V3EN
Contents
1. E8RS E16RS E8RM E16RM E16 E32 n B x n in Bl x0 xi EN X9 q e 4 a e4 Kil gr E sja in O Mai E eta ali O Ira gs O a iO YO Hit E v1 Y1 z ye Hi z ij YO AA Ee ER G E A ale ela I O 8 S 2 4 8 8 o H SoA e BH dE E B E8Y E16Y i E 8 ol B ve YO dvi y y 2 3 YO TO RIA E 8 OEE g B g G amp Nuts E8X E16X X8 x1 O x0 xo 5 euUUU HEU Fi s OEE a 9 B D nu g q 9Snnnn nnnnS Terminal block type MIL connector type Right side view common to all expansion units D Power supply connector 24V DC 46 FPOR User s Manual Expansion Use the power supply cable provided Product no AFPO581 2 Input connector 9 Input status LEDs 4 Output connector Output status LEDs 6 Expansion hook Used to secure an expansion unit D Connector for FPO FPOR expansion units Connects an FPO FPOR expansion unit to the internal circuit The con nector is located under the seal DIN rail attachment lever Used for easy attachment to a DIN rail The lever is also used for in stallation on a slim type mounting plate See Slim type mounting plate on p 61 3 3 Expansion input specifications FPOR User s Manual Insulation method Rated input voltage Rated input current Input impedance Operating voltage range Input points per
2. La 7d X0 7 Lu 6 o 0 xo x1 o e o o x2 x3 0 o e o o 34 x4 X5 0 0 Oo x6 X7 0 o COM COM T i YO 7 e L YO Y1 L e e L Y2 Y3 L e e L Y4 Y5 L e L Y6 Y7 L e 1 The COM terminals of the input circuits are connected internally Input Output C32T C32CT T32CT F32CT X0 7 X8 F o oO xo x1 comme o oJ x8 X9 o o x2 x3 Oo Oo o XA XB 9 o e o Oo x4 X5 o Oo o xc XD o o e Oo O X6 X7 o o eo O XE XF o o0 COMICOM e COM COM 4 YO 7 x Y8 F e L YO Y1 L L Y8 Y9 L e e L Y2 Y3 L L YA YB L e L Y4 Y5 L L YC YD L e L Y6 Y7 L L 4 YE YF L d t3 X0 YO CPU types X1 X8 Y1 The terminals as well as the terminals of the output circuits are connected internally Input
3. 100 gt 75 0 nll 7 lt 25 0 _ 25 0 25 0 AUP AUP i i f O E 9 9 9 l l l l o o o 9 amp l l l l l l l AFP0803 AFPO803 AFPO803 210 0 FPOR User s Manual Installation and wiring 5 1 3 2 Flat type mounting plate The flat type mounting plate AFP0O804 should only be used with a stand alone CPU It should not be used if an expansion unit is attached to the CPU 90 0mm 60 0mm Installation Procedure 1 Raise expansion hooks on top and bottom of the unit 2 Press unit on mounting plate and align expansion hooks with plate 3 Push expansion hooks back into place FPOR User s Manual 63 Installation and wiring Removal 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 installed side ways on a DIN rail D DIN rail 64 FPOR User s Manual Installation and wiring 5 2 Connecting FPO FPOR expansion units
4. a lej a a a c w c c c c b b b b d d we d d d Pu 6 e e e lel e e ed 2 1 0 0 3 2 1 0 0 D Data to be sent Send buffer Number of bytes to be sent en 2 Transmission done flag 8 F159 MTRN execution e e Write pointer When sending data operation is as follows F159 MTRN is executed to send data to the external device When F159 MTRN is executed 1 The transmission done flag turns to FALSE 2 The start code is sent automatically 3 The number of bytes to be sent is set in offset 0 of the send buffer 4 The characters a and b are sent to the external device The end code is automatically added to the data sent While F159 MTRN is being executed no data can be received The transmission done flag is FALSE 5 When the specified number of bytes has been sent the transmission done flag turns to TRUE 6 Now F159 MTRN can be executed again When F159 MTRN is execut ed Steps 1 to 5 are repeated This time the characters c d and e are sent FPOR User s Manual Communication 6 6 6 1 1 communication System register settings Note By default the COM port is set to MEWTOCOL COM mode For 1 1 program controlled communication the system registers should be set as shown below Settings for COM port 1 or TOOL port 412 COM port 1 communication mode Prog
5. HOHHH The COM terminals of the input circuits are connected internally Input no input for E8YT Output no output for E8X 52 FPOR User s Manual E16X E32T E16YT E16P E8YP FPOR User s Manual Expansion X0 7 X8 F o oI x0 x1 5o 5 o xs x9 o0 o _ x2 x3 OO Oo O XA xBl 9 o e o o XA X5 oO o O0 xc XD o o e o O0 X6 X7 OO o Oo XE XF oO O0 COMICOM L pe COM YO 7 Y8 F 11 vo v1 L L va v9 L e L Y2 Y3 L L YA YB L hd e L Y4 Y5 L L YC YD L hd e L Y6 Y7 L L YE YF L 1 The terminals as well as the terminals of the output circuits are connected internally Input no input for E16YT Output no output for E16X X0 7 o_o xo Xi o e e o o _ XA x5 0 0 e ome x6 x7 5 o e COM COM ji L YO 7 gt vo Y1 Y2 Y3 YA Y5 Ye Y7 2 r rr jr 6 6 6 Slr ir r r
6. E NPN 7 N PLC Input terminal X0 Encoder input X5 Operation start 2 Output terminal YO Inverter operation Y1 Inverter high speed Inverter Operation stop Fast slow Encoder D Motor Conveyor When X5 turns to TRUE YO and Yi turn to TRUE and the conveyor begins to move When the elapsed value sys diHscChannelOElapsedValue reaches 4500 Y1 turns to FALSE and the conveyor begins to decelerate When the elapsed value reaches 5000 YO turns to FALSE and the conveyor stops 189 High speed counter and pulse output Operation chart 0 4500 5000 1 4 f X YO D x Number of pulses y Speed System register settings No Item Name Data 40 High speed counter Channel 0 incremental input X0 X Reference Panasonic s download area 190 For POU Header and POU Body please see the programming examples in FPOR User s Manual High speed counter and pulse output 7 4 Pulse output function Note Together with a commercially available pulse string input type motor driv er the pulse output function can be used for positioning control The pulse output function is only available with the transistor output type Setting system registers Procedure FPOR User s Manual When using the pulse output function make sure the high speed counter function is not allocated to the channel se
7. y q L L d mm 11 2 5 Using DIN rails 3 y I y 11 3 1 0 allocation FPOR CPUs C10 Input 6 X0 X5 Output 6 YO Y5 242 FPOR User s Manual Appendix FPO FPOR expansion units I O allocation is performed automatically when an expansion unit is added and is determined by the installation location Type of unit Os Channel Unit number installation loca tion 2 3 FPO FPOR I O expansion unit FPOR E8X mh X20 X27 X40 X47 X60 X67 FPOR E8YR Output Y20 Y27 Y40 Y47 Y60 Y67 E8YT E8YP FPOR E16YT Output 16 Y20 Y2F Y40 Y4F Y60 Y6F E16YP FPO analog I O unit Input 16 WX2 WX4 WX6 FPO A21 X20 X2F X40 X4F X60 X6F Input 16 1 WX3 WX5 WX7 X30 X3F X50 X5F X70 X7F Output 16 WY2 WY4 WY6 Y20 Y2F Y40 Y4F Y60 Y6F FPO A D conversion Input 16 0 2 4 WX2 WX4 WX6 unit 6 X20 X2F X40 X4F X60 X6F p and e input 16 1 3 5 wx3 WX5 WX7 init a all 7 X30 X3F X50 X5F X70 X7F FPO TC4 FPO TC8 FPO D A conversion Input 16 WX2 WX4 WX6 unit X20 X2F X40 X4F X60 X6F Ed Output 16 0 2 WY2 wy4 WY6 x Y20 Y2F Y40 Y4F Y60 Y6F Output 16 1 3 WY3 WY5 WY7 Y30 Y3F Y50 Y5F Y70 Y7F FPO RTD unit Input 16 0 2 4 WX2 WX4 WX6 FPO RTD6 X20 X2F X40 X4F X60 X6F Input 16 1 3 5 WX3 WX5 WX7 X30 X3F X50 X5F X70 X7F Output 16 WY2 WY4 WY6 Y20 Y2F Y40 Y4F
8. 0 High speed counter input XO X1 X3 X4 or X6 X7 2 Counter value 8 Increasing Decreasing 3 High speed counter input X0 X1 X3 X4 or X6 X7 Counter value N 177 High speed counter and pulse output Input mode Input signals Reset input X2 X5 8 Rising edge count disabled elapsed value cleared Falling edge count enabled Count prohibited The reset at 3 is executed by the interruption at rising edge and falling edge The reset input can be ena bled disabled using bit 2 of sys_wHscOrPulseControlCode 7 3 2 Minimum input pulse width For the period T 1 frequency a minimum input pulse width of T 2 sin gle phase input or T 4 two phase input is required Single phase input Two phase input 7 3 3 O allocation The inputs and outputs used will differ depending on the channel number being used See Function specifications and restrictions on p 169 The output to be turned to TRUE or to FALSE can be specified with the in structions F166 HighSpeedCounter Set or Hsc TargetValueMatch Set and F167 HighSpeedCounter Reset or Hsc TargetValueMatch Reset Outputs can be specified from YO to Y7 Using channel 0 with incremental input and reset input FPOR D Count input XO 9 Reset input X2 3 TRUE FALSE output at Yn io Yn The output which is turned TRUE or FALSE when the target value is reached YO Y7
9. RS232C 0 Command message 2 Response message 1 1 MEWTOCOL COM connection between a computer and the FPOR It is recommended to connect the computer to the TOOL port of the FPOR A connection cable order no AFC8513D with a 5 pin mini DIN connector and a 9 pin Sub D connector is available A communication cable with a 9 pin sub D connector on one end and open wires on the other end AIGNCAB232D5 is available for connection to the COM port e Using the TOOL port FG OO FG CD 1 1 SG RXD 2 2 SD TXD 3 3 RD DTR 4 O OA4 GND 5 O5 DSR 6 O RTS 7 CTS 8 PE RI 90 Left computer right FPOR e Using the COM port RS232C CD 10 RXD 20 S TXD 3 0 R DTR 4 G GND 5 DSR 6 O RTS 7 CTS 8 TE RI 90 Left computer right FPOR 115 Communication 6 5 5 2 1 1 communication with GT touch panels Note Reference 116 Fora 1 1 MEWTOCOL COM connection between the FPOR and a touch panel of the GT series an RS232C cable is needed Communication is performed via commands from the touch panel and responses from the PLC No program is required for communication Simply set the mutual commu nication settings to operate the PLC via the touch panel It is recommended to connect the computer to the TOOL port of the FPOR A connection cable order no AFC8513D with a 5 pin mini DIN connector and a 9 pin Sub D connector is available T 2 RS232C MEWTOCOL COM connection between a
10. Any input can be specified in the global variable list The near home input is enabled disabled using the pulse output control code See p 199 171 High speed counter and pulse output Performance No of channels Maximum output frequency 4 50kHz Linear interpolation control 50kHz 1 The maximum output frequency may be lower than the values indicated in the table when the pulse output speed is changed when a target value match on off instruction another pulse I O process or interrupt program is executed simultaneously Control flags and memory areas Related instructions 172 Counter and pulse output settings as well as elapsed values are stored in special data registers The pulse output status is stored in special internal flags To access special data registers and special internal flags use the PLC independent system variables You can insert system variables directly into the POU body Use the Variables dialog without entering a declara tion in the POU header See Instructions and system variables on p 196 e F166 PulseOutput Set or Pulse TargetValueMatch Reset Target value match ON pulse output e F167 PulseOutput Reset or Pulse TargetValueMatch Set Target value match OFF pulse output e F171 PulseOutput Trapezoidal or PulseOutput Trapezoidal FB Trape zoidal control e F171 PulseOutput Jog Positioning or PulseOut put Jog PositioningO FB PulseOutput Jog Positioning1 FB JOG opera tion and
11. Characters 1 2 and 3 are sent to the external device The end code is automatically added to the data sent 135 Communication While F159 MTRN is being executed no data can be received The transmission done flag is FALSE 4 When the specified number of bytes has been sent the transmission done flag turns to TRUE 5 Characters E F and G received from the external device are stored in the receive buffer Note Resetting the receive buffer sets the number of bytes received in zd offset 0 to O0 and moves the write pointer back to offset 1 The next data will be stored starting at offset 1 and overwriting the existing data 6 6 5 2 Start code STX end code ETX Receiving data OTA 4B Kop RHO EDEN FG 409 E TRUE o z FALSE B TRUE 3 FALSE Y Y Y A A A Alef D D D D a G G H H B B B BRE E E EF E ER Em C C C C Cr C C C C C 1 2 3 Q5 1 2 2 Q0 1 0 1 1 lt D Data received from external device Receive buffer 2 Reception done flag Number of bytes received 8 F159 MTRN execution 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 The
12. Timer counter elapsed value area 2 Special data registers Memory area double words FPOR User s Manual Available address area Function FP IEC 55 DWX0 DWX108 ID0 9oID108 55 DWYO DWY108 QDO Code for specifying QD108 32 outputs as a dou ble word 32 bits of data 128 DWRO DWR254 MDO 0 Code for specifying MDO0 254 32 internal flag points as a double word 32 bits of data 64 DWLO DWL126 MD7 0 Code for specifying 9oMD7 126 32 link flag points as a double word 32 bits of data Memory size Code for specifying 32 inputs as a double word 32 bits of data Outputs Internal flags Link flags 245 Appendix 246 Data 9oMD5 0 Data memory used in registers DETZEN MD5 12311 a program Data is 2 handled in 32 bit 16382 DDTO MD5 0 units lett elis word DDT32761 MD5 32761 128 DLDO DLD126 MD8 0 Data memory shared MD8 126 by multiple PLCs connected using PLC link Data is handled in 32 bit units dou ble word 512 DSVO DSV1022 MD3 0 Data memory for MD3 1022 storing the set values of timers or coun ters The values are stored by tim er counter number Link registers Timer counter set value area 2 Timer counter elapsed value area DEVO DEV1022 MD4 0 Data memory for MD4 1022 storing the elapsed values during opera tion of timers or counters The values are stored by tim er counter number
13. 6 1 3 Program controlled communication Reference FPOR User s Manual With program controlled communication the user generates a program which governs the data transfer between a PLC and one or more external devices connected to the communication port e g an image processing device or a bar code reader Hence any desired protocol can be pro grammed to adapt to external devices Typically such a user program consists of sending and receiving the data The data to be sent and the data received are stored in data register areas DT defined as send and receive buffers For detailed information on the program controlled communication mode see Program controlled communication on p 119 89 Communication 6 1 4 PLC Link Example Reference 90 PLC Link is an economic way of linking PLCs using a twisted pair cable and the MEWNET protocol Data is shared with all PLCs by means of dedicated internal flags called link flags L and data registers called link registers LD The statuses of the link flags and link registers of one PLC are auto matically fed back to the other PLCs on the same network The link flags and link registers of the PLCs contain areas for sending and areas for re ceiving data Station numbers and link areas are allocated using the sys tem registers Link flag LO for station 1 turns to TRUE The status change is fed back to the
14. Installation and wiring 5 5 1 2 Input wiring precautions When using an LED equipped Reed switch When an LED is connected in series to an input contact such as an LED equipped Reed switch make sure that the ON voltage applied to the PLC input terminal is greater than 21 6V DC In particular take care when connecting a number of switches in series B Q OF O COM E 24V LED equipped Reed switch FPOR m gt ejl LED Contact 221 6V Input terminal e amp e When using a two wire type sensor FPOR User s Manual If the input 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 A 8 zx Two wire type sensor FPOR D Internal circuit Bleeder resistor Input terminal 75 Installation and wiring The formula is based on an input impedance of 9 1kQ The input imped ance varies depending on the input terminal number The off voltage of the input is 2 4V Therefore select a bleeder resistor value R so that the voltage between the COM terminal and the input ter minal will be less than 2 4V 9 1R IX gA R 24 Therefore 21 84 RS g4l 24 CO The power dissipation P of the resistor is VY pev IW V Power supply voltage In the actual selection use a value that is 3 to 5 times the value of P W
15. Security functions 8 3 FP Memory Loader The FP Memory Loader V2 0 or higher AFP8670 AFP8671 can be used to transfer a program from one PLC to another To prevent unauthorized copying of user programs you must enable up load protection This function is recommended for users who manage orig inal programs on a PC In FPWIN Pro Online Security Settings opens the Security Settings dialog box which offers two security settings for the FP Memory Loader e Upload protection e Download protection 8 3 1 Upload protection Upload protection prevents programs from being uploaded to an FP Memory Loader Procedure 1 Online Security settings The Security settings dialog box opens 2 Select Enable upload protection 3 Enter the password 4 Choose Set Protection or Change Protection When defining security settings for the first time choose Set Protec tion To change existing security settings choose Change Protection 5 Download program from source PLC to FP Memory Loader 6 Transfer program to target PLC 7 After program download from the FP Memory Loader to the target PLC this PLC is now upload protected 220 FPOR User s Manual Security functions y Ray e EN a NSN CAL 01234567 01234567 Program upload can be disabled in the Security Settings dialog box see table below D The FP Memory Loader contains a password and upload protected pro
16. The expansion units are connected to the right side of the CPU Use the expansion connectors and the expansion hooks on the side of each unit Procedure 1 Peel seal on right side of the unit to expose expansion connector 4 Insert pins into holes so that there is no gap between units Push expansion hooks back into place You can now add up to two more units in the same manner FPOR User s Manual 65 Installation and wiring 5 3 Safety instructions for wiring Interlock circuit In certain applications malfunction may occur for the following reasons e Power ON timing differences between the PLC system and input output devices or mechanical power apparatus e Aresponse time lag when a momentary power drop occurs e Abnormality in the PLC external power supply circuit or other devices In order to prevent a malfunction that results in a system shutdown choose the adequate safety measures listed below When a motor s clockwise counter clockwise operation is controlled pro vide an interlock circuit that prevents clockwise and counter clockwise sig nals from being input into the motor at the same time Emergency stop circuit Start up sequence Note 66 Provide an emergency stop circuit externally to turn off the power supply of controlled devices in order to prevent a system shutdown or an irreparable accident if a malfunction occurs The PLC should be operated only after all of the field device
17. 6500 0ms 10 0 81900 0ms 10000 0ms 10 0 81900 0ms 0 0ms 0 0 600 0ms 0 0 Normal scan non constant Use PLC link 0 Use PLC link 1 1 16 0 64 words 0 63 0 64 words 0 128 words 05127 0 127 words 1 16 0 64 words 64 127 0 64 words 0 128 words 128 255 0 127 words FPOR User s Manual Appendix High Speed Counter Pulse Catch Input Interrupt Input 400 High speed counter Channel 0 400 High speed counter Channel 1 400 High speed counter Channel 2 400 High speed counter Channel 3 401 High speed counter Channel 4 401 High speed counter Channel 5 402 Pulse output Channel 0 tran sistor types only FPOR User s Manual Unused Unused Unused Unused Unused Unused 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 X2 Incremental input X0 Decremental input X1 Incremental input X0 Decremental input X1 Reset input X2 Counter input X0 Incremental decremental control input X1 Counter input X0 Incremental decremental control input X1 Reset input X2 Incremental input X1 Incremental input X1 Reset input X2 Decremental input X1 Decremental input X1 Reset input X2 Two phase input X3 X4 Two phase input X3 X4 Reset input X5 Incremental input X3 Incremental input X
18. DDT90000 MD5 90000 Data memory for DDT90438 MD5 90438 storing settings and error codes Special data registers 1 The number of points noted above is the number reserved as the calculation memory The actual number of points available for use is determined by the hardware configuration 2 There are hold and non hold type memory areas When the power supply turns off or the mode is changed from RUN to PROG mode hold type areas are stored and non hold type areas are reset C10 C14 C16 C32 The hold type and non hold type areas are fixed For information on the size of each area refer to the performance specifications T32 F32 The settings of the hold type areas and non hold type areas can be changed using the system registers T32 If the battery is empty the data values in the hold area will become indefinite during power off They are cleared to 0 the next time the power is turned on See Backup and clock calendar functions on p 38 3 The number of points for timer and counter flags can be changed using system register 5 The numbers in the table are the default settings FPOR User s Manual Appendix 11 5 System registers System registers are used to set values parameters which determine op eration ranges and functions used Set values based on the use and speci fications of your program There is no need to set system registers for functions which will not be used 11 5 1 Precautions
19. The COM terminals of the input circuits are connected internally Input no input for E8YT Output 53 Expansion E32P E16YP 54 X1 X8 X0 7 X8 F n A o o P xo x1 OO o O xg X9 KH 0 o H HH H o o x2 x3 o O0 O O XA XB o 0 peo X4 xs 98 4 df xc x08 34 o O X6 X7 o o o o XE XF o FUIT COM COM t COM COM H AIH n Lg YO 7 Y8 F et vo Y1 L L ve Y9 L L Y2 Y3 L L YA YB L 4 L Y4 Y5 L L YC YD L L Y6 Y7 L L YE YF L 9 C CY The terminals as well as the terminals of the output circuits are connected internally Input no input for E16YP Output FPOR User s Manual Chapter 4 4 1 General Note FPOR User s Manual I O allocation I O allocation I O allocation is performed automatically when an expansion unit is added and is determined by the installation location The I O allocation of the FPOR CPU is fixed pre 1 rj Pues o Tos ol nnn Ponoko Dnbnunan nnnonnn KERRAEN EAER N
20. 6 2 3 USB POM iot iex Ga sx ret d E ERREUR EUN CEA ARE OUR ER aa oi EXPO MEE 93 6 2 3 1 Installing the USB dEiVer iier rrr hp e E rte e nera e aea 95 6 2 3 2 Communication with the programming tool sessseessseees 97 6 2 3 3 Reinstalling the USB driVer ect rer nre hn thx n ha d n 98 6 3 Communication specifications ice ino ib Re n pir a Gg yo 4 Ka a 3G a XR Ra ga ax YS PEE 98 6 4 Commuinicatior parameters 2 Mp eI e e Rau cRGU SER I RR MA D X DR Ka DUX RAF DUX ERE RUNS 102 10 FPOR User s Manual Table of contents 6 4 1 Setting system registers in PROG mode sess 102 6 4 2 Changing communication mode in RUN MOde sssssssrsssrrssrrresrrnnerrnesrrrens 105 6 5 MEWTOCOL COM iei riu rre kr E EE REFERS ARE MNEE RE RETIA ARENA DAI D RE ARRAS AR CE Fx Eu RE 105 6 5 1 Operation outline for MEWTOCOL COM slave eem 108 6 5 2 Command and response format n saN iia XX XANR Ra EXER KR YERA 109 6 5 3 Commands iones a ra ERRARE RACER FAEXFKAEERUFEREK UA CR ka Mk EXAM Fue ka e aa 111 6 5 4 Setting communication PAFAMELErS cece eee 112 6 5 4 1 FPO compatibility mode roo ener eet een Ron 113 6 5 5 121 slave commu nicatiOnis uiii i axe ERR REFS ERRARE ERROR ERROR ersten 114 6 5 5 1 1 1 communication with a computer iuisiasori rritni onne ia 115 6 5 5 2 1 1 communication with GT touch panels esee 116 6 5 6 1 N slave commni nication ecco eren e ER Fe Ra Re EORR WR
21. COM2 WA CP210x USB to UART Bridge Controller COM9 ag ECP Printer Port LPT1 Sound video and game controllers Bl System devices H 2 Universal Serial Bus controllers 96 FPOR User s Manual Communication Note If CP210x USB to UART Bridge Controller appears in Other de vices or Unknown device is indicated the installation has failed Reinstall the USB driver see p 98 6 2 3 2 Communication with the programming tool In Control FPWIN Pro follow these steps Procedure 1 Online Communication parameters 2 Make the following settings in the Communication setting dialog Parameter Setting Network type C NET RS232C USB COM port COM port number allocated for the USB Baud rate 115200bit s Communicates with 115200bit s when the USB is connected Data length 8 bits Stop bit 1 bit Parity Odd Please refer to your programming tool s online help for information on the Reference y prog g p COM port settings FPOR User s Manual 97 Communication 6 2 3 3 Reinstalling the USB driver The USB driver must be installed again if the installation failed If CP210x USB to UART Bridge Controller appears in Other devices or Unknown device is indicated the installation has failed Device Manager DEAR Fie Action View Help e R 48 MATSUSHI 50P91Q amp M Computer Se Disk drives Display adapters Fd DVD CD ROM drives c3 Floppy disk controllers
22. Note Any input that is not used for other applications can be used as the near home input 7 43 Instructions and system variables Control FPWIN Pro offers two concepts for programming with pulse output instructions the original F instructions e g F171 PulseOutput Trapezoidal and the advanced tool instructions The tool instructions are universal instructions which are supported by all PLC types of the FP series They offer new and comfortable features including information functions for evaluating status flags and settings control func tions for configuring high speed counters and pulse outputs PLC independent functions and DUTs as well as variable channel numbers Most of the information which is accessible via information and control functions is stored in special internal flags and special data registers These flags and registers can also be accessed using PLC independent sys tem variables 196 FPOR User s Manual High speed counter and pulse output Use the following instructions to perform various positioning tasks Target value match ON pulse output F166 PulseOutput Set If the elapsed value matches the target value Tool instruction of the selected pulse output channel the Pulse TargetValueMatch Reset specified output immediately turns to TRUE Target value match OFF pulse output F167 PulseOutput Reset If the elapsed value matches the target value Tool instruction of the pulse output channel the spec
23. Note The maximum counting speed may be lower than the values indi cated in the table when the pulse output speed is changed or when a cam control target value match on off or other interrupt pro grams are executed simultaneously Maximum counting speed No Combination of high speed Maximum counting speed frequency kHz counter channels No pulse Pulse out Pulse out Pulse out Pulse out output put 1 put 2 chan put 3 chan put 4 chan channel nels nels nels 1 phase 2 phase 1 gw phase 2 1 2 1 2 2 1 2 phase phase phase phase phase phase phase phase phase ES RAE Eee eno ERs E p ee ESTEE CNRC AEA pes DI BH E SURO Re ea ee ZNGEMEBERGUESEEAES ESSET UTR CR ERES ESTER Channel is being used Channel Ww eo le ej eje e WO oO NID OH A W N e m E U1 U1 U1 U1 a u Ga D gt ul wl wl Bh U1 wo owed oy o oOo uy gt eo olm oleo m ele BPlelele n eo io o eu O FOl o BR UI ws gt HR OH o WI nN NINI WwW W C al o fed kal SEM ol S EJ 5 ES o ES m im inm n m eo eus oleo w A Ul W uv A NINININI NI W e N N N N Uu O oy Em Om Roe U EI o Ule OC Rey ui p m Ui Ui ajajajaj a ur U1 U1 UO a m Ui ajaj Ul oO w Rh uy wo A ajaj Ul d o FSi o ojj BR ojo ojojo p e I W e e ej eje oy Ul oO Oy Ui pa eo w N NI NI N oj D The numbers are
24. Overview Instead of Panasonic s USB cable any commercial USB cable meeting the above specifications may be used The maximum permissible cable length is 5m 1 5 FPO program compatibility Programs from the existing FPO can only be used on the FPOR if they 1 conform to FPOR specifications or 2 are executed in FPO compatibility mode Using programs that conform to FPOR specifications This allows you to make maximum use of FPOR performance and functions However the following modifications to the FPO program must be made before downloading the program to the PLC 1 Change the PLC type from FPO to FPOR using the programming soft ware 2 Since the system registers will be initialized when the PLC type is changed reconfigure the system registers if necessary 3 Modify the programs according to the FPOR specifications if necessary Executing programs in FPO compatibility mode The FPO compatibility mode allows you to use existing FPO programs as they stand With a few exceptions the same specifications apply as for the FPO To enter the FPO compatibility mode use your programming tool to down load the FPO program A confirmation message will appear and the mode will automatically change to the FPO compatibility mode The FPO program may either have been uploaded from an FPO or it may have been created on an FPOR in FPO mode PLC type is FPO The FPO compatibility mode is supported by FPWIN Pro V6 10 or higher
25. reached Then the frequency changes to the second frequency value and pulse output continues until the second target value is reached and so forth e Pulse output stops when the last target value is reached Please refer to the Control FPWIN Pro online help for details and a pro gramming example 213 High speed counter and pulse output 7 4 3 9 Linear interpolation Pulses are output from two channels in accordance with the parameters in the specified DUT so that the path to the target position forms a straight line Pulses are output from the specified channel when the control flag for this channel is FALSE and the execution condition is TRUE Tool instruction PulseOutput Linear FB F instruction F175 PulseOutput Linear Pulse output characteristics 2000 5000 x 5000 X axis target value channel 0 2000 Y axis target value channel 1 The two axes are controlled so that a linear path is followed to the target position Please refer to the Control FPWIN Pro online help for details and a pro Reference gramming example 214 FPOR User s Manual 7 4 3 10 Home return FPOR User s Manual High speed counter and pulse output This instruction performs a home return according to the parameters in the specified DUT 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 predet
26. 0 096 x 13 2 x 15 4 31ms Tik 0 96 400 0 67 5 407ms 156 FPOR User s Manual Communication Note The default value for the addition waiting time is 400ms Given the above conditions the maximum value for the transmission time T of one cycle will be T max 11 82 x 15 4 13 5 407 593 43ms Calculation example 4 Conditions All stations have been added to an 8 unit link Highest station number 8 Flags and registers have been evenly allocated Scan time for each PLC 5ms Ttx 0 096 Pcm per station 23 8 16 x4 119 Tpc Ttx x Pem 0 096 x 119 11 43ms Ts per station 5 11 43ms 16 43ms Tit 0 096 x 13 2 x 8 2 79ms Given the above conditions the maximum value for the transmission time T of one cycle will be T max 16 43 x 8 2 79 5 139 23ms Calculation example 5 Conditions All stations have been added to a 2 unit link Highest station number 2 Flags and registers have been evenly allocated Scan time for each PLC 5ms Ttx 0 096 Pcm per station 23 32 64 x 4 407 Tpc Ttx x Pcm 0 096 x 407 39 072ms Ts per station 5 39 072 44 072ms Tit 0 096 x 13 2 x 2 1 632ms Given the above conditions the maximum value for the transmission time T of one cycle will be T max 44 072 x 2 1 632 5 94 776ms Calculation example 6 FPOR User s Manual Conditions All stations have been added to a 2 unit link Highest station nu
27. 2 or channel 3 Minimum input pulse No of chan Maximum counting phases width nels speed 15kHz x2 channels 10kHz x3 channels 1 For information on the minimum input pulse width see p 178 2 The maximum counting speed may be lower than the values indicated in the table when the pulse output speed is changed or when a cam control target value match on off or other interrupt programs are executed simultaneously 169 High speed counter and pulse output Control flags and memory areas The high speed counter operating status counting values and control code are stored in special internal flags and special data registers The control code contains the counter settings To access special data registers and special internal flags use the PLC independent system variables You can insert system variables directly into the POU body Use the Variables di alog without entering a declaration in the POU header See Instructions and system variables on p 179 Related instructions e F165 HighSpeedCounter Cam Cam control e F166 HighSpeedCounter Set or Hsc TargetValueMatch Set Target value match ON e F167 HighSpeedCounter Reset or Hsc TargetValueMatch Reset Tar get value match OFF e F178 HighSpeedCounter Measure Input pulse measurement 170 FPOR User s Manual High speed counter and pulse output 7 2 2 Pulse output function Note For each pulse output mode and position control mode
28. A Floppy disk drives H G IDE ATA ATAPI controllers 5 gt Keyboards 3 Mice and other pointing devices Hj amp Monitors B Network adapters e Other devices E e CP2101 USB to UART Bridge Controller amp amp S Ports COM amp LPT Sound video and game controllers w System devices B Universal Serial Bus controllers Also reinstall the driver if the USB connection does not work well Reinstalling the USB driver Procedure 1 Right click CP210X USB to UART Bridge Controller 2 Select Delete 3 Reinstall the USB driver see p 95 6 3 Communication specifications TOOL port 98 Interface RS232C Transmission distance 15m Baud rate 2400 4800 9600 19200 38400 57600 115200bit s Communication method Half duplex Synchronous method Start stop synchronous system Communication format Data length 7 bits 8 bits Parity None Odd Even Stop bit 1 bit 2 bits End code CR CR LF None ETX Start code No STX STX FPOR User s Manual USB port FPOR User s Manual Communication Data transmission order Transmits from bit O character by character MEWTOCOL COM Slave Modem connection Program controlled in RUN mode only Communication mode Description USB 2 0 Full Speed MEWTOCOL COM Slave Standard baud rate Communication mode 99 Communication COM port RS232C COM port RS485 100 Item Interface Transmission distance Baud rate Communicati
29. DT200 amp MWwS 200 ARRAY O0 4 OF WORD 5 0 POU header and LD body Class Identifier Type Initial Comment vaR wOummy WORD 0 3 ReceptionDone BOOL FALSE VAR EXTERNAL DT200 awReceiveBuffer ARRAY D 4 OF WORD S0 VAR awReceiveData i ARRAY O 3 OF WORD 4 0 sys blsComPorti ReceptionDone ReceptionDone ReceptionDone DT200 awReceiveBuffer 1 DT200 awReceiveBuffer 4 ReceptionDone awReceiveData D Data can be received from an external device if the reception done flag is FALSE The reception done flag is evaluated by the system variable sys bIsComPortiReceptionDone When the reception of the data is com plete the end code has been received the reception done flag turns to TRUE and subsequently receiving data is prohibited To prepare the sys tem to receive the next data without immediately sending further data the receive buffer is reset by executing F159 MTRN with n Number 0 FPOR User s Manual Communication Note e The status of the reception done flag may change while a scan is being carried out For example if the flag is used more than once as an input condition different statuses may exist within one scan To ensure proper execution of the program the status of the special internal flag should be copied to a variable at the beginning of the program e The start code STX resets the receive buffer Resetting
30. If using a power supply device without an internal protective circuit always make sure power is supplied to the unit through a protective element such as a fuse e Besure to supply power to a CPU and an expansion unit from the same power supply and turn the power on and off simultaneously for both 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 output is turned off first the CPU will detect the input fluctuations and may begin an unex pected operation Before turning on the power When turning on the power for the first time be sure to take the precau tions given below e During installation check that there are no scraps of wiring particularly conductive fragments adhering to the unit e Verify that the power supply wiring I O wiring and power supply volt age are all correct e Sufficiently tighten the installation and terminal screws e Set the operation mode selector to PROG mode Before entering a program Be sure to clear any existing program before entering a new program Procedure d 1 Online Online mode or 9 2 Online gt Clear PLC 3 OK Request concerning program storage To prevent the accidental loss of programs the user should consider the following measures e Backing up programs To avoid accidentally losing programs destroying files or overwriting the contents of a file
31. Interrupt input Interrupt input Interrupt input X0 X1 X2 X3 X4 X5 X6 X7 X0oInterrupt 0 XioInterrupt 1 X25Interrupt 2 X3 Interrupt 3 X4 Interrupt 4 X5oInterrupt 5 X6 Interrupt 6 X7 Interrupt 7 Unused Unused Unused Disable Disable Disable Disable Disable Disable Disable Disable Unused Unused Unused Unused Unused Unused Unused Unused Pulse output Y2 Y3 Pulse output Y2 Y3 Pulse output Y2 Y3 trol trigger input X1 e PWM output Y2 Pulse output Y4 Y5 Pulse output Y4 Y5 Pulse output Y4 Y5 trol trigger input X2 e PWM output Y4 Pulse output Y6 Y7 Pulse output Y6 Y7 Pulse output Y6 Y7 trol trigger input X3 e PWM output Y6 Disable Enable Disable Enable Disable Enable Disable Enable Disable Enable Disable Enable Disable Enable Disable Enable Rising edge Falling edge Rising and falling edge Home input X5 Home input X5 Position con Home input X6 Home input X6 Position con Home input X7 Home input X7 Position con Rising edge Falling edge Rising and falling edge Rising edge Falling edge Rising and falling edge Rising edge Falling edge Rising and falling edge Rising edge Falling edge Rising and falling edge Rising edge Falling edge Rising and falling edge Rising edge Falling edge Rising and falling edge Rising edge Falling edge Rising and falling edge
32. Operation RUN PROG ERROR status ALARM On fom fom Normal operation or o jor PROG mode Flashes Flashes Off Forcing on off in RUN mode Off Flashes A self diagnostic error has occurred Off Flashes A self diagnostic error has occurred Varies Varies System watchdog timeout has occurred Normal con dition Continue Continue Abnormal condition Continue FPOR User s Manual 225 Troubleshooting 10 2 Operation on error The CPU has a self diagnostic function which identifies errors and stops operation if necessary For some errors the user may select whether oper ation shall continue or stop when the error occurs Procedure 1 Double click PLC in the navigator 2 Double click System registers 3 Double click Act on Error Select the desired setting for each type of error Example Operation is to continue even though a calculation error has occurred Set the system register Operation error to Continue Operation er rors will be handled as an error but operation will continue 10 3 ERROR ALARM LED is flashing Check the error code using the programming software Procedure e In online mode Monitor PLC status or FA The error code is displayed in the Self diagnostic error section For self diagnostic errors 20 and higher other than a syntax error There are three ways to clear the error e Choose Clear in the PLC status dialog while in PROG mode
33. Output FPOR User s Manual 37 CPU types C32P C32CP T32CP F32CP X0 7 X8 F xo x1 o o x8 x9 e x2 x3 o Oo oO O XA XB gt o e oO 0 x4 X5 DO 50 xc XD o o e 6 0 X6 X7 9 C 5 o _ xe XF 95 9 COM COM E COM COM 22 YO 7 x Y8 F L Yo Y1 L L Y8 Y9 L L Y2 Y3 L L YA YB L L YA Y5 L L YC YD L L Y6 Y7 L L YE YF L d 9 C The terminals as well as the terminals of the output circuits are connected internally Input Output 2 5 Backup and clock calendar functions Charging the battery 38 The FPOR T32 CPU is equipped with a secondary battery charging type This battery makes it possible to use e additional hold areas for data registers or other data e the clock calendar function The FPOR F32 CPU has a built in FRAM which allows saving all data with out a backup battery The FPOR F32 type does not offer a clock calendar function The built in backup battery is not charged when the unit is shipped Charge the battery sufficiently before use Charging time for full charge 72 hours at an ambient temperature of 25 C
34. ROM memory Program capacity 16000 32000 steps Online edit mode Available entire program Security function Password protection 8 digit upload protec tion Comment Memory capacity 328kbyte memory Online edit mode Available project information I O refresh time lt 0 2ms With expansion units lt 0 2ms 1 x no of expansion units ms Operation lt 3000 steps Basic instructions 0 08us timer instruction speed 2 2us High level instructions 0 32us MV instruc tion gt 3000 steps Basic instructions 0 58us timer instruction 3 66us High level instructions 1 62us MV instruc tion Basic instructions Approx 110 High level instructions Approx 210 Operation memory bits Inputs X 1760 Outputs Y 1760 Internal flags R 4096 Special internal 224 flags R Timer flags Counter 1024 Factory setting timers 1008 points TO T1007 Factory setting counters 16 points C1008 C1023 Timer 1 32767 in units of 1ms 10ms 100ms or 1s Counter 1 32767 Link flags L 2048 232 FPOR User s Manual FPOR User s Manual Appendix Operation Data registers DT 12315 words 32765 words PEEN Special data regis 440 words DT90000 DT90443 ters DT Link registers LD 256 words Index registers I 14 words IO ID Differential points Unlimited Master control flags MCR 256 Number of labels JP and LOOP 256 Number of SFC steps 1000 Number of subroutines 500 Sampling trace 300 sample
35. STX STX No of connected stations 9 lt 99 x32 with C NET adapter Communication mode MEWTOCOL COM Master Slave Modem connection Program controlled Modbus RTU Master Slave PLC Link 1 The number of stations transmission distance and baud rate may vary de pending on the connected RS485 device 235 Appendix 2 The values for the transmission distance baud rate and number of stations should be within the values noted in the following graph y 40 0 700 1200 X x Transmission distance m y Number of stations For a baud rate of 115200bit s 2 For a baud rate of 19200bit s 9 Set the baud rate in the system registers and set the DIP switch on the bottom of the unit to the same setting When a C NET adapter is connected to the RS485 interface you can only specify a baud rate of 19200bit s 4 The start and end code can only be used in program controlled communication gt Station numbers should be registered via the system registers Note If the potential difference between the power supplies of RS485 de vices exceeds 4V communication may fail because the RS485 port is non isolated The large potential difference will damage the con nected devices Default settings COM port RS232C 9600bit s 8bits Odd COM port RS485 115200bi s 8bits oda 236 FPOR User s Manual Appendix 11 1 4 Power supply specifications FPOR User s Manual Item FP PS24 024E FP PS24 0
36. Series only support the RTU bi nary mode 160 FPOR User s Manual Communication Modbus RTU master function Write and read access to various slaves is possible using the F145 and F146 instructions Individual access to each slave as well as global trans mission is possible FPOR Master Slave Modbus RTU slave function FPOR User s Manual After having received a command message from the master station the slave stations send back the response message based on the instructions received Do not execute the Fi45_WRITE and F146_READ instructions on slave stations FPOR FPOR FPOR Master Slave 161 Communication Modbus RTU command message frame START ADDRESS FUNCTION DATA CRC END CHECK Transmission time 8 bits 8 bits nx8 16 bits Transmission time for 3 5 characters bits for 3 5 characters ADDRESS 8 bits 0 99 decimal station no 0 broadcast address 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 Control FPWIN Pro does not support the address range from 0 247 of the Modbus RTU protocol Response in normal status The same message as a command is returned for a single write command A part of a command message 6 bytes from the beginning is returned for a multiple write command Response in abnormal status If a parameter whic
37. and FPWIN GR V2 80 or higher 24 FPOR User s Manual Note FPOR User s Manual Overview Due to the FPOR s higher operation speed the scan time in FPO compatibility mode may be shorter than the original FPO scan time If you require a scan time close to the original conditions set a con stant scan time in the system registers or add a dummy program e g a loop operation to increase the scan time An FPO program can only run in FPO compatibility mode if the PLC types C10 C14 C16 C32 and T32 match exactly FPO compatibility mode is not available for the F32 type FPOR In most respects the FPO programs do not need to be modified to be exe cutable in FPO compatibility mode Please note however the following dif ferences between the specifications and change the programs as neces sary 1 P13 EPWT EEPROM write instruction The execution times for this instruction will vary depending on the number of write blocks FPO ms _ 1 64 amp b 100 2 128 10 100 4 256 100 8 512 100 16 1024 80 100 32 2048 100 33 2112 200 41 2624 200 64 4096 200 96 6144 300 256 16320 800 25 Overview 26 2 F170 PulseOutput PWM PWM output instruction The frequency settings differ In particular the setting for the low frequency band cannot be defined K FPO FPO compatibility mode Frequency Hz Period ms Frequency Hz Period ms Cannot be specified error occurs os
38. and pulse output Forward TRUE e po eS Ae TRUE l FALSE Pulse output YO Y2 2 Direction output Y1 Y3 3 Incremental counting 0 Decremental counting Control is carried out using one pulse output to specify the speed and an other 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 Example The number of pulses set with the target value is output Positive values result in a positive rotation negative values in a negative rotation With a current position of 5000 and a target value of 1000 1000 pulses are output from CW to reach the new position at 6000 Absolute value control Example FPOR User s Manual A number of pulses equal to the difference between the set target value and the current value are output Values greater than the current value result in a positive rotation values smaller than the current value result in a negative rotation With a current position of 5000 and a target value of 1000 4000 pulses are output from CCW to reach the new position at 1000 193 High speed counter and pulse output Home return JOG operation 194 The following outputs are TRUE or FALSE depending on the selected pulse output method and position control mode Pulse output method Pulse out Target value Positive value Negative value gt current
39. beginning of the program Port name TOOL COM1 Port number 0 1 Special internal R903E R9038 flag Function name IsReceptionDone System variable sys bIsToolPortReceptionDone sys bIsComPortiReceptionDone name Bit status TRUE 133 Communication Transmission done flag When the specified number of bytes has been sent the transmission done flag turns to TRUE New data may be sent or received Any send in struction turns the transmission done flag to FALSE and no data can be received The transmission done flag can be evaluated using the IsTransmis sionDone function Or use the system variable sys bIsComPortiTransmissionDone or sys bIsToolPortTransmissionDone depending on the port Port name Port number Special internal flag Function name System variable name Bit status Communication error flag TOOL COM1 0 1 R903F R9039 IsTransmissionDone sys bIsToolPortTransmission sys bIsComPortiTransmission Done Done TRUE If the communication error flag turns to TRUE during reception reception continues Execute a send instruction to turn the error flag to FALSE and to move the write pointer back to offset 1 The communication error flag can be evaluated using the ISCommunica tionError function Or use the system variable sys bIsComPortiCommunicationError or sys bIsToolPortCommunicationError depending on the port Port Port name number TOOL 0 COM1 1 134
40. by the same operation result While the execution condition is TRUE F instructions are executed in every scan P instructions are executed only once at the rising edge of the execution condition Correct the program so that the high level instructions executed in every scan and at the rising edge are triggered separately There is an incorrect operand in an instruction which re quires a specific combination of operands for example the operands must all be of a certain type Change to PROG mode and correct the error In Control FPWIN Pro these errors are detected by the compiler Therefore they are not critical FPOR User s Manual Appendix 11 6 2 Self Diagnostic error codes Error code Name of error Operation Description and steps to take status of PLC E26 User s ROM error Stops Probably a hardware problem Please contact your dealer E27 Unit installation error Stops The number of installed units exceeds the limit Turn off the power supply and check the re strictions on unit combinations E28 System register error Stops Probably an error in the system registers Check the system register settings E30 Interrupt error O Probably a hardware problem Please contact your dealer Esa Interrupt error 1 Stops An interrupt occurred without an interrupt re quest A hardware problem or error due to noise is possible Turn off the power and check the noise conditions E32 Interrupt error 2 Stops An interrupt occ
41. desired output to TRUE or to FALSE PLC 2 Encoder Encoder output is input to the high speed counter 8 Motor Roller Inverter Start stop signal Cutter Cutter blade control signal Tape lead wire 166 FPOR User s Manual High speed counter and pulse output Pulse output function By connecting a commercially available motor driver to the PLC positioning control can be performed with the pulse output function Using special in structions trapezoidal control home return or JOG operation is possible PLC 0 CW pulse output Motor driver 2 CCW pulse output Stepping motor servo motor PWM output function A special instruction makes it possible to output pulses with a specified du ty ratio o X1 d e nnn Heater control using the PWM output function Increasing the pulse width increases heating 2 Decreasing the pulse width decreases heating Counting Range The counting range of the built in high speed counter is from 2 147 483 648 to 2 147 483 647 32 bit binary number FPOR User s Manual 167 High speed counter and pulse output Note 168 The high speed counter is 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
42. directly in Control FPWIN Pro The Control FPWIN Pro projects in LD and ST code can be downloaded from the Pana sonic Web site http www panasonic electric works com eu downloadcenter htm 8 FPOR User s Manual Table of contents Table of contents jBEKeIJIUI E E M 15 MEET E a E T a a E a 15 1 2 Unit CY PSS asneira aAA AAAS ees 18 M2 od CPW nr 18 1 2 2 FPO FPOR I O expansion units ccccc cece ese e cece sense esas nme nme eme emnes enn 19 152 3 EPO INTEIIGEMEUNINS gsis vetu tonc nee ek De REI AA br da Cun EEUU SURE UD P ends 20 1 2 4 FP Series linc UlltSi sx e era red E yer k rt Er he EREERKEE ER RE RRERERRERRERER ERROR FERE EEAO 20 1 2 5 Power Supply htc er extet oen vx RE een IRA E ER EM auntie deers 21 1 2 6 ACCeSSOTIGS iiie nux vets e e E i I I4 Ia ger lax ug vd a Y yw iaa FX Pa re ea 21 1 3 Restrictions on Unit combinatiohs ciere ERR ERR ERR ERRARE arias ede alia Ra ERAS RARUS 22 1 4 Programming tools uoce trcr etr e eek ete e Ee steerer tied EU E c mia E Rec 23 1 5 FPO program compatibility 212a dk Re ha rk ERR XRa INS I RI XDQGGRa YXG3RYRG p XY ka RR Ra i 24 2 CPU By 9 X A Q 60H 28 2 1 CPU parts and functions ssessessesseeseeseeseenn enne nanei sea sea sea sea sea sea sea n nnn 28 2 2 CPU input SPECICATION sirasini aa i brine iris saad RadAG ad DERE IK bnlAGS Rr X dAG nia 31 2 3 CPU output
43. downloadcenter htm The programming examples for this chapter can be found in pe 63403 0001 sample high speed zip These examples can be used with different PLC types Therefore you have to adapt the PLC type in the Control FPWIN Pro Navigator After you have changed the PLC type a message appears Adapt System Registers and Compile Options Select Keep current settings so that you do not lose the system register settings set in the programming exam ple 187 High speed counter and pulse output 7 3 5 1 Positioning operations with a single speed inverter Wiring example 3 PLC Input terminal XO Encoder input X5 Operation start 2 Output terminal YO Inverter operation Inverter Operation stop Encoder Motor Conveyor When X5 turns to TRUE YO turns to TRUE and the conveyor starts to move When the elapsed value sys diHscChannelOElapsedValue reaches 5000 YO turns to FALSE and the conveyor stops Operation chart x Number of pulses y Speed 188 FPOR User s Manual Reference High speed counter and pulse output System register settings No Item Name Data 400 High speed counter Channel 0 Incremental input X0 zi For POU Header and POU Body please see the programming examples in Panasonic s download area 7 3 5 2 Positioning operations with a double speed inverter FPOR User s Manual Wiring example
44. e Turn the power supply off on while in PROG mode this clears all of the contents of the operation memory except hold type data e Execute the self diagnostic error set instruction F148_ERR 226 FPOR User s Manual Note Troubleshooting e If the operation mode selector has been set to RUN the error is cleared and at the same time operation is enabled However the error continues to be displayed unless the cause of the error has been eliminated e When an operation error error code 45 occurs the address at which the error occurred is stored in special data registers DT90017 sys iOperationErrorStepHold and DT90018 sys iOperationErrorNonHold If this happens monitor the ad dress at which the error occurred before cancelling the error 10 4 ERROR ALARM LED is ON FPOR User s Manual If the ERROR ALARM LED is on the system watchdog timer has been acti vated and the operation of the PLC has been stopped There are two ways to remedy the problem e Set the mode selector of the PLC from RUN to PROG mode and turn the power off and then on If the ERROR ALARM LED turns on again there is probably an ab normality in the CPU Please contact your dealer Check if the ERROR ALARM LED is flashing See ERROR ALARM LED is flashing on p 226 e Set the mode selector from PROG to RUN mode If the ERROR ALARM LED turns on the program execution time is too long Check if instructions such as JP or LOOP are p
45. error Compile memory full error High level in struction type error High level in struction oper and combina tion error Stops Stops Stops Stops Stops Stops Stops Stops A program with a syntax error has been written Change to PROG mode and correct the error Two or more operation results are output to the same flag This error also occurs if the same timer counter number is being used Change to PROG mode and correct the error This error is also detected during online editing No changes will be downloaded and operation will continue For instructions which must be used in a pair such as jump JP and LBL one instruction is either missing or in an incorrect position Change to PROG mode and correct the error An instruction has been written which does not agree with system register settings For example the timer counter number setting in a program does not agree with the tim er counter range setting Change to PROG mode and correct the error An instruction was written to the wrong program area main program area or subprogram area Change to PROG mode and correct the error This error is also detected during online editing No changes will be downloaded and operation will continue The program stored in the PLC is too large to compile in the program memory Change to PROG mode and correct the error In the program high level F and P instructions are trig gered
46. is nenmel sys bIsPlcLinkOStation4Active sys bIsPlcLinkOStation5Active sys bIsPlcLinkOStation6Active sys bIsPlcLinkOStation7Active sys bIsPlcLinkOStation8Active 6 8 EM sys bIsPlcLinkOStation9Active FALSE if transmission has been stopped or ifa problem has occurred or if a PLC link is not being used 0 sys_bIsPlcLinkOStation10Active sys bIsPlcLinkOStatio11Active sys bIsPlcLinkOStationi2Active sys bIsPlcLinkOStation13Active sys bIsPlcLinkOStationi4Active sys bIsPlcLinkOStationi5Active sys bIsPlcLinkOStation16Active 2 3 4 5 6 FPOR User s Manual 153 Communication Operation mode flags e For PLC link 0 R9070 to R907F correspond to station nos 1 to 16 e For PLC link 1 R9090 to R909F correspond to station nos 1 to 16 The operation modes RUN PROG can be checked for any given PLC Station Conditions for TRUE FALSE Flag no System variable name sys bIsPlcLinkOStationiInRunMode o suscblsPIcLinkOStation1OInRunMode 2 sys blsPlcLinKOStationi ZInRunMode 3 sys blsPlcLinkGStationiSInRunMode 14 __ 5y6_DIsPcLinkoStationi4inRunMode Ble ete N U A o0 N nm fs PLC link transmission error flag R9050 154 This flag turns to TRUE if a problem is detected during transmission Conditions for TRUE FALSE Flag Station no no R9050 1 16 sys bIsPlcLinkO TRUE TransmissionError e if a transmission error has oc curred in the PLC lin
47. nKEROKERE EN ENS 173 7 2 4 Maximum counting speed and output frequency sssssssssssssssrrrrsssrrrrrrrssr 173 Z High speed counter f nctlori uiscera oex eet ei retina EE EE E E SEARUI ER RA EE UEER ES 176 Jaded Count Inp t modes eo ertet rx OEA AEAEE RR FERE ME ERR 176 7 3 2 Minimum input pulse width ssessssseseeeseenn emm 178 7 29 93 AO allocations ence rixa ERE i DE EOE ERDAN 178 7 3 4 Instructions and system variables ssssessseseeeeenenen nennen 179 7 3 4 1 Writing the high speed counter control code esses 180 7 3 4 2 Writing and reading the elapsed value of the high speed counter 184 7 3 4 3 Target value match ON ie rr t eoe te nene c ER nce 185 7 3 4 4 Target value match OFF 2 n erre ER DAR RR YXGGgdR ad uid d dal nis 186 7 3 4 5 Input pulse measurement sess enne nennen nn nnn 187 7 3 5 Sample Program zie aan 3 SG ERA Y RR3 Ru XR MAGN ci FERRE A ERE 187 7 3 5 1 Positioning operations with a single speed inverter 188 7 3 5 2 Positioning operations with a double speed inverter 189 7 4 Pulse output fUlctionssscsscseeisc erecta ker terree ees a SER uk Gy a EXER vv EF TI FREFY RR REY ERE 191 7 4 1 Pulse output methods and position control MOCES cceceeee ects tent eaten eaees 192 7 4 2 VO allocation cr rrt rr nma Cr xcv ean O ER FREE V E PE Ya vag 195 7 4 3 Instructions and system VariableS cia 196 7
48. of link areas uie eene rrr tetera ea 148 6 7 2 4 Precautions for allocating link areas sssssssssssrrssrnresrnrnsrnresrnrrsran 150 6 7 3 Setting the highest station number for a PLC link cece teeter eee eee eee 151 6 7 4 PLC link O and 1 allocation Setting sssssssemmm me 152 5 7 5 MORIEOFITIG cesse rere BE RR RR PED RR ER ERR IRRCRAQNE RR REM RRENRNRRRR ERN ENEMIES ERE 152 6 7 6 PLC link response time occorre or her x RR RI exa R x AA XR GRO ERR EXER Fan 155 6 7 6 1 Reducing transmission cycle times ssessseeeee 158 6 7 6 2 Error detection time for transmission assurance flags 159 FPOR User s Manual 11 Table of contents 6 8 Modbus RTU communicatio eei rar e ee a Ex EXE Ra Oc d OE EE s 160 6 8 1 Setting commi rnication parameters oes knee tente eh patie AR ERRREA FRE FREE KNEES 164 6 8 2 Sample program for master communication eese 165 7 High speed counter and pulse output 2 eee eeceee cece cece eee ee eee eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeees 166 vmMEO UI qt 166 7 2 Function specifications and restrictions ccccecceee eee eee eee eee eee eee ee ene t nee na teat nnn 169 7 2 1 high speed co nter f nctloni irren terr hber EROR RR EXTRA RYE ER ERSR EX R Ria a 169 7 2 2 P lse output fU CtIOD z iore exer xr Rte er xD Eee RR RR REN aai RI KR ERA 171 7 2 3 PWM ou tput f nctiOni zitierter etta kerrk ut pes a eprrecikamad gnam edge E
49. positioning e F172 PulseOutput Jog or PulseOut put Jog FB PulseOutput Jog TargetValue FB JOG operation e F174 PulseOutput DataTable Data table control e F175 PulseOutput Linear or PulseOutput Linear FB Linear interpola tion control e F177 PulseOutput Home or PulseOutput Home FB Home return FPOR User s Manual High speed counter and pulse output 7 2 3 PWM output function For the pulse width modulation output function there are two designated channels and outputs Note The PWM output function is only available with the transistor output a type Output numbers Channel no PWM output 0 YO 1 Y2 2 Y4 3 Y6 Performance Resolution Output frequency duty ratio 1000 6Hz 4 8kHz 0 0 99 9 Control flags The PWM output status is stored in special internal flags To access special data registers and special internal flags use the PLC independent system variables You can insert system variables directly into the POU body Use the Variables dialog without entering a declaration in the POU header See PWM output function on p 216 Related instructions F173 PulseOutput PWM PWM output 7 24 Maximum counting speed and output frequency The maximum counting speed of the high speed counter function is deter mined by the number of channels used and the simultaneous use of the pulse output function Use the following simplified chart as a guide FPOR User s Manual 173 High speed counter and pulse output
50. power is supplied to the unit through a protective element such as a fuse Protection of output sections If current exceeding the nominal switching capacity is being supplied in the form of a motor lock current or a coil shorting in an electromagnetic de vice a protective element such as a fuse should be attached externally FPOR User s Manual 67 Installation and wiring 5 4 Wiring the power supply Use the power supply cable provided Attach as shown gt A Power supply cable AFPG805 Brown 24V DC Blue OV Green function earth gt O es Specifications Rated voltage 24V DC Operating voltage range 21 6 26 4V DC Note e To minimize adverse effects from noise twist the brown and blue i wires of the power supply cable e To protect the system against faulty voltages from the power supply line use an insulated power supply with an internal pro tective circuit e The regulator on the unit is a non insulated type e If using a power supply device without an internal protective cir cuit always make sure power is supplied to the unit through a protective element such as a fuse 68 FPOR User s Manual Installation and wiring Isolation of power supply systems Insulate the wiring systems to the CPU input output devices and mechan ical power apparatus o L10 L20 w L3 o e N O PEO Ta a
51. programs of the other stations and YO of the other stations is set to TRUE A constant of 100 is written to link register LDO of station 1 The contents of LDO in the other stations are also changed to a constant of 100 EN ENDO P 100 a Num LDO 1 N LDO 100 Hc EMOVE PLC Link connection between four FPOR units Station number of PLC LD Link register For detailed information on the PLC Link communication mode see PLC Link on p 141 FPOR User s Manual Communication 6 1 5 Modbus RTU master slave Reference FPOR User s Manual This communication mode uses the Modbus RTU protocol to exchange data between a master and one or more slaves This is called 1 1 or 1 N com munication gt A Modbus RTU connection between the FPOR and an external device 0 Command message Response message There is a master function and a slave function The side that issues com mands is called master The slave receives the commands executes the process and sends back responses The slave answers automatically to the commands received from the master so no program is necessary on the slave The Modbus protocol supports both ASCII mode and RTU binary mode However the PLCs of the FP Series only support the RTU binary mode For detailed information on the Modbus RTU communication mode see Modbus RTU communication on p 160 91 Communication 6 2 Ports
52. registers for COM port 1 should be set as shown below 410 COM port 1 station 1 to 99 with C NET adapter a maximum of 32 number stations is possible 412 COM port 1 communica MEWTOCOL COM Master Slave tion mode 413 COM port 1 communica Data length 7 bits 8 bits tion format Parity None Odd Even Stop bit 1 bit 2 bits End code CR Start code No STX 415 COM port 1 baud rate 2400 115200bit s 117 Communication Note Programming The communication format and baud rate of the PLC should be set to match the connected device Lower baud rates of 300 600 and 1200bit s can be specified using the SYS1 instruction However this will not change the setting value of the system register When using the RS485 port a baud rate of 19200bit s or 115200 bit s is possible Set the baud rate in the system registers and set the DIP switch on the bottom of the unit to the same setting There is no programming required on the slave Only the station number and the communication parameters must be set in the system registers The program for the master side must send and receive commands ac cording to the MEWTOCOL COM protocol MEWTOCOL COM contains the commands used to control and monitor the slave operation If a software program such as PCWAY is used on the computer side PLC data can easily be read and written without having to think about the MEWTOCOL COM protocol 6 5 7 Sample program for mas
53. sending time per byte Tls link error stop command sending time Tso master station scan time FPOR User s Manual 155 Communication Ttx sending time per byte Tso master station scan time Calculation example 1 Conditions All stations have been added to a 16 unit link Highest station number 16 Flags and registers have been evenly allocated Scan time for each PLC 1ms Ttx 0 096 Pcm per station 23 4 8 x 4 71 Tpc Ttx x Pcm 0 096 x 71 6 82ms Ts per station 1 6 82 7 82ms Tit 0 096 x 13 2 x 16 4 32ms Given the above conditions the maximum value for the transmission time T of one cycle will be T max 7 82 x 16 4 32 1 130 44ms Calculation example 2 Conditions All stations have been added to a 16 unit link Highest station number 16 Flags and registers have been evenly allocated Scan time for each PLC 5ms Ttx 0 096 Pcm per station 23 4 8 x4 71 Tpc Ttx x Pcm 0 096 x 71 6 82ms Ts per station 5 6 82 11 82ms Tit 0 096 x 13 2 x 16 4 32ms Given the above conditions the maximum value for the transmission time T of one cycle will be T max 11 82 x 16 4 32 5 198 44ms Calculation example 3 Conditions All but one station have been added to a 16 unit link Highest station number 16 Flags and registers have been evenly allocated Scan time for each PLC 5ms Ttx 0 096 Ts per station 5 6 82 11 82ms Tit
54. start code STX resets the receive buffer 136 FPOR User s Manual FPOR User s Manual Communication Characters D and E received from the external device are stored in the receive buffer When the end code is received the reception done flag turns to TRUE Reception of any further data is prohibited Character F is not stored When F159 MTRN is executed The number of bytes received is set to 0 in offset O of the receive buffer The reception done flag turns to FALSE Character G is stored The number of bytes received is set to 1 in off set 0 of the receive buffer 7 The start code STX resets the receive buffer 8 Character H is stored 9 F159 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 Resetting the receive buffer sets the number of bytes received in offset 0 to 0 and moves the write pointer back to offset 1 The next data will be stored starting at offset 1 and overwriting the existing data If two start codes are received from the external device data following the second start code overwrites the data in the receive buffer 137 Communication Sending data 138 2 _ 9 O 63 2 9 9 6 TRUE N A FALSE TRUE NET L FALSE
55. the SYS1 instruction the link addition waiting time Twt in the above formula can be reduced Thus SYS1 can be used to minimize the increase in the transmission cycle time FPOR User s Manual Example M Note Communication 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 sys blsFirstScan PCLKATO 100 s e If there are any stations that have not been added to the link the setting should not be changed as long as a longer link transmission cycle time does not cause any problems e The SYS1 instruction should be executed at the beginning of the program at the rise of R9014 The same waiting time should be set for all linked PLCs e The waiting time should be set to a value of at least twice the maximum scan time for any of the PLCs connected to the link e Ifa short waiting time has been set there may be PLCs that cannot be added to the link even if their power supply is on The shortest time that can be set is 10ms 6 7 6 2 Error detection time for transmission assurance flags Example FPOR User s Manual If the power supply of any given PLC fails or is turned off it takes as a default value 6 4 seconds for the transmission assurance flag of that PLC to be turned off at the other stations This time period can be shortened using the SYS1 instruction Set SYS1 to change the time that the PLC link transmission ass
56. the re ceive buffer sets the number of bytes received in offset O to 0 and moves the write pointer back to offset 1 The next data will be stored starting at offset 1 and overwriting the existing data 6 6 4 Format of send and receive data Remember the following when accessing data in the send and receive buff ers e The format of the data in the send buffer depends on the data type of the transmission data e g STRING and on the conversion function used in the PLC program e g F95 ASC There is no conversion when data in the send buffer is sent e The start and end codes specified in the system registers are automati cally added to the data sent The start code is added at the beginning the end code at the end of the send string Do not include start or end codes in the send string e The format of the data in the receive buffer depends on the data format used by the external device Use a conversion function to convert the data into the desired format e g F27 AHEX e Start and end codes in the data received are recognized if the corre sponding start and end codes have been specified in the system regis ters Start and end codes are not stored in the receive buffer The end code serves as a reception done condition i e the reception done flag turns to TRUE when the end code is received The start code resets the receive buffer e If None is selected for the start code a start code is not added to the data sent and is
57. there are certain designated high speed counter channels inputs and outputs The pulse output function is only available with the transistor output type Input output numbers FPOR User s Manual Channel no CW CCW Deviation Home Position Near pulse pulse counter input control home output output clear trigger input 1 Pulse Direction Output input output output Interpola v5 The values in parentheses refer to the CPU typesC32 T32 and F32 For CPU type C16 The deviation counter clear output is not available for chan nels 2 and 3 and when outputs Y6 and Y7 are used by pulse output channel 3 The home return operation of the interpolation axes should be performed for every channel 2 3 X4 and X7 can also be used as high speed counter inputs Set the desired func tion in the system registers 4 The position control trigger input is used with F171 PulseOutput Jog Positioning and PulseOut put Jog PositioningO FB PulseOutput Jog Positioningi1 FB The specified number of pulses is output after the position control trigger input has turned to TRUE A deceleration is performed before the target value is reached and pulse output stops The position control trigger can be started by turning a position control trigger input to TRUE or by setting bit 6 of the data register storing the pulse output control code from FALSE to TRUE e g MOVE 164140 sys wHscOrPulseControlCode
58. to the Control FPWIN Pro online help for detailed information Reference 6 6 Program controlled communication With program controlled communication the user generates a program which governs the data transfer between a PLC and one or more external devices connected to the communication port e g an image processing device or a bar code reader Hence any desired protocol can be pro grammed to adapt to external devices FPOR User s Manual 119 Communication Sending data Receiving data 120 Typically such a user program consists of sending and receiving the data The data to be sent and the data received are stored in data register areas DT defined as send and receive buffers Lom N N EDGE uu Sending includes generating the data for the send buffer and sending it using the instructions SendCharacters SendCharactersAndClearString or F159 MTRN SendCharacters and SendCharactersAndClearString implicitly use F159 MTRN See also Sending data on p 124 Sending data can be controlled by the transmission done flag See also Flag operation on p 133 PLC Writing data into send buffer Sending data using a send instruction Device with RS232C port The start and end codes specified in the system registers are automatically added to the data sent The maximum volume of data that can be sent is 2048 bytes Data is automatic
59. to which COM port the USB is al located Therefore it is necessary to confirm the COM port number FPOR User s Manual 95 Communication A COM port number is necessary for communication with the programming tool Procedure 1 Display Device Manager For Windows 7 Control Panel Device Manager For Windows XP My computer View system information Hard ware tab gt Device Manager Device Manager File Action View Help SY MATSUSHI SOPS1Q i Computer E ee Disk drives 19 Display adapters m b DVD CD ROM drives 5 3 Floppy disk controllers EJA Floppy disk drives H Gy IDE ATA ATAPI controllers Se Keyboards m Mice and other pointing devices E Monitors BIB Network adapters oY Ports COM amp LPT m Sound video and game controllers m Y System devices B Universal Serial Bus controllers Double click Ports COM amp LPT Confirm the COM port no CP210x USB to UART Bridge Controller COM n is the COM port allo cated COMO is allocated in the following display Device Manager Jm If File Action View Help ee mfg RARA m MATSUSHI SOP91Q j Computer Hj Se Disk drives Display adapters m DVD CD ROM drives Floppy disk controllers EJA Floppy disk drives IDE ATAJATAPI controllers c Keyboards Mice and other pointing devices E Monitors i Network adapters Y Ports COM amp LPT I Communications Port COM1 E Communications Port
60. units ccccec ccc eee cece cece eee eee e esse ese eeae nnn anra rna nn n nnn 56 FPOR User s Manual 9 Table of contents 5 Installation and WI EEN aside ees idBubras au EVUN cu EE ER EREERX KEIN CKEYER UK Cx EX EUN KM HEREREEEH EIE CE EU b Rn ERN EVER E EX EE EREEER 58 5 1 JnstallatiOnzcscce sce er ERE RERXN eeann aane paced ages EE FAEERERERERRTARU RE EKKRSERARREARRFARRER ERRARE 58 5 1 1 Installation environment and space csesseseseene nennen nene nnn nnn 58 5 142 Using DIN ralls 5 rn onn Fe REX MEER ER REN DERE ERA REA Da EnA AAE DEn RUE RE ERREUR RAN 60 5 1 3 Using optional mounting plates oiii ee chante n rne rn RE RR RARO n Fa Rt Rn 61 5 1 3 1 Slim type mounting plate cetero peu uir RR REIR ER EXPERGR ERE 61 5 1 3 2 Flat type mounting plate roc ete ner te t e Nn 63 5 2 Connecting FPO FPOR expansion units esssssssseeseeeen nemen nnn 65 5 3 Safety instructions FOF WINING icem ere ik regere na POR MER HER VO EUR IR DOE ate a AR Ka Re 66 5 4 Wiring the power Supply 2 35 55 Rute P eRIRC PeRIR QYRI NIRE X haan beeen eye 68 5 4 i Grondig eer rnt eere n Rete n Y denice adie RE RE CEN n e i ka RR le RO ce i CR EROR 70 5 5 Input and output WIFng zii eiii ee e I Rr E IR ER EORR NERe RR I PI CRM RR DAMPRE E D ERE 71 5 95 L Input WIEITIOS usos re v m e mes ees Ines MM S MA PORE Maa Me RA IDE aa DEVE DADA 72 5 5 1 1 Photoelectric and proximity sensors eeeeeseeeeennn nnne 72 5 5 1 2
61. used For the near home input the desired contact must be allocated and bit 4 of the special data register storing the pulse output control code sys wHscOrPulseControlCode must be set to TRUE and back to FALSE again The input output numbers are indicated by channel in the specifications Reference See Pulse output function on p 171 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 the trapezoidal control instruction to CW CCW Using channel 0 2 Ed PLC Motor driver G gt 0 Home input X4 X6 Near home input see note e g XO e g X1 CW pulse output YO YA CCW pulse output Ya YS Note Any input that is not used for other applications can be used as the near home input FPOR User s Manual 195 High speed counter and pulse output Single pulse input driver pulse and direction output method One output point is used as the pulse output and the other output is used as the direction output Set the control code for the trapezoidal control instruction to pulse and di rection Up to two driver systems can be connected Using channel 0 2 xe Q2 PLC amp Motor driver gt Home input x2 X6 2 Near home input see note e g XO e g X1 Pulse output YO Y4 Direction output yi Y5
62. when setting system registers System register settings are effective from the time they are set However MEWNET WO PIC link settings input settings TOOL and COM port communication settings become effective when the mode is changed from PROG to RUN With regard to the modem connection setting when the power is turned off and on or when the mode is changed from PROG to RUN the PLC sends a command to the modem which enables it for recep tion After an initialization with Online Clear PLC all system register values parameters set will be reset to their default values 11 5 2 Types of system registers Memory size system register 0 Size of the memory area for the user program Hold on off system registers 5 8 10 14 Use these system registers to specify the hold area start addresses for flags and registers Hold areas are not cleared to 0 when the PLC is switched to PROG mode or when the power is turned off The memory area for timer flags and counter flags is partitioned using sys tem register no 5 Specify the start address for the counter flags Act on error system registers 4 20 23 26 Set the operation mode to be chosen after errors such as an operation er ror a battery error or an I O verification error FPOR User s Manual 247 Appendix Time Out system registers 30 32 34 Set the waiting time before an error is output You can also specify a con stant scan time PLC Link syste
63. 0 2A lica Transistor PNP 0 2A india AFPORC14MRS 1 Total number input points output points 32k types program capacity 32k steps l Os Output Connection COM Product no port AFPORC32T 92 Transistor NPN MIL con 16 16 0 2A nector 0 2A Transistor NPN AFPORC32CT Transistor PNP AFPORC32CP Transistor NPN AFPORT32CT Transistor PNP AFPORT32CP Transistor NPN AFPORF32CT Transistor PNP AFPORF32CP 1 Total number input points output points AFPORC32P T32 built in battery F32 built in FRAM 18 FPOR User s Manual 1 2 2 FPO FPOR I O expansion units Power supply Type I Os E8 24V DC COM terminal 24V DC 24V DC COM terminal 24V DC 8 4 4 8 8 co oo co oo Coo Coo E16 16 8 8 24V DC 24V DC COM terminal 24V DC COM terminal 16 8 8 24V DC COM terminal 24V DC COM terminal 16 8 8 16 16 16 N I OY E92 24V DC COM terminal 24V DC COM terminal 77 W m WI oaere aN oMNuo SEL S Hn rn o a a FPOR User s Manual Overview Output Connection Product no MIL con nector Relay 2A Terminal block Relay 2A Terminal block Transistor MIL con FPOR E8YT NPN 0 3A nector Transistor MIL con FPOR E8YP PNP 0 3A nector MIL con FPOR E16X nector Relay 2A Terminal FPOR E16RS block MIL con FPOR
64. 0000 00000000 00000000 i zi i zi pis oot Na Ne Se Loo E FPOR CPU Maximum expansion 3 units Expansion unit 1 Expansion unit 2 Expansion unit 3 S amp amp w Maximum number of I Os C10 106 C14 110 C16 112 C32 T32 F32 128 Note e Install the FPO thermocouple unit to the right of other expansion units If it is installed on the left side overall precision will dete riorate For details refer to the FPO thermocouple unit manual e Install the FPO RTD unit to the right of the other expansion units 22 FPOR User s Manual Overview 1 4 Programming tools Programming software A QU e RS232C programming cable or USB cable Programming software PC connection cable FPOR User s Manual You can use the following programming software to program the FPOR e Control FPWIN Pro Version 6 or later e FPWIN GR Version 2 or later e FP Memory Loader AFP8670 AFP8671 to transfer programs and sys tem registers You can connect your PC to the FPOR via USB or RS232C Cable Connector Description Product no USB cable 5 pin Mini B type USB 2 0 Full Speed or CABMINIUSB5D 1 1 2m RS232C pro 9 pin Sub D to 5 pin Programming cable for AFC8513D gramming cable Mini DIN round FP and GT series EN UU ee ES tae A type male PC side 2 5 pin Mini B type male PLC side 23
65. 0000 0010 0001 0000 0000 0010 0010 0000 0000 0010 0011 0000 0000 0010 0100 0000 0000 0010 0101 0000 0000 0010 0110 0000 0000 0010 0111 0000 0000 0010 1000 0000 0000 0010 1001 0000 0000 0011 0000 0000 0000 0011 0001 0000 0000 0110 0011 0000 0010 0101 0101 1001 1001 1001 1001 FPOR User s Manual Appendix 11 10 ASCII codes gt b7 b6 0 0 0 0 1 1 1 1 b5 0 0 1 1 0 0 1 1 0 1 0 1 01 0 1 Vost significant digit 1 4 Least significant digit Om OM ia 9 y 1 0 11 0 A z 1 0 1 1 B 1 1 01 0 C f T UN NON T D 1 alae E a aa a F DEL FPOR User s Manual 263 Record of changes ART1F475E 05 2009 ACGMO475V1EN 04 2014 ACGM0475V1 1EN 02 2011 ACGMO475V2bEN 101 2012 ACGM0475V3EN 10 2014 First edition First European edition Addition of Control FPWIN Pro examples Correction of errors Addition of RS485 type CPUs including RS485 specifications and wiring information Change of FPO expansion units to FPOR expansion units Change of pressure connection tool product no from AXY5200 to AXY5200FP Modification of FPO program compatibility mode description Modification of CPU input and output specifications e Removal of AFPO811 mounting plate Addition of Windows 7 support Addition of input time constants Modifi
66. 1 to 16 By default the station number for each communication port is set to 1 in the system register settings There is no need to change this for 1 1 com munication but if 1 N communication is used to connect multiple PLCs to the transmission line the station number must be specified to identify the different PLCs The station number is specified either by using e the SYS1 instruction e System register settings in the programming tool The priority for setting the station number is in the above order For details please refer to the description of the SYS1 instruction in your Programming Manual or in the FPWIN Pro online help e The default baud rate for most ports is 9600bit s Select a value from 2400 to 115200bit s e Lower baud rates of 300 600 and 1200bit s can be specified using the SYS1 instruction However this will not change the setting value of the system register e The setting must match the external device connected to the commu nication port e When using the RS485 port a baud rate of 19200bit s or 115200 bit s is possible Set the baud rate in the system registers and set the DIP switch on the bottom of the unit to the same setting Confirm the baud rate setting before installation The factory setting is 115200bit s 103 Communication 19200bit s 115200bit s nO a na nnn q nnnm E RS485 bau
67. 10RS C10CRS C10RM C10CRM X0 5 X0 xo o 9o x1 Oo O0 x2 o o X3 0 0 Dd X4 9 9 i X5 HOO NC NC COM T i Lajh Yo Y0 3 YO L NC E con 0 Y2 L COM Q E Y3 L COM 3 The above illustration is the terminal block type Input Output 0 Power supply FPOR User s Manual 35 CPU types C14RS C14CRS C14RM C14CRM C16T C16CT 36 X 0 n n Naa lt 0 nino The above illustration is the terminal block type Input Output 0 Power supply X0 7 o o 2 xo x1 o oe o o x2 x3 o_o o o _ XA x5 0 0 e o o X6 X7 9o o e COM COM j TL YO 7 gt vo Y1 Y2 Y3 YA Y5 Y6 Y7 9 9 6 6 6 r r7 r r r r ir ir The COM terminals of the input circuits are connected internally Input Output FPOR User s Manual C16P C16CP
68. 178 FPOR User s Manual High speed counter and pulse output Using channel 0 with two phase input and reset input FPOR 0 Phase A input XO EOM 2 Phase B input X1 Qu 8 Reset input X2 MO TRUE FALSE output at Yn Yn The output which is turned TRUE or FALSE when the target LO value is reached YO Y7 7 3 4 Instructions and system variables Control FPWIN Pro offers two concepts for programming with high speed counter instructions the original F instructions and the advanced tool in structions The tool instructions are universal instructions which are sup ported by all PLC types of the FP series They offer new and comfortable features including information functions for evaluating status flags and set tings control functions for configuring high speed counters and pulse out puts PLC independent functions and DUTs as well as variable channel numbers Most of the information which is accessible via information and control functions is stored in special internal flags and special data registers These flags and registers can also be accessed using PLC independent sys tem variables The instruction F165 HighSpeedCounter Cam performs Cam control ac cording to the parameters in the specified DUT Use the target value match instructions to turn the desired output to TRUE or to FALSE when the specified target value is reached To turn the output to TRUE use F166 HighSpeedCounter Set or Hsc TargetValueMatch Set
69. 24V DC and the temperature is 25 C Inputs that are TRUE simultaneously FPOR User s Manual Keep the number of inputs per common which are simultaneously TRUE within the following range as determined by the ambient temperature T32 a 4243 55 x Ambient temperature C y Number of inputs per common that are TRUE simultaneously D At 24V DC At 26 4V DC 31 CPU types Internal circuit diagram i H Xn ie R2 i R1 COM E D Internal circuit Ri 9 1kQ R2 1kQ 2 3 CPU output specifications Transistor types 32 These output specifications apply to the CPU types C32 and C28 Item Description NPN PNP Insulation method Optical coupler Output type Open collector Rated load voltage 5V DC 24V DC 24V DC Operating load voltage range 4 75 26 4V DC 21 6 26 4V DC Max load current 0 2A Outputs per common C16 8 C32 T32 F32 16 OFF state leakage current lt 1pA ON state voltage drop lt 0 2V DC Response time lt 20us Load current gt 5mA lt 0 1ms Load current gt 0 5mA lt 40us Load current gt 5mA lt 0 2ms Load current gt 0 5mA External power sup 21 6 26 4V DC ply for internal circuit Current C16 lt 30mA C16 lt 35mA and terminals C32 T32 F32 C32 T32 F32 x60mA x70mA Surge absorber Zener diode Operation indicator LEDs FPOR User s Manual CPU types Outputs that are TRUE sim
70. 3 Reset input X5 Decremental input X3 Decremental input X3 Reset input X5 Incremental input X3 Decremental input X4 Incremental input X3 Decremental input X4 Reset input X5 Counter input X3 Incremental decremental control input X4 Counter input X3 Incremental decremental control input X4 Reset input X5 Incremental input X4 Incremental input X4 Reset input X5 Decremental input X4 Decremental input X4 Reset input X5 Two phase input X6 X7 Incremental input X6 Decremental input X6 Incremental input X6 Decremental input X7 Counter input X6 Incremental decremental control input X7 Incremental input X7 Decremental input X7 Pulse output YO Y1 Pulse output YO Y1 Home input X4 Pulse output YO Y1 Home input X4 Position con trol trigger input X0 PWM output YO 251 Appendix 402 402 402 403 403 403 403 403 403 403 403 404 405 404 405 404 405 404 405 404 405 404 405 404 405 404 405 252 Pulse output Channel 1 tran sistor types only Pulse output Channel 2 tran sistor types only Pulse output Channel 3 tran sistor types only Pulse catch input Pulse catch input Pulse catch input Pulse catch input Pulse catch input Pulse catch input Pulse catch input Pulse catch input Interrupt input Interrupt input Interrupt input Interrupt input Interrupt input
71. 4 3 1 Writing the pulse output control code sss 199 7 4 3 2 Writing and reading the elapsed value of the pulse output 203 7 4 3 3 Target value match ON pulse output ssssssssssrsrrsesssrrsrrsessrrren 204 7 4 3 4 Target value Match OFF ecce eh ne rnt n ae RR Fa XR RR HE RO n 205 7 4 3 5 Trapezoidal control iiie ERA 206 7 4 3 6 JOG operation and positioning sssssssssenssrnesnsrnennnenssrnernnensernan 208 7 4 3 7 JOG operatiOr 2i xr RE NAROAN AARNE aah see RARO AP NAROK AK ERE EE 211 7 4 3 8 Data table control err rtf te x exer ak Fai a c e RA Pn 213 7 4 3 9 Linear interpolation cesses emen menn nn nnn 214 7 4 3 10 HOME return eI n OUR GARE XERRXINEE TRA I Red Pa xd 215 7 5 PWM output fU lctiOon scorrere ra xen ena En aea a a VEN RA RR ees ERU CRUCE XN CER Ea 216 12 FPOR User s Manual Table of contents SEES isle er 218 8 1 Security function types ser x REA OE E RdUR VRDA APARRRNCER da IRR EXERCERE TEE 218 8 2 Security settings in Control EPWIN PrO ise enr n Fee n REFER ER ERR ERR EEXRRR FA NEAR EG 218 8 2 1 Upload protection oe rex iR e piv NO RA X RD MPIRDEDEPK E RD M IEEE REA 218 8 2 2 PLC protection password protection sseseeeeenen enne 219 8 3 FP Memory Loader ete reo RA RRIRORRe IR IRI cR WU a Rad RP oats bhaineann tees 220 8 3 1 Upload Protection epe oe etra hh x Ree ER NREREEFRRERAXRRMRE FATE mane Fa U
72. 48 O The value of this system register must be identical for all stations 1 When link areas are allocated as shown above the send 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 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 6 7 2 3 Partial use of link areas Link flag allocation 148 In the link areas available for PLC link link flags with a total of 1024 points 64 words and link registers with a total of 128 words can be used This does not mean however that it is necessary to reserve the entire area Parts of the area which have not been reserved can be used as internal flags and internal registers WLO Send area Receive area Area for internal flags Used for link flags Not used for link flags FPOR User s Manual Communication System register settings Name Name Link flags Send receive area Number of words shared by all linked PLCs Link flags Send area Start sending from this word address Link flags Send area Number of words to send With the above settings for station number 1 the 14 words 224 points consisting of WL50 to WL63 can be used as internal flags Link register allocation LDO L Send area L Receive area L Ar
73. 60E FP PS24 120E Primary Rated input 100 240V AC DC 50 60Hz side voltage Operating 85 264V AC 47 63Hz DC 100 375V voltage range Input current Fulfills the requirements of EN 61000 3 2 limits for harmonic current emissions Built in cannot be replaced T4AH 250V Secondary Rated output 24V DC side voltage Accuracy of 1 over the complete load and input voltage range output voltage Adjustable 23V 29V range with potentiometer Max output 1A continuous 2 5A continuous 5 0A continuous capacity at 24V at 24V at 24V Min output 0A capacity Current limiting 2A continuous 2 7A continuous 5 3 continuous typ 2A dynamic 5A dynamic 9 5A dynamic Ripple voltage 40mVSS measured at 20MHz 500 terminated Overvoltage Yes U1 35V protection Overcurrent In case of overload the output voltage will be re protection func duced down to approx 17V Below this the power tion supply will enter hicc up mode to protect power sup ply and load from over temperature or burning Lifetime of capacitors Min 50000h at an airflow temperature of Tu 50 C 237 Appendix 11 1 5 Current consumption Type of unit CPU Expansion Input Output unit circuit circuit FPOR CPU FPOR C10 100mA 15 9mA FPOR C14 lt 120mA lt 21 1mA FPOR C16 s70mA lt lt 20mA lt NI s 3 2 tn n n ZO U EU e e ke gt 7 E iS m rm A o CO lt zx iT UM FPO FPOR I O lt 10mA
74. 667 so 25 15 200 5 12 750 1 3 HG N D Co olelmvw wolizsxiuloel l ulo o N u P Data size differs for elapsed value and target value FPO 24 bits FPO compatibility mode 32 bits F144 TRNS serial data communication When sending data note the following differences FPO The send buffer stores the number of bytes to be sent This num ber is decremented during transmission FPO compatibility mode The number of bytes to be sent remains un changed during transmission It is set to 0 after transmission has been completed The number of bytes that can be sent is restricted to 2048 F169 PulseOutput Jog JOG operation There are two differences between the FPO and the FPOR specifications Count mode The FPOR does not support the no counting setting In stead incremental counting is performed with the FPO pulse output in structions set to no counting Pulse width specification In FPO compatibility mode the duty ratio is fixed at 25 Differing settings in the FPO programs will be ignored FPOR User s Manual FPOR User s Manual Overview F168 PulseOutput Home Home return In FPO compatibility mode the elapsed value is counted during home return operations With the FPO the elapsed value is indefinite In both cases the elapsed value will be reset to 0 when home return has been completed Real number calculation process Since the accuracy of real number calculation has been improved t
75. 6C C32C T32C F32C CPU types with a COM port for RS485 communication C1OMR C14MR C16M C32M T32M F32M Symbol RS232C RS485 G Signal Ground E terminal R Receive Data Input Transmission line S Send Data Output Transmission line The USB port can be used to connect a programming tool Panasonic s USB cable CABMINIUSB5D or a commercial USB2 0 AB type cable can be used gooooo00 000 o o o o o To use the USB port you must install the USB driver 93 Communication Specifications Item Description Connector 5 pin Mini B type Standard baud rate USB 2 0 Full Speed Communication mode MEWTOCOL COM Slave NOTICE Install the programming tool before connecting the FPOR with a PC If you connect the FPOR to a PC with the USB cable before the programming tool is installed or during installation the USB driver will not be installed correctly USB port settings The settings for the USB port are fixed and cannot be changed Connecting the PLCs with a personal computer using a USB cable enables communication with our programming software This communication method uses the USB as a virtual serial port i e the FPOR connected via USB is treated by the PC as if connected via the COM port The COM port number of the COM port allocated for the USB is fixed unless you change the number You need only perform the conn
76. 70 X7F Output 16 WY2 wy4 WY6 Y20 Y2F Y40 Y4F Y60 Y6F FPO RTD unit FPO RTD6 FPO I O link unit FPO IOL The data for each channel of the A D and D A conversion units FPO A80 FPO TC4 TC8 FPO A04V I and FPO RTD6 is converted and loaded with a user program that includes a switching flag to convert the data in 16 bit words see corresponding manuals 57 Installation and wiring Chapter 5 Installation and wiring 5 1 Installation Please follow the installation instructions carefully to prevent failure or malfunctions 5 1 1 Installation environment and space Operating environment After installing the unit make sure to use it within the range of the general specifications e Ambient temperature 0 55 C e Ambient humidity 10 95 RH at 25 C non condensing e Pollution degree 2 e Do not use the unit in the following environments Direct sunlight Sudden temperature changes causing condensation Inflammable or corrosive gases Excessive airborne dust metal particles or salts Benzine paint thinner alcohol or other organic solvents or strong alkaline solutions such as ammonia or caustic soda Vibration shock or direct drop of water Influence from power transmission lines high voltage equipment power cables power equipment radio transmitters or any other equipment that would generate high switching surges Maintain at least 100mm of space between t
77. C ot Internal circuit 5 Load 2 Output circuit 8 External power supply Load power supply D Output status LED Output 50 FPOR User s Manual Expansion PNP 24V DC Internal circuit 5 Load 2 Output circuit External power supply Output status LED Load power supply Output 3 5 Terminal layout E8RS E8RM X0 3 Y0 3 X0 YO t x1 oO O YA L x2 o o0 e6 Y2 L X3 5 c e6 Y3 _ L D NC NC NC NC NC NC p NC NC COM L COM dQ 1 Input Output 0 Power supply FPOR User s Manual 51 Expansion E16R E8YRS E32RS X0 7 X0 XO o_O X1 oO 0 6 x2 L 9 o e f x3 o _o X4 o o Ey X5 o0 0 e E xg 9o 0 X7 o 0 COM TL Input no input for E8YRS Output D Power supply E8X E16T E8YT YO 7 YO Y1 Y2 Y3 Y4 Y5 Y6 Y7 COM Olle le Iie le le le le Ie
78. C link 0 the first half of the link relays and link registers is used WLO WL63 LDO LD127 2 In the default setting Use PLC link 0 the second half of the link relays and link registers is used WL64 WL127 LD 128 LD225 Set Use PLC link 0 in the system registers Set Use PLC link 1 in the system registers PLC link O eee B PLC link 1 When using a PLC link the operation status of the links can be monitored using the flags below In FPWIN Pro choose Monitor Special flags and registers PLC link status to view the status of each flag To monitor other PLC link status items such as the transmission cycle time and the number of times that errors have occurred choose Monitor gt PLC link status in FPWIN Pro Remote programming of other linked PLCs is not possible To access special data registers and special internal flags use the PLC independent system variables FPOR User s Manual Communication Transmission assurance flags e For PLC link 0 R9060 to R906F correspond to station no 1 to 16 e For PLC link 1 R9080 to R908F correspond to station no 1 to 16 Before using the data from a different station in the network check to make sure the transmission assurance flag for this station is TRUE Station System variable name Conditions for TRUE FALSE sys bIsPlcLinkOStation 1Active sys bIsPlcLinkOStation2Active TRUE sys bIsPlcLinkOStation3Active p iF the PLE Maks
79. D ANY DATE FPOR User s Manual DINT UDINT DWORD REAL DATE TOD STRING DT DINT UDINT DWORD REAL DATE TOD DT DINT UDINT REAL DINT UDINT DWORD DWORD DATE TOD DT 261 Appendix 11 9 Hexadecimal binary BCD 262 0 OU ARA UNEO 63 255 9999 0000 0000 0000 0000 0000 0000 0000 0001 0000 0000 0000 0010 0000 0000 0000 0011 0000 0000 0000 0100 0000 0000 0000 0101 0000 0000 0000 0110 0000 0000 0000 0111 0000 0000 0000 1000 0000 0000 0000 1001 0000 0000 0000 1010 0000 0000 0000 1011 0000 0000 0000 1100 0000 0000 0000 1101 0000 0000 0000 1110 0000 0000 0000 1111 0000 0000 0001 0000 0000 0000 0001 0001 0000 0000 0001 0010 0000 0000 0001 0011 0000 0000 0001 0100 0000 0000 0001 0101 0000 0000 0001 0110 0000 0000 0001 0111 0000 0000 0001 1000 0000 0000 0001 1001 0000 0000 0001 1010 0000 0000 0001 1011 0000 0000 0001 1100 0000 0000 0001 1101 0000 0000 0001 1110 0000 0000 0001 1111 0000 0000 0011 1111 0000 0000 1111 1111 0010 0111 0000 1111 0000 0000 0000 0000 0000 0000 0000 0001 0000 0000 0000 0010 0000 0000 0000 0011 0000 0000 0000 0100 0000 0000 0000 0101 0000 0000 0000 0110 0000 0000 0000 0111 0000 0000 0000 1000 0000 0000 0000 1001 0000 0000 0001 0000 0000 0000 0001 0001 0000 0000 0001 0010 0000 0000 0001 0011 0000 0000 0001 0100 0000 0000 0001 0101 0000 0000 0001 0110 0000 0000 0001 0111 0000 0000 0001 1000 0000 0000 0001 1001 0000 0000 0010 0000 0000
80. DC Use the power supply cable provided Product no AFPG805 a Expansion hook Used to secure an expansion unit The hook is also used for installation on the flat type mounting plate part no AFP0804 Connector for FPO FPOR expansion units Connects an FPO FPOR expansion unit to the internal circuit The con nector is located under the seal 42 DIN rail attachment lever Used for easy attachment to a DIN rail The lever is also used for in stallation on a slim type mounting plate See Using optional mounting plates on p 61 a3 COM port RS232C or RS485 Used to enable communication with external devices e g a program mable display FPOR User s Manual CPU types 2 2 CPU input specifications Note The input specifications below apply to all FPOR CPU types Insulation method Optical coupler Rated input voltage 24V DC Operating voltage range 21 6 26 4V DC Rated input current x2 6mA Input points per common ElOs C14 C16 8 C32 VS2 IFSLE lS Either the positive or negative pole of the input power supply can be connected to the common terminal Min ON voltage min ON 19 2V DC 2mA current Max OFF voltage max OFF 2 4V DC 1 2mA current Input impedance 9 1kQ Response FALSE TRUE x20us see note time TRUE FALSE An input time constant 0 1ms 64ms can be set using the system registers Operation indicator LEDs This specification applies when the rated input voltage is
81. E by force using Control FPWIN Pro If the output status LED is turned ON you must check the input side If the output status LED remains OFF there is probably an abnormal ity with the outputs 228 FPOR User s Manual Troubleshooting If the input status LEDs are OFF e Check the wiring of the input devices e Check that the power is properly supplied to the input terminals If the power is properly supplied to the input terminal there is prob ably an abnormality with the inputs If the power is not supplied to the input terminal there is probably an abnormality in the input device or input power supply Check the input device and input power supply If the input status LEDs are ON Monitor the input condition using Control FPWIN Pro e If the input monitored is FALSE there is probably an abnormality with the inputs e If the input monitored is TRUE check the leakage current at the input devices e g two wire type sensor and check the program again re ferring to the following Check for duplicate output errors and for outputs having been re written by high level instructions Check the program flow when instructions such as MC or JP are used Check if the I O map agrees with the actual mounting status 10 7 Password protection error message Procedure FPOR User s Manual If a protection error message appears a password has been set To access a PLC for which a passwor
82. E16T nector MIL con FPOR E16P nector Transistor MIL con FPOR E16YT NPN 0 3A nector Transistor MIL con FPOR E16YP PNP 0 3A nector Transistor MIL con FPOR E32T NPN 0 3A nector MIL con FPOR E32P nector FPOR E8X FPOR E8RS FPOR E8YRS Transistor NPN 0 3A Transistor PNP 0 3A Transistor PNP 0 3A 19 Overview 1 2 3 FPO intelligent units Type Description Product Manual no FPO thermocouple Thermocouple types K J T R FPO TC4 ARCT1F366 unit Resolution 0 1 C Thermocouple types K J T R FPO TC8 Resolution 0 1 C ARCT1F390 FPO analog I O No of input channels 2 FPO A21 unit Input range Resolution 1 4000 e Voltage 0 5V 10 10V Current 0 20mA No of output channels 1 Output range Resolution 1 4000 Voltage 10 10V Current 0 20mA FPO A D conver No of input channels 8 FP0 A80 sion unit Input range Resolution 1 4000 e Voltage 0 5V 10 4 10V 100 100mV Current 0 20mA ARCT1F321 FPO D A conver No of output channels 4 FPO AO4V ARCT1F382 sion unit Output range Resolution 1 4000 Voltage 10 10V Current 4 20mA FPO RTD unit Pt100 Pt1000 Ni1000 FPO RTD6 ARCT1F445 Resolution 0 19C 0 019C depend ing on switch setting 1 2 4 FP series link units 20 Product Manual no Description FAF35E5 ACGM0123 ARCT1F96 C NET RS485 adapter for connecting PLC adapte
83. E8YP FPOR E16X FPOR E16R E16T E16P FPOR E16YT E16YP FPOR E32T E32P E32RS FPO analog I O unit FPO A21 56 rp d input 4 Dones aoas Oupu 4 Y20723 v4o va3_ Output pu Y20 Y27 Y40 Y47 input i Dener Daar Tut 8 x20 x27 XA0 X47 Oupu 8 Ya0 ya7 vao va7_ Output ca Y20 Y2F Y40 Y4F input 16 Deer aoar Oupu is YAV YAF va0 var_ Unit number installation loca 3 X60 X67 X60 X63 Y60 Y63 Y60 Y67 X60 X6F X60 X67 Y60 Y67 Y60 Y6F X60 X6F Y60 Y6F WX6 Input 16 WX2 WX4 X20 X2F X40 X4F X60 X6F Input 16 1 WX3 WX5 X30 X3F X50 X5F X70 X7F Output 16 WY2 wy4 Y20 Y2F Y40 Y4F Y60 Y6F FPOR User s Manual WX7 WY6 Note FPOR User s Manual I O allocation VOs Channel Type of unit Unit number installation loca tion 1 2 3 FPO A D conversion Input 16 0 2 4 WX2 WX4 unit 6 X20 X2F X40 X4F X60 X6F E and e input 16 1 3 5 WX WX5 WX7 thermocouple 7 X30 X3F X50 X5F X70 X7F unit FPO TC4 FPO TC8 FPO D A conversion unit FPO AO04V FPO AO4I Input 16 WX2 WX4 WX6 X20 X2F X40 X4F X60 X6F Output 16 0 2 WY2 wy4 WY6 Y20 Y2F Y40 Y4F Y60 Y6F Output 16 1 3 wy3 WY5 WY7 Y30 Y3F Y50 Y5F Y70 Y7F Input 16 0 2 4 WX2 WX4 WX6 X20 X2F X40 X4F X60 X6F Input 16 1 3 5 WX3 WX5 WX7 X30 X3F X50 X5F X
84. EFA RE RM REFR E vewerane EA 220 8 3 2 Download protection tiir nd ER Ex ERe RE RUERERAR FA RR EREATE REN FOQERA ER K EA RR EEUU EAR EE 221 9 Other TUMCTIONS e 223 971 F ROM backulp PIS EPWT in scicuiisi esa RR RE sendin AER X E a XRUUNUHER DR a ERIS 223 9 2 Sampling trace 5 ete nr erc err eee e ra eed eek bruce rd ra PV ve ret Hac 223 9 3 Input time constants ur RR E ER PRX Ea cia rPrerka a ada rPRRrbx Fa Ra rr rA dd a 224 10 Troubleshooting aucun precii ndadadiRunic iain uncia qiia KE 225 10 1 LED display for status condition wo nnn 225 10 2 Operation ON ETO soie opa EE I ERE EX MK E RRAPPER PR P RR RRRA PEE PRKRRRRR BRA PER PR AASEN ANURA 226 10 3 ERROR ALARM LED iS flaShinG iii riore ener rrr bI REFERRE RE EFE E ERIXRI ERE 226 10 4 ERROR ALARM LED is QN ie aibi Li da ERE ERRARE LA REA EXER RE ERR RR a ERRARE EE Eaa 227 10 5 All LEDS are OFF e ia eenaa a i ai a id iiaeiai iiS 228 10 6 Diagnosing output malfunction srna eic eerta dex Er Reda A AESA 228 10 7 Password protection error message sssssssssssssess emen emen menie 229 10 8 PROG mode does not change to RUN beber dd iae eb ere a Ra ERR EL ERA PL UERR 230 LEE IX Ss veces 231 11 1 Specificatlons eere vcore webateee ee E Sha haan devia M Ra ERRARE RM Fe ida 231 11 1 1 General specifications ceci IR IUDA NEP A UE RENE RR UERER 231 11 1 2 Performance specifications oreet ge korte RI
85. FPOR User s Manual Note Appendix If the same input has been set as high speed counter input pulse catch input or interrupt input the following order of precedence is ef fective High speed counter Pulse catch Interrupt If reset input settings overlap for channel 0 and channel 1 the channel 1 setting takes precedence If reset input settings overlap for channel 2 and channel 3 the channel 3 setting takes precedence The input modes two phase incremental decremental or incremen tal decremental control require a second channel If channel 0 2 or channel 4 has been set to one of these modes the settings for channel 1 3 and 5 respectively will be invalid The settings for pulse catch inputs and interrupt inputs can only be specified in the system registers Transistor types C16 and higher Note FPOR User s Manual CPU outputs which have been specified as pulse output or PWM output cannot be used as normal outputs Input numbers X4 to X7 can be used as home input of pulse output channels 0 to 3 When using the home return function always set the home input In this case X4 to X7 cannot be used as high speed counter inputs The output numbers for the deviation counter clear signal which can be used with the home return function are fixed for each channel For C16 Channel 0 Y6 channel 1 Y7 For C32 T32 F32 Channel 0 Y8 channel 1 Y9 channel 2 YA channel 3 YB If used for the
86. Hz PWM output can be specified up to 4 8kHz A maximum error on the pulse width of 40us may occur for the setting value depending on voltage temperature or operating condition 3 Writing is possible up to 10000 times 233 Appendix 4 All memory areas including timers counters internal flags link flags link reg isters and data registers can be backed up Areas to be held and not to be held can be specified in the system registers 5 The built in backup battery is not charged when the unit is shipped Charge the battery sufficiently before use The battery does not have an alarm function when it is running low If the bat tery is empty the data values in the hold area will become indefinite during power off They are cleared to 0 the next time the power is turned on We recommend adding a program for checking if the data is set to 0 when the power is turned on the next time Precision at 0 C error 104s month at 25 C error 51s month at 55 C error 155s month 6 11 1 3 Communication specifications TOOL port Item Description Interface RS232C Transmission distance 15m Baud rate 2400 4800 9600 19200 38400 57600 115200bit s Communication method Half duplex Synchronous method Start stop synchronous system Communication format Data length 7 bits 8 bits Parity None Odd Even Stop bit 1 bit 2 bits End code CR CR LF None ETX Start code No STX STX Data transmission order Transmits from b
87. I odono 00000000 naGcongoa 00000000 m ae en os FEE Ho o o o o ie ee ee Cm bodobobo nnbnnn Dunnnunn pooooooo oo000000 00000000 oo000000 00000000 i pes Leases ace i AA ep FPOR CPU X0 XF Y o vr X20 X3F Y20 Y3F X40 X5F Y40 Y5F X60 X7F Y60 Y7F FPO FPOR I O expansion unit e The input X and output Y are expressed as a combination of decimal and hexadecimal 2 numbers x 6 el 12 3 9 1 2 8 9 A B F e On the FPOR and the FPO the same numbers are used for inputs and outputs e g X20 Y20 e The usable I O addresses depend on the unit type See FPO FPOR expansion units on p 56 55 I O allocation 4 2 CPU The I O allocation of the FPOR CPU is fixed CPU type Os I O addresses Output 6 Y0 Y5 C32 T32 F32 X0 XF 4 3 FPO FPOR expansion units I O allocation is performed automatically when an expansion unit is added and is determined by the installation location Expansion units from the FPO FPOR series are connected on the right side of the CPU The I O ad dresses are allocated from the unit nearest to the CPU in ascending order Type of unit Os Channel tion 2 FPO FPOR I O expansion unit FPOR E8X FPOR E8R FPOR E8YR E8YT
88. I eae exea RR UR UR M Rn ER 232 11 1 3 Communication specifications cete Ire nen npa a3 aca Pa X RGRA RENE 234 11 1 4 Power supply specifications ecce eme ke a RR Rn Ren 237 11 1 5 Current cons rmiptlon 5 pir pie prr DO RA E RIDERE A Tia XR RID IR RE D RA XR Ka RO Rd 238 11 2 DImensiOIs sesenta tex uA UAM PAD LE sc crouse IDEM D E I MEDIUM dE 239 11 2 1 C10 C14 CPU terminal block i ee ootn eoa x Ra aed eerie aie 239 11 2 2 C16 CPU MIE COnlhectOr eere arn Fata M EORR Fat e wea eva Mea xn RR FR RA 240 11 23 C32 CPU MIL connector s eoe scit Rute ERR HARERE TA ARE AER REAR LEX VERRE AS 241 11 2 4 Power Supply UNIT uocis ote XE RR Ueber cesgekOrce MPa de Rao Mie MA a UM dues 242 11 2 5 Using DIN rails ren RE RR RORI ERR FA RRERULR ERRARE RERRORREAKRAEE RI EARURETAR Pob Nes 242 11 3 I O allocations isi ere tie eitesittbidaoklaitonisi Ri aa fiac ipd d fua felcvai ifi ra Dal Dad ril a 242 11 4 Flags and memory areas for FPOR siririn noscia ni menester nenes 244 11 5 System TeglSters iiec du RID CI T Er DE MUN iL DEM EU T Wana NI Mean EDO UA 247 FPOR User s Manual 13 Table of contents 11 5 1 Precautions when setting system registelSisisrcisisiisiisa ia a a 247 11 5 2 Types of system registers eerte Roe De a exa eara na Ree MR Rud 247 11 5 3 Checking and changing system registers sss 248 11 5 4 Table of system registers nero eot a RR MDC E RR era Gn 249 11 6 Error CodeS corintiano ietan s EEABOERE
89. Input wiring precautiOrns sicca pte soto Eyre a Dr trea RPbe Roa EAA A 75 5 5 2 Output WINING iiie dea SE RR RR ERE EEEI E RIRE RR IERMDERAYYAdG AG a XX d VAY A E AR PG exu 77 5 5 2 1 Protective circuit for inductive l0 dSisiinsimii enia 77 5 5 2 2 Protective circuit for capacitive loadS s ssssssssrssrrssssrrrerresssrrnrnnes 78 5 6 Wiring the MIL CONMECtOR ciii Teast ereiEk ie aiaiai eia REO E iina eia ia 79 5 7 Wiking the terminal block iie deett eei deni reb cell EE RA REL LEA RE ERE RE Gd 81 5 8 Wiring the COM DOEG ciii eie iceie aetekt Ede rerba ERRERELERIRETRPETERIXTIARIPIVADA DRRIERGdR IR ada 3a dd dx 83 5 8 1 Transmission cables nidi sr icis eiie kei kpladeripsbl db berla EA REL AERE P ERIER 86 6 COMMUNICATION 87 6 1 COMMUNICATION modes ric ERERERRRESRRRERARRIRKRRAR EE NENEA E EiS 87 6 1 1 Terminology in FPWIN Pro arid FPWIN GR sie eh ertet xy n RR ERR RE ER e 87 6 1 2 MEWTOCOL COM master slave ccccccccccecceececeeesceeeessaeeesuaeeesgueeeugueeesuueneagnes 88 6 1 3 Program controlled communication iin etn rr iniia aN NR REA EXER ERR EA 89 SEM PEC cT 90 6 1 5 Modbus RTU taster slave s ester chin e coeur a dE a RP D E EP Ra NERA aa 91 6 2 Ports names and principle applications eeesseeeeneenen nmm 92 6 2 1 TOOL POTE reirei tini I xe Ei Da RIA eR NEA RI D IA ORO NNI X IN EIS Ne p tied seca thea NIRE ERN 92 6 2 2 COM PO M EUUUTITUTITTSS 93
90. Panasonic PROGRAMMABLE CONTROLLERS I POR User s Manual ACGMO0475V3EN q 3 Before beginning Liability and copyright for the hardware Limited warranty This manual and everything described in it are copyrighted You may not copy this manual in whole or part without written consent of Panasonic Electric Works Europe AG PEWEU PEWEU pursues a policy of continuous improvement of the design and per formance of its products Therefore we reserve the right to change the manual product without notice In no event will PEWEU be liable for direct special incidental or consequential damage resulting from any defect in the product or its documentation even if advised of the possibility of such damages We invite your comments on this manual Please e mail us at techdoc peweu eu panasonic com Please direct support matters and technical questions to your local Pana sonic representative If physical defects caused by distribution are found PEWEU will re place repair the product free of charge Exceptions include e When physical defects are due to different usage treatment of the product other than described in the manual e When physical defects are due to defective equipment other than the distributed product e When physical defects are due to modifications repairs by someone other than PEWEU e When physical defects are due to natural disasters FPOR User s Manual Warnings used in this manual One or mo
91. RREERA AE NER RCERIERRNU PAREREARRPENIN A 256 11 6 1 Error codes Ed to ES iii rc oret bei ex E ra SOR E A 256 11 6 2 Self Diagnostic error codes onte eth ERRARE PR ERR RE REU RR RE FOR RA ERR E 257 11 6 3MEWTOCOL COM error COdES icio reet oe Ra ex i RR a x M REDE EN RR FR Ra 258 11 7 MEWTOCOL COM communication commands cssssesssseemee menm 259 11 8 Data ty PS ETT 260 11 8 1 Elementary data types 0c scisciscietentieisiactigncbectsscslinssdisieoeiacstadiaacebetecnbes 260 11 9 2 Generic data types secco EE EIRPIORIMPME band ION UU Rad RE VAI Om Ea 261 11 9 Hexadecimal binary BCD eri RERRTEPNRERREERE AAE EE RCDR SERRE EE EORR ERREUR ERE 262 11 10 ASCII CODES assie eer RR ERR ER EN RRRRAFA VERRE KAERERRRRAEEKR FE RONDKERVETRVRFEKRASERAFE Fa CERE FE 263 14 FPOR User s Manual Chapter 1 1 1 Features USB 2 0 TOOL port Overview Overview The FPOR is an ultra compact PLC programmable logic controller with high speed processing capabilities and a large memory capacity The con troller uses the comprehensive F instruction set and is programmed with Control FPWIN Pro or FPWIN GR With Control FPWIN Pro programming according to IEC 61131 3 is possible The TOOL port supports USB 2 0 Full Speed and enables ultra high speed communication with programming tools Large programs with up to 32k steps can now be downloaded in as fast as 5s For details see p 93 Separate large capacity comment memory The unit s comme
92. Special Function name System variable Bit internal name status flag R900E IsCommunicationError sys bIsToolPort TRUE CommunicationError R9037 sys bIsComPorti1 CommunicationError FPOR User s Manual Communication 6 6 5 1 Start code no STX end code CR Receiving and sending data FPOR User s Manual a lt XB Xc CR Xd E r TRUE FALSE TRUE FALSE TRUE FALSE Oa Oa CO Y Y Y A lA A Al E E E iB B B Br F B C C C Cl G Le la 1 2 3 0 1 2 3 Data received from external device Data sent to external device 2 Reception done flag 8 Receive buffer 8 F159 MTRN execution Number of bytes received Transmission done 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 reception done flag turns to TRUE Reception of any further data is prohibited Character D is not stored 3 F159 MTRN is executed to send response data to the external device When F159 MTRN is executed The receive buffer is reset The reception done flag turns to FALSE The transmission done flag turns to FALSE The communication error flag turns to FALSE
93. The battery will be charged automatically when the DC power is supplied to the CPU FPOR User s Manual CPU types The number of days the backup battery remains effective backup time depends on the charging time If the battery has been fully charged 72 hours at an ambient temperature of 25 C the battery will function for ap prox 50 days x Charging time hours y Backup time days at 25 C The backup time will vary according to the ambient temperature when the battery is charged Ambient temperature when charged Backup time 70 C 14 days 25 C 50 days 20 C 25 days Predicted life of built in backup battery The life of the built in backup battery varies depending on the ambient temperature while the CPU is on energized The temperature when the CPU is off not powered has little influence on the battery life Ambient temperature Lifetime of built in backup battery 55 C 430 days 1 year 45 C 1200 days 3 years 40 C 2100 days 6 years 35 C 3300 days 9 years lt 34 C 10 years The built in backup battery cannot be replaced FPOR User s Manual 39 CPU types Precision of clock calendar Ambient temperature Error 0 C lt 104s month 259C lt 51s month 55 C lt 155s month 2 5 1 Backup function Additional hold areas which will be saved with a backup battery FPOR T32 or with the built in FRAM FPOR F32 can be specified for the following memory areas e Timers Cou
94. To turn the output to FALSE use F167 HighSpeedCounter Reset or Hsc TargetValueMatch Reset The instruction F178 HighSpeedCounter Measure measures the number of input pulses in a specified counting period and the pulse period FPOR User s Manual 179 High speed counter and pulse output System variables for memory areas used System variable Adres High speed counter control O sys_bIsHscChannel0ControlActive R9110 dea R9111 R9114 High speed counter 0 sys_diHscChannel0Elapsedvalue DDT90300 elapsed value of channel DDT90304 High speed counter target 0 sys diHscChannelOControlTargetValue DDT90302 DDT90314 High speed counter control 0 sys_wHscChannel0ControlCode DT90370 code monitor for channel DT90371 DT90373 High speed counter or pulse sys_wHscOrPulseControlCode DT90052 output control code 7 3 4 1 Writing the high speed counter control code 180 Control codes are used to perform special counter operations When programming with F instructions Use a MOVE instruction to write or read the control code to or from the special data register reserved for this code DT90052 or DT9052 depending on the PLC type The special data register where the high speed counter and pulse output control code are stored can be accessed with the system variable sys_wHscOrPulseControlCode When programming with tool instructions Use universal high speed coun ter control instructions which apply to all PLC types to make cont
95. UE if a pulse output instruction is being executed Use this flag to prohibit the simultaneous execution of other pulse output instruc tions on the specified channel and to verify completion of the execution FPOR User s Manual 197 High speed counter and pulse output Note The status of the high speed counter control flag or pulse output control flag may change while a scan is being carried out For exam ple if the flag is used more than once as an input condition differ ent statuses may exist within one scan To ensure proper execution of the program the status of the special internal flag should be copied to a variable at the beginning of the program Channel and pulse output numbers Note Channel no Interpolation axis Pulse output Pulse output method CWICCW Pulse direction Direction Direction Direction Direction D ForF175 PulseOutput Linear For interpolation channel 0 and 1 or channel 2 and 3 are used as pairs You may only specify O or 2 for C14T 0 only System variables for memory areas used 198 Description System variable Address Pulse output control O sys bIsPulseChannelOActive R9120 Pulse output elapsed O sys diPulseChannelOElapsedValue DDT90400 Pulse output target O sys diPulseChannelOTargetValue DDT90402 DDT90422 Corrected initial speed O sys iPulseChannelOCorrectedInitialSpeed DT90406 FPOR User s Manual High speed counter and pulse output S
96. Y60 Y6F FPOR User s Manual 243 Appendix Note 11 4 Flags and Flags bits Memory area words 244 The data for each channel of the A D and D A conversion units FPO A80 FPO TC4 TC8 FPO A04V I and FPO RTD6 is converted and loaded with a user program that includes a switching flag to convert the data in 16 bit words see corresponding manuals memory areas for FPOR Type Memory Available address area Function size FP l EC Inputs 1760 X0 X109F IX0 0 Turn on or off based on 1X109 15 external input Outputs 1760 YO Y109F QX0 0 Turn on or off connected QX109 15 devices based on the opera tion result Internal 4096 RO R255F MX0 0 0 Used internally by the PLC flags MX0 255 15 program to store bit infor mation Link flags 2048 LO L127F MX7 0 0 Shared by multiple PLCs 2 MX7 127 15 connected using PLC link Timer 1024 TO T1007 MX1 0 Turn on when the value set flags C1008 C1023 MX1 1007 with a TM instruction for the MX2 1008 timer with the same number MX2 1023 has reached 0 Counter 1024 C1008 C1023 MX2 1008 Turn on when the value set flags TO T1007 MX2 1023 with a CT instruction for the MX1 0 counter with the same MX1 1007 number has reached 0 Special 224 R9000 R913F 96MX0 900 0 Turn on or off based on internal MX0 913 15 specific conditions Used flags internally as a flag Memory Available address area Func
97. able i I O verification error Stop Continue FPOR User s Manual 249 Appendix Time Out 30 Watchdog timer time out 699 1ms Fixed 31 Multi frame communication time 32 Timeout value for the communication functions based on F145 F146 34 Constant scan time PLC Link 46 PLC link O and 1 allocation setting Use PLC link O 47 PLC link O Highest station number in network 16 40 PLC link O Link flags Send receive area Number of words O shared by all linked PLCs 42 PLC link O Link flags Send area Start sending from this 0 word address 43 PLC link O Link flags Send area Number of words to send O 41 PLC link O Link registers Send receive area Number of 0 words shared by all linked PLCs 44 PLC link O Link registers Send area Start sending from this 0 word address 45 PLC link O Link registers Send area Number of words to 0 send 57 PLC link 1 Highest station number in network 16 50 PLC link 1 Link flags Send receive area Number of words O shared by all linked PLCs 52 PLC link 1 Link flags Send area Start sending from this 64 word address 53 PLC link 1 Link flags Send area Number of words to send O 5i PLC link 1 Link registers Send receive area Number of 0 words shared by all linked PLCs 54 PLC link 1 Link registers Send area Start sending from this 128 word address 55 PLC link 1 Link registers Send area Number of words to 0 send 250
98. ads the value set for a timer counter Write timer counter set value area Writes a timer counter setting value Write contact area Read timer counter elapsed value RK Reads the timer counter elapsed value area Write timer counter elapsed value K Writes the timer counter elapsed value area lt Register or Reset contacts moni tored 9 Registers the contact to be monitored x Register or Reset data monitored D Registers the data to be monitored z Monitoring start G Monitors a registered contact or data using MD and MC Preset contact area fill command C Embeds the area of a specified range in a 16 point on and off pattern Preset data area fill command SD Writes the same contents to the data area of a specified range Read system register Reads the contents of a system register Write system register R Specifies the contents of a system register Read the status of PLC RT Reads the specifications of the PLC and error codes if an error occurs Remote control Switches the operation mode of the PLC Abort AB Aborts communication FPOR User s Manual 259 Appendix 11 8 Data types In Control FPWIN Pro variable declarations require a data type All data types conform to IEC61131 3 For details please refer to the online help of Control FPWIN Pro Reference 11 8 1 Elementary data types Keyword Data type Range Reserved Initial value memory BOOL Boolean 0 FALSE 1 bit 1 TRUE WORD Bi
99. ally received in the receive buffer see p 128 The re ceive buffer must be defined in the system registers After the end of re FPOR User s Manual Communication ception has been verified data can be copied into a specified target area of the CPU Receiving includes processing the data in the receive buffer and preparing the system to receive further data See also Receiving data on p 126 The end of reception can be verified by e evaluating the reception done flag or by executing IsReceptionDone e executing IsReceptionDoneByTimeOut e directly evaluating the receive buffer See also Flag operation on p 133 0 0 O a io i PLC Receiving data in receive buffer Device with RS232C port amp Reception done flag turns to TRUE No end code is included in the data stored The maximum volume of data that can be received is 4094 bytes Note In the FPO compatibility mode F159 MTRN is automatically trans lated into F144 TRNS 6 6 1 Setting communication parameters Make the following settings for the communication port e communication mode Program controlled e baud rate e communication format e receive buffer For details on setting the communication parameters see Setting system registers in PROG mode on p 102 FPOR User s Manual 121 Communication Note Program controlled mode is available via COM port and TOOL port 122 FPOR User s Manual Communication Specifyin
100. ance parts packed with transistor output type Pressure connection For wiring transistor output type connec AXY5200FP tool tions FPO slim type For vertical mounting of FPO FPOR expan AFP0803 mounting plate 10 sion units pcs Flat type mounting For horizontal mounting of the CPU AFP0804 plate 10 pcs FP Memory Load For reading writing pro ata clear type AFP8670 D er grams from to PLC Data hold type AFP8671 21 Overview 1 3 Restrictions on unit combinations By adding expansion units the number of I O points can be increased However the maximum number of expansion units per CPU is limited A maximum of three expansion units can be connected on the right side of the FPOR CPU these expansion units being either I O expansion units or intelligent units A combination of relay output types and transistor output types is also possible H ha Meme Lanau O aUo a e quta ae Kinbn n nbn nnn oooodoobo unonnon H RCENCRPHCRCREENCR C ERPENENENCRC ododo nbn nnn oooooobo unonnon A ol 8 j a 8 j z 8 ag 8 8 a8 s o B 8 i i s ol j 9 8 9 9 a8 wee hehe aUo ate qoaa ao Qoo00000 0000
101. ar potential between the power supply line and function earth The power supply line of the FPOR is con nected to function earth through a high voltage capacitor Therefore there is no risk of a short circuit 24V DC OV pe 4 Power supply line of FPOR with built in 39V varistor Example 2 Do not ground the function earth terminal of the FPOR when grounding a plus terminal of the power supply FPOR User s Manual Installation and wiring In some computers the SG terminal of the RS232C port is connected with the connector shielding Also the FPOR TOOL port shielding is connected with the function earth terminal PE Therefore the GND and function earth terminals of the FPOR may be connected if a computer is connected Especially when the FPOR is connected to a computer with a plus terminal grounded the minus terminal of an FPOR is connected with the function earth terminal A resulting short circuit may damage the FPOR and its neighboring parts Power supply Shielding CPU 2 Cable Computer 5 5 Input and output wiring Note e Separate the input output wires from the power and high voltage wires by at least 100mm e Be sure to select the thickness diameter of the input and out put wires while taking into consideration the required current capacity e Arrange the wiring so that the input and output wiring are sepa rated and so that these wirings are separated from the power wiring as m
102. arget PLC that is protected by a different password abcdefgh Download to a target PLC that is not password protected is not possible NOTICE During program download from the FP Memory Loader to a target PLC the password set on the source PLC may be changed The password on the source PLC may be changed under the following con ditions Security setting on FP Memory Loader No password set 8 digit password set Allow download to PLC only if password in the PLC is the same setting disabled 8 digit password set Allow download to PLC only if password in the PLC is the same setting enabled Password setting on target PLC after download Password will be cleared Password will be overwritten with new 8 digit password Password will not be changed no download possible FPOR User s Manual Chapter 9 Other functions Other functions 9 1 F ROM backup P13 EPWT Reference Data registers of 32765 words can be written to the built in F ROM of the FPOR CPU using the instruction P13 EPWT Writing can be performed up to 10000 times After that the correct opera tion cannot be guaranteed If the power supply turns off while the instruction P13 EPWT is being ex ecuted or during online editing data in the hold area may be lost For details please refer to the online help of Control FPWIN Pro 9 2 Sampling trace Reference FPOR User s Manual Using the sampling tra
103. c Worle Europa AG Achar iratis pentre FLATIHIUM Morell 33527111 4514 DE Bra WH 4420 541 AT OH Fax dz 41 2 7 107 wey paraa IC dc ricordi r2 k Frase Pansio Hastra Works Suoma bangabse 10 rue des petits mbsaar S270 Verbes Le Buisson TEL 33 D 1 000 3 5T37 Fax 43 2 1 NH S58 Sales Weslam Europe B V wm panes d Kc electric workas fr k Germany Panssosic Hectic Works Europe AG Rud Diessl Alng 2 22507 Holzkinchen TEL 130 E S004 648 0 Fax 87 TI BOGS M1 11 weer paraceric siectric wari de k Hurgary Panasonic Hectic Works Europe AG Magari Kreslen Keretkede ra K pwiselel 1117 Budapest Nearzann Jdna u 1 Te 428 d 99283 28 WIN Danas kecik hu F Irland Pansio Hectic Works UK Lid kish Branch Oifice Dublin EL 2353 T HEDEN Fac 52 00 1480112 wena pan k eleri arog uk H lidy Panasonin Hectic Works holia sl Va del Carmewio 2 5 71 Ferlina B Bussplenga VAh Tel 438 TAT 11 Fax 45 Se Www panas on c ndnctric works H k Nordin Countries Panasonic Hectic Works Europe AG Fila Moric Knaramdepalun 15 154 4D kisa Seeden TH i45 SECS Fax 445 BS DoT wea panasa n c a lectic warks se Panazonia Eor Salutions Hardis AB JAungreaspatzs 12 21119 Maire Tel 445 4c gg 7000 Fax 445 40 IT TOL una panas cnic Are serurtiy ror k Poland Panazenin Hectic Works Polska sp z 4 0 UL Woleska za 12 ES Wars zara H 4E 22 3233 11 32 Fr HE 22 3235 12 00 waa pone eck rris p k Spain Panasonic Hectic Works Espana 5 A Barajas Park an Sesera z0 22042 Mariri
104. cation of data type description Additions Tool instructions New communication instructions Modifications Table for accessories link units power supply unit e Clock calendar function added information on SET RTC instruction de leted programming example 2 5 2 2 Layout change Error corrections Behavior of hold areas when battery errors occur 2 5 1 Wiring diagrams 5 5 1 6 5 5 Formula for resistance 5 5 1 Deleted note on bridging CS and RS 6 6 2 Description of programming examples 6 6 3 Flags in program controlled communications 6 6 5 2 Count input modes 7 3 1 North America Asia Pacific china APA Panasonic Electric Works Please contact our Global Sales Gompanias in k Hamdgumrigrs Panasosio Bactra Works Europa AG Rurkt Diessi Ring 2 EMIT Helskdrchen TEL 148 Dh 32234 042 1 Fasc 2 TI BOG 845 1 11 na parue nnic a lect kewl com k Amirin Panazoinio Hectic Works Austria GmbH xag iadersperger xir 2 2302 Bled errmeared ari Tel 40 01 2238 26 E4B Far 489 TD 2228 0115 WIN paras RC ede Eros a Panazenio Industrial Devices Materials Ennsi aake EU ATO Enna Tel 830 7223 S62 Foo 83 D 72 2 18322 www parasan t eieciranic muaterais com Europe GinbH Benelux Panssosic Hectic Works D Fij d pasias 21 3 MEA FJ Gest S AE Bani Methertancis T4 431 Oh IQ STITZT Fae 431 Dj 479 372128 Sales Weslem Europe B V wey pares k adik n k Grech Republie Panamio Electri
105. ce function the current contact conditions and or the variable values can be displayed on a time 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 16 Boolean variables and three 16 bit variables can be traced per sampling For details please refer to the online help of Control FPWIN Pro 223 Other functions 9 3 Input time constants You can specify input time constants in order to negate the effects of noise or bouncing e g for a switching device To set the time constants use the system registers or the instruction F182 FILTER Time constant settings are invalid if the input is used as a high speed counter pulse catch or interrupt input For details please refer to the online help of Control FPWIN Pro Reference M Time constants can be set for the following inputs depending on the CPU type CPU type C10 C14 C16 C32 T32 F32 224 FPOR User s Manual Troubleshooting Chapter 10 Troubleshooting 10 1 LED display for status condition When an error occurs the status of the operation status LEDs on the CPU changes as shown in the table below e eae ou ooo000000 7 o 000 Oo a 00000 Status indicator LEDs Status indicator LEDs on CPU LED status Description
106. cedure Double click PLC in the navigator Double click System registers Double click High speed counter pulse catch input interrupt input AWN op Select the desired inputs for each channel 7 34 Count input modes Input mode Input signals neemel e FLFLFLFLEL FLFLPLFLE ES zu FALSE o 1 2 3 4 nea n2 n 1 n D High speed counter input XO X1 X3 X4 X6 X7 2 Counter value Decremental TRUE i Ol S High speed counter input XO X1 X3 X4 X6 X7 2 Counter value 176 FPOR User s Manual FPOR User s Manual Input mode Two phase Incremental decremental Incremental decremental control Count for reset incremental High speed counter and pulse output Input signals Incremental input r FALSE 1 a 4 1 1 TRUE N FALSE I 0 1 2 nt n gt Decremental input E FALSE a f l f l f l f l TRUE E FALSE n n 1 n 2 n 3 2 1 gt 0 High speed counter input XO X1 X3 X4 or X6 X7 2 Counter value ji F F F F F Fl F TRUE i FALSE C TRUE Li Li Lf raise o1 2 3 423 2 12 3 4 3 High speed counter input X0 X1 X3 X4 or X6 X7 Counter value 8 Increasing Decreasing 1 j TRUE AGEL uu FALSE l Da TRUE E FALSE I I 2
107. common Min ON voltage min ON cur rent Max OFF voltage max OFF current Optical coupler 24V DC 4 7mA at 24V DC 4 3mA for FPO unit 5 1kQ 5 6KQ for FPO unit 21 6 26 4V DC E8X E16P E16T E32RS 8 E32T E16X 16 E8R 4 Either the positive or negative pole of the input power supply can be connected to the common terminal 19 2V DC 3mA 2 4V DC 1mA Response FALSE TRUE lt 2ms time TRUE gt FALSE Operation indicator LEDs 1 All FPO expansion units have been replaced by newer FPOR units with improved specifications 47 Expansion Inputs that are TRUE simultaneously Keep the number of inputs per common which are simultaneously TRUE within the following range as determined by the ambient temperature E32 D nie e ES US TM TNCS 11 nm x 43 49655 x Ambient temperature C y Number of inputs per common that are TRUE simultaneously D At 24V DC At 26 4V DC 3 4 Expansion output specifications Relay output specifications EBRS EBRM E8YRS E16RS E16RM E32RS Output type la Nominal switching capacity 2A 250V AC 2A 30V DC lt 4 5A common resistive load Outputs per common E8R 4 E16R E8YR E32RS 8 Response FALSE TRUE l0ms UNE TRUE gt FALSE 8ms Mechanical lifetime 220 000 000 operations switching frequency 180 operations min Electrical lifetime 2100 000 operations switching frequency at nominal switching capacity 20 operations
108. ct mode password setting or DIP switch etc or ROM operation mode was being used FPOR User s Manual Appendix Error Name Description code 166 Address error There was an error in the code format of the address data Also when exceeded or insufficient address data there was a mistake in the range designation 167 No program error and no Cannot be read because there is no program in the program area or data error the memory contains an error Or reading of non registered data was attempted 168 Rewrite during RUN error When inputting with programming tool software editing of an in struction ED SUB RET INT IRET SSTP and STPE that cannot perform a rewrite during RUN is being attempted Nothing is written to the CPU 170 SIM over error Program area was exceeded during a program write process 171 Exclusive access control A command that cannot be processed was executed at the same error time as a command being processed 11 7 MEWTOCOL COM communication commands Command name Code Description Reads the on and off status of contacts Specifies only one point Specifies multiple contacts Specifies a range in word units Read contact area Turns contacts on and off Specifies only one point Specifies multiple contacts Specifies a range in word units 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 Re
109. d 143 Multiple frames procedure A different command was received when processing multiple error frames 150 Link setting error A non existing route number was specified Verify the route number by designating the transmission station 151 Transmission time out error Transmission to another device is not possible because the trans mission buffer is full 152 Transmit disable error Transmission processing to another device is not possible link unit runaway etc 153 Busy error Processing of command received is not possible because of multiple frame processing or because command being processed is congest ed 160 Content of specified parameter does not exist or cannot be used 161 Data error There was a mistake in the contact data area data number desig nation size designation range or format designation 162 Registration over error Operation was done when number of registrations was exceeded or when there was no registration 163 PC command that cannot be processed was executed during RUN mode 164 165 258 External memory error An abnormality occurred when loading RAM to ROM IC memory card There may be a problem with the ROM or IC memory card When loading the specified contents exceeded the capacity Write error occurs ROM or IC memory card is not installed ROM or IC memory card does not conform to specifications Protection error A program or system register write operation was executed when the prote
110. d Using an AC inductive load relay output type FPOR User s Manual FPOR A Output terminal Load 9 Surge absorber e g re sistance R 500 capacitance C 0 47 uF 77 Installation and wiring Using a DC inductive load A FPOR Qo Output terminal Load COM Varistor A l FPOR Qo D Output terminal il Load COM Diode 5 5 2 2 Protective circuit for capacitive loads 78 When connecting loads with large inrush currents connect a protection circuit as shown below to minimize their effect FPOR Output terminal Load Resistor amp obl FPOR E Output terminal Load Inductor e Q 9 O FPOR User s Manual Installation and wiring 5 6 Wiring the MIL connector Ordering information Suitable wire Optional cables FPOR User s Manual The connector indicated below is supplied with transistor type CPUs and I O expansion units Use the wires indicated below A pressure connection tool for connecting the wires is recommended This connector can be ordered as an accessory Product no AFP0807 AXW61001 AXW7221 Product name u Type Connector set 10 pin type Semi cover 10 pin type Crimp contacts For AWG22 24 Packaging DEDIGCOS 2 pieces 5 pieces Size Cro
111. d TH 424 2122 DATA Fin 424 2r BP mw parasa nical ectric worker ae k Switzerland Pansio Hectic Works Sabweiz AG Grundstrarse B 343 Roire Tel 41 1 41 PTO Fac 1 3 TS rum ane kc edechric works rh United Kingdom Panazexin Hectic Works UK Lid Sunrise Party Linford Wad Bihan Keynes WKI BLE TH ad FI 1008 2331555 Fah OY 1308 2310533 wey panes rn k ebectric works rr ak North amp Seuth America k LA Panasonic Industrial Devices Sales Company 522 Ceriui Avenue Nea Providence NJ C7ET Tel 1 205 834 2220 Fac 1 058 424 5813 wwra piano com Ameria k China Pasceenais Electric Works Sales Chinn Co Lid Level amp Tres Wz The Rems Oriental Fla Ha 2 East Chang An je Dang Cheng Disk il Belin 100738 El 58 10 50 c8 RE Fax 4858 10 32 2 HIE 3 k Harg Kang Panacesia Indusirisl Devices Jurlamation FED F Tower 2 The Garea 25 Canton Road Ts institu Erakon Hang Kang EL 4852 28021 16 Fax 4812 fete Cintra Sales Hong Fang Co Lid b dopa Pansio Corporation 1042 Kad nma Kadameeshi Osaa 571 5288 Japan TH 481 808 1032 Fx 4610 00 57 E www panasanic ret k Singapore Panso Industrial Devices 300 Beach Road AA The Caem Singapore 156855 Tel 155 530 3811 Fac i5 BSAED 3D Antonation Controls Soles Asia Parif m
112. d has been set a login is required whenever the power is turned on 1 Online Security settings 2 Enter your password under PLC Access 3 Choose Login NOTICE If you are not logged in Clear Password will erase not only the password but also the program and parameters stored in the PLC s comment memory 229 Troubleshooting 10 8 PROG mode does not 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 e Check to see if the ERROR ALARM LED is flashing See ERROR ALARM LED is flashing on p 226 e Locate the syntax error by executing Monitor PLC status or m 230 FPOR User s Manual Chapter 11 Appendix Appendix 11 1 Specifications 11 1 1 General specifications FPOR User s Manual Rated operating voltage 24V DC Operating voltage range 20 4 28 8V DC Momentary C10 C14 5ms at 20 4V 10ms at 21 6V power off C16 tme C32 T32 10ms at 20 4V F32 Fuse Built in cannot be replaced Ambient temperature 0 55 C Storage temperature 40 70 C T32 20 70 C Ambient humidity 10 95 RH at 25 C non condensing Storage humidity 10 95 RH at 25 C non condensing Breakdown voltage Transistor Relay Cutoff current 5mA types types Input terminals lt gt Output ter 500V AC 1500V AC minals for 1min for 1min Output terminals amp Output 1500V AC terminals of different COM for 1mi
113. d rate switch 0 Unused e PLC Link The baud rate is fixed at 115200bit s e FPO compatibility mode TOOL port 9600 or 19200bit s COM port 300 600 1200 2400 4800 9600 or 19200bit s Communication format setting Default settings Data length 8 bits Parity Odd Stop bit 1 bit Start code No STX End code CR use SendCharactersAndClearString for end code suppression Baud rate 115200bit s The setting must match the external device connected to the communica tion port MEWTOCOL COM The end code setting must always be CR and the start code Modbus RTU setting must be No STX PLC Link The communication format settings are fixed Receive buffer For program controlled communication a receive buffer must be specified in the system registers Set a value for receive buffer starting address and receive buffer capacity See Setting communication parameters on p 142 104 FPOR User s Manual Communication 6 4 2 Changing communication mode in RUN mode The communication mode of the CPU s communication ports can be changed during RUN mode You can toggle between program controlled mode and MEWTOCOL COM mode by executing F159 MTRN and setting the variable n Number the number of bytes to be sent to 1628000 Or use the SetCommunicationMode instruction to set the communication mode For programming examples please refer to F159 MTRN and SetCommuni cationMode in the FPWIN Pro online help Note e When
114. de and indicates that operation has stopped Flashes during forced input output RUN and PROG LEDs flash alternately Flashes when an error is detected by the self diagnostic function ERROR Lights if a hardware error occurs or if operation slows because of the program and the watchdog timer is activated ALARM 2 Operation mode selector Used to change the operation mode of the PLC Switch position RUN upward PROG downward Operation mode Sets RUN mode The program is executed and opera tion begins Sets PROG mode Operation stops In this mode pro gramming via the TOOL port is possible When performing remote switching with the programming tool the po sition of the operation mode selector and the actual operation mode may differ Verify the mode with the operation status LED Otherwise restart the FPOR and set the operation mode using the operation mode selector 3 USB port 5 pin Mini B type Used to connect a programming tool Panasonic s USB cable CABMINIUSB5D or a commercial USB2 0 AB type cable can be used gooooo00 000 To use the USB port you must install the USB driver see p 93 4 TOOL port RS232C Used to connect a programming tool FPOR User s Manual 29 CPU types 30 For details see p 92 Input connector Input status LEDs T Output connector 8 Output status LEDs 9 Power supply connector 24V
115. delivers a pulse width modulated output signal according to the specified DUT The PWM output status is stored in special internal flags To access special data registers and special internal flags use the PLC independent system variables You can insert system variables directly into the POU body Use the Variables dialog without entering a declaration in the POU header For detailed information please refer to using system variables in the Reference C FPWIN Pro online help 216 FPOR User s Manual High speed counter and pulse output Setting system registers When using the PWM output function specify the desired PWM output in the system registers Procedure M Double click PLC in the navigator Double click System registers BR U N e Specify the PWM output for the channel used Pulse output Channel 1 Pulse output Channel 2 Pulse output Channel 3 Pulse catch input Pulse catch input Pulse catch input X2 Pulse output YO Y1 PWM output YO High speed counter ChannelS Unused Unused Pulse output Channel 0 unused 2 Unused Pulse output YO Y1 home input X4 Pulse output Y0 Y1 home input X4 position c Double click High speed counter pulse catch input interrupt input Please refer to the Control FPWIN Pro online help for details and a pro Reference gramming example Channel and pulse output numbers Channel no Pulse out
116. deviation counter clear signal these outputs are not available as pulse outputs 253 Appendix Time Constants 430 430 430 430 431 431 431 431 432 432 432 432 22397 433 Hoo 433 1 Time constant of input XO Time constant of input X1 Time constant of input X2 Time constant of input X3 Time constant of input X4 Time constant of input X5 Time constant of input X6 Time constant of input X7 Time constant of input X8 Time constant of input X9 Time constant of input XA Time constant of input XB Time constant of input XC Time constant of input XD Time constant of input XE Time constant of input XF 32k types only TOOL Port 412 TOOL port communication mode 410 TOOL port station number 415 TOOL port baud rate 413 TOOL port sending data length 413 TOOL port sending parity check 413 TOOL port sending stop bit 413 TOOL port sending start code 413 TOOL port sending end code reception done condition 420 TOOL port receive buffer starting address 421 TOOL port receive buffer capacity 412 TOOL port modem connection 254 MEWTOCOL COM Slave 1 115200 baud 8 bits Odd 1 bit No STX CR 0 Disable 0 1ms 0 5ms 1 0ms 2 0ms 4 0ms 8 0ms 16 0ms 32 0ms 64 0ms Unused MEWTOCOL COM Slave Program controlled 1 99 115200 57600 38400 19200 9600 4 800 2400 baud 7 bits 8 bits None Odd Even 1 bit 2 bits No STX STX CR CR LF ETX None 0 12312 16
117. dy sty 06 X Ss tae UND GE MG SONOS SM amelie NE DD e TP o YO bOutputPulse sys wCloekCalendarHourMin EQ Bi Fee TELLER 1680830 43 CPU types 2 5 2 4 Sample program for 30 second compensation This is a program to perform the compensation for 30 seconds when RO turns to TRUE If the 30 second compensation is required use this pro gram POU Header P dtbcd Current MinSec gt o s TeSDOFF dtbedCurrent 158100 P dtbcdCurrent MinSec 16 F FOO sys_wClockCalendarSet 44 FPOR User s Manual Chapter 3 Expansion Expansion 3 1 Expansion method FPOR User s Manual You can expand the FPOR by adding FPO FPOR I O expansion units see p 19 FPO intelligent units see p 20 and FP Series link units see p 20 The expansion units are connected to the right side of the CPU Use the expansion connectors and the expansion hooks on the side of each unit See Connecting FPO FPOR expansion units on p 65 45 Expansion 3 2 Expansion unit parts and functions
118. e using the exclusive OR operation and replaces the final result with character text It is normally part of the calculation program and is created automatically The parity check can be skipped by entering ASCII code 16 2A2A in stead of the BCC End code Messages must always end with a ASCII code 16 0D Target address Address of the target area to be read or written e g internal flag R1 Data area Specification of the number of points to be read or written S 1 point 109 Communication Note Response message 110 Command name e g RC read contact area 9 Command code 16223 indicates that this is a command If there are large numbers of characters to be written they may be divided and sent as several commands If there is a large number of characters in the value that was loaded they may be divided and several responses sent The slave that received the command in the example above sends the processing results to the computer uu Py A __ cr Start code A ASCII code 16 25 or lt ASCII code 16 3C must be at the begin ning of a message The response must start with the same start code as the command 2 Station number The station number of the slave that processed the command is stored here Text The content of this varies depending on the type of command The value should be read based on the content If the processing is not completed succes
119. e CR ca eR CER ERE rs 117 6 5 7 Sample program for master communication esses nns 118 6 6 Program controlled COMMUNICATION serere nh enhn nnn n HE RR a ER HR ER IR Ro BER A n 119 6 6 1 Setting communication parameters wish uote ire rhe nr p Ria ru oc RR EAD RMPNRFA ER IUE 121 6 6 1 1 FPO compatibility mode rt eee etes e on 124 6 6 2 Sending data rr ER URERRAR UE FAREEREUEU EPA EKEREERCOFIAR Patera eae 124 Rome uM sTesiuinisierz ETE 126 6 6 3 1 Setting receive buffer for CPU iiis iere eek End eua ended 128 6 6 4 Format of send and receive data nessiminsimissenmiisiinainieiairti ionene Shi 131 6 6 5 Flag operationis iiic beer rediit lae d A LE ERE REL ERE ETR 133 6 6 5 1 Start code no STX end code CR s ssssssssssrrsrrssssrrrerrssserrsrneesnes 135 6 6 5 2 Start code STX end code ETX cccceseeseeeeeeeeeeeeeeeeeeeeeeeeeeseeeees 136 6 6 6 1 1 COMMUNICATION iiec cites vais eimiski GGG eens RRRUGG GER RR iii 139 6 6 7 LN COMMUNICA OM cick iicet tek hr rnb da ERR RA RERA AG REGERE ARR BERE ERR EE ERRERER 139 6 6 8 Programming in FPO compatibility mode ssesiiiri sitiseni aa 140 SAM UJEGSELI GETESTET 141 6 7 1 Setting communication parameters eire Re RE RR RE EXER 142 6 7 2 Link area allocation iiis sce oie eio ade na Eel idee 144 6 7 2 1 Example for PLC link O cseeseeeseeseeneenenemeemeemen nennen nnn nnn 145 6 7 2 2 Example for PLC lined si ici ici Eo i bri LIA da eels 147 6 7 2 3 Partial use
120. e Send area is split e Send and receive areas are split into multiple segments L Send area L Receive area 6 7 3 Setting the highest station number for a PLC link Station numbers should be set sequentially and consecutively starting from 1 with no breaks between them If there is a missing station number or if there is a station for which the power supply has not been turned on the response time for the PLC link the link transmission cycle time will be longer see p 155 If there are fewer than 16 stations linked set the highest station number to reduce the link transmission cycle time The default value is 16 Set the same value for all PLCs in the link The highest station number is set using system register no 47 for PLC link 0 or system register no 57 for PLC link 1 Sample settings Total number of stations 2 4 n Station number 1 2 1 2 3 4 n Highest station number 2 2 4 4 4 4 JN 1 Same setting for each station FPOR User s Manual 151 Communication 6 7 4 PLC link 0 and 1 allocation setting 6 7 5 Monitoring Note 152 For PLCs supporting two PLC links the default setting of the system regis ter PLC link 0 and 1 allocation setting is Use PLC link 0 This means that the unit which is closest to the CPU uses PLC link 0 and the unit which is further away uses PLC link 1 To reverse this behavior select Use PLC link 1 FP2 MCU MCU In the default setting Use PL
121. e and number of stations should be within the values noted in the following graph y 99 x y D O 2 K 700 1200 x Transmission distance m Number of stations For a baud rate of 115200bit s For a baud rate of 19200bit s 3 Set the baud rate in the system registers and set the DIP switch on the bottom of the unit to the same setting When a C NET adapter is connected to the RS485 interface you can only specify a baud rate of 19200bit s 4 The start and end code can only be used in program controlled communication gt Station numbers should be registered via the system registers Note If the potential difference between the power supplies of RS485 de vices exceeds 4V communication may fail because the RS485 port is non isolated The large potential difference will damage the con nected devices Default settings TOOL port Baud rate Data length Parity sss Sbits foda COM port RS232C 9600bit s 8 bits Odd COM port RS485 115200bit s 8 bits Odd FPOR User s Manual 101 Communication 6 4 Communication parameters During PROG mode During RUN mode The communication parameters are set in the system registers of the PLC Make settings for the communication mode communication format baud rate station number and receive buffer if necessary Use the programming tool to enter settings for the communication port in the system registers Use the SYS1
122. e contact puller pin comes in contact with this section 5 7 Wiring the terminal block Screw type terminal blocks are used The suitable wires are given below Precautions e When removing the wire s insulation be careful not to scratch the core wire e Do not twist the wires to connect them e Do not solder the wires to connect them The solder may break due to vibration e After wiring make sure stress is not applied to the wire e If the socket in the terminal block closes upon counter clockwise rota tion the connection is wrong Disconnect the wire check the terminal hole and then re connect the wire FPOR User s Manual 81 Installation and wiring Terminal block Suitable wire Item Description Number of pins 9 Manufacturer Phoenix Contact Co Model MC1 5 9 ST 3 5 Product no 1840434 Size Cross sectional area mm AWG22 0 3 AWG24 16 0 2 1 25 Pole terminals with compatible insulation sleeve Wiring method Procedure 82 For pole terminals please consider the following specifications 025 AWG24 0 50 AWG20 0m5 AWG18 1 00 AWG18 0 5 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 1 Remove a portion of the wire s insulation l 7mm 2 Insert the wire into the terminal block until it contacts the back of the socket FPOR User s Manual Installation and wiring 3 Turn the screw clockwise
123. e of 1 to 16 For details on set ting station numbers see p 102 D mms A maximum of 16 stations can be connected in a PLC link Station number of PLC Make sure the same station number is not used for more than one of the PLCs connected through the PLC Link function If there are fewer than 16 stations linked set the highest station number to reduce the link transmission cycle time Station num bers should be set sequentially and consecutively starting from 1 with no breaks between them See Setting the highest sta tion number for a PLC link on p 151 143 Communication 6 7 2 Link area allocation System registers 144 To use the PLC link function link areas need to be allocated Set the alloca tions for both the link flags and link registers using the system registers of the CPU Link areas consist of link flags and link registers and are divided into areas for PLC link 0 and PLC link 1 A maximum of 1024 link flags bits and 128 link registers words can be used in the PLC link areas Link flags Link registers i gt Unit words For PLC link 0 1024 bits 1st half For PLC link 0 128 words 1st half For PLC link 1 1024 bits 2nd half For PLC link 1 128 words 2nd half Use PLC Use PLC link O link O Use PLC link 1 0 64 words 40 Link flags Send receive area Number of words shared by all linked PLCs 1 Link registers Send receive area Num be
124. ea for internal registers 0 Used for link registers Not used for link registers System register settings FPOR User s Manual Name Name 41 Link registers Send receive area Number of words shared by all linked PLCs Link registers Send area Start sending from this word address Link registers Send area Number of words to send 100 With the above settings for station number 1 the 28 words consisting of LD100 to LD127 can be used as internal registers 149 Communication 6 7 2 4 Precautions for allocating link areas A mistake in the link area allocation will cause an error and communication will be disabled Avoid overlapping send areas When sending data from the send area to the receive area of another PLC send and receive areas must match In the example shown below there is an overlapping area between units no 2 and 3 and this will cause an er ror so that communication cannot be carried out 1 WLO 19 20 63 L Send area Ei Overlapping area System register settings Station set tings 1 2 3 Link flags Send receive area Number of words shared by 64 64 all linked PLCs Link flags Send area Start sending from this word address lo 20 Link flags Send area Number of words to send 20 Invalid allocations The following allocations are not possible neither for link flags nor for link registers 150 FPOR User s Manual Communication
125. eck End OOOO code code EE MEWTOCOL COM communication between the FPOR and a computer FPOR User s Manual Communication 6 5 2 Command and response format Command message FPOR User s Manual All command related items should be noted in the text segment The sta tion number must be specified before sending the command e Start code Commands must always have a ASCII code 16 25 or a lt ASCII code 16 3C at the beginning of a message The FPOR supports an expansion start code lt to send single frames of up to 2048 characters Using the start code a maximum of 118 characters can be sent in one frame Station number The station number of the slave to which you want to send the command must be specified The range is 01 to 99 decimal In 1 1 communication the station number 01 ASCII code 16 3031 should be specified Text The content differs depending on the command The content should be noted in all upper case characters following the fixed formula for the particular com mand The method for writing text segments in the message varies depending on the type of command Check code Hexadecimal block check code BCC for error detection using horizontal parity The BCC should be created so that it targets all of the text data from the head er to the last text character The BCC starts from the header and checks each character in sequenc
126. ection procedure the first time you estab lish the USB connection However you must change the communication setting when switching be tween the USB and TOOL port connection System requirements e Operating system on the PC Windows 2000 Windows XP Windows vVista Windows 7 e Control FPWIN Pro version 6 1 or later or FPWIN GR version 2 80 or later e USB cable see p 23 94 FPOR User s Manual Communication Note e AUSB hub cannot be used e When multiple FPOR units are connected to one PC with the USB they cannot communicate with the PC simultaneously The PC can communicate with the FPOR that was connected first only and it cannot communicate with the other FPOR 6 2 3 1 Installing the USB driver The following two USB drivers must be installed to recognize the USB e USB driver e USB COM conversion driver The installation procedure may differ depending on the PC s OS Note For a PC with more than one connector you may be requested to i i reinstall these two drivers if the USB connectors positions have changed Procedure 1 Turn on the power supply of the FPOR 2 Connect the FPOR with a PC using a USB cable 3 The PC recognizes the USB driver automatically 4 Follow the wizard s instructions Confirming COM Ports The FPOR connected to the PC via USB is treated as if connected via a COM port It depends on your PC environment
127. ed Please refer to the Control FPWIN Pro online help for details and a pro Reference gramming example 204 FPOR User s Manual High speed counter and pulse output 7 4 3 4 Target value match OFF If the elapsed value matches the target value of the pulse output channel the specified output immediately turns to FALSE Tool instruction Pulse TargetValueMatch Reset F instruction F167 PulseOutput Reset Pulse output characteristics 10000 Target value D Elapsed value of pulse output Execution condition Output control active flag PLC output amp The PLC output turns to FALSE when the elapsed value matches the target value In addition the Output control active flag turns to FALSE and the instruction is deactivated Please refer to the Control FPWIN Pro online help for details and a pro Reference a gramming example FPOR User s Manual 205 High speed counter and pulse output 7 4 3 5 Trapezoidal control This instruction automatically performs trapezoidal control according to the parameters in the specified DUT Pulses are output from the specified channel when the control flag for this channel is FALSE and the execution condition is TRUE Tool instruction PulseOutput Trapezoidal FB F instruction F171 PulseOutput Trapezoidal Pulse output characteristics 6 juu Sek eiue ee ce nel Initial and final speed Target value Target speed 8 Pu
128. ed counter instruction bit 3 0 continue 1 clear 3 Reset input bit 2 see note 0 enabled 1 disabled Count bit 1 0 permit 1 prohibit Reset elapsed value to O bit 0 0 no 1 yes Example 16 2009 Group Value Description IV 2 Channel number 2 III 0 fixed in 0 fixed I 9 Hex 9 corresponds to binary 1001 Cancel high speed counter instruction clear bit 3 1 Reset input enabled bit 2 0 Count permit bit 1 0 Reset elapsed value to 0 yes bit 0 1 Note Use the reset input setting bit 2 to disable the reset input allocated in the system registers FPOR User s Manual 183 High speed counter and pulse output Reference Please refer to the Control FPWIN Pro online help for programming exam ples 7 3 4 2 Writing and reading the elapsed value of the high speed counter Reference 184 The elapsed value is stored as a double word in the special data registers When programming with F instructions Access the special data registers using the system variable sys diHscChannelxElapsedValue where x channel number When programming with tool instructions Use universal high speed coun ter information and control instructions and pulse information and control instructions which apply to all PLC types to read and write the elapsed val ue System variables for memory areas used System variable 0 sys diHscChannelEapsedValue DDT90300 High speed counter elapsed val ue o
129. erence Modbus reference PLC address Decimal Hexadecimal address address 000001 001760 0000 06DF YO0 YiO9F Input 100001 001760 0000 06DF X0 X109F Holding register C10 C14 C16 DTO DT12314 300001 300128 0000 007F WLO WL127 302001 302256 07D0 08CF LDO LD255 Coil Input register 1 Beginning with 0 2 Beginning with 1 For details on Modbus settings and communication please refer to the F145 WRITE DATA and F146 READ DATA commands in the FPWIN Pro online help 6 8 1 Setting communication parameters Note 164 Make the following settings for the communication port e communication mode Modbus RTU e station number e baud rate e communication format For details on setting the communication parameters see Setting system registers in PROG mode on p 102 e The station number can be set within a range of 1 to 99 e With a C NET adapter a maximum of 32 stations can be speci fied FPOR User s Manual Communication 6 8 2 Sample program for master communication Reference FPOR User s Manual Use the F145 WRITE and F146 READ instructions for the Modbus master function Be sure to select Modbus RTU Master Slave for the COM port in system register 412 POU Header VAR EXTERNAL Slave2 g diCounter VAR diCounter NAR NAR VAR In order to have consistent data in the master project and in the s
130. ermined 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 position value is registered at a known reference point home Tool instruction PulseOutput Home FB F instruction F177 PulseOutput Home During execution of a home return instruction pulses are continuously output until the home input is enabled The I O allocation is determined by the channel used Select one of two different operation modes e Type 0 The home input is effective regardless of whether or not there is a near home input whether deceleration is taking place or whether deceleration has been completed Without near home input With near home input f e t Initial speed Home input TRUE Target speed 5 Creep speed 3 Near home input TRUE 8 Home input is effective at any time 215 High speed counter and pulse output e Type 1 The home input is effective only after deceleration started by near home input has been completed eee ORR as teen eos Bee ON OHz t 0 Initial speed Home input TRUE 2 Target speed Creep speed Near home input TRUE Home input is effective only after deceleration Please refer to the Control FPWIN Pro online help for details and a pro Reference gramming example 7 5 PWM output function Use the instruction F173 PulseOutput PWM This instruction
131. et value is reached Set this mode in the control code and specify the FPOR User s Manual 211 High speed counter and pulse output target value an absolute value in the DUT A decelerated stop is per formed when the target value has been reached Deceleration is per formed within the specified deceleration time EM Hoe f i i m l kommende oT bh leme f Initial and final speed Pulse output control flag 2 Change of target speed Target value 8 Execution condition Deceleration time Please refer to the Control FPWIN Pro online help for details and a pro Reference A gramming example 212 FPOR User s Manual High speed counter and pulse output 7 4 3 8 Data table control This instruction performs rectangular control according to the parameters in the specified DUT with an arbitrary number of different speeds and tar get values Pulses are output from the specified channel when the control flag for this channel is FALSE and the execution condition is TRUE Tool instruction not available F instruction Fi74_PulseOutput_DataTable Pulse output characteristics Reference FPOR User s Manual f Hz 5000 2500 1000 O 1000 3000 8000 10000 X Q Elapsed value of pulse output Cox Execution condition Pulse output control flag e Pulses are output at the specified frequency until the target value is
132. f channel Please refer to the Control FPWIN Pro online help for programming exam ples FPOR User s Manual High speed counter and pulse output 7 3 4 3 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 Tool instruction Hsc TargetValueMatch Set F instruction F166 HighSpeedCounter Set Characteristics of target value match ON control 10000 Target value Elapsed value of high speed counter Execution condition High speed counter control flag PLC output eoo The PLC output turns to TRUE when the elapsed value matches the target value In addition the high speed counter control flag turns to FALSE and the instruction is deactivated For programming examples please refer to Example for Hsc TargetValueMatch Set or Example for F166 HighSpeedCounter Set in the Control FPWIN Pro online help Reference FPOR User s Manual 185 High speed counter and pulse output 7 3 4 4 Target value match OFF If the elapsed value of the high speed counter matches the target value an interrupt process immediately turns the specified output to FALSE Tool instruction Hsc TargetValueMatch Reset F instruction F167 HighSpeedCounter Reset Characteristics of target value match OFF control Reference 186 200 Target value 4 The PLC output turns to FALSE when the elapsed value matches the
133. f contacts Specifies only one point Specifies multiple contacts Specifies a range in word units Read contact area Turns contacts on and off Specifies only one point Specifies multiple contacts Specifies a range in word units Write contact area Write timer counter Writes the timer counter elapsed value elapsed value area 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 RS Reads the value set for a timer counter value area Write timer counter set WS Writes a timer counter setting value value area Read timer counter elapsed RK Reads the timer counter elapsed value value area 111 Communication Register or Reset contacts monitored Register or Reset data monitored Monitoring start Preset contact area fill command Preset data area fill com mand Read system register Write system register Read the status of PLC Remote control Abort 6 5 4 Setting communication parameters Note 112 MC Registers the contact to be monitored MD Registers the data to be monitored MG Monitors a registered contact or data using MD and MC SC Embeds the area of a specified range in a 16 point on and off pattern SD Writes the same contents to the data area of a specified range Reads the contents of a system register R Specifies the contents of a system register RT Reads the specifications o
134. f the PLC and error codes if an error occurs AX M Switches the operation mode of the PLC AB Aborts communication Make the following settings for the communication port e communication mode e station number e baud rate e communication format For details on setting the communication parameters see Setting system registers in PROG mode on p 102 e The end code setting must always be CR and the start code setting must be No STX e The station number can be set within a range of 1 to 99 e With a C NET adapter a maximum of 32 stations can be speci fied e The master function is only available via the COM port FPOR User s Manual Communication 6 5 4 1 FPO compatibility mode TOOL port COM port Note FPOR User s Manual Make sure that the PLC type selected in FPWIN Pro is FPO All ports can be used in FPO compatibility mode For the USB port the set tings are fixed Make the following settings for the communication port e Station number e modem connection disable enable e communication format sending data length e baud rate e communication mode e station number e baud rate e communication format e modem connection disable enable For details on setting the communication parameters see p 102 The end code setting must always be CR and the start code setting must be No STX 113 Communication 6 5 5 1 1 slave communication System register setti
135. flags and link registers are transmitted from the send area to the receive area of a different PLC The link flags and registers in the receive area on the re ceiving side must be within the same area as on the sending side a E ura ae 2 20 B E RN 40 E d L Send area L Receive area Station number of PLC Link flag allocation FPOR User s Manual 145 Communication System register settings Station set tings 1 2 3 4 40 Link flags Send receive area Number of words shared by 64 64 64 64 all linked PLCs Link flags Send area Start sending from this word ad Edd dress Link flags Send area Number of words to send 24 The value of this system register must be identical for all stations 1 Link register allocation 1 2 3 4 LDO s LDO Pye m LD pmo m re 39 39 40 2 40 2 2 Qe pum gt 79 7 3 80 3 80 3 cs se Vm 127 127 127 127 L Send area L Receive area Station number of PLC System register settings Station settings 41 2 3 4 41 Link registers Send receive area Number of words 128 128 128 128 shared by all linked PLCs Link registers Send area Start sending from this word 40 address Link registers Send area Number of words to send 48 The value of this system register must be identical for all stations 1 When link areas are allocated as shown above the send area of station no 1 can be transmitted to the receive a
136. formation will be deleted 218 FPOR User s Manual Security functions If upload protection is enabled you can edit files on the PLC while online using FPWIN Pro However programs will be corrupted if the program in FPWIN Pro and the program on the PLC are not identical Note Even if upload protection has been set upload to the FP Memory Loader is possible If you are using FP Memory Loader version 2 or higher you can enable or disable program upload to the FP Memory Loader or program transfer between two PLCs using the FP Memory Loader For details see FP Memory Loader on p 220 8 22 PLC protection password protection You can set a new password with up to 8 characters or change an existing one To access a PLC for which a password has been set a login is required whenever the power is turned on To set a password you can use e the programming tool e the SYS1 instruction NOTICE 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 team will not be able to reset it for you If you are not logged in Clear Password will erase not only the password but also the program and parameters stored in the PLC s comment memory For details please refer to the description of the SYS1 instruction in your Reference Programming Manual or in the FPWIN Pro online help FPOR User s Manual 219
137. g a receive buffer For program controlled communication a receive buffer must be specified in the DT memory area The maximum area is 2048 words Specify the following items 1 Starting address 2 The capacity of the receive buffer number of words Receive buffer layout Offset 0 sg 1 e 2 v n J Bold numbers indicate the order of reception Starting address Storage area for the number of bytes received 9 Storage area for the data received 4 Capacity Incoming data is stored in the receive buffer Start and end codes are not stored in the receive buffer The storage area for the data received starts with the second word of the receive buffer offset 1 Offset O contains the number of bytes received The initial value of offset O is 0 The receive buffer is specified in the system registers see p 102 COM port 1 sending end codejreception done condition CR TCR Sele COM port 1 receive buffer starting address Oto1657 The COM port 1 receive buffer capacity 9 Oto 1658 DT2t COM nork 1 madem cannertian Diicahle Fhicahle Sner E FPWIN Pro In order to use the data in the receive buffer define a global variable having the same starting address and capacity The setting range for the receive buffer starting address is different for the 16k and the 32k type FPOR User s Manual 123 Communication 6 6 1 1 FPO compatibility mode Note 6 6 2 Sending data Make sure that the PLC type
138. gecheckers temperature controllers or eco power meters FPOR goo FP e FP e Master Slave Nowe The master function is only available via the COM port Do not execute the F145 WRITE DATA and F146 READ DATA instruc tions when the unit is used as a slave unit MEWTOCOL COM slave function The slave can be a PLC or any external device which supports the MEWTOCOL COM protocol The slave automatically receives a command processes it and sends back a response To use the built in slave function ality of the PLC select MEWTOCOL COM Master Slave in the system reg isters 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 106 FPOR User s Manual Note FPOR User s Manual Communication The program for the master side must send and receive commands ac cording to the MEWTOCOL COM protocol MEWTOCOL COM contains the commands used to control and monitor the slave operation Master Slave Panasonic offers software tools with implemented MEWTOCOL COM Master functionality e Control FP Connect connects your Visual Basic application to Panasonic PLCs e PCWAY displays PLC data in Excel 107 Communication 6 5 1 Operation outline for MEWTOCOL COM slave Instructions issued by the computer to the PLC are called commands Mes sages sent back to the computer from the PLC are called response
139. gram Password 01234567 Upload protection enabled 2 The security settings are transferred together with the program to the target PLC The target PLC is now doubly protected 3 Program upload to a PC requires password entry Upload to an FP Memory Loader is not possible even if the source PLC and tar get PLC are protected by identical passwords 01234567 8 3 2 Download protection Procedure FPOR User s Manual Using download protection you can transfer a program from one PLC to another with the FP Memory Loader provided the passwords of the two PLCs are identical 1 Online Security settings The Security settings dialog box opens 2 Select Allow download to PLC only if password in the PLC is the same Enter the password 4 Choose Set Protection or Change Protection When defining security settings for the first time choose Set Protec tion To change existing security settings choose Change Protection 5 Download program from source PLC to FP Memory Loader 221 Security functions 222 6 Transfer program to target PLC 01234567 abcdefgh wees Programs can only be downloaded to PLCs that are protected by identical passwords see table below The FP Memory Loader contains a password protected program Password 01234567 Download is possible only if the target PLC is protected by the same password 01234587 is not possible Download to a t
140. h is to be processed but is disabled is found in a com mand except for a transmission error ADDRESS FUNCTION 80H ERROR CODE CRC ERROR CODE 1 Illegal function 2 Illegal data address no word address 3 Illegal data value not a multiple of 16 162 FPOR User s Manual Communication Reception done judgment time The process for receiving a message is complete after all data has been received and the time given in this table has been reached Baud rate Reception done judgment time 2400 T 13 3ms 4800 6 7MS 9600 3 3ms 19200 1 7ms 38400 0 8ms 57600 0 6ms 115200 0 3ms Supported commands Executable instruc Code Name Modbus Name for Modbus tions for master decimal original FPOR Reference F146 READ Read Coil Sta Read Y andR 0X tus Coils F146 READ 2 Read Input Read X Input 1X Status F146 READ 9 Read Holding Read DT 4X Registers F146 READ 4 Read Input Read WL and 3X Registers LD Fi45 WRITE 5 Force Single Write Single Y OX Coil and R Fi45 WRITE Preset Single Write DT 1 4X Register Word Cannot be issued Loopback Test F145 WRITE 5 Force Multiple Write Multiple OX Coils Ys and Rs Fi45 WRITE 6 Preset Multiple Write DT Multi 4X Registers ple Words Cannot be issued 2 Mask Write 4X Write DT Mask 4X Register Cannot be issued 9 Read Write 4X Read Write DT 4X Registers pun FPOR User s Manual 163 Communication Modbus references and FPOR addresses Ref
141. he calculation results obtained in the FPO compatibility mode may differ from the results obtained in the existing FPO program If the secondary battery installed in the T32 type is out of charge the next power on process will be different FPO The value in the hold area of the data memory will be unstable FPO compatibility mode The value in the hold area of the data memory will be cleared to O The sampling trace function is not available in FPO compatibility mode 27 CPU types Chapter 2 CPU types 2 1 CPU parts and functions gt C10 C14 C16 C32 T32 F32 em XO X1 X0 X1 Oo gt IS AN 8 O HE mA O H B Le RA EE 3 HER O Ov 6 348 EF e REB vi vi PEH B ve Exo YO FTT YO Y9 Hjo H U H o il o Ne HIPS c at 9 dire E 3 8 tO q 9 LH w Front view Right side view Left side view D Operation status LEDs Display the current operation mode or the occurrence of an error 28 FPOR User s Manual LED RUN green PROG green ERROR ALARM red CPU types Description Lights when in RUN mode and indicates that the pro gram is being executed Flashes during forced input output RUN and PROG LEDs flash alternately Lights when in PROG mo
142. he following FPO FPOR expansion units e FPOR E8RS e FPOR E16RS FPORC10CRS 14CRS FPORC10RS 14RS IUUS EXPANSION CONNECTOR SSSSSSSSS SSSSSSSSS 60 S T LTLT LI JJ EXPANSION CONNECTOR o o o e 2 a EN iQ x NE mm 0 Maximum installation dimension FPOR User s Manual 239 Appendix 11 2 2 C16 CPU MIL connector FPORC16CT P FPORC16T P The same dimensions apply to the following FPO FPOR expansion units e FPOR E32T FPOR E32P e FPOR E16X FPOR E16YT FPOR E16YP FPOR E16T FPOR E16P e FPOR E8X FPOR E8YT FPOR E8YP FPORC16CT P FPORC16T P mm 90 z130 4 5 0 Maximum installation dimension 240 FPOR User s Manual Appendix 11 2 3 C32 CPU MIL connector FPORC32CT P FPORT32CT P FPORF32CT P FPORT32T P FPORC32CT P FPORC32T P FPORT32CT P FPORF32CT P S 2130 0 Maximum installation dimension FPOR User s Manual 241 Appendix 11 2 4 Power supply unit FP PS24 024E FP PS24 060E FP PS24 120E 30 44 8 70 105 5 104 5 105 5 i P fHooo O 75 75 85
143. hen using an LED equipped limit switch 76 If the input of the PLC does not turn off because of the leakage current from the LED equipped limit switch the use of a bleeder resistor is rec ommended as shown below LED equipped limit switch FPOR r Internal resistor of limit switch kQ A Bleeder resistor kQ Internal circuit Power supply for input Input terminal FPOR User s Manual 5 5 2 Output wiring Installation and wiring The 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 _ 24 24 r The resistance R of the bleeder resistor is 21 84 RS 941 24 CO The power dissipation P of the resistor is a VY pe M V Power supply voltage In the actual selection use a value that is 3 to 5 times the value of P There is no fuse in the output circuit It is recommended to install external fuses in every circuit to reduce the risk of burning out the output circuit when the output is shorted Do not connect a load that exceeds the maximum switching ability of the output terminal 5 5 2 1 Protective circuit for inductive loads With an inductive load a protective circuit should be installed in parallel with the load When switching DC inductive loads with the relay output type be sure to connect a diode across the ends of the loa
144. hese devices and the unit Static electricity Before touching the unit or equipment always touch some grounded metal to discharge any static electricity you may have generated especially in dry locations The discharge of static electricity can damage parts and equipment 58 FPOR User s Manual Installation and wiring Measures regarding heat discharge Installation space FPOR User s Manual e Always install the CPU orientated with the TOOL port facing outward on the bottom in order to prevent the generation of heat o em c Upside down Upside down Input and output connectors face down e3 Input and output connectors on top e Horizontal installation of the unit e Do not install the unit above devices which generate heat such as heat ers transformers or large scale resistors e Leave at least 50mm of space between the wiring ducts of the unit and other devices to allow heat radiation and unit replacement 2 50mm d gt 50mm 59 Installation and wiring Maintain a minimum of 100mm between devices to avoid adverse ef fects from noise and heat when installing a device or panel door to the front of the unit 2 100mm e PLC Other device S 8 Panel door Leave at least 100 mm of space from the CPU s front surface to allow room for programming tool connections and wiring 5 1 2 Using DIN rai
145. hich apply to all PLC types to make control code settings Use the pulse information instructions to monitor control code settings See also Writing the pulse output control code in the FPWIN Pro online help Operations performed by the pulse output control code e Setting resetting near home input e Continuing stopping pulse output forced stop 199 High speed counter and pulse output e Enabling disabling counting operations e Resetting the elapsed value software reset of the high speed counter e Cancelling high speed counter and position control instructions FPOR only Setting resetting near home input To decelerate movement when near the home position designate a near home input and set bit 4 of the special data register storing the pulse out put control code sys wHscOrPulseControlCode to TRUE and back to FALSE again The near home bit is retained Set this bit to FALSE right after setting it to TRUE to be able to set the near home input a second time during a home return Initial and final speed Near home input TRUE Target speed Home input TRUE 5 Home input is effective at any time Continuing stopping pulse output forced stop By setting bit 3 of the data register storing the pulse output control code sys wHscOrPulseControlCode to TRUE pulse output is stopped The pos sibility of a forced stop should be provided for in every program using pulse output instructions Reset bit 3 t
146. iable ister DT90053 sys wClockCalendarHourMin Hour data 16500 16323 sys wClockCalendarMinSec Minute data 16400 16459 sys wClockCalendarDayHour Day data 16401 16531 sys wClockCalendarYearMonth Year data 16400 16499 data sys wClockCalendarDayOfWeek 16500 16406 DT90058 sys wClockCalendarSet Bit 152 TRUE 16 8000 activates clock calendar setting Bit OZ TRUE 16 520 sets seconds to 0 Upper byte Minute data 1600 163 59 Second data 1600 163 59 Hour data 16 00 16 23 Month data 16 01 16 12 Day of the week DT90054 DT90055 DT90056 DT90057 41 CPU types 2 5 2 2 Settings for clock calendar function The clock calendar values are backed up using a battery This feature is available in the FPOR T32 CPU only There are no default clock calendar settings There are two ways to set the clock calendar function Procedure Using the programming software 1 Online Online mode or a Monitor Display special registers Calendar functions Enter the desired date and time values Confirm each value with Enter E Calendar Functions ab DT9D053 s e lt calendartimer monitor hour and minute sys w RTC HourMin 000 T0054 Calendar timer monitor and setting minute and second sys_w_RTC_MinSec TS0055 Calendar timer monitor and setting day and hour sys w RTC DayHour TS0056 I Calendar timer monitor and setting year and month
147. ified Pulse TargetValueMatch Reset output immediately turns to FALSE Trapezoidal control F171 PulseOutput Trapezoidal This instruction automatically performs trap Tool instruction ezoidal control according to the parameters in PulseOutput Trapezoidal FB the specified DUT Home return F177 PulseOutput Home This instruction performs a home return ac Tool instruction cording to the parameters in the specified PulseOutput Home FB DUT JOG operation F172 PulseOutput Jog This instruction is used for JOG operation Tool instructions PulseOutput Jog FB PulseOutput Jog TargetValue FB JOG operation input controlled F171 PulseOutput Jog Positioning The specified number of pulses is output after Tool instructions the position control trigger input has turned to PulseOutput Jog PositioningO FB TRUE A deceleration is performed before the PulseOutput Jog Positioningi FB target value is reached and pulse output n T stops Data table control F174 PulseOutput DataTable This instruction performs rectangular control according to the parameters in the specified DUT with an arbitrary number of different speeds and target values Linear interpolation control F175 PulseOutput Linear Pulses are output from two channels in ac Tool instruction cordance with the parameters in the specified PulseOutput Linear FB DUT so that the path to the target position forms a straight line Using the pulse output control flag The flag is TR
148. instruction to change the communication parameters Please refer to the Control FPWIN Pro online help for detailed information The communication mode can be switched using F159 MRTN see p 105 6 4 1 Setting system registers in PROG mode Procedure 1 Double click PLC in the navigator 2 Double click System registers 3 Double click COM port To make settings for the TOOL port select TOOL port under System registers The following communication parameters are set in the system registers Communication mode 102 Select a communication mode The factory setting for the communication mode is MEWTOCOL COM Master Slave No Item Name Data Di 41 COM port 1 communication mode COM Master Slave Computer Link COM port 1 station number MEWTOCOL COM Master Slave Computer Link Sl rz Program controlled General Purpose COM port 1 sending data length P COM port 1 sending parity check PLC Link MEWNET WOD COM port 1 sending stop bit Modbus RTU Master Slave FPOR User s Manual Station number Reference Baud rate FPOR User s Manual Communication The station number must be set for MEWTOCOL COM Master Slave Mod bus RTU and for PLC Link MEWTOCOL COM The station number can be set within a range of 1 to 99 In Modbus RTU the FPO compatibility mode the station number can be set within a range of 1 to 32 PLC Link The station number can be set within a range of
149. it O character by character Communication mode MEWTOCOL COM Slave Modem connection Program controlled in RUN mode only USB port Description USB 2 0 Full Speed MEWTOCOL COM Slave Standard baud rate Communication mode 234 FPOR User s Manual COM port RS232C COM port RS485 FPOR User s Manual Item Interface Transmission distance Baud rate Communication method Synchronous method Communication format Data transmission order Communication mode Item Interface Connection mode Transmission distance Baud rate Communication method Synchronous method Transmission line Appendix Description RS232C 15m 2400 4800 9600 19200 38400 57600 115200bit s Half duplex Start stop synchronous system Data length 7 bits 8 bits Parity None Odd Even Stop bit 1 bit 2 bits End code CR CR LF None ETX Start code No STX STX Transmits from bit O character by character MEWTOCOL COM Master Slave Modem connection Program controlled Modbus RTU Master Slave PLC Link Description RS485 1 N 1200m 2 19200 115200bit s 2 wire half duplex Start stop synchronous system Shielded twisted pair cable or VCTF Transmission MEWTOCOL COM ASCII code Program controlled ASCII Binary Modbus RTU Binary Communication format set in Data length 7 bits 8 bits system registers Parity None Odd Even Stop bit 1 bit 2 bits End code CR CR LF None ETX Start code No
150. ith the following ports e TOOL port RS232C interface e USB port USB 2 0 Full Speed interface e COM port RS232C or RS485 interface 6 1 1 Terminology in FPWIN Pro and FPWIN GR Although similar FPWIN Pro and FPWIN GR use slightly different terminol ogy to describe communication modes The following table provides the terminological equivalents for FPWIN GR MEWTOCOL COM Master Slave Computer link Program controlled General purpose serial communication Modbus RTU Master Slave MODBUS RTU PLC Link MEWNET WO PC PLC link FPOR User s Manual 87 Communication 6 1 2 MEWTOCOL COM master slave Reference 88 This communication mode uses the proprietary MEWTOCOL COM protocol to exchange data between a master and one or more slaves This is called 1 1 or 1 N communication A 1 N network is also known as a C NET MEWTOCOL COM connection between a computer and the FPOR P MEWTOCOL COM connection between a computer and the FPOR Command message 2 Response message There is a master function and a slave function The side that issues com mands is called master The slave receives the commands executes the process and sends back responses The slave answers automatically to the commands received from the master so no program is necessary on the slave For detailed information on the MEWTOCOL COM communication mode see MEWTOCOL COM on p 105 FPOR User s Manual Communication
151. ive buffer must be specified in the DT memory area The maximum area is 2048 words Specify the following items 1 Starting address 2 The capacity of the receive buffer number of words Offset oO 7 0 o 1 e 2 eat n a J Bold numbers indicate the order of reception Starting address 2 Storage area for the number of bytes received 9 Storage area for the data received Capacity Incoming data is stored in the receive buffer Start and end codes are not stored in the receive buffer The storage area for the data received starts with the second word of the receive buffer offset 1 Offset O contains the number of bytes received The initial value of offset O is O 1 Double click PLC in the navigator Double click System registers Double click COM port The communication ports occupy different bit positions of the same system register so individual settings for each communication port are possible To make settings for the TOOL port select TOOL port under System registers The number of the system register for the respective settings may vary according to the PLC type used FPOR User s Manual Note Communication In order to use the data in the receive buffer define a global varia ble having the same starting address and capacity Processing data in receive buffer and preparing CPU to receive further data Example FPOR User s Manual Receive a string of 8 bytes containi
152. k or e if an error has occurred in the setting of the PLC link area System variable name FALSE e if there are no transmission errors FPOR User s Manual Communication 6 7 6 PLC link response time The maximum value for the transmission time T of one cycle can be cal culated using the following formula T max Ts1 TS2 Tsn Tit Tso Tik Db M Qo Ts transmission time per station scan time Tpc Tpc Ttx x Pcm Ttx 1 transmission speed x 1000 x 11ms 0 096ms at 115200bit s Pcm 23 number of relay words number of register words x 4 Tpc PLC link sending time Ttx sending time per byte Pcm PLC link sending size Tit link table sending time Ttx x Ltm Ttx 1 transmission speed x 1000 x 11ms 0 096ms at 115200bit s Ltm 13 2xn Ttx sending time per byte Ltm link table sending size n number of stations being added 3 Tso master station scan time The master station scan time should be confirmed using the programming tool 4 TIk link addition processing time Tic Twt Tls Tso If no stations are being added TIk O Tic 10 x Ttx Ttx 1 transmission speed x 1000 x 11ms 0 096ms at 115200bit s Twt Initial value 400ms can be changed using SYS1 instruction Tis 7 x Ttx Ttx 1 transmission speed x 1000 x 11ms 0 096ms at 115200bit s Tic link addition command sending time Twt addition waiting time Ttx
153. k type 0 32762 32k type 0 2048 Disable Enable FPOR User s Manual COM Port 412 410 415 413 413 413 413 413 416 417 412 1 COM port 1 communication mode COM port 1 station number COM port 1 baud rate COM port 1 sending data length COM port 1 sending parity check COM port 1 sending stop bit COM port 1 sending start code COM port 1 sending end code reception done condition COM port 1 receive buffer starting address COM port 1 receive buffer capacity COM port 1 modem connection Data length 8 bits Parity Odd Stop bit 1 bit End code CR Start code No STX MEWTOCOL COM Master Slave 1 9600 baud 8 bits Odd 1 bit No STX CR 0 Disable Other system register settings will be ignored FPOR User s Manual Appendix MEWTOCOL COM Mas ter Slave Program controlled PLC Link Modbus RTU Master Slave 1 99 115200 57600 38400 19200 9600 4 800 2400 baud 7 bits 8 bits None Odd Even 1 bit 2 bits No STX STX CR CR LF ETX None 0 12312 16k type 0 32762 32k type 0 2048 Disable Enable For PLC Link the communication format and baud rate settings are fixed 255 Appendix 11 6 Error codes 11 6 1 Error codes E1 to E8 E see note E2 see note ES E4 see note ES see note E6 see note E7 see note E8 Note 256 Duplicated output error Not paired er ror Parameter mismatch error Program area
154. lave project the common data should be kept in the GVL of a common library LD Body If the counter read from the slave is equal to the counter written then the counter is incremented by 1 a 7 U T diCounter E di CounterFromSlave2 diCounter diCounter gt gt gt The counter is written to the slave counter which is defined in the library Slave2 containing all exchange data ofthe slave E bWriteToSlave2 is lscempemiriadgr i NetActive Fy I bWriteToSlave2 bReadFromBlave2 ma L glgysags diCounter 20 7 ln The slave counter which is defined in the library Slave2 containing all exchange data ofthe slave is read for verification E bReadFromSlave2 blscempert bReadFremSlave2 b WriteToSlave2 RIE diCounterFromSlave2 Um Save2 o dipl For details on Modbus settings and communication please refer to the Fi45 WRITE DATA and F146 READ DATA commands in the FPWIN Pro online help 165 High speed counter and pulse output Chapter 7 High speed counter and pulse output 7 1 Overview Three built in hardware extensions allow the FPOR to be used for position ing control and measurement high speed counting pulse output and PWM pulse width modulation output High speed counter function The high speed counter function counts external inputs such as those from sensors or encoders When the count reaches the target value this func tion turns the
155. lected for pulse output 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 to a pulse output channel to Un used No Item Name Data Dime Range 400 High speed counter Channel 0 UEM l Unused High speed counter Channel 1 Unused Unused High speed counter Channel 2 Unused Unused High speed counter Channel 3 Unused Unused 191 High speed counter and pulse output 7 4 1 Pulse output methods and position control modes CW CCW Pulse direction 192 The pulse output method and position control mode are specified by means of the variables used with the positioning command 0 CW pulse output YO Y2 2 CCW pulse output Y1 Y3 8 Incremental counting 0 Decremental counting Control is carried out using two pulses a positive or clockwise rotation pulse CW and a negative or counterclockwise rotation pulse CCW pulse Forward FALSE a 09 o SULALALAL FULFUTLF Pulse output YO Y2 Direction output Y1 Y3 Incremental counting Soe Decremental counting Control is carried out using one pulse output to specify the speed and an other to specify the direction of rotation with TRUE FALSE signals In this mode forward rotation is carried out when the rotation direction signal is FALSE FPOR User s Manual High speed counter
156. ls The CPU can be easily attached to DIN rails Procedure 1 Fit upper hook of unit onto DIN rail 2 Without moving upper hook press on lower hook to fit unit into position 60 FPOR User s Manual Installation and wiring Removal is very simple too 1 Insert slotted screwdriver into DIN rail attachment lever 2 Pull attachment lever downwards 3 Lift up unit and remove from rail 5 1 3 Using optional mounting plates Use M4 size pan head screws for attaching the mounting plate to the mounting panel The diagrams below show the dimensions of the mounting plates 5 1 3 1 Slim type mounting plate The mounting plate AFPO803 can be used alternatively to DIN rail mount ing 10 mm FPOR User s Manual 61 Installation and wiring Installation and removal Installation and removal of the unit is similar to the procedure using DIN rails Removal Combining mounting plates 62 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 shows the combination of the mounting plates AFP0803 when the maximum number of expansion units is used and the mounting hole dimensions
157. lse output control flag 9 Acceleration time 7 Execution condition Deceleration time 8 Decelerated stop request Type 0 The difference between target speed and initial speed determines the slope of the acceleration ramp The difference between target speed and final speed determines the slope of the deceleration ramp Type 1 The difference between the maximum speed of 50kHz and the final speed determines the slope of the deceleration ramp The difference be tween the maximum speed of 50kHz and the initial speed determines the slope of the acceleration ramp 206 FPOR User s Manual High speed counter and pulse output Changing the target speed during pulse output Reference FPOR User s Manual 89 LL om L Type 1 The speed can be changed within the range of the maximum speed 50kHz Target speed 8 Deceleration 2 1st change of target speed D Deceleration time 3 2nd change of target speed Pulse output control flag Acceleration time Execution condition 5 Acceleration Please refer to the Control FPWIN Pro online help for details and a pro gramming example 207 High speed counter and pulse output 7 4 3 6 JOG operation and positioning The specified number of pulses is output after the position control trigger input has turned to TRUE A deceleration is performed before the target value is reached and pulse output stops Pulses are output from the speci fied channel when the con
158. lt 37 6mA expansion unit 50mA lt 18 8mA FPOR E8YR lt 100mA FPOR E16R x20mA lt 100mA lt 37 6MA FPOR E16T P Porere NNNM FPOR E32T P 35mA lt 75 2mA lt 37 6mA lt 26mA FPOR E32RS 40mA lt 200mA 69mA lt 52mA FPO analog unit nu U e D gt o R FPO TC4 TC8 RTD6 325mA 40mA Communication FPG COM1 x20mA cassette FPG COM2 FPG COM3 lt 25mA FPG COM4 GT series touch AIGTOO30B1 lt 80mA panel 5V type AIGTO030H1 AIGTO230B1 AIGTO230H1 1 The current consumed by the CPU power supply connector If expansion units or intelligent units are added the current is increased by the value indicated in the table The current consumed by the expansion unit power supply connector If a unit is not listed in the table it means that it has no power supply connector FPO intelligent unit n n mim v U U ojojo olo OQ fey 2 7 0 9 lN on oe Oje NIU 2 3 The current consumed by the input circuits of the various units The value indi cates the current that flows into the input circuit 4 The current consumed by the output circuits of the various units The value indicates the current used to drive the output circuits The value does not in clude the load current value 238 FPOR User s Manual Appendix 11 2 Dimensions 11 2 1 C10 C14 CPU terminal block FPORC10CRS 14CRS FPORC10RS 14RS The same dimensions apply to t
159. m b ie L Mechanical power apparatus Input output devices CPU Circuit breaker 2 Insulated DC power supply Power supply sequence FPOR User s Manual Make sure the power supply of the CPU turns off before the power sup ply for input and output If the power supply for input and output is turned off first the CPU will detect the input fluctuations and may begin an unexpected operation Be sure to supply power to a CPU and an expansion unit from the same power supply and turn the power on and off simultaneously for both 69 Installation and wiring 5 4 1 Grounding Risk of short circuits 70 If necessary ground the instrument to increase the noise resistance e For grounding purposes use wiring with a minimum of 2mm The grounding connection should have a resistance of less than 1000 e The point of grounding should be as close to the PLC as possible The ground wire should be as short as possible e Always use an exclusive ground for PLCs and other devices If two de vices share a single ground point it may produce an adverse effect cn TNE PLC 2 Other device inverter etc Depending on the surroundings in which the equipment is used grounding may cause problems Example 1 Since the power supply line of the FPO FPOR expansion unit 24V DC and OV terminal is connected to the function earth through a varistor the var istor may be shorted if there is an irregul
160. m registers 3 Choose Download to PLC 11 5 4 Table of system registers Memory size Name Name Default Values 0 Sequence program area size 12 16 32 kwords Fixed 1 Depending on PLC type 12k 16k or 32k type Hold on off Name Name Default Values 5 Counter start address 1008 0 1024 Timer Counter hold area start address 1008 Fixed 0 1024 6 7 Internal Internal flag hold area start address in word units hold area start address in word units Internal flag hold area start address in word units 248 Fixed 0 256 8 Data register hold area start address 12000 Fixed 0 32763 32450 10 Link flag hold area start address for PLC Link 0 in word units 64 Fixed 0 64 11 Link flag hold area start address for PLC Link 1 in word units Fixed 64 128 12 Link register hold area start address for PLC Link 0 Fixed 0 128 13 Link register hold area start address for PLC Link 1 256 Fixed 128 256 14 Step ladder hold non hold Non hold Fixed or Hold Non hold 1 FPOR T32 If the battery is empty the data values in the hold area will become indefinite during pow er off They are cleared to 0 the next time the power is turned on 2 Depending on PLC type 16k 32k type 3 Depending on PLC type Fixed for C10 C14 C16 C32 variable for T32 F32 Act on error Name Name Default Values DF P function leading falling edge detection Holds result Holds result disregards result Duplicate output En
161. m registers 40 47 50 55 57 These settings are for using link flags and link registers in MEWNET WO PLC link communication Note that PLC Link is not the default setting High Speed Counter Pulse Catch Input Interrupt Input system registers 400 405 When using the high speed counter function pulse catch function or inter rupt function set the operation mode and the input number to be used for the function Time Constants system registers 430 433 Set a time constant for the CPU inputs These time constants can be useful to negate the effects of noise or bouncing e g for a switching device TOOL Port COM Port system registers 410 421 Set these registers when the TOOL port and COM ports 1 and 2 ports are to be used for MEWTOCOL COM Master Slave connections program controlled communication PLC link and modem communication Note that the default setting is MEWTOCOL COM Master Slave 11 5 3 Checking and changing system registers Procedure Downloading project and system registers Double click PLC in the navigator Double click System registers 1 2 3 To change a value write the new value into the system register table 4 Online Online mode or 9 5 Online Download program code and PLC configuration This downloads the project and system registers 248 FPOR User s Manual Appendix Procedure Downloading system registers only 1 Online PLC configuration 2 Double click Syste
162. mber 2 32 relays and 2 register words have been evenly allocated Scan time for each PLC ims Ttx 0 096 157 Communication Note Pcm per station 23 1 1 x42 31 Tpc Ttx x Pcm 0 096 x 31 2 976ms Ts per station 1 2 976 3 976ms Tit 0 096 x 13 2 x 2 1 632ms Given the above conditions the maximum value for the transmission time T of one cycle will be T max 3 976 x 2 1 632 1 10 584ms e Inthe description stations that have been added refers to sta tions which are connected between station no 1 and the highest station number and for which the power supply has been turned on e Comparing examples 2 and 3 the transmission cycle time is longer if there is one station that has not been added to the link As a result the PLC link response time is longer e The SYS1 instruction can be used to minimize the transmission cycle time even if there are one or more stations that have not been added to the link 6 7 6 1 Reducing transmission cycle times 158 If there are stations that have not been added to the link the link addition processing time TIk and with this the transmission cycle time will be longer T max Ts1 TS2 o Tsn TIt Tso Tik Tik Tic Twt Tis Tso Tlk link addition processing time Tic link addition command sending time Twt addition waiting time Tls link error stop command sending time Tso master station scan time With
163. min Surge absorber Operation indicator LEDs 48 FPOR User s Manual Expansion Internal circuit diagram D Internal circuit Transistor output specifications NPN EBYT E16YT E16T E32T PNP EBYP E16YP E16P E32P FPOR User s Manual Item Description NPN PNP Insulation method Optical coupler Output type Open collector Rated load voltage 5V DC 24V DC 24V DC Operating load voltage range 4 75 26 4V DC 21 6 26 4V DC Max load current 0 3A point max 1A common 0 1A for FPO unit Max surge current 0 3A Outputs per common E16T E8Y 8 E32 E16Y 16 OFF state leakage current lt 100pA ON state voltage drop zL SWV Response time ims External power supply 21 6 26 4V DC for internal circuit 3mA point Surge absorber Zener diode Operation indicator LEDs 1 All FPO expansion units have been replaced by newer FPOR units with improved specifications 49 Expansion Outputs that are TRUE simultaneously Keep the number of outputs per common which are simultaneously TRUE within the following range as determined by the ambient temperature E32 D nie To cuc oem Ad 11 disidin e Y eei Dies cen ise x 43 49655 x Ambient temperature C y Number of outputs per common that are TRUE simultaneously 0 At 24V DC At 26 4V DC Internal circuit diagram NPN A i in F a v9 24V DC i 70 5 24V D
164. n Program controlled communication provides for half duplex communication i e communication is possible in both directions but not simultaneously Sending data can be controlled by the transmission done flag The end of reception can be verified by e evaluating the reception done flag or by executing IsReceptionDone e executing IsReceptionDoneByTimeOut e directly evaluating the receive buffer The flags are special internal flags which turn to TRUE or to FALSE under specific conditions They can be evaluated using special functions or system variables Reception done flag FPOR User s Manual When the end code is received the reception done flag turns to TRUE Reception of any further data is prohibited F159 MTRN turns the recep tion done flag to FALSE The reception done flag can be evaluated using the IsReceptionDone function Or use the system variable sys bIsComPortiReceptionDone or sys bIsToolPortReceptionDone depending on the port The end of recep tion can also be determined by time out using the IsReceptionDone ByTimeOut function or by checking the contents of the receive buffer The status of the reception done flag may change while a scan is being carried out For example if the flag is used more than once as an input condition different statuses may exist within one scan To ensure proper execution of the program the status of the special internal flag should be copied to a variable at the
165. n terminals Input terminals lt gt Power sup 500V AC 500V AC ply terminal Function earth for 1min for 1min Output terminals amp Power 500V AC 1500V AC supply terminal Function earth for 1min for 1min Function earth lt Power supply 500V AC 500V AC terminal for imin for 1min Insulation resistance Input terminals lt gt Output ter Min Min measured with a 500V minals 100MO 100MO DC megger Min 100MQ Output terminals lt Output terminals of different COM terminals Input terminals amp Power sup Min Min ply terminal Function earth 100MQ 100MO Output terminals amp Power Min Min supply terminal Function earth 100MO 100MO Function earth lt gt Power supply Min Min terminal 100MQ 100MQ Vibration resistance 5 9Hz 1 sweep min amplitude of 3 5mm 9 150Hz 1 sweep min constant acceleration of 9 3m s 10min on 3 axes in X Y and Z direction Shock resistance 147m s 4 times on 3 axes in X Y and Z direction 231 Appendix Item Noise immunity Power supply terminal Operation conditions Overvoltage category Pollution degree Weight 11 1 2 Performance specifications Description 1000Vp p with pulse widths 50ns and ius based on in house measurements Free from corrosive gases and excessive dust II 2 ClO 00gaeaul05gauilouSbgmes2 uilbgir2 di 5 c2 09 Item C10 C14 C16 C32 T32 F32 Programming method control Relay symbol cyclic operation method Program F
166. names and principle applications 6 2 1 TOOL port 92 TOOL Mini DIN 5 pin connector MEWTOCOL COM Slave port Program controlled in RUN mode only USB port USB miniB type MEWTOCOL COM Slave COM 3 wire RS232C or 2 wire RS485 MEWTOCOL COM Master Slave port screw type Program controlled Modbus RTU Master Slave PLC Link In 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 possi ble to communicate in PROG mode with a programming software like Control FPWIN Pro The TOOL port can be used to connect a programming tool A commercial 5 pin mini DIN connector is used for the TOOL port on the CPU Pinno Signal name Abbreviation Signal direction 1 Signal Ground SG 2 Send Data SD CPU External device 9 Receive Data RD CPU lt External device 4 Not used 5 5V 5V CPU External device The factory settings are shown below They can be changed in the system registers Communication parameter Factory settings Baud rate 9600bit s Data length 8 Parity Odd Stop bit 1bit Set the station number for the TOOL port in the TOOL port setting area of the system registers FPOR User s Manual 6 22 COM port 6 23 USB port FPOR User s Manual Communication This port is used to connect devices via RS232C or RS485 to enable data input output CPU types with a COM port for RS232C communication C10CR C14CR C1
167. nce ples 7 4 3 2 Writing and reading the elapsed value of the pulse output The elapsed value is stored as a double word in the special data registers When programming with F instructions Access the special data registers using the system variable sys diHscChannelxElapsedValue where x channel number When programming with tool instructions Use universal high speed coun ter information and control instructions and pulse information and control instructions which apply to all PLC types to read and write the elapsed val ue System variables for memory areas used Pulse output elapsed value for channel System variable 0 5ys_dPulseChannel0ElapsedValue DDT90400 Please refer to the Control FPWIN Pro online help for programming exam Reference ples FPOR User s Manual 203 High speed counter and pulse output 7 4 8 3 Target value match ON pulse output If the elapsed value matches the target value of the selected pulse output channel the specified output immediately turns to TRUE Tool instruction Pulse TargetValueMatch Set F instruction F166 PulseOutput Set Pulse output characteristics 10000 Target value Elapsed value of pulse output 2 Execution condition Output control active flag 4 PLC output The PLC output turns to TRUE when the elapsed value matches the target value In addition the Output control active flag turns to FALSE and the instruction is deactivat
168. nctions Additional functions now ensure that programs can be corrected without stopping the system The online edit mode is no longer limited to 512 steps Instead entire programs can be downloaded to the program memory during RUN mode Project information is written to the comment memory Please refer to the Control FPWIN Pro online help for detailed in formation Enhanced security The FPOR supports 8 digit passwords alphanumeric and offers an upload protection function as well as security functions for the FP Memory Loader For details see p 218 FPO compatibility The FPO compatibility mode enables programs that have been used on an existing FPO to be activated on the FPOR with no further modifications Al SO since both units have an identical shape and terminal layout there is no need to check the installation space or change the wiring For details see p 24 FPOR User s Manual 17 Overview 1 2 Unit types 1 2 1 CPU The operating voltage and the rated input voltage is 24V DC for all CPU types 16k types program capacity 16k steps Type I Os Output Connection COM port Product no 10 6 4 Relay Terminal block AFPORCIORS 14 8 6 E AFPORCIOCRS AFPORC10MRS 16 8 8 Transistor NPN 0 2A MIL connector Transistor PNP 0 2A AFPORC16T AFPORC16P AFPORC16CT AFPORC16MT AFPORC16CP AFPORC16MP AFPORC14RS AFPORC14CRS Transistor NPN
169. ng the characters ABCDEFGH via COM port 1 The characters are stored in ASCII HEX code without start and end codes TRUE FALSE TRUE FALSE Reception done flag 2 Execution condition 8 Reception begins 4 Reception continues Execution of F159 MTRN n Number 0 Receive buffer layout 16 48 H 16 47 G When reception begins the value in offset 0 is 0 At the end of reception the value in offset 0 is 8 The data in offset 1 to offset 4 is received in or der from the low order byte 129 Communication 130 System register settings No Item Name Data Dim 412 COM port 1 communication mode COM port 1 station number ct COM port 1 baud rate 9600 baud COM port 1 sending data length 8l bits COM port 1 sending parity check With Odd COM port 1 sending stop bit B bit COM port 1 sending start code No STX COM port 1 sending end codejreception done condition CR 5 COM port 1 receive buffer starting address 200 417 COM port 1 receive buffer capacity sos 412 COM port 1 modem connection _ Disable In order to use the data in the receive buffer define a global variable hav ing the same starting address and capacity In this example the starting address is DT200 VAR GLOBAL DT200 awReceivedBuffer and the receive buffer capacity is 5 ARRAY 0 4 OF WORD GVL class Identifier l FPA IEC Addr Type Initial O VAR GLOBAL DT200 awReceiveBuffer
170. ngs Note Programming 114 For 1 1 MEWTOCOL COM communication the system registers should be set as shown below 410 COM port 1 station number 1 412 COM port 1 communication mode MEWTOCOL COM Master Slave 413 COM port 1 communication format Data length 8 bits Parity Odd Stop bit 1 bit End code CR Start code No STX 415 COM port 1 baud rate 2400 115200bit s The communication format and baud rate of the PLC should be set to match the connected device For MEWTOCOL COM communication a program must be created that al lows command messages to be sent and response messages to be received on the computer side There is no programming required on the slave Only the station number and the communication parameters must be set in the system registers The program for the master side must send and receive commands according to the MEWTOCOL COM protocol MEWTOCOL COM contains the commands used to control and monitor the slave operation If a software program such as PCWAY is used on the computer side PLC data can easily be read and written without having to think about the MEWTOCOL COM protocol FPOR User s Manual Communication 6 5 5 1 1 1 communication with a computer FPOR User s Manual For a 1 1 MEWTOCOL COM connection between the FPOR and a computer an RS232C cable is needed Communication is performed via commands from the computer and responses from the PLC
171. not recognized in the data received Without start code the receive buffer can only be reset by executing ClearRe ceiveBuffer or F159 MTRN e If None is selected for the end code an end code is not added to the data sent and is not recognized in the data received Without end code the reception done flag does not turn to TRUE The end of reception FPOR User s Manual 131 Communication can only be determined by a time out using the IsReceptionDone ByTimeOut function or by evaluating the data in the receive buffer see p 128 Different end code settings for sending and receiving Example _ 132 Sometimes you do not want to send an end code but need an end code in the data received to set the reception done flag to TRUE In this case select the desired end code in the system registers and execute F159 MTRN specifying a negative number for n Number Send 4 bytes of data without adding an end code POU Header Class Identifier e Initial Comment VAR bSendData BOOL FALSE MAR CONST iMinusBytesToSend INT ec legative number No Fenny added VAR awSendData ARRAY Io 1 3 OF WORD WORD 400 WAR a LD Body bSendData P awSendData D l VIRUSES TURO S if DF bSendDataj then Fi159 MTRN s Start awsSendData 0 n Number iMinusBytesToSend d Port 1 end if FPOR User s Manual 6 6 5 Flag operation Communicatio
172. nt memory area is separate from the program area and can store I O comments for 100 000 points Program management and maintenance is easy Thanks to the separate comment area programs can now be developed without concern for comment memory capacity Positioning control using high speed counter and pulse output FPOR User s Manual A high speed counter and a pulse output function are provided as standard features e Target speed change ol D Target speed change 2 Number of pulses 15 Overview e JOG operation of JOG operation 2 Number of pulses Position control trigger input e Decelerated stop of Trigger for decelerated stop 2 Number of pulses e Individual setting for acceleration deceleration time D Acceleration time 2 Deceleration time For details see p 169 Additional unit with battery free backup function F32 type The F32 type offers a battery free automatic backup function for all opera tion memories internal flags data registers timers counters Maintaina bility has been significantly improved as there is no need to change a bat tery 16 FPOR User s Manual Overview For details see p 40 Full range of communication functions e PLC Link supports MEWNET WO e MEWTOCOL COM Master Slave e MODBUS RTU Master Slave e Program controlled communication via TOOL or COM port For details see p 87 Extended online editing fu
173. nter T C e Internal flags R e Data registers DT e Step ladders Programs and system register settings will be held in the internal ROM re gardless of the built in backup battery Specifying hold areas Procedure 40 If no settings are made in system registers 6 to 14 the default address ranges will be saved when the PLC is turned off To save additional hold areas follow the procedure below 1 Double click PLC in the navigator 2 Double click System registers 3 Double click Hold on off NOTICE If the battery is empty the data values in the hold area will become indefinite during power off They are cleared to 0 the next time the power is turned on We recommend adding a program for checking if the data is set to 0 when the power is turned on the next time FPOR User s Manual CPU types 2 5 2 Clock calendar function As the initial clock calendar values are indefinite write the values using a programming tool 2 5 2 1 Memory area for clock calendar function FPOR User s Manual With the clock calendar function clock and calendar data stored in special data registers DT90053 to DT90057 can be read and used in sequence programs To access special data registers and special internal flags use the PLC independent system variables Hour and minute data DT90053 can only be read All other data can be read and written Special FPWIN Pro Lower byte datareg system var
174. o FALSE to continue pulse output 200 FPOR User s Manual High speed counter and pulse output Enabling disabling counting operations A Y Pulse output Elapsed value 2 Bit 1 of pulse output control code count When bit 1 of the control code is set to TRUE counting is prohibited 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 A Y Y Pulse output b Elapsed value p o Bit O of pulse output control code software reset When bit 0 of the control code is set to TRUE a software reset is performed and the elapsed value is set to 0 The elapsed value keeps the value 0 until bit O is reset to FALSE Cancelling high speed counter and position control instructions FPOR User s Manual To cancel execution of a pulse output instruction set bit 2 of the data reg ister storing the pulse output control code sys wHscOrPulseControlCode to TRUE The pulse output control flag will then change to FALSE To reen able execution of the instruction reset bit 2 to FALSE 201 High speed counter and pulse output Control code settings 202 Bits 0 15 of the control code are allocated in gro
175. of the general specifications e Ambient temperature 0 C 55 C e Ambient humidity 1090 9596 RH at 25 C non condensing e Pollution degree 2 e Do not use the unit in the following environments Direct sunlight Sudden temperature changes causing condensation Inflammable or corrosive gases Excessive airborne dust metal particles or salts Benzine paint thinner alcohol or other organic solvents or strong alkaline solutions such as ammonia or caustic soda Vibration shock or direct drop of water Influence from power transmission lines high voltage equipment power cables power equipment radio transmitters or any other equipment that would generate high switching surges Maintain at least 100mm of space between these devices and the unit Before touching the unit or equipment always touch some grounded metal to discharge any static electricity you may have generated especially in dry locations The discharge of static electricity can damage parts and equipment Protection of power supply FPOR User s Manual e Use a twisted power supply wire e Insulate the wiring systems to the CPU input output devices and me chanical power apparatus e An insulated power supply with an internal protective circuit should be used FP power supply The power supply for the CPU is a non insulated circuit so if an incorrect voltage is directly applied the internal circuit may be damaged or destroyed e
176. on method Synchronous method Communication format Data transmission order Communication mode Item Interface Connection mode Transmission distance Baud rate Communication method Synchronous method Transmission line Description RS292 15m 2400 4800 9600 19200 38400 57600 115200bit s Half duplex Start stop synchronous system Data length 7 bits 8 bits Parity None Odd Even Stop bit 1 bit 2 bits End code CR CR LF None ETX Start code No STX STX Transmits from bit O character by character MEWTOCOL COM Master Slave Modem connection Program controlled Modbus RTU Master Slave PLC Link Description RS485 1 N 1200m 92 19200 115200bit s gt 2 wire half duplex Start stop synchronous system Shielded twisted pair cable or VCTF Transmission MEWTOCOL COM ASCII code Program controlled ASCII Binary Modbus RTU Binary Communication format set in sys Data length 7 bits 8 bits tem registers Parity None Odd Even Stop bit 1 bit 2 bits End code CR CR LF None ETX Start code No STX STX No of connected stations lt 99 x32 with C NET adapter Communication mode MEWTOCOL COM Master Slave Modem connection Program controlled Modbus RTU Master Slave PLC Link 1 The number of stations transmission distance and baud rate may vary de pending on the connected RS485 device FPOR User s Manual Communication 2 The values for the transmission distance baud rat
177. peed 1 target speed 2 Target speed 1 target speed 2 Initial and final speed Change time 2 Target speed 1 Deceleration time Target speed 2 8 Execution condition 4 Target value Position control trigger input Acceleration time Please refer to the Control FPWIN Pro online help for details and a pro Reference gramming example 210 FPOR User s Manual High speed counter and pulse output 7 4 3 7 JOG operation This instruction is used for JOG operation Pulses are output from the spec ified channel when the control flag for this channel is FALSE and the execu tion condition is TRUE Tool instruction PulseOutput_Jog_FB PulseOutput_Jog_TargetValue_FB F instruction F172 PulseOutput Jog Pulse output characteristics t o a 1l OM Target speed 1 3 Pulse output control flag Target speed 2 Execution condition Select one of two different operation modes e Mode with no target value type 0 Pulses are output in accordance with the conditions set in the DUT as long as the execution condition is TRUE A decelerated stop begins whenever the execution condition is FALSE Initial and final speed 0 Pulse output control flag 2 Change of target speed Decelerated stop 8 Execution condition e Target value match stop mode type 1 Output stops when the targ
178. put 0 YO 1 Y2 2 Y4 3 Y6 System variables for memory areas used Description Pulse output control flag for channel FPOR User s Manual System variable 0 sys bisPulseChannelOActive Address 217 Security functions Chapter 8 Security functions 8 1 Security function types The following security settings are available e PLC program upload protection e password protection e security settings for FP Memory Loader 8 2 Security settings in Control FPWIN Pro If FPWIN Pro is in online mode Online gt Security Settings opens a dia log that displays the current security settings and enables you to protect your PLC The LEDs in the dialog display the PLC s current protection status To dis play a tool tip hold the cursor over the LED for approximately 2s For a detailed description of the options please refer to Security settings in the FPWIN Pro online help Reference 8 2 1 Upload protection When upload protection is enabled you cannot e upload projects or program code to a PC e upload system registers to a PC NOTICE Data can be lost permanently 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 support You can cancel the setting for this function using FPWIN Pro However all programs system registers and password in
179. quire more data memory SendCharactersAndClearString Like SendCharacters but works without send buff er may require less data memory F159 MTRN Original F instruction with complete set of param eters additional transfer instruction required to write data to send buffer e Step 4 optional Evaluate transmission done flag Use one of the following methods Method Comment IsTransmissionDone Returns the value of the transmission done flag It turns to TRUE when the specified number of bytes has been sent sys blIsComPortiTransmissionDone These system variables turn to TRUE when sys bIsComPort2TransmissionDone the specified number of bytes has been sent sys bIsToolPortTransmissionDone Note e When the specified number of bytes has been sent the trans z mission done flag turns to TRUE Evaluation of the transmission done flag may be useful in cases where no response can be ex pected e g with broadcast messages e 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 For details on the operation of the reception done flag the transmis Reference sion done flag and the communication error flag see p 133 FPOR User s Manual 125 Communication Writing to send buffer Send buffer layout The instructions SendCharacters and SendCharactersAndClearString auto matically generate the data in the send buffer Sto
180. r S2 and host via C NET using power supply is not required FP Web Designed to connect FP series FP WEB2 ARCT1F446 Server 2 PLCs to the Ethernet to send FP Web Must be connected to FP Expansion Web Server 2 Supplied with a FPO I O Designed to make the FPO function FPO IOL link unit as a MEWNET F slave unit remote I O system FPO DP Designed to connect the PLC to FPO DPS2 Slave unit PROFIBUS DP or it can stand alone as a remote I O unit MEWTOCOL COM Supplied with a 30cm FPO TOOL port cable A e mails and present PLC data as HTML pages FPWEBEXP ARCT1F446 unit USB and RS485 port FPOR User s Manual Overview 1 2 5 Power supply unit 1 2 6 Accessories FPOR User s Manual Product name Description Product no Max output current 1A 24V DC Max output current 2 5A 24V DC Max output current 5A 24V DC FP power supply FP PS24 060E FP PS24 120E Name Description Product no I O cable 10 pin MIL wire press socket on im AFP0521D one side 2 pieces blue white or AFP0521BLUED multi colored AFP0521COLD 3m AFP0523D AFP0523BLUED FPO power supply Maintenance part packed with im AFPO581 cable for expansion FPO FPOR expansion units units FPOR FPX power Maintenance part packed with im AFPG805 supply cable CPU Phoenix connector Terminal block socket 2 pcs maintenance parts packed with relay output type MIL connector 2 10 pin MIL wire press socket pcs mainten
181. r of words shared by all linked PLCs 2 Link flags Send area Start sending from this word address NN p 43 Link flags Send area Number of words 0 64 words to send m aa 0 128 words 0 63 Link registers Send area Start sending 0 127 from this word address 5 Link registers Send area Number of words to send 0 128 words 1 16 47 Highest station number in network FPOR User s Manual Communication PLC 50 Link flags Send receive area Number of 0 64 words link 1 words shared by all linked PLCs 51 Link registers Send receive area Num 0 128 ber of words shared by all linked PLCs words 52 Link flags Send area Start sending from 64 64 127 this word address 53 Link flags Send area Number of words 0 64 words to send 54 Link registers Send area Start sending 128 128 255 from this word address 55 Link registers Send area Number of 0 128 words to send words 57 Highest station number in network o 0 16 1 Set the same value for all PLCs in the link Note Use the SYS2 instruction to set the link area in RUN mode Please refer to the Control FPWIN Pro online help for detailed information Using PLC link 1 You can either use PLC link 0 or PLC link 1 Set system register 46 to Re verse to use PLC link 1 See PLC link 0 and 1 allocation setting on p 152 6 7 2 1 Example for PLC link 0 The PLC link areas are divided into send and receive areas The link
182. rage area for the number of bytes to be sent 2 Storage area for the data to be sent Bold numbers indicate the order of transmission The storage area for the data to be sent starts with the second word of the send buffer offset 1 Offset 0 contains the number of bytes to be sent The maximum volume of data that can be sent is 2048 bytes If F159 MTRN is used for transmission the data must be copied to the send buffer using a transfer instruction e g F10 BKMV 6 6 3 Receiving data 126 Data can be received from an external device if the reception done flag is FALSE The reception done flag turns to FALSE after switching to RUN mode Data is automatically received in the receive buffer see p 128 The receive buffer must be defined in the system registers After the end of reception has been verified data can be copied into a specified target area of the CPU When the end code is received the reception done flag turns to TRUE Reception of any further data is prohibited The maximum volume of data that can be received is 4094 bytes No end code is included in the data stored FPOR User s Manual Procedure for receiving data from external devices FPOR User s Manual Communication Step 1 Set communication parameters see p 121 and receive buffer see p 128 Required settings communication mode program controlled baud rate communication format receive buffer Step 2 Receive data Data i
183. ram controlled 413 COM port 1 communication format Data length 7 bits 8 bits Parity None Odd Even Stop bit 1 bit 2 bits End code CR CR LF None ETX Start code No STX STX 415 COM port 1 baud rate 2400 115200bit s 416 COM port 1 receive buffer starting 0 32764 factory setting 0 see 420 address note 417 COM port 1 receive buffer capacity 0 2048 words factory setting 421 2048 words When using C10 C14 or C16 the range is 0 12312 6 6 7 1 N communication FPOR User s Manual The FPOR and the external devices are connected using an RS485 cable A protocol that matches the external devices and the instruction F159 MTRN or any instruction that uses F159 MTRN implicitly are used to send and receive data PLC Sending data using a send instruction 3 Receiving data in receive buffer 139 Communication 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 or TOOL port 412 COM port 1 communication Program controlled mode 413 COM port 1 communication for Data length 7 bits 8 bits mat Parity None Odd Even Stop bit 1 bit 2 bits End code CR CR LF None ETX Start code No STX STX 415 COM port 1 baud rate 9 2400 115200bit s 416 COM port 1 receive buffer start 0 32762 factory setting 0 420 ing addre
184. rdware reset is disabled until bit 2 is reset to O FPOR User s Manual 181 High speed counter and pulse output Enabling disabling counting operations bit 1 A XO High speed counter input 0 Elapsed value Bit 1 of high speed counter control code count When bit 1 of the control code is set to TRUE counting is prohibited 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 A X0 0 1 XO High speed counter input D Elapsed value 2 Bit O of high speed counter control code software reset When bit 0 of the control code is set to TRUE a software reset is performed and the elapsed value is set to 0 The elapsed value keeps the value O until bit O is reset to FALSE 182 FPOR User s Manual High speed counter and pulse output 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 a hex number e g 0002 0000 0000 1001 16 2009 15 12 11 8 7 4 3 0 L 9 EA IV III II I Group IV Channel number channel n 16s n Group III O fixed Group II 0 fixed GroupI 2 Cancel high spe
185. re of the following warnings may be used in this documentation DANGER Indicates a hazardous situation which if not avoided will result in death or serious injury WARNING Indicates a hazardous situation which if not avoided could result in serious or moderate injury Indicates a hazardous situation which if not avoided could result in minor or moderate injury NOTICE Indicates a property damage message FPOR User s Manual 3 Scope of this manual The FPOR User s Manual includes e Specifications for the CPU types and expansion units of the FPOR e installation wiring and maintenance instructions e general programming information e troubleshooting information e an appendix with technical specifications I O allocation tables memory area tables system registers unit dimensions Please refer to the FP Series Programming Manual or to the online help of Control FPWIN Pro for information on e system instructions e special internal flags e data registers e system variables e memory area tables e programming examples For documentation on other units used with the FPOR please refer to the hardware manual for that unit All manuals can be downloaded from the Panasonic Web site http www panasonic electric works com 4 FPOR User s Manual Safety measures Operating environment Static electricity After installing the unit make sure to use it within the range
186. reas 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 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 146 FPOR User s Manual Communication 6 7 2 2 Example for PLC link 1 Set system register 46 to Reverse to use PLC link 1 See PLC link 0 and 1 allocation setting on p 152 Link flag allocation 1 3 4 WL64 E ud n g L84 EA 83 84 5 bad Ba 2 a i 04 3 e 127 12 L Send area Receive area Station number of PLC System register settings 5 Link flags Send receive area Number of words shared 64 64 64 64 by all linked PLCs Link flags Send area Start sending from this word 64 84 104 64 address Link flags Send area Number of words to send 24 The value of this system register must be identical for all stations 1 Link register allocation 1 2 3 4 LD128 1 LD128 1 LD128 g1LD128 mcum mmm 167 l er 168 2 LN numm 207 208 305 ee 255 25 25 25 L Send area Receive area Station number of PLC FPOR User s Manual 147 Communication System register settings Link registers Send receive area Number of words shared by all linked PLCs LLL PEHE Link registers Send area Start sending from this word address Link registers Send area Number of words to send
187. reference numbers for the specifications continued in the next table 2 When combined with pulse output function trapezoidal control no change in speed 50kHz 174 FPOR User s Manual High speed counter and pulse output Maximum output frequency Note The maximum output frequency may be lower than the values indicated MEM in the table when the pulse output speed is changed when a target value match on off instruction another pulse I O process or interrupt program is executed simultaneously Using channels independently Even if all channels are used the maximum output frequency is 5OKkHz for all 1 phase Maximum output frequency kHz Channel 0 Channel 1 Channel 2 Channel 3 Channel is being used Using linear interpolation control Even if all channels are used for interpo lation the maximum output frequency is 5OkHz for all Linear interpolation control Maximum output frequency kHz Channel 0 Channel 2 Channel is being used FPOR User s Manual 175 High speed counter and pulse output 7 3 High speed counter function The high speed counter function counts the input signals and sets the de sired output to TRUE or to FALSE when the target value is reached The high speed counter function can also be used for cam control and for input pulse measurement Setting the system registers In order to use the high speed counter function it is necessary to set the inputs in the system registers Pro
188. rogrammed in such a way that a scan can never finish Make sure that interrupt instructions are executed in succession 227 Troubleshooting 10 5 All LEDs are OFF If all LEDs are OFF try the following e Check the power supply wiring e Check if the power supplied to the CPU is in the range of the rating Be sure to check the fluctuation in the power supply e Disconnect the power supply wiring to the other devices if the power supplied to the CPU is shared with them If the LEDs on the CPU turn on at this moment increase the capacity of the power supply or prepare another power supply for other de vices Please contact your dealer for further information 10 6 Diagnosing output malfunction If the outputs do not function correctly both software e g program I O allocation and hardware e g wiring power supply may be responsible Check the output side first and then the input side If the output status LEDs are ON e Check the wiring of the loads e Check if the power is properly supplied to the loads If the power is properly supplied to the load there is probably an abnormality in the load If the power is not supplied to the load there is probably an abnor mality with the outputs If the output status LEDs are OFF e Monitor the output condition using Control FPWIN Pro If the output monitored is TRUE there is probably a duplicate output error e Set the output to TRU
189. rol code settings Use the high speed counter information instructions to monitor control code settings FPOR User s Manual High speed counter and pulse output Operations performed by the high speed counter control code e Cancelling high speed counter instructions bit 3 e Enabling disabling the reset input hardware reset of the high speed counter bit 2 e Enabling disabling counting operations bit 1 e Resetting the elapsed value software reset of the high speed counter to 0 bit 0 Cancelling high speed counter instructions bit 3 To cancel execution of an instruction set bit 3 of the data register storing the high speed counter control code sys_wHscOrPulseControlCode to TRUE The high speed counter control flag then changes to FALSE To re enable execution of the high speed counter instruction reset bit 3 to FALSE Enabling disabling the reset input hardware reset of the high speed counter bit 2 A X0 X2 Q XO High speed counter input 0 Elapsed value Bit 2 of high speed counter control code enable disable reset input 3 Elapsed value is reset to 0 4 Reset not possible When bit 2 of the control code is set to TRUE a hardware reset using the reset input specified in the system registers is not possible Counting will continue even if the reset input has turned to TRUE The ha
190. s When the PLC receives a command it processes the command regardless of the sequence program and sends a response back to the computer Commu nication is carried out in a conversational format based on the MEWTO COL COM communication procedures Data is sent in ASCII format The computer has the first right of transmission The right of transmission shifts back and forth between the computer and the PLC each time a message is sent Transmission program Command message Computer Start Desti Text Check code nation code End code D The station number of the PLC to which the command is being sent The type of command Any settings and data required in order to execute the command v The command and data are sent to the PLC with the specified station number Reception processing program The station number of the PLC that sent the response 8 Confirmation of whether or not the processing was carried out successfully The type of command processed If the command was used to read data the data that was read If an error occurred and the command could not be processed success fully the content of the error v A response is returned and processed by the computer e g the computer retrieves the data that was sent Response message Start Source code 0 Text Ch
191. s 1000 samples Per scan or per time interval Max 16 Boolean variables and 3 16 bit var iables per sampling High speed counter 1 phase 6 channels max 50kHz 2 phase 3 channels max 15kHz Pulse output not available for 4 channels max 50kHz C10 c14 5 2 PWM output not available for 4 channels max 4 8kHz C10 C14 2 Pulse catch inputs 8 including high speed counter and inter rupt input Number of interrupt programs 8 external inputs C10 6 1 periodical interrupt 4 target value match interrupts Periodical interrupt 0 5ms 1 5s unit 0 5ms 10ms 30s unit 10ms Constant scan time 0 5ms 600ms unit 0 5ms F ROM Using instructions All areas 32765 words backup F12 and P13 Automatically when Counter flags 16 C1008 C1023 power is cut off Internal flags 128 R2480 R255F Data registers 315 words DT12000 DT12314 DT32450 DT32764 RAM backup T32 and F32 only T32 All areas built in backup battery F32 All areas Clock calendar function 9 Available for T32 only Communication ports TOOL port USB port COM port Self diagnostic function E g watchdog timer program syntax check Watchdog timer approx 690ms 1 These are the specifications when the rated input voltage is 24V DC at 25 C The frequency will decrease depending on voltage temperature or usage condi tion 2 A total of 4 channels is available for pulse output and PWM output Pulse output can be specified up to 50k
192. s are energized To ensure this sequence the following measures are recommended e Turn ON the PLC with the operation mode selector set to PROG mode and then switch to RUN mode e Program the PLC so as to disregard the inputs and outputs until the field devices are energized When stopping the operation of the PLC have the input output de vices turned off after the PLC has stopped operating FPOR User s Manual Installation and wiring Grounding When installing the PLC next to devices that generate high voltages from switching such as inverters do not ground them together Use an exclu sive ground for each device Momentary power failures The FPOR continues to operate normally for a certain period of time in case of a momentary power failure We call this the momentary power off time However if the power failure exceeds this period of time operation de pends on the combination of units the power supply voltage etc In some cases operation mirrors a power supply reset For the momentary power off time values see General specifications on p 231 Protection of power supply An insulated power supply with an internal protective circuit should be used FP power supply The power supply for the CPU is a non insulated circuit so if an incorrect voltage is directly applied the internal circuit may be damaged or destroyed If using a power supply device without an internal protective circuit always make sure
193. s automatically received in the receive buffer Step 3 Verify end of reception Use one of the following methods Method IsReceptionDone IsReceptionDoneByTimeOut sys blIsComPortiReceptionDone sys blIsComPort2ReceptionDone sys bIsToolPortReceptionDone Direct evaluation of the receive buffer Comment Returns the value of the reception done flag It is TRUE if the end code has been received Used to verify the end of reception by time out e g with binary data when no end code is expected These system variables turn to TRUE if the end code has been received Step 4 Process data in receive buffer Use one of the following instructions Instruction Comment ReceiveData Automatically copies data received by the CPU into the speci fied variable ReceiveCharacters Automatically copies characters received by the CPU into a string variable F10 BKMV Transfers data from the receive buffer to a target area Not required with ReceiveData or ReceiveCharacters Step 5 Prepare CPU to receive next data Use one of the following instructions Instruction Comment ClearReceiveBuffer The receive buffer is automatically reset when sending the F159 MTRN next data To reset the receive buffer without sending any n Number 0 data use one of these instructions 127 Communication 6 6 3 1 Setting receive buffer for CPU Receive buffer layout Procedure 128 For program controlled communication a rece
194. s of LDO in the other stations are also changed to a constant of 100 Ro EEWOVET c EN ENO i E 100 a Num r LD0O 1 LD 0 100 PLC Link connection between four FPOR units Station number of PLC LD Link register Panasonic PLCs available for PLC Link e FPOR RS485 type e FP7 using RS485 type communication cassette e FP using RS485 type communication cassette e FP X using RS485 type communication cassette e FP2 MCU using RS485 type communication cassette 6 7 1 Setting communication parameters 142 Make the following settings for the communication port e communication mode PLC Link e Station number e link area For details on setting the communication parameters see Setting system registers in PROG mode on p 102 For details on setting the link area see Link area allocation on p 144 FPOR User s Manual Note Communication PLC Link is only available via the COM port For RS232C connections the maximum number of stations is 2 For PLC Link the communication format and baud rate settings are fixed Data length 8 bits Parity Odd Stop bit 1 bit Start code No STX End code CR use SendCharactersAndClearString for end code suppression Baud rate 115200bit s Station number setting for a PLC link Note FPOR User s Manual The station number can be set within a rang
195. selected in FPWIN Pro is FPO In the FPO compatibility mode only the COM port can be used Make the following settings for the communication port e communication mode e station number e baud rate e communication format e receive buffer starting address e receive buffer capacity Please be aware that the setting ranges of the FPO apply if the FPOR is used in FPO compatibility mode For details on setting the communication parameters see p 102 The end code setting must always be CR and the start code set ting must be No STX Sending includes generating the data for the send buffer and sending it using the instructions SendCharacters SendCharactersAndClearString or F159 MTRN SendCharacters and SendCharactersAndClearString implicitly use F159 MTRN The start and end codes specified in the system registers are automatically added to the data sent The maximum volume of data that can be sent is 2048 bytes Procedure for sending data to external devices 124 e Step 1 Set communication parameters see p 121 Required settings communication mode program controlled baud rate communication format e Step 2 Write to send buffer see p 126 Not necessary when using SendCharacters or SendCharactersAndClear String FPOR User s Manual Communication e Step 3 Execute send command Use one of the following instructions Instruction Comment SendCharacters Easy to use fits most applications may re
196. sfully an error code will be stored here so that the content of the error can be checked Check code Hexadecimal block check code BCC for error detection using horizontal parity The BCC starts from the header and checks each character in sequence using the exclusive OR operation and replaces the final result with character text End code There is always a k ASCII code 16 0D at the end of the message Data For a read command the data read is stored here FPOR User s Manual Note 6 5 3 Commands FPOR User s Manual Communication Command name error code Normal processing The command name is stored here Error condition The error code is stored here 8 Response code Normal processing ASCII code 16224 Error condition ASCII code 16221 If the response contains an instead of a check the meaning of the error code e fno response is returned the command may not have arrived at the slave or the slave may not be functioning Check to make sure all of the communication specifications e g baud rate data length and parity match between the master and the slave e Station number and command name are always identical in a command and its corresponding response see below This makes the correspondence between a command and a response clear sIersTeIss E T8 UY 0 o Berle T8 0 Command message 2 Response message Reads the on and off status o
197. specifications iiir xi etri b eR RE Rr aT RPRRRTERISRG Y GU uUa Gg l GG RRYPRR GUN P GG GRE RR 32 2 4 Teriminali layout 5 tiis a irure Leis Eddi ant aan Lead 35 2 5 Backup and clock calendar functions cccccecec cece eee eee e eee eee etna eeaae esas eens nne 38 2 521 Backup UNCON aisan ciate Haus iii xdg i b dana P bri T DrbsA de EXER AG EAE 40 2 5 2 Glock calendat fUnctloEr icis iesu tior Ee Ee EEELREEERY dE ERIEXRRERRPIGRiA pein eae 41 2 5 2 1 Memory area for clock calendar function sssssssssssrsssrresrrrrsrrrrerrnnes 41 2 5 2 2 Settings for clock calendar FUNCTION prsne aas 42 2 5 2 3 Sample program for fixed schedule and automatic start 43 2 5 2 4 Sample program for 30 second compensation seseses 44 MEI S Cerne 45 3 1 Expansion Method 25 ex ERE E Rx REMRPRR P ER E CEPIN PR PR SERERE XE oe anne 45 3 2 Expansion unit parts and functions eret sees en eere eene kr RR RE RD E RR 46 3 3 Expansion input specifications cccccceccece eee eee eee ee ene nese eee meme nna nea seas 47 3 4 Expansion output SPECITICALIONS eene ere coes se Ro eres weenie eR cnet v e n e es 48 3 5 Terminal layout ire A E EEA PARENT asea eine et PEDETM VR ERE RUE 51 4 MO GMO Ini EeTTC 55 4l General iier ERE RR ERRARE QR einai aiideieietiiaetitaleviie E RXGGR RA adl da RR Aaa 55 a2 GL C 56 4 3 FPO FPOR expansion
198. ss 417 COM port 1 receive buffer ca 0 2048 words factory setting 421 pacity 2048 words U The setting must match the external device connected to the communication port 6 6 8 Programming in FPO compatibility mode 140 Make sure that the PLC type selected in Control FPWIN Pro is FPO In the FPO compatibility mode the instruction F144 TRNS is used instead of F159 MTRN FPOR User s Manual 6 7 PLC Link FPOR User s Manual Communication PLC Link is an economic way of linking PLCs using a twisted pair cable and the MEWNET protocol Data is shared with all PLCs by means of dedicated internal flags called link flags L and data registers called link registers LD The statuses of the link flags and link registers of one PLC are auto matically fed back to the other PLCs on the same network The link flags and link registers of the PLCs contain areas for sending and areas for re ceiving data Station numbers and link areas are allocated using the sys tem registers Ht E HH M am o p RS485 Sharing of data in a PLC link using dedicated send and receive areas L Send area L Receive area Station number of PLC 141 Communication Example Link flag LO for station 1 turns to TRUE The status change is fed back to the programs of the other stations and YO of the other stations is set to TRUE A constant of 100 is written to link register LDO of station 1 The content
199. ss sectional area mm Insulation thickness mm Rated current 1 5 1 1mm 3A Product no Description I O cable with 10 pin MIL connector 2pcs 1 x 10 blue 1 x10 AFP0521D white wires 1m I O cable with 10 pin MIL connector 2pcs 1 x 10 blue 1 x10 AFP0523D white wires 3m I O cable with 10 pin MIL connector 2pcs 2 x 10 blue wires AFPO521BLUED im I O cable with 10 pin MIL connector 2pcs 2 x 10 blue wires AFP0523BLUED 3m I O cable with 10 pin MIL connector 2pcs 2 x 10 colored AFP0521COLD wires im I O cable with 10 pin MIL connector 2pcs 2 x 10 colored AFP0523COLD wires 3m I O cable with 40 pin MIL connector blue wires 1m AYT58403BLUED I O cable with 40 pin MIL connector blue wires 3m AYT58406BLUED 79 Installation and wiring I O cable with 40 pin MIL connector colored wires according to AYT58406COLD DIN 47100 3m Pressure connection tool AXY5200FP Wiring method The wire end can be directly crimped without removing the wire s insula tion saving labor Procedure 1 Insert wire without removing its insulation until it stops 2 Lightly grip tool 80 FPOR User s Manual Installation and wiring Note If there is a wiring mistake or the cable is incorrectly pres sure connected the contact puller pin provided with the fitting can be used to remove the contact D Press the housing against the pressure connection tool so that th
200. sys w RTC YearMonth 90057 Calendar timer monitor and setting day of the week sys w RTC DayOfWeek 90058 mE Calendar timer set the values Bit 15 or 30s adjustment Bit 0 sys w RTC Set Using a program 1 The date time values are written to special data registers DT90054 to DT90057 2 A value of 1628000 is written to DT90058 Note e To access special data registers and special internal flags use the PLC independent system variables You can insert system variables directly into the POU body Use the Variables dialog without entering a declaration in the POU header e To set the clock calendar you can also use the instruction SET RTC DT or SET RTC INT Please refer to the Control FPWIN Pro online help for details and a pro Reference gramming example 42 FPOR User s Manual CPU types 2 5 2 3 Sample program for fixed schedule and automatic start FPOR User s Manual In this example the clock calendar function is used to output the YO signal for one second at 8 30 a m every day Here the hour minute data stored in special data register DT90053 is used to output the signal at the ap pointed time The value of DT90053 is written using the system variable sys wClockCalendarHourMin GVL Identifier FP Address IEC Address 0 VAR GLOBAL YO bOutputPuse YO QK0 0 BOOL FALSE POU Header Class Pulse SX PTP AR EXTERNAL YO bOutputPulse BOOL FALSE LD Bo
201. t string of 0 65535 16 bits length 16 DWORD Bit string of 0 4294967295 32 bits length 32 0 0 0 INT 32768 32 767 16 bits O DINT Double integer 2147483648 2147483647 32 bits 0 i 0 0 0 0 UINT Unsigned inte 0 65 535 16 bits ger UDINT Unsigned dou 0 4294967295 32 bits ble integer REAL Real number 3 402823466 E38 32 bits 1 175494351 E 38 0 0 1 175494351 E 38 3 402823466 E38 TIME Duration T40s T4327 67s 16 bits T 0s T 0s T 21474836 47s 32 bits DATE AND TIME Date and time DT 2001 01 01 00 00 00 32 bits DT42001 01 01 00 00 00 DT 2099 12 31 23 59 59 DATE D 2001 01 01 D 2099 12 31 32 bits D 2001 01 01 TIME OF DAY Timeofday TOD 00 00 00 TOD 23 59 59 32 bits TOD 00 00 00 STRING Variable length 1 32767 bytes ASCII de 2 words character pending on PLC memory size for the string head n 1 2 words for the char acters 1 Depending on PLC type 260 FPOR User s Manual 11 8 2 Generic data types Note Appendix Generic data types are used internally by system functions and system function blocks and cannot be selected in user defined POUs Generic data types are identified by the prefix ANY Generic data types are not available in user defined POUs Hierarchy of generic data types ANY16 WX WY ANY32 DWX DWY ANY BOOL INT UINT WORD ANY NOT BOOL INT UINT WORD ANY NUM INT UINT ANY INT INT UINT ANY BIT BOOL WORD ANY BIT NOT BOOL WOR
202. target Elapsed value of high speed counter Execution condition High speed counter control flag PLC output value In addition the high speed counter control flag turns to FALSE and the instruction is deactivated For programming examples please refer to Example for Hsc TargetValueMatch Reset or Example for F167 HighSpeedCounter Reset in the Control FPWIN Pro online help FPOR User s Manual High speed counter and pulse output 7 3 4 5 Input pulse measurement This instruction measures the number of input pulses in a specified count ing period and the pulse period Tool instruction Not available F instruction F178 HighSpeedCounter Measure Characteristics of input pulse measurement Reference e For input pulse measurement the channel number the counting period 1ms 5s and the number of counting periods 1 5 must be specified These parameters are used to calculate the average number of input pulses per counting period e The unit of pulse period measurement us ms or both can be spec ified Please refer to the Control FPWIN Pro online help for details and a pro gramming example 7 3 5 Sample programs FPOR User s Manual The following programming examples demonstrate how to make control code settings and how to use the high speed counter instructions The Control FPWIN Pro projects in LD and ST code can be downloaded from the Panasonic Web site http www panasonic electric works com eu
203. ter communication 118 Use the F145 WRITE and F146 READ instructions for the MEWTOCOL COM master function Be sure to set the COM port used in the program to MEWTOCOL COM Master Slave in the system registers The master func tion is only available via the COM port GVL Class Identifier FP Address IEC Address Type VAR GLOBAL Slave2 q diCounter DDT100 MD5 100 DINT FPOR User s Manual Communication POU Header Class Identifier Type Initial VAR EXTERNAL Slave2_g_diCounter DINT 0 DINT 0 TONE PA ae bWrieToSlave2 BOOL TRUE bReadFromSlavee BOOL FALSE In order to have consistent data in the master project and in the slave project the common data should be kept in the GVL of a common library LD Body If the counter read from the slave is equal to the counter written then the counter is incremented by 1 E diCaunter N TOME EUN aiu aca am ve I diCounter The counter is written to the slave counter which is defined in the library Slave2 containing all exchange data of the slave A bWriteToSlave2 mese a AA a NotActive F145 WRIT bWriteToSlave2 bReadFromSlave2 i The slave counter which is defined in the library Slave2 containing all exchange data ofthe slave is read for verification E bReadFramSlave2 blstemperttrta F146 REA bReadFromSlave2 bWiriteToSlave2 X S diCounterFromSlave2 TUI Slave2 dipeppier Please refer
204. the power is turned on the communication mode selected m in the system registers is set e It is not possible to change to Modbus RTU mode or PLC Link mode during RUN mode 6 5 MEWTOCOL COM This communication mode uses the proprietary MEWTOCOL COM protocol to exchange data between a master and one or more slaves This is called 1 1 or 1 N communication A 1 N network is also known as a C NET SSS em MEWTOCOL COM connection between a computer and the FPOR 0 Command message Response message There is a master function and a slave function The side that issues com mands is called master The slave receives the commands executes the process and sends back responses The slave answers automatically to the commands received from the master so no program is necessary on the slave FPOR User s Manual 105 Communication 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 Master Slave in the system registers and implement a PLC program The applicable instructions are F145 WRITE DATA and F146 READ DATA MEWTOCOL COM Master Slave mode is recommended over program con trolled mode since programming is easier The master function can be used for communication with all Panasonic de vices equipped with a MEWTOCOL COM slave function for example PLCs Ima
205. tion size IEC FP 110 WxX0 WX109 IW0 Code for specifying 16 9oIW109 inputs as one word 16 bits of data 110 WYO WY109 Code for specifying 16 outputs as one word 16 bits of data 256 WRO WR255 96MWO 0 Code for specifying 16 MWO 255 internal flags as one word 16 bits of data Outputs Internal flags FPOR User s Manual Appendix Available address area Function IEC FP 1 WLO WL127 MW7 0 Code for specifying 16 MW7 127 link flags as one word 16 bits of data CuO 3b22syilS DTO DT12312 MW5 0 Data memory used in C14 90MW5 12312 a program Data is C16 handled in 16 bit units C32 32763 DTO DT32762 MW5 0 ene wor 132 MW5 32762 F32 p 28 Link registers 256 LDO LD255 MW8 0 Data memory shared MW8 255 by multiple PLCs con nected using PLC link Data is handled in 16 bit units one word 0 Memory size Link flags Data registers 2 Timer counter set value area 2 1024 SV0 SV1023 MW3 0 Data memory for MW3 1023 storing the set values of timers or counters The values are stored by timer counter number 1024 EVO EV1023 MW4 0 Data memory for MW4 1023 storing the elapsed values during opera tion of timers or counters The values are stored by tim er counter number 44 DT90000 MW5 90000 Data memory for DT90439 MW5 90439 storing settings and error codes
206. to fix the wire in place 5 8 Wiring the COM port A screw down connection type is used for the COM port The suitable wires are given below o A e Symbol RS232C RS485 G Signal Ground E terminal R Receive Data Input Transmission line S Send Data Output Transmission line S MESS Precautions When removing the wire s insulation be careful not to scratch the core wire e Do not twist the wires to connect them Do not solder the wires to connect them The solder may break due to vibration e After wiring make sure stress is not applied to the wire FPOR User s Manual 83 Installation and wiring e If the socket in the terminal block closes upon counter clockwise rota tion the connection is wrong Disconnect the wire check the terminal hole and then re connect the wire Terminal block The communication connector manufactured by Phoenix Contact is used Item Description Number of pins 3 Manufacturer Phoenix Contact Co Model MKDS1 3 3 5 Product no 1751400 Suitable wire Size Cross sectional area mm AWG28 16 0 08 1 25 Only use shielded twisted pair cables It is recommended to ground the shielded part When using a pole terminal please refer to Wiring the terminal block on p 81 Wiring method Procedure 1 Remove a portion of the wire s insulation lea 5mm 84 FPOR User s Manual Installation and wiring 2 Insert the wire in
207. to the COM port until it contacts the back of the socket 3 Turn the screw clockwise to fix the wire in place 0 Bridge the E terminal and the free terminal on the first and on the last sta tion of the transmission line to terminate the data bus Wiring should extend from one station to the next Never run two wires from a single station to two other stations IEEE Note FPOR User s Manual 85 Installation and wiring 5 8 1 Transmission cables Note 86 Please use the following transmission cables Type Conductor Insulator Cable Size Resistance Material Thickness diameter mm at 20 C mm mm O km Shielded twisted pair 20 5 33 4 Polyethylene 0 5 7 8 AWG20 VCTF 20 5 lt 37 8 Polychlorinated lt 0 6 6 2 AWG20 biphenyl Cover ORS Insulator Conductor Shield e Only use shielded twisted pair cables e Only use one type of transmission cable Do not mix more than one type e Ground one end of the shielded twisted pair cable e If two wires are connected to the plus and minus terminals of the RS485 port use wires of the same cross sectional area 0 5mm FPOR User s Manual Communication Chapter 6 Communication 6 1 Communication modes The FPOR offers four different communication modes e MEWTOCOL COM Master Slave e Program controlled e PLC Link MEWNET WO e Modbus RTU Master Slave Communication ports The FPOR is equipped w
208. touch panel of the GT series and the FPOR 0 Command message 2 Response message A USB cable cannot be used e Using the TOOL port SD 1 9 1 SG RD 2 2 SD RS 3 O 3 RD CS 4 O O4 SG 50 o5 Left GT terminal right FPOR e Using the COM port RS232C Pp e y RD 2 R RS 3 O G CS 4 O SG 5 O Left GT terminal right FPOR Please refer to the GT Series Technical Manual for more information FPOR User s Manual Communication 6 5 6 1 N slave communication For a 1 N MEWTOCOL COM connection between a computer and several PLCs the computer and the first PLC are connected through a commercially available RS232C RS485 converter The other PLCs are connected using twisted pair cables 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 computer 1 2 3 4 E RS232C ii 9 1 N communication between a computer and several PLCs The station number of the PLC to which the command is being sent is included in the command message The station number of the PLC sending a response is included in the response message 3 Commercially available converter also required for PLCs using the RS232C port Station number of PLC System register settings FPOR User s Manual For 1 N MEWTOCOL COM communication the system
209. trol flag for this channel is FALSE and the execu tion condition is TRUE Select one of two different operation modes Type 0 The speed can be changed within the range of the specified target speed Type 1 The target speed can be changed once when the position control trigger input turns to TRUE Tool instruction PulseOutput Jog PositioningO FB PulseOut put Jog Positioning1 FB F instruction F171 PulseOutput Jog Positioning Pulse output characteristics zu L Initial and final speed Deceleration time Target speed 8 Execution condition 3 Target value T Position control trigger input Acceleration time 8 Pulse output control flag 208 FPOR User s Manual High speed counter and pulse output JOG Operation Type 0 The target speed can be changed during pulse output The speed can be changed within the range of the specified target speed Without changing the target speed E With changing the target speed L Initial and final speed Deceleration time e NS e Target speed 8 Execution condition e Target value 3 Position control trigger input r Acceleration time 8 Pulse output control flag FPOR User s Manual 209 High speed counter and pulse output JOG Operation Type 1 The target speed can be changed once when the position control trigger input turns to TRUE Target s
210. uch as possible Do not route them through the same duct or wrap them up together FPOR User s Manual 71 Installation and wiring 5 51 Input wiring For connecting input devices see the diagrams and recommendations given below 5 5 1 1 Photoelectric and proximity sensors Relay output type Sink input A B Sensor FPOR B Internal circuit a ex e Flag Power supply for sensor Power supply for input Input terminal Source input A B Sensor FPOR D Internal circuit Flag e X Power supply for sensor s NS Power supply for input Input terminal 72 FPOR User s Manual Open collector output type FPOR User s Manual Sink output NPN Sensor FPOR D Internal circuit Output Power supply for input Input terminal Source output PNP A Sensor FPOR Internal circuit Output Power supply for input Input terminal LC Installation and wiring 73 74 Installation and wiring Voltage output universal output type Two wire output type Sensor FPOR Internal circuit Output 3 Power supply for input Input terminal COM Sensor FPOR Internal circuit Output Power supply for input Input terminal FPOR User s Manual
211. ultaneously Keep the number of outputs per common which are simultaneously TRUE within the following range as determined by the ambient temperature T32 m 4243 55 x Ambient temperature C y Number of outputs per common that are TRUE simultaneously At 24V DC 2 At 26 4V DC Internal circuit diagram NPN L O oo 9 24V DC O X3 or TO 5 24V DC ox Internal circuit Load 2 Output circuit 8 External power supply Output status LED Load power supply Output FPOR User s Manual 33 CPU types PNP 0 Internal circuit Load Output circuit 8 External power supply 3 Output status LED Load power supply Output Relay types C10 C14 Output type 1a output 24V DC Nominal switching capacity 2A 250V AC 2A 30V DC x4 5A common resistive load Outputs per common ELOS Qapilaral C14 4 1 1 Response FALSE TRUE 10ms time TRUE FALSE 8ms Mechanical lifetime gt 20 000 000 operations switching frequency 180 operations min Electrical lifetime 2100 000 operations switching frequency at nom inal switching capacity 20 operations min Surge absorber Operation indicator LEDs Internal circuit diagram Internal circuit 34 FPOR User s Manual CPU types 2 4 Terminal layout C
212. ups of four The bit setting in each group is represented by a hex number e g 0002 0001 0000 1001 1642109 15 12 11 8 7 4 3 0 jo lejejejsjejoje IV III II I Group riv 0 Channel number channel n 16 n Group III 1 fixed Group i1 2 Position control start request 0 disabled 1 enabled Decelerated stop request 0 disabled 1 enabled 4 Near home input bit 4 see note 0 FALSE 1 TRUE Group I Pulse output bit 3 0 continue 1 stop 8 Cancel pulse output control bit 2 0 continue 1 stop Count bit 1 0 permit 1 prohibit 8 Reset elapsed value to O bit 0 0 no 1 yes Example 1622109 Group Value Description IV 2 Channel number 2 III ii fixed fn 0 Position control start request disabled Decelerated stop request disabled Near home input FALSE I 9 Hex 9 corresponds to binary 1001 Pulse output stop bit 3 Cancel pulse output control bit 2 Count permit bit 1 1 0 0 Reset elapsed value to 0 yes bit 0 1 FPOR User s Manual High speed counter and pulse output Note e Performing a forced stop may cause the elapsed value at the PLC output side to differ from the elapsed value at the motor input side Therefore you must execute a home return after pulse output has stopped e Setting the near home input is not possible if counting is prohib ited or if a software reset is performed Please refer to the Control FPWIN Pro online help for programming exam Refere
213. urance is off from the default value of 6 4s to 100ms LD Body sys blsFirstScan gt PCLKiTt 180 8 159 Communication Note e The setting should not be changed as long as a longer transmis sion assurance flag detection time does not cause any problems e The SYS1 instruction should be executed at the beginning of the program at the rise of R9014 The same waiting time should be set for all linked PLCs e The time should be set to a value of at least twice the maximum transmission cycle time when all of the PLCs are connected to the link e Ifa short time has been set the transmission assurance flag may not function properly The shortest time that can be set is 100ms 6 8 Modbus RTU communication The Modbus RTU protocol enables the communication between the FPOR and other devices including the Panasonic FP e PLCs touch panels of the GT series and KT temperature controllers as well as Modbus devices by other manufacturers The master station sends instructions command messages to the slave stations and the slave stations respond send re sponse messages based on the instructions received The master station has read and write access to a maximum number of 99 slave stations 2 BH Modbus RTU connection between the FPOR and an external device 0 Command message 2 Response message Note The Modbus protocol supports both ASCII mode and RTU binary mode However the PLCs of the FP
214. urred without an interrupt re quest A hardware problem or error due to noise is possible Turn off the power and check the noise conditions There is no interrupt program for an interrupt which occurred Check the number of the inter rupt program and change it to agree with the interrupt request E34 I O status error Stops A faulty unit is installed Replace the unit with a new one E42 I O unit verify error Selectable The connection condition of an I O unit has changed compared to that at the time of pow er up Check the error using sys wVerifyErrorUnit O0 15 and locate the faulty I O unit Set the operation status using system register 23 to continue operation E45 Operation error Selectable Operation has become impossible after a high level instruction was executed and a calcula tion error occurred The causes of operation er rors vary depending on the instruction Set the operation status using system register 23 to con tinue operation E100 E299 Self diagnostic E100 Stops The self diagnostic error specified by the error set by E199 F148 ERR instruction has occurred Use Monitor F148 ERR E200 E299 PLC status or m to check the error code FPOR User s Manual 257 Appendix 11 6 3 MEWTOCOL COM error codes 12i Link system error 124 127 error 138 140 A transfer error occurred in the data received 141 A formatting error in the command received was detected 142 A non supported command was receive
215. use the backup or export 6 FPOR User s Manual FPOR User s Manual functions of Control FPWIN Pro and store the files in a safe place Addi tionally you can print out the entire project documentation Specifying passwords The password setting is designed to avoid pro grams being accidentally overwritten If the password is forgotten however it will be impossible to overwrite the program even if you want to Also if a password is forcibly bypassed the program is delet ed Therefore please note the password in a safe location Programming conventions The programming examples in this manual are designed for Control FPWIN Pro For FPWIN GR examples please refer to FPOR User s Manual ARCT1F475E Most of the sample programs were written in Ladder Diagram In Control FPWIN Pro you can also program in Structured Text Function Block Dia gram Instruction List and Sequential Function Chart For examples in oth er programming languages please refer to the Control FPWIN Pro Online Help and the Programming Manual The abbreviations used in the examples signify the following e POU Program Organization Unit e DUT Data Unit Type e GVL Global Variable List These and other terms are explained in the Control FPWIN Pro Online Help and Programming Manual To illustrate the use of positioning instructions the chapter on high speed counters and pulse output contains numerous examples Some of the sam ple programs can be opened
216. value lt current value TRUE FALSE Incremental counting CW CCW Pulse direction c e Decremental counting Count mode 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 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 position value is registered at a known reference point home During execution of a home return instruction pulses are continuously output until the home input is enabled The I O allocation is determined by the channel used See I O allocation on p 195 To decelerate movement when near the home position designate a near home input and set bit 4 of the special data register storing the pulse out put control code sys wHscOrPulseControlCode to TRUE and back to FALSE again The deviation counter clear output can be set to TRUE when home return has been completed Pulses are output from the specified channel while the trigger for the jog operation instruction is TRUE Direction output and output frequency are specified with an instruction FPOR User s Manual High speed counter and pulse output 7 4 2 VO allocation The I O allocation of pulse output terminals direction output terminal and home input is determined by the channel
217. value the counter goes back to the maximum value and continues counting from there fe ae i D 42 147 483 647 2 147 483 646 2 147 483 645 2 147 483 646 2 147 483 647 2 147 483 648 di i w e e m Maximum value 2 Minimum value Using linear interpolation instruction F175 PulseOutput Linear or PulseOutput Linear FB The target value or the amount of travel must be within the range of 8 388 608 to 8 388 607 24 bit bina ry number FPOR User s Manual High speed counter and pulse output 7 2 Function specifications and restrictions This section contains the specifications and restrictions of the high speed counter pulse output and PWM output function 7 2 1 High speed counter function Input numbers Performance FPOR User s Manual For each count input mode there are certain high speed counter channels inputs and memory areas Reset No of Channel Input 9 input phases no 1 Input mode Incremental Decremental Two phase Incremental decremental Incremental decremental control U For details on the different input modes see p 176 Channel 4 and channel 5 are not available for the C10 type X4 and X7 can also be used as home inputs of the pulse output function Set the desired function in the system registers Reset input X2 can be set to either channel 0 or channel 1 Reset input X5 can be set to either channel
218. ystem variable OO Corrected final speed 0 sys_iPulseChannel0CorrectedFinalSpeed DT90407 DT90427 Acceleration forbidden sys diPulseChannelOAccelerationForbidden DDT90408 area starting position AreaStartingPosition for channel l sys diPulseChanneliAccelerationForbidden DDT90418 AreaStartingPosition 2 sys diPulseChannel2AccelerationForbidden DDT90428 AreaStartingPosition 3 sys diPulseChannel3AccelerationForbidden DDT90438 AreaStartingPosition Pulse output control o sys wPulseChannelOControlCode DT90380 a for sys wPulseChanneliControlCode DT90381 sys wPulseChannel2ControlCode DT90382 sys wPulseChannel3ControlCode DT90383 High speed counter or sys wHscOrPulseControlCode DT90052 pulse output control code D For F171 PulseOutput Jog Positioning F171 PulseOutput Trapezoidal F172 PulseOutput Jog 7 4 3 1 Writing the pulse output control code Writing control codes FPOR User s Manual Control codes are used to perform special counter operations When programming with F instructions Use a MOVE instruction to write or read the control code to or from the special data register reserved for this code DT90052 or DT9052 depending on the PLC type The special data register where the high speed counter and pulse output control code are stored can be accessed with the system variable sys wHscOrPulseControlCode When programming with tool instructions Use universal pulse control in structions w
Download Pdf Manuals
Related Search
Related Contents
la synthèse du groupe territorial Nord-Pas-de-Calais (PDF Manual de instruçőes Manual de instrucciones VA310-VA310C NOTA Este manual sirve 取扱説明書(PDF)詳細へ BETRIEBSANLEITUNG FÜR LICHTBOGENSCHWEIßMASCHINE Manual de Usuario ScalaRider Team Set Pro intext:Bedienungsanleitung filetype:pdf Copyright © All rights reserved.
Failed to retrieve file