Home

Panasonic FP0R Series PLCs User`s Manual

image

Contents

1. v 1 bit 2 bits Pain C f Odd C Even Time out sec Parameter for automatic setting W Baud rate Data Length Parity 2 Specify the communication setting as the table below Once the setting has been completed the communication with the USB becomes available Network type C NET RS232C COM port number allocated for the USB Baud rate The baud rate cannot be specified Even if any rate is selected the setting will be invalid USB2 0 FullSpeed Data length Stop bit Party Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Chapter 7 Communication Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 1 Functions and Types 7 1 1 Communication Modes and Communication Ports On the FPOR four different communication modes are available According to the communication mode to be used the usable communication ports vary Communication mode Usable communication port Computer link General purpose serial communication PC PLC link MODBUS RTU COM port 7 1 2 Computer Link Computer link is used for communication with a computer connected to the PLC Instructions command messages are transmitted to the PLC and the PLC re
2. Frequency Acceleration Deceleration Frequency Acceleration Deceleration time in program time in program lime in program time program ee aaa eee SOk z K0 kHz Calculates the section Target speed Calculates the section between between SOkHz and After speed Cakculales the section intial speed and SOkHz as initial as speed change speed table of 30 ste table of 30 steps initial T Calculates the secbon between table of 30 steps initial speed and SOkHz as speed lable of X steps Target speed ___ Before speed Accelerates with each Decelerates with each change Initial step assigned between step assigned between uu E eim Webs Accelerates with each step speed initial speed and target target speed and initial Initia Morini D li iss T seed Ea Actual acceleration time Actual deceleration time Actual acceleration time Actual deceleration time Speed change command Common to Home return operation Type 0 and Type 1 F177 Specify the time from the initial speed to the target speed as acceleration time and the time from the target speed to the creep speed as deceleration time in the program Each section between the initial speed and the target speed and be
3. per common For C16 8 points common For C32 T32 F32 16 points common Off state leakage current On state voltage drop 0 2 V DC or less OFFoON 20 usorless Load current 5 mA or more 0 1 ms or less Load current 0 5 mA or more Response time ON OFF 40 us or less Load current 5 mA or more 0 2 ms or less Load current 0 5 mA or more External power Voltage 21 6V DC to 26 4V DC supply Current C16 30 mA or less C16 35 mA or less and terminals C32 T32 F32 60 mA or less C32 T32 F32 70 mA or less Surge absorber Zener diode Operating mode indicator LED display Limitations on number of simultaneous output on points Keep the number of output points per common which are simultaneously on within the following range as determined by the ambient temperature T32 at 24 V DC Fi Number of AW at 26 4 V DC points per WO common which are simulta 4 neous 5 Ambient Temperature Circuit diagram NPN PNP er mls acd SSS Se a Output indicator LED Output indicator LED d T terminal E terminal J External ar Outupt terminal External Outupt terminal power o power nad supply 115 t Load supply 3 T Load an 24V DC 5 Asl power BRI sre Tav DC RJ spe X TM g S terminal lt amp 24V DC c j T i LO z 4 15
4. Data input from the communication port is ART stored in the receive buffer specified by the system register and the reception done flag goes on If the reception done flag is off data can be received at any time Received data External device Reception done flag on Data table for reception receive buffer This is the state when the above program is executed DT200 The received number of DT200 to DT204 are used as the receive buffer bytes is stored as data is DT201 stored System register settings are as follows DT202 HAA D H43 C Received data is stored in system register 416 K200 DT203 bus from the lower order System register 417 K5 DT204 H48 H HA7 G Receive buffer when reception ts completed Sample program for receiving data 10 byte data received in the receive buffer through the communication port 1 are copied to R9038 t DF gt Reception done detection The internal relay R10 is turned on when i the reception done contact R8038 turns R10 HH ro BKMV Dz201_ DT204 F Retrieving received data The received data the receive buffer is The contents of the four words read from the area in which it is stored 1 from DT201 to DT204 1 DT201 and sent to DTO J R10 H F159 MTRN DT 100 Starting from DT100 to receive the next data L To prepare to receive t
5. Pressure connection tool 3 Key Point When using a MIL connector for flat cables purchase the product number AFP0808 4 pcs 10 pin strain relief with key In this case the suitable wire is AWG 28 and the rated current is 1A Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Wiring method The wire end can be directly crimped without removing the wire s insulation saving labor 1 Bend the welder contact back from the carrier and set it in the pressure connection tool If there is a wiring mistake or the cable is incorrectly pressure connected the contact puller pin provided with the fitting can be used to remove the contact Press the housing against the pressure connection tool so that the contact puller pin comes in contact with this section Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 5 5 Wiring of Terminal Block Attached terminal block Suitable wires A screw down connection type is used for the terminal block The suitable wires are given below dier e n E F do ach 7 eu cm SF E al po un E r Et Ge A 4 a mer JI d UU s lI n Lo mr E fo a bt oe af a d L 94e w Terminal block socket The terminal socket manufactured by Phoenix Contact is used N
6. An operation error is a condition in which operation is impossible when a high level instruction is executed When an operation error occurs the ERROR ALARM LED on the control unit will blink and the operation error flags R9007 and R9008 will turn on The operation error code E45 is set at special data register DT90000 he error address is stored in special data registers DT90017 and DT90018 Types of operation error 1 Address error The memory address number specified by index modification is outside the area which can be used 2 BCD data error Operation is attempted on non BCD data when an instruction handling BCD is executed or BCD conversion is attempted on data which is not within the possible conversion range 3 Parameter error In an instruction requiring the specification of control data the specified data is outside the possible range 4 Over area error The data manipulated by a block instruction exceeds the memory range 11 3 2 Operation Mode When an Operation Error Occurs Normally the operation stops when an operation error occurs When you set system register 26 to continuation the control unit operates even if an operation error OCCUIS Using FPWIN GR 1 Set the mode of the CPU to RPOG 2 Select the Option in PLC Configuration option from the menu bar 3 On the PLC Configuration menu select Action on error This displays system registers 20 to 26 4 Remove the check of
7. 9 pons DC common 2A Molex Output 8 point AFPORE16RM 16 points Transistor 24V D MIL Input 8 points output NPN AFPORE16T FPOR E16 common connector Output 8 points 0 3A pa 16 points Transistor nit 24V DC MIL T Input 8 points Output PNP AFPORETOP Output 8 points 0 3A Transistor 16 points MIL outout NPN AFPORE16YT Output 16 points put connector 0 3A Transistor 16 points MIL output PNP AFPORE16YP Output 16 points put connector 0 3A 32 points Transistor Input 16 points ANDO output NPN liue AFPORE32T FPOR E32 common connector Output 16 points 0 3A Expansion s 32 points 24V DC Transistor MIL Input 16 points te output PNP soneto AFPORE32P Output 16 points 0 3A 1 1 2 Intelligent Units Product Exclusive Pr ification FPO Analog I O unit FPO A D Converter unit FPO Thermocouple unit FPO RTD Resistance temperature detector unit FPO D A Converter unit Product name FPO CC Link Slave unit FPO I O Link Unit C NET Adapter S2 type for FPO side C NET Adapter for computer side FP Web Server2 unit lt Input specifications gt No of channels 2 channels Input range Voltage 0 to 5 V 10 10V Resolution 1 4000 Current 0 to 20 mA Resolution 1 4000 lt Output specifications gt No of channels 1 channel Output range Voltage 10 to 10 V Resolution 1 4000 Current 0 to 20 mA Resolution
8. N LL OQ Pd IK ud ju E P fS vv FN Encoder By Inverter Operation Stop Inverter high speed Y1 9 Operation chart Speed 0 4500 5000 Number of pulse gt Yo 4 Fast Slow allocation R100 Positioning operation running R101 _ Positioning operation start R102 __ Arrival at deceleration point R103 _ Positioning done pulse _ R9110 High speed counter CHO control flag Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net When X5 is turned on YO and Y1 turn on and the conveyor begins moving When the elapsed value DT90300 and DT90301 reaches K4500 Y1 turns off and the conveyor begins decelerating When the elapsed value reaches K5000 YO turns off and the conveyor stops R9110 R103 0 90300 F167 HCIR KO 5000 YO Sets high speed counter CHO R100 F61 K4500 DT90300 R100 R900C R102 R102 Y1 Hor Jeees R R9110 R100 R103 em or R103 Positioning operations running I ee ee ee eee ee ee Positioning operations start J T f Resets elapsed value of high speed counter CHO 20 f Target value match off instruction YO goes
9. Notes for wiring When removing the wire s insulation be careful not to scratch the core wire Do not twist the wires to connect them Do not solder the wires to connect them The solder may break due to vibration After wiring make sure stress is not applied to the wire In the terminal block socket construction if the wire is fastened upon counter clockwise rotation of the screw the connection is faulty Disconnect the wire check the terminal hole and then re connect the wire Clockwise Counter clockwise Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 5 6 Wiring of Molex Connector Type Supplied connector and suitable wires The connector listed below is supplied with the unit Use the suitable wires given below Also use the required pressure connection tools for connecting the wires Supplied connector Molex Japan model No 51067 0900 50217 8100 Suitable wires Twisted wire Size Cross sectiond area Insulation thickness AWG 24 18 0 2mm 0 75mm Dia 1 4 to dia 3 0 Pressure connection tool Manufacturer Molex Japan model No Japan Molex Co Ltd 57189 5000 Wiring method 1 Remove a potion of the wire s insulation SS dmm 4 5 mm 2 Place the contact in the crimping tool place the wire in the contact and lightly squeeze the tool 4 When removing the wire use a flat head screwdriver or
10. Example When executing the rewriting which does not form the following pair of instructions 1 Step ladder instructions SSTP STPE 2 Subroutine instructions SUB RET 3 Interrupt instructions INT IRET 4 JP LBL 5 LOOP LBL 6 MC MCE Also rewriting is not possible during RUN in case of other syntax error 2 During the forced input output operation Interrupt restrictions When using interrupt high speed counter pulse output or PWM output functions do not perform a rewrite during RUN If a rewrite during RUN is executed the operation as below will be performed Exercise caution Interrupt programs will be disabled Enable by executing an ICTL instruction once again Example Using R9034 rewrite during RUN completed flag R9013 ICTL S1 S2 R9034 2 The high speed counter will continue to count Target value match on off instructions F166 F167 will continue Coincidence interrupt programs will be disabled when the F166 F167 instruction is running 3 The pulse output PWM output stops when the rewriting is performed The operation after the completion of the rewriting during RUN varies depending on each instruction sol ert of rewriting during RUN FPO F168 SPD1 Pulse output Trapezoidal control compatibility continues continues FPOR mode control operation continues continues continues 4 The regular sampling trace will not stop Phone 800 894 0412 Fax 888 723 4773
11. STOP signal Tape lead wire Pulse output function Stepping motor Combined with a commercially available motor Servo motor au driver the function enables positioning control With the exclusive instruction you can perform trapezoidal control home return and JOG FPOR Pulse output CW Pulse output CCW Motor driver 1 operation Pulse output CW a og oy e p Pulse output CCW Motor UUL Stepping motor Servo motor PWM output function Q9 When you increase the pulse width By using the exclusive instruction the PWM output Qu function enables a pulse output of the desired duty ratio A Heating increases LD 27 When you decrease it 97 Heating decreases Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 1 2 Performance of Built in High speed Counter Number of Channel e here are six channels for the built in high speed counter e he channel number allocated for the high speed counter will change depending on the function being used Counting range e K 2 147 483 648 to 2 147 483 647 Coded 32 bit binary e The built in high speed counter is a ring counter Consequently if the counted value exceeds the maximum value it returns to the minimum value Similarly if the counted value drops below the minimum value it goes back to the maximum value and continues
12. 2 1n o Controller output settings 2 PLS PWM Inter Pulse catch rupt input settings Pulse catch Interrupt input settings settings Not set Controller input The pressed contact is set for the pulse catch X0 X1 X2 X3 X4 X5 X6 X7 Not set Controller input The pressed contact is set for the interrupt input AQ X1 X2 X3 X4 X5 X5 XT Interrupt edge Leading edge setting for controller input Leading AU AT AZ Ad A4 AB Al edge Trailing edge The pressed contact is up and set to trailing edge Note1 When using the pulse output PWM output the controller output settings must be specified The output that has been set to the pulse output PWM output cannot be used as the normal output Note2 X4 to X7 can be used as the home input of the pulse output CHO to CH3 When using the home return function of the pulse output always set the home input In that case X4 to X cannot be set as the high speed counter Note3 C16 type For performing the home return for the pulse output CHO with deviation counter clear the above Y6 should be set to the normal output to use Y6 for the deviation counter clear signal For performing the home return for the pulse output CH1 with deviation counter clear the above Y7 should be set to the normal output to use Y7 for the deviation counter clear signal The home return cannot be performed for the pulse output CH2 with deviation counter clear
13. 2 Receive area No2 Send area Receive area Receive area No 3 No 3 umm Receive area Send area m FPOR FPOR FPOR RS485 The link relays and link registers of the PLCs contain areas for sending and areas for receiving data These areas are used to share data among the PLCs 7 1 5 MODBUS RTU Function overview The MODBUS RTU protocol enables the communication between the FPOR and other devices including our FP e Programmable display GT series and KT temperature control unit Communication is performed when the master unit sends instructions command messages to slave units and the slave unit returns responses response messages according to the instructions Master function Master Slave Slave Slave FPOR RS485 Modbus RTU Modbus RTU Modbus RTU Slave function Slave function Slave function applicable applicable applicable device device device Slave function Master Modbus RTU Slave Slave Slave Master function applicable device FPOR Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 2 Communicaton Port Type 7 2 1 Tool Port This connector is used to connect a programming tool A commercial mini DIN 5 pin connector is used for the tool port on the control unit Signal name _ Abbreviation Signal direction Signal Ground Send Data Unit External device Receive Data RD Unit External
14. Example 1 gt Using the DF instruction between MC MCE instructions AO e 0 X1 YO I DF 1 dH MCE 0 Time chart 1 A1 YO X1 was on when became off The input condition X1 for the DF instruction has not changed since the time of the previous execution thus derivative output is not obtained Time chart 2 AQ X1 YO X1 was off when 1 became off The input condition X1 for the DF instruction has changed from off to on since the time of the previous execution thus derivative output is obtained Example 2 Using the CT instruction between JP and LBL instructions RO F 1 X0 CT 100 X1 LBL 1 Time chart 1 RO AO Counting operation Final timing at which the J The count is not incremented because the final timing at which the previous JP instruction previous JP instruction was not executed has not been change and was not executed the execution condition X0 for the counter input has not changed Time chart 2 RO XQ Counting operation Final timing at which the The count is not incremented because the count input changed previous JP instruction from off to on after the final timing at which the previous JP was not executed instruction was not executed Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 12 4 Precautions for Programming Programs which are not executed correctly Do no write the f
15. PC PLC link Note The same maximum unit number should be specified for all the PLCs connected in the PC PLC link Link area configuration word word For PC L for 1024 points 1st half For PC LD for 128 words 18 half link 0 link O I 127 128 Aid A L for 1024 points 2nd half Ad LD for 128 words 2nd half In in Y 127 For link rela For link register y Link areas consist of link relays and link registers and are divided into areas for PC PLC link 0 and PC PLC link 1 and used with those units he link relay which can be used in an area for either PC PLC link 0 or PC PLC link 1 is maximum 1024 points 64 words and the link register is maximum 128 words Note The PC link 1 can be used to connect with the second PC link WO of the FP2 Multi Communication Unit MCU At that time the link relay number and link register number for the PC link can be the same values as the FP2 from WL64 from LD128 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Example of allocation The areas for PC PLC link are divided into send areas and receive areas The link relays and link registers are sent from the send area to the receive area of a different PLC Link relays and link registers with the same numbers as those on the transmission side must exist in the receive area on the receiving side For PC PLC link 0 Link relay allocation Unit no 1 Unit
16. PLC System Register setting menu on programming tool software To specify the steps to be taken by the FPWIN GR if a PLC error occurs select PLC System Register setting under Option on the menu bar and click on the Action on Error tab The screen shown below is displayed PLC Configuration Untitlel No 20 Disable settings for duplicated output Controller input settings HSC No 23 Stop when an 1 0 verification error occurs Controller output settings PLS PwM Interrupt pulse catch settings Interrupt edge settings Iv No 26 Stop when an operation error occurs Time constant setting 1 of CPU input Time constant setting 2 of CPU input Cancel i Initialize Help Example1 When allowing duplicated output Turn off the check box for No 20 When operation is resumed it will not be handled as an error Example2 When continuing operation even a calculation error has occurred Turn off the check box for No 26 When operation is resumed it will be continued but will be handled as an error Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 11 2 Troubleshooting 11 2 1 If ERROR ALARM LED is Flashing Condition The self diagnostic error occurs Procedure 1 Check the error contents error code using the programming tool Using FPWIN GR With the FPWIN GR if a PLC error occurs during programming or debugging and the RUN mode is changed
17. Target speed 5kHz Initial speed 1kHz speed BODHS pereo eee E Home return start R20 Time During home retum R20 Home return start pulse R201 Home return complete R202 Near home input X0 i Home input SEEN E Pulse output instruction flag rio fo Data table Data register No DT200 DT202 DT204 DT210 Note Setting item Unit Example of sample program Settable range Home return type 1 Operating direction Reverse Set according to the control code CW CCW on the next page H1001 0010 Acceleration time ms Creep speed Hz K500 K1 to K50000 KO Not output deviation counter Deviation counter clear clear signal signal output time ey none K1 to K200 x 0 5ms 0 5ms 100ms 1 Each setting item occupies 2 word data registers 2 The time from the initial speed to the target speed is specified as acceleration time The time from the target speed to the creep speed is specified as deceleration time For the details refer to 8 4 17 Difference in Acceleration Deceleration Characteristics Between Instructions Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Sample program R20 R9120 R202 R200 DF R200 R200 R201 _ T R201 F1 DMV 10010010 DT200 F1 DMV K 1000 DT202 F1 DMV K5000 07204 1 DMV K300 DT206 F1 DMV K500
18. 2 2 Input and Output Specifications 2 2 1 Input Specifications Input specifications for all types Insulation method Optical coupler Rated input voltage 24 V DC operating voltage range 21 6 V DC to 26 4 V DC Rated input current Approx 2 6 mA For C10 6 points common For C14 C16 8 points common Output points per common For C32 T32 F32 16 points common Either the positive or negative of the input power supply can be connected to common terminal Min on voltage Min on current 19 2 V DC 2 mA Max off voltage Max off current 2 4 V DC 1 2 mA Input impedance 20 us or less OFF ON Note The input time constant can be set using system registers 0 1 ms to 64 ms ON OFF Operating mode indicator LED display Note This specification is applied when the rated input a voltage is 24 V DC and the temperature is 25 C Response time Limitations on number of simultaneous input on points Keep the number of input points per common which are simultaneously on within the following range as determined by the ambient temperature 732 at 24 V DC 16 n Number of Ww 2 at 26 4 V DC points per w common which are simulta 4 neous on Ambient Temperature C Circuit diagram Internal circuit 3 R1 9 1 ko 2 1 2 2 2 Output Specifications Transistor output specifications o NPN Insulation method Output type Rated load voltage Operating load voltage range Max load current
19. 5 MEWNET WO0 PC PLO link settings System registers 40 to 47 50 to 55 and 57 These settings are for using link relays and link registers for MEWNET WO PC PLC link communication Note The default value setting is no PC PLC link communication 6 Input settings System registers 400 to 405 When using the high speed counter function pulse catch function or interrupt function set the operation mode and the input number to be used for the function 7 Tool and COM ports communication settings System registers 410 to 421 Set these registers when the Tool port and COM ports are to be used for computer link general purpose serial communication PC PLC link and modem communication 8 Input time constant settings System registers 430 to 433 Changing the input signal width to be loaded enables to prevent the malfunctions caused by chattering or noises Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Checking and changing the set value of system register If you are going to use a value which is already set the value which appears when read there is no need write it again Using programming tool software Produce 1 Set the control unit in the PROG mode 2 Option gt PLC Configuration 3 When the function for which setting are to be entered is selected in the PLC Configuration dialog box the value and setting status for the selected system register are displayed To cha
20. AFPORC14RM AFPORC14CRS AFPORC14MRS AFPORC14CRM AFPORC16T AFPORC16P AFPORC16CT AFPORC16CP AFPORC16MT AFPORC16MP AFPORC32T AFPORC32P AFPORC32CT AFPORC32CP AFPORC32MT AFPORC32MP 32 points Input 16 points Output 16 points 24V DC 24V DC common 32 points Input 16 points Output 16 points 24V DC common Transistor output NPN 0 2A Transistor output PNP 0 2A Transistor output NPN 0 2A Transistor output PNP 0 2A Transistor output NPN 0 2A Transistor output PNP 0 2A Transistor output NPN 0 2A Transistor output PNP 0 2A RS232C MIL RS232C RS485 RS485 connector MIL connector MIL connector MIL connector AFPORF32MP FPO Expansion Units Specifications i No No of O points Connection Product No type 8 points 24V DC MIL AFPORE8X Input 8 points E connecto Terminal AFPORE8R a 24v 24VDC Relay output block zl por S pone DC common 2A Molex Output 4 points ony AFPORE8RM Seance connector 8 points 24V Relay output Terminal Expansion AFPORE8YRS p Output 8 points EI ux block Bone Transistor MIL output NPN AFPORE8YT Output 8 points put connector BE Transistor MIL output PNP AFPORE8YP Output 8 points pata connector 0 3A 16 points 24V DC MIL AFPORE 16X Terminal 16 point AFPORE16RS io 24V 24V DC Relay output block
21. DT32450 0790400 R31 R9120 R31 DF I R3A R3B oF H R3B R32 F1 324000 DT310 d4 RsD R32 R9120 R32 R3C HDF R3C R3D pF Ji 4 R3D R31 F1 omv 45600 DT310 RSD R3A F172 PLSH DT300 R3C R9010 IL M F1 Dmv Dr90400 DT32450 Control code 10 Fixed m Control assignment 0 JOG m Control assignment 2 0 Type 0 without target value 1 Type 1 with target values 0 Fixed m Output assignment 0 Pulse output 1 Calculation only m Movement direction In case of Type 0 without target value 0 Forward 1 Reverse In case of Type 1 without target values 0 Incremental 1 Absolute m Output type assignment 0 CW CCW 1 PLS SIGN Forward OFF Reverse ON 1 PLS SIGN Forward ON Reverse OFF Precautions during programming For using the pulse output function it is necessary to set the system register No 402 Performing rewriting during RUN stops the pulse output Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 4 8 Home Return Instruction F177 When the trigger execution condition turns on the home return is performed according to a specified data table On the completion of the home return the elapsed value area is reset to 0 Operation modes of Home return operation There are two kinds of operation modes which are type 0 and type 1 Ty
22. DT90402 Target value DT90403 DT90404 Target value area for match DT90405 ON OFF Corrected speed of initial speed Deceleration DT90407 minimum speed DT90408 Acceleration forbidden area starting position DT90406 DT90409 DT90410 Elapsed value DT90411 DT90412 Target value DT90413 DT90414 Target value area for match DT90415 ON OFF Corrected speed of initial speed Deceleration DT90417 minimum speed DT90418 Acceleration forbidden area starting position DT90416 DT90419 Lower words Higher words Lower words Higher words PLS CHO PLS CH1 FPOR A Available N A Not available Read Writ ing ing Available for the transistor A A output type only Note When controlling the pulse output CH by Description F166 HC1S F167 HC1R instructions the target value is stored The target value for match AMEE is stored The minimum speed for the change of speed If the elapsed value corsses over this position when changing the speed acceleration cannot be performed Available for the transistor output type only Note When controlling the pulse output CH by F166 HC1S F167 HC1R instructions the target value is stored The target value for match ON OFF is stored The initial speed of the calculated result is stored The minimum speed for the change of speed If the elapsed value corsses over this position when changing the speed acc
23. 1 lt S2 1 52 LE STD lt Lc S152 _ Begins a logic operation by comparing two 32 bit data in the comparative condition S 1 1 1 lt S2 1 52 or 51 1 S1 S2 1 52 32 bit Connects a Form A normally open contact P 85824 serially by comparing two 32 bit data the data comparative condition S1 1 51 52 1 52 compare iss Connects a Form A normally open contact serially by comparing two 32 bit data in the comparative condition S1 1 51 lt 52 1 52 r S1 1 S1 S241 S2 AND pees Connects a Form A normally open contact AND gt D gt amp 1 i E 7 serially by comparing two 32 bit data in the comparative condition S1 1 S1 gt S2 1 52 Connects a Form A normally open contact AND D lt S1 82 i opus sis 7 F serially by comparing two 32 bit data the comparative condition S1 1 51 lt 52 1 52 comparative condition S1 1 51 lt 52 1 52 compare ORD lt gt Connects a Form A normally open contact in OR or S1 1 51 gt 52 1 52 parallel by comparing two 32 bit data in the ORD Connects a Form A normally open contact in _ 51 32 parallel by comparing two 32 bit data in the comparative condition S1 1 S1 lt S2 1 52 comparative condition S1 1 51 lt 52 1 52 gt Connects a Form A normally open contact D 61 82 serially by comparing
24. 4 Enter in alphanumeric memory loader Ver 2 0 or later Seiting for FP memory loader option 5 lt Allow the download in case of same password Set that PLC cannot be uploaded Confirmation the contents of the password setting Confirm the settings indicated in the dialog box Current status Indicates the current status of the password setting There are following five statuses Password is not set Password is not set 4 digits Protect Four digit password and access is prohibited 4 digits Available to access Four digit password and access is allowed The status that inputting the password completes and that can access programs 8 digits Available to access Eight digit password and access is allowed The status that inputting the password completes and that can access programs Available retry counts This is the number of times that you can input the password in succession up to 3 times Every time incorrect password is input the number will decrease If you fail to input the correct password for 3 times in succession you cannot access the program Turn the power supply of the FPOR off and then on again to try to input the password again IES ae Note If the power supply of the PLC is turned on off with the setting that the access is allowed the setting will be that the PLC is protected again Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation ne
25. Diagnostics LoopbackTest _ x 4 register 07D0 08CF LDO LD255 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 7 2 Setting Communication Parameters Settings for baud rate and communication format The settings for baud rate and communication format of the COM port are entered using a programming tool Setting with FPWIN GR Select Options in the menu bar and then select PLC Configuration Click the COM Port tab Dialog box of PLC system register setting x Hold Non hold Action on Error No 413 Communication Format Time Mo 410 UnitNo 1 Link WO 0 Mo 412 Comm Mode Link WO 1 TEENS Controller input settings HSC Miren IR Controller output settings PLS Modem Enabled Interrupt pulse catch settings Interrupt edge settings Terminator CR Time constant setting of CPU input Mo 415 Baudrate 115200 bps Tool Port No4l6 Starting address for data recerved of serial date communication made No 410 Unit number The unit number can be set within a range of 1 to 99 No 412 Communication mode Click on wi and select MODBUS RTU link No 413 Communication Format setting The default setting of communication format is as below Set the communication format to match the external device connected to the communication port The terminator an
26. FPOR A Available N A Not available LINE NENNEN NN 18 Ing Ing Hour and minute data of the clock calender are stored here This data is read only data It Cloekcalender cannot be overwritten DT90053 monitor hour minute gherbyte Lower byte 1 T32 only E 5 Hour data Minute data HOO to H23 to H59 The year month day hour minute second Clock calender setting 2 4 day of the week data for the DT90054 minute second clock calender is stored The built in T32 only clock calender will operate correctly through T32 only program that uses the FO MV instruction see the year 2099 and supports leap years The Clock calender setting clock calender can be set by writing a value DT90055 day hour using a programming tool software or a example for DT90058 Clock calender setting Higher byte Lower byte DT90056 year month 31 rt d T32 only amar Minute data Second data Day data Hour data DT90055 H01 to H31 HOO to H23 Yeardata Month data DT90056 H00 to H99 H01 to H12 Clock calender setting DT90057 PD DT90057 day of the week HOO to H06 T32 only As a day of the week is not automatially set on FPWIN GR fix what day is set to 00 and set each value for 00 to 06 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FPOR A Available N A Not available ad c RE 0 The clock calender is
27. Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net High speed counter pulse output control flag area of FPOR 15 i2 11 8 7 s 9 0 e The area DT90052 for writing channels and control codes is allocated as shown in the left figure e Control codes written with an FO MV instruction are stored by channel in special data registers DT90370 to DT90375 DT90052 Jl it T Channel specification HO to H5 CHO toCH5 HO Fixed HSC HO Fixed Clear high speed counter instruction 0 Continue 1 Clear Note In the reset input setting the reset input allocated in the high speed counter setting of the system registers are defined to enable disable Note Reset input setting O Available 1 Not available Count 0 Permit 1 Prohibit Software reset No 1 Yes High speed counter control flag monitor area CHO CH1 CH2 CH3 DT90373 CH4 DT90374 CH5 DT90375 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Elapsed value write and read instruction F1 e This instruction writes or reads the elapsed value of the high speed counter e Specify this instruction together with the elapsed value area of high speed counter after the special data register DT90300 e f the F1 DMV instruction is executed specifying DT90300 the elapsed value will be stored as 32 bit data in the combined area of special data registe
28. Mechanical power apparatus Inpub Output devices Control unit Insulated DC power supply Measures regarding power supply sequence The power supply sequence should be set up so that power to the control unit is turned off before the input output power supplies f the input output power supplies are turned off before the power to the control unit the unit will detect the input fluctuations and may begin an unscheduled operation Be sure to supply power to the control unit and an expansion unit from the same power supply and turn the power on and off simultaneously for both Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 5 2 2 Grounding In situations of excess noise Under normal conditions the inherent noise resistance is sufficient However in situations of excess noise ground the instrument to increase noise suppression Exclusive grounding The grounding connection should have a resistance of less than 1000 The point of grounding should be as close to the PLC as possible The ground wire should be as short as possible f two devices share a single ground point it may produce an adverse effect Always use an exclusive ground for each device O CORRECT X INCORRECT Other device FPOR Inverter etc Other device Inverter etc Note Depending on the surroundings in which the equipment is used grounding may c
29. Panasonic PROGRAMMABLE CONTROLLER FPOR Users Manual Safety Precautions Observe the following notices to ensure personal safety or to prevent accidents To ensure that you use this product correctly read this User s Manual thoroughly before use Make sure that you fully understand the product and information on safety This manual uses two safety flags to indicate different levels of danger WARNING If critical situations that could lead to user s death or serious injury is assumed by mishandling of the product Always take precautions to ensure the overall safety of your system so that the whole system remains safe in the event of failure of this product or other external factor Do not use this product in areas with inflammable gas It could lead to an explosion Exposing this product to excessive heat or open flames could cause damage to the lithium battery or other electronic parts Battery may explode if mistreated Do not recharge disassemble or dispose of fire CAUTION If critical situations that could lead to user s injury or only property damage is assumed by mishandling of the product To prevent excessive exothermic heat or smoke generation use this product at the values less than the maximum of the characteristics and performance that are assured in these specifications Do not dismantle or remodel the product It could cause excessive exothermic heat or smoke generation Do not touch the terminal w
30. Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 57 MEWNET F terminal station error MEWNET F update synchro nous error Multi CPU I O regis tration error CPU2 only IC memory card back up battery error IC memory card back up battery error Incompati ble IC memory card error No unit for the configu ration Self diagnostic error set by F148 ERR P148 PERR instruction Opera tion status Conti nues Conti nues Conti nues Conti nues Cont inues Cont inues Conti nues Conti nues Description and steps to take Terminal station setting was not properly performed Check stations at both ends of the communication path and set them in the terminal station using the dip switches Set the INITIALIZE TEST selecto1inmjvbgycfrde892 r to the INITIALIZE position while keeping the mode selector in the RUN position If the same error occurs after this please contact your dealer Abnormality was detected when the multi CPU system was used Please contact your dealer The voltage of the backup battery for the IC memory card lowered The BATT LED does not turn on Charge or replace the backup battery of IC memory card The contents of the IC memory card cannot be guaranteed The voltage of the backup battery for IC memory card lowers The BATT LED does not turn on Charge or replace the
31. R9134 to R913F Available N A Not available Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 15 1 3 Table of Special Data Registers for FPOR FPOR A Available N A Not available Ades Mme Description re ing ing DT90000 Self diagnostic error The self diagnostic error code is stored here N A code when a self diagnostic error occurs When the state of installation of FPO expansion I O unit has changed since the power was turned on the bit corresponding to Extension right side tne unit No will turn on Monitor using binary DT90010 I O verify error unit display 0 to 3 3210 BitNo 3210 Unit No ON 1 Error OFF 0 Normal gt gt gt gt gt gt gt gt gt gt gt 2 gt DT90011 Notused DT90012 Notused DT90013 Notused Z Z Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FPOR A Available N A Not available One shift out hexadecimal digit is stored in bit Operation auxiliary positions to when the data shift instruction DT90014 register for data shift F105 BSR or F106 BSL is executed The instruction value can be read and written by executing FO MV instruction The divided remainder 16 bit is stored in DT90015 DT90015 when the division instruction F32 96 or F52 B instruction is executed The
32. Specify the time from the initial speed to the maximum speed 50 kHz as acceleration time and the time from the maximum speed 50 kHz to the initial speed as deceleration time in the program The actual acceleration deceleration time is relatively shorter than the specified acceleration deceleration time Each section between the initial speed and the maximum speed 50 kHz and between the maximum speed 50 kHz and the initial speed is divided into the speed table of 30 steps to calculate the speed Therefore the acceleration deceleration is not as smooth compared to the JOG positioning control Type 1 especially when the target speed is low To use in a low speed area with a device such as a stepping motor select the type 1 After the execution of the instruction the speed can be changed within the range of the maximum speed 50 kHz F Frequency Acceleration Deceleration requeney acceleration Deceleration time in program time in lmeinprogram _ time in program time in program n i ONE Dae Mire 50kHz 4 i Target speed Calculates the section Calculates the section between j between 50kHz and After spesd q7 2 rua bota initial speed and 50kHz as initial speed as speed change i initial speed as speed speed table of 30 steps h table of 30 steps Calculates the section between table of 30 steps initial speed and SOkHz as
33. To perform the operation only to the negative direction in the absolute mode set the target value to the same as the current value When the deceleration stop is requested by the FO instruction during the pulse output the deceleration stop is performed Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 4 17 Difference in Acceleration Deceleration Characteristics Between Instructions he method to calculate the acceleration deceleration time and the speed table for acceleration deceleration differs according to the type of pulse output instructions Select an appropriate type of instruction according to applications Acceleration deceleration characteristics of each instruction Common to JOG operation Type 0 and Type 1 F172 Specify the time from the initial speed to the maximum speed 50 kHz as acceleration time and the time from the maximum speed 50 kHz to the initial speed as deceleration time in the program The actual acceleration deceleration time is relatively shorter than the specified acceleration deceleration time Each section between the initial speed and the maximum speed 50 kHz and between the maximum speed 50 kHz and the initial speed is divided into the speed table of 30 steps to calculate the speed Therefore the acceleration deceleration is not as smooth compared to other control patterns especially when the target speed is low
34. Unkeetngeror ier by celgaing ne varemnesionaiaton Link setting error l en number designating the station 8i NE ee time out error buffer is congested eee Transmission processing to another device is not possible Link error unit runaway etc Command process cannot be received because of multiple frame Busy error processing Or cannot be received because command being processed is congested 160 Parameter error Content of specified parameter does not exist or cannot be used There was a mistake in the contact data area data number Data error designation size designation range or format designation Registration over Operation was does when number of registrations was exceeded error or when there was no registration PC command that cannot be processed was executed during RUN PC mode error HE Link system error Link system error Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Description 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 ROM or IC memory card board is not installed A program or system register write operation was executed when Protect error the protect mode password
35. Web www ctiautomation net Email info ctiautomation net 6 Click Browse my computer for driver software How do you want to search for driver software Search automatically for updated driver software Windows will search your computer and the Internet for the latest driver software far your device unless you ve disabled this feature in your device installation settings Browse my computer for driver software Locate and install driver software manually 7 Click the Browse button to specify the folder that the USB driver of FPOR has been stored and click Next If the location was not changed when installing FPWIN GR the USB driver of FPOR has been stored in C Program Files Panasonic EW SUNX Contro FPOR USB Browse for driver software on your computer Search for driver software in this location C Program Files x86 Panasonic EW SUNA Contro FPOR USB Include subfolders Let me pick from a list of device drivers on my computer This list will show installed driver software compatible with the device and all driver software in the same category as the device Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 Although the following warning dialog box appears click Install this driver software anyway TX er M 2 windows can t verify the publisher of this driver s gt Don t install this driver software You shou
36. Converts real number data specified by S 1 S to the 16 bit integer data with sign rounding the first decimal point off and the converted data is stored in D DROFF PDROFF Floating point type data to 32 bit integer con version rounding the first decimal point off to integer Floating point type data round ding the first decimal point down Floating point type data round ding the first decimal point off Floating point type data sign changes Floating point type data absolute by S 1 S to the 32 bit integer data with sign rounding the first decimal point off and the converted data is stored in D 1 D FINT PFINT i The decimal part of the real number data specified in 5 1 S is rounded down and the result is stored in D 1 D FRINT PFRINT The decimal part of the real number data stored in S 1 S is rounded off and the result is stored in D 1 D The real number data stored in S 1 S is changed the sign and the result is stored in D 1 Takes the absolute value of real number data specified by S 1 S and the result absolute value is 5 FABS PFABS p stored 0 1 D The data degrees of an angle specified in 5 1 S is converted to radians real number data and the RAD PRAD S result is stored in D 1 D The angle data in radians real number data specified in S 1 S is conve
37. DT90108 Step ladder process 768 to 783 the bit corresponding to the process number Step ladder process turns on DT90109 784 to 799 pr90110 Step ladder process Monitor using binary display 800 to 815 A DT90111 Step ladder process Example 15 1 3 0 Bit No 816 to 831 DT90100 i f DT90112 Step ladder process tess 1 651 t 647 t 643 1 640 Process No 832 to 847 1 During running 0 During stopping DT90113 a aA PARESE A programming tool software can be used to DT90114 Step ladder process wieda 864 to 879 i Step ladder process 880 to 895 Step ladder process 01790116 806 to 911 Step ladder process uibs 912 to 927 Step ladder process 928 to 943 Step ladder process 944 to 959 Step ladder process lisi 960 to 975 Step ladder process DT90121 976 to 991 Step ladder process DT90122 992 to 999 higher byte is not used Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FPOR A Available N A Not available Ing Ing DT90123 DT90124 COM SEND RECV For details refer to Programming Manual instruction end code F145 and F146 DT90125 Notused Forced ON OFF DT90126 operating station Used by the system N A display lt gt N A 2 2 gt gt E gt DT90127 to N A N A DT90139 DT90140 D number of times the receiving operation is performe
38. Email info ctiautomation net Sample program R400 R9120 R402 R400 DF R400 R400 R401 R401 F1 DMV 10000010 DT400 Control code H10000010 F1 DMV K 1000 DT402 Frequency 1 1000Hz F1 DMV K1000 DT404 Target value 1 1000 pulses F1 DMV K 2500 DT 406 Frequency 2 2500Hz F1 DMV K4000 DT408 Target value 2 4000 pulses F1 DMV K5000 DT410 Frequency 3 5000Hz F1 DMV DT412 Target value 3 9000 pulses F DMV 1000 07414 Frequency 4 1000Hz F1DMV K1100 Dr416 Target value 4 11000 pulses F DMV DT418 Pulse output stop Fiz4sPoH DT 100 Pulse output start R9120 R400 R402 or R402 TMX O K3 Control code 10 Fixed m Control assignment 0 Data table control 000 Fixed m Operation mode assignment 0 Incremental 1 Absolute m Output type assignment 0 CW CCW 1 PLS SIGN Forward OFF Reverse ON 2 PLS SIGN Forward ON Reverse OFF Precautions during programming When the deceleration stop is requested by the FO instruction during the pulse output an operation similar to the forced stop is performed and the pulse output stops immediately Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 4 16 Linear Interpolation Control Instruction F175 he linear interpolation controls positioning with two axes according to the spec
39. TRACE Set the sampling rate time Sampling Configurations x t Cancel Sampling Times fi 000 Times 100 1000 Hel Help Sampling Rate Every SMPL instruction fi 00 msec 10 30000 Delay Times fi 00 Times 1 999 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 3 Start monitoring Start with the Fiil button 2 Sampling by instruction 1 Register the bit word device to be monitored by the time chart monitor function of FPWIN GR 2 Specify the sampling configurations Set the mode of the sampling configurations to TRACE Set the sampling rate time to O Mode TRACE v Cancel Sampling Times 1000 Times 100 1000 TE fi 00 M0 2001002 Delay Times 100 Times 1 399 3 Read data by trigger 1 Stop sampling by stopping monitoring the trace that has been started in the above procedure 1 or 2 on the time chart display of FPWIN GR The data will be indicated in the time chart Stop monitoring Stop with the Ei button stop by the Trigger Break in the menu or stop by the F156 instruction FPWIN GR 7 Read Trace data Sure Read Sample Trace Window Reading sample trace data Please wait for a while Reference FPWIN GR Help Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 10 3 Time Constant Processing The inp
40. Web www ctiautomation net Email info ctiautomation net 12 5 3 Procedures and Operation of Rewrite During RUN FPWIN GR FPWIN GR Ladder symbol mode Boolean mode Rewrite procedure Operation of each instruction OT KP High level instructions MC MCE CALL SUB RET INT IRET Maximum of 128 steps Changes are performed by block When PG conversion is executed online the program will be rewritten Box If an instruction written in block a is detected in block b the condition before the rewrite will be held If an instruction written in block a is detected in block b the condition before the rewrite will be held Set values specified by K constants in TM CT instructions are preset in all of the corresponding SV in the program Elapsed values EV do not change If an instruction written in block a is detected in block b the condition before the rewrite will be held When writing MC MEC instructions be sure to write the instructions as a pair A subroutine is a program appearing between SUBn and RET instructions Be sure to write it to an address which follows the ED instruction An interrupt program is a program appearing between INTn and IRET instructions Be sure to write it to an address which follows the ED instruction Rewriting performed by step Caution is required as rewriting takes place simultaneously with the change If an instruction written in block a is
41. When all stations have been added to a 2 unit link the largest station number is 2 relays and registers have been evenly allocated and the scan time for each PLC is 5 ms 0 096 Each Pem 23 32 64 x 4 407 bytes Tpc Ttx x Pcm 0 096 x 407 39 072 ms Each Ts 5 39 072 44 072 0 096 x 13 2 2 1 632 ms 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 776 ms Calculation example 6 When all stations have been added to a 2 unit link the largest station number is 2 32 relays and 2 register words have been evenly allocated and the scan time for each PLC is 1 ms 0 096 Each Pcm 23 1 1 x 4 31 bytes Tpc Ttx x Pem 0 096 x 31 2 976 ms Each Ts 1 2 976 3 976 ms Tit 0 096 x 13 2x2 1 632 ms 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 584 ms Note In the description stations that have been added refers to stations which are connected between station no 1 and the largest station number and for which the power supply has been turned on 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 PC PLC link response time is longer The SYS1 instruction can be used to minimize the transmission cycle time ev
42. __ H 10000010 DT300 F1 DMV 1000 07302 F1 DMV 7 000 DT304 F DMV K2000 DT306 F1 DMV K1000 DT308 F1 DMV KO DT310 it F172 PLSH DT 300 KO Control code H 10 Fixed m Control assignment 0 JOG m Control assignment 2 0 Type 0 without target value 1 Type 1 with target values 0 Fixed m Output assignment 0 Pulse output 1 Calculation only m Movement direction In case of Type 0 without target value 0 Forward 1 Reverse In case of Type 1 without target values 0 Incremental 1 Absolute m Output type assignment 0 CW CCW 1 PLS SIGN Forward OFF Reverse ON 1 PLS SIGN Forward ON Reverse OFF Precautions during programming For using the pulse output function it is necessary to set the system register No 402 e Performing rewriting during RUN stops the pulse output Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Sample program JOG operation Type 1 With target value The explanation below shows the case that pulses are output from YO when using forward rotation and Y1 when using reverse rotation with the following conditions Initial speed 1 kHz Target speed 5kHz Acceleration time 120 ms Deceleration time 120 ms When the elapsed value absolute value reaches K324000 positive direction and K 45600 negative direction the deceleration stop
43. area starting with S for printing and outputs it to the word external output relay WY specified by D F148 Self ld 1 Stores the self diagnostic error number P148 diagnostic PERR n k100 n in DT9000 turns R9000 on and LI error set to K299 turns on the ERROR LED F149 Message EN the character constant of S in ld m the connected programming tool Available Not available Not available partially The instruction is available for FPO T32 V2 3 or later and FP e This instruction is available for FPO V1 20 or later and FP e This instruction is available for FP X V1 20 or later and FPX 32k type This instruction is available for FP X V2 50 or later and FP V3 20 or later s gt 2 3 4 7 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FP2SH FP10SH Boolean Spes Description rand P150 intelligent unit PREAD n D intelligent unit F151 Data write into WRT 51 52 Writes the data into the intelligent dnas E F152 Data read from RMRD 51 92 Reads the data from the slave station remote I O slave station F153 Data write into RMWT 51 S2 Writes the data into the intelligent P153 MEWNET F PRMWT n D unit at the MEWNET F remote x O slave station I O slave station HE ERE P155 PSMPL F156 Sampling STRG When the trigger of this trace stops F157 Time addition CADD 51 52 The time a
44. divided remainder 32 bit is stored in DT90015 and DT90016 when the division instruction F33 D or F53 DB is DT90016 executed The value can be read and written by executing FO MV instruction After commencing operation the address Operation error where the first operation error occurred is Operation auxiliary register for division instruction DT90017 display The address where an operation error Operation error occurred is stored Each time an error occurs address latest type the new address overwrites the previous address The data stored here is increased by one every 2 5 ms HO to HFFFF Difference between the values of the two points absolute value x 2 5 ms Elapsed time between the two points The data stored here is increased by one every 10 67 us HO to HFFFF DT90020 AN ring counter Difference between the values of the two DT90018 DT90019 A A A address hold type stored Monitor the address using decimal A S ring counter A A points absolute value x 10 67 us Elapsed ing A A A N A N A N A N A time between the two points Note The exact value is 10 67 us N A 0790021 Notused J h A2 NA CNA Note1 It is renewed once at the beginning of each one scan Note2 As DT90020 is renewed even if FO MV DT90020 and D instruction is being executed it can be used to measure the block time Phone 800 894 0412 Fax 888 723 4773 Web www ctiaut
45. in system register no received bytes 417 is stored here The number of words is Received data specified in system regis storage area ter no 418 I L j Starting address for data received C10 C14 C16 DTO to DT1659 C32 DTO to DT6143 T32 DTO to DT16383 Default Tool port 074096 COM RS232C port DTO Buffer capacity setting for data received C10 C14 C16 0 to 1660 words Default 1660 words C32 0 to 6144 words Default 6144 words T32 0 to 16384 words Default 16384 words Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 6 PC PLC link Function 7 6 1 Overview A system can be configured for the PC PLC link MEWNET W O with the FPOR Exclusive internal relays link relays L and data registers link registers LD are shared between the connected PLCs Turning on a link relay contact in one PLC turns on the same link relay in all other PLCs on the same network Likewise if the contents of a link register in one PLC are changed the values of the same link register are changed in all PLCs on the same network he status of the link relays and link registers in any one PLC is fed back to all of the other PLCs connected to the network so control of data that needs to be consistent throughout the network such as target production values and type codes can easily be implemented to coordinate the data and the
46. link 0 R9060 to R906F correspond to unit no 1 to 16 For PC PLC link 1 R9080 to R908F correspond to unit no 1 to 16 If the transmission data from a different unit is being used with the various PLCs check to make sure the transmission assurance relay for the target unit is on before using the data Exclusive internal relays link relays L and data registers link registers LD are shared between the connected PLCs Um 16 16 14 13 12 201 Conditions ON When the PC PLC link is normal for on off OFF If transmission is stopped a problem has occurred or a PC PLC link is not being used Operation mode relays For PC PLC link 0 R9070 to R907F correspond to unit no 1 to 16 For PC PLC link 1 R9090 to R909F correspond to unit no 1 to 16 The operation modes RUN PROG can be checked for any given PLC Uim 76 15 14 s z n 1 4 L5 T217 Conditions ON When the unit is in the RUN mode for on off OFF When the unit is in the PROG mode PLC link transmission error relay R9050 This relay goes on if a problem is detected during transmission 16 15 14 13 12 1 10 9 j 8 7 6 5 4 3 2 J 1 Conditions ON When a transmission error has occurred in the PC PLC link or when there is an error for on off in the setting for the PC PLC link area OFF When there is no transmission error 3 Key Point Monitoring
47. only writing and deletion of a single instruction is possible for a program with a step ladder area Write in the order JP LBL or LOOP LBL Delete in the order LBL JP or LBL LOOP Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 12 6 Processing During Forced Input and Output 12 6 1 Processing When Forced Input Output is Initiated During RUN Forced set reset processing External input X External output Y mmm Input output update Ferd ote 1 Processing of external input X Regardless of the state of the input from the input device forced on off operation will take precedence at a contact specified for forced input output in the above procedure B At this time the input LED will not blink however the area of input X in the operation memory will be rewritten As for contacts not specified the on off state will be read according to the input status from the input device 2 Processing of external output Y Regardless of the state of the result of operation forced on off will take precedence at a contact specified for forced input output in the above procedure A At this time the area of output Y in the operation memory will be forcibly rewritten External output will take place according to the input output update timing in the above diagram he on off state of contacts not specified will be determined by the operation
48. speed table of 30 steps Decelerales with each step Target Ta rgetspeed ___ speed i Before speed f M esa each section and Accelerates with each Decelerates with each change m Accelerates with each step assigned in each sechon and with the same slope ET Target value step assigned between step raa don initial speed and target target speed and initial speed speed speed Target value Time Actual acceleration time Actual deceleration time Actual acceleration time Actual deceleration time Position contro start input l L Speed change command L_ Position control start input n Initial speed Time JOG positioning control Type 1 F171 Specify the time from the initial speed to the target speed 1 as acceleration time the time from the target speed 1 to the target speed 2 as the changeover time and the time from the target speed 2 to the initial speed as deceleration time in the program Each section between the initial speed and the target speed 1 between the target speed 1 and the target speed 2 and between the target speed 2 and the initial speed is divided into the speed table of 30 steps to calculate the speed Therefore the acceleration deceleration is smoother compared to the JOG positioning control Type O he speed cannot be changed after the execution of the instruction Changeove
49. terminal Relay output specifications C10 C14 Output type 1a output Rated control capacity 2 250 V AC 2 30 V DC 4 5 A or less common C10 2 points common 1 point common 1 point common C14 4 1 point common 1 point common Response OFF gt ON Approx 10 ms Output points per common time ON OFF Approx 8 ms Mechanical Min 20 000 000 operations Switching rate 180 times min Lifetime Electrical Min 100 000 operations Switching rate 20 times min at rated control capacity Surge absorber Operating mode indicator Note Resistance load Circuit diagram 2 o w e E E 2 3 Terminal layout diagrams Mode Terminal layout diagrams C10RS C10CRS C10RM C10CRM TUE 14 5 C14CRS C14RM C14CRM rtis Oni The above illustration is the terminal block type Terminal layout diagrams C16T C16CT Front view of connector Note Two COM terminals of the input circuit are connected internally Front view of connector Note Two COM terminals of the input circuit are connected internally Terminal layout diagrams X0 7 xO X11 2 X4 COM COM Output Aa H cE Front view of connector MB Note Four COM terminals of the input circuit are connected internally Two terminals of the output circuit are connected internally Two terminals of
50. the comparative condition S1 gt S2 Connects a Form A normally open contact in parallel by comparing two 16 bit data in the comparative condition S1 gt S2 or S1 S2 Connects a Form A normally open contact in 81 82 4 parallel by comparing two 16 bit data in the comparative condition S1 lt S2 Connects a Form A normally open contact in Lp 81 82 parallel by comparing two 16 bit data in the comparative condition S1 lt S2 or S1 S2 Q Available X Not available A Not available partially data compare Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net o 32 bit iudi ES Begins a logic operation by comparing two 32 bit data in the comparative condition S 1 1 cata pr el a 52 1 2 compare Begins logic operation by comparing two 32 Start XM bit data in the comparative condition S1 1 51 lt 52 1 52 or S141 51 gt 52 1 52 STD D s s Begins a logic operation by comparing two 32 B dia L bit data in the comparative condition S1 1 51 gt 52 1 52 STD gt 81 82 Begins a logic operation by comparing two 32 bit data in the comparative condition S1 1 1 gt S2 1 52 or S141 51 52 1 S2 STD 51 52 _ Begins a logic operation by comparing two 32 L_ bit data in the comparative condition S 1 1
51. 1 4000 lt Input specifications gt No of channels 8 channels Input range Voltage 0 to 5 V 10 to 10V 100 to 100 mV Resolution 1 4000 Current 0 to 20 mA Resolution 1 4000 Pt100 Pt1000 Ni1000 Resolution 0 1 C 0 01 C Switch type lt Output specifications gt No of channels 4 channels Output range Voltage output type 10 to 10 V Resolution 1 4000 Current output type 4 to 20 mA Resolution 1 4000 1 1 3 Link Units Specifications This unit is for making the FPO function as a slave unit of the CC Link Only one unit can be connected to the furthest right edge of the FPO expansion bus Note Accuracy will change if an FPO thermocouple unit is used at the same time This is a link unit designed to make the FPO function as a slave unit to MEWNET F remote I O system This is an RS485 adapter designed to allow use of the computer link function for connecting to a host AFP15402 computer via C NET It comes with a 30 cm FPO tool port cable A power supply is not required ARCTIF96 This is an RS485 adapter designed to allow use of 100 to AFP8536 the computer link function for connecting to a 240V AC E ia C f host network connected PLC via C NET from a hos 24V DC M AFP8532 computer Connected with FP series PLCs it conducts Ethernet Power supply voltage 24V DC 24V DC communication sends e mail and displays the PLC data on HTML pages 21 AFP0480 ARCT1F39
52. 115 2 kbps For baud rate 19 2 kbps 99 Number of units stations 40 0 700 1200 Transmission distance m Note3 The settings of the baud rate switches on the side of the unit and the system register No 415 should be the same Only 19200 bps can be specified when the C NET adapter is connected with the RS485 interface Note4 The start code and end code can be used only in the general purpose serial communication mode Note5 Unit numbers should be registered by the system register Factory default settings Port type Data length Party _ Stopbi Tool port 9600 bit s 8bis 1bt COM port RS485 115200 bit s 8bis Odd tite Note If the potential difference between the power supplies of RS485 devices exceeds 4 V the unit may not communicate as it is the non isolated type The large potential difference leads to the damage to the devices Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 4 Computer Link 7 4 1 Overview Computer link is used for communication with a computer connected to the PLC Instructions command messages are transmitted to the PLC and the PLC responds sends response messages based on the instructions received A proprietary MEWNET protocol called MEWTOCOL COM is used to exchange data between the computer and the PLC he PLC answers automatically to the commands received from the co
53. 115 2 kbps Ltm 13 2x n n number of stations being added 2 Tso master station scan time This should be confirmed using the programming tool 4 Tik link addition processing time If no stations are being added 0 Tic link addition command sending time Twt addition waiting time Tls sending time for command to stop transmission if link error occurs Tso master station scan time Tlc 10 x Ttx sending time per byte Ttx 1 baud rate x 1000 x 11 ms Approx 0 096 ms at 115 2 kbps Twt 7 Initial value 400 ms can be changed using SYS1 system register instruction Tis 7 x Ttx sending time per byte Ttx 1 baud rate x 1000 x 11 ms Approx 0 096 ms at 115 2 kbps Tso Master station scan time Calculation example 1 When all stations have been added to a 16 unit link the largest station number is 16 relays and registers have been evenly allocated and the scan time for each PLCs is 1 ms Ttx 0 096 Each Pem 23 4 8 4 71 bytes Tpc Ttx x Pem 0 096 x 71 6 82 ms Each Ts 1 6 82 7 82ms_ Tit 0 096 x 13 2 x 16 4 32 ms 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 44 ms Calculation example 2 When all stations have been added to a 16 unit link the largest station number is 16 relays and registers have been evenly allocated and the scan time for each PLC is 5 ms Ttx
54. 16 bit units one word DT12314 DT32764 This is a shared data memory which is used Link register Note2 1 256 words LDO to LD255 within the PLC link Data is handled in 16 bit units one word Timer Gounterset value Data memory for storing a target value of a timer Note2 1024 words SVO to SV1023 and setting value of a counter Stores by area SV timer counter number Data memory for storing the elapsed value mer cones 1024 words EVO to EV1023 during operation of a timer counter Stores by value area EV timer counter number Special data register 440 words Data memory for storing specific data Various DT DT90000 to DT90439 settings and error codes are stored Index register 1 14 words 10 to ID Register can be used as an address of memory area and constants modifier Timer gt AS tc gt A E Master control rela points MCR y 256 points Number of labels refi Number of step ladders Number of subroutines C10 11 programs 6 external input points 1 periodical interrupt point 4 pulse match Number of interrupt points programs Other than C10 13 programs 8 external input points 1 periodical interrupt point 4 pulse match points Decimal constants K 32 768 to K32 767 for 16 bit operation Integer type K K 2 147 483 648 to K2 147 483 647 for 32 bit operation ion 1 Instruction point Hexadecimal constants HO to HFFFF
55. 3 Input indicator LED 4 Output connector 5 Output indicator LEDs 6 Expansion hook This hook is used to secure expansion units 7 Expansion connector This connector is used to connect an expansion unit and internal circuit 8 DIN hook This hook enables the unit to attach to a rail at a touch It is also used to install the unit on the slim type mounting plate AFP0803 3 3 Input and Output Specifications 1 Input specifications Mem Specifications Input point per common Either the positive or negative of the input power supply can be connected to common 4 points common terminal Note The above table shows the specifications of FPOR Expansion Unit For FPO Expansion Unit the rated input voltage is approx 4 3 mA and the input impedance is approx 5 6 Limitations on number of simultaneous input on points Keep the number of input points per common which are simultaneously on within the following range as determined by the ambient temperature E32 t24 V DC 16 ar i K a 26 4 V DC Number 13 7 7 7 7 7 77 7 77 th points DI qu Esca EN common which are simulta neous on 43 406 55 Ambient Temperature Internal circuit diagram R1 5 1 2 9100 2 Output specifications Relay type output specifications E8RS E8RM E8YRS E16RS E16RM Mem Bescrpio 2 A 250 V AC 2A 30 V DC Max 4 5
56. 4 0 bit15 12 11 a7 4 0 0190527 T pies LET EET EETET T DT90052 A EE i E ur Forch3 Forch2 Forch1 For ch ch specification area Control code Control codes for each ch The addresses of the following special data registers are changed Elapsed value of high speed counter CHO to CH3 FPOR FPO DT90300 DT90301 DT9044 DT90044 DT9045 DT 90045 DT90304 DT90305 DT9048 DT90048 DT9049 DT90049 DT90308 DT90309 DT9104 DT90104 DT9105 DT90105 DT90312 DT90313 DT9108 DT90108 DT9109 DT90109 Target value of high speed counter CHO to CH3 FPOR DT9046 DT90046 DT9047 DT90047 DT90302 DT90303 DT9050 DT90050 DT9051 DT90051 DT90306 DT90307 DT9106 DT90106 DT9107 DT90107 DT90310 DT9021 1 DT9110 DT90110 DT9111 DT90111 DT90314 DT90315 Note The numbers in parentheses are for FPO T32 When using the FPOR in the same specifications as FPO The FPOR supports an operation mode FPO compatibility mode Using this mode enables to use the programs of the FPO as they are In the FPO compatibility mode the programs except some programs can operate with the same specifications as the FPO Note The FPO compatibility mode is not available for the F32 type The speed of arithmetic processing in the FPO compatibility mode is the same as the FPOR so the timing for processing the program may differ from the original timing for the FPO program If you want to execute
57. 5 to 9 Hz Single amplitude of 3 5 mm 1 sweep min Vibration resistance 9 to 150 Hz Constant acceleration of 9 3 m s 1 sweep min 10 min on 3 axes Towards X Y amp Z directions Shock resistance 147 m s 4 times on axes Towards X Y amp Z directions Noise 1000 V P P with pulse width 50 ns 1us using a noise simulator y Power supply terminal Operating condition Must be free from corrosive gases and excessive dust Overvoltage category Category Il Pollution level Pollution level 2 Weight C10 100 g C14 105 g C16 85 g C32 115g T32 115 g F32 120g Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Unit s current consumption table Control unit current This is the current consumed from the control unit power supply connector If expansion units or intelligent units are added the current is increased by the value indicated below Expansion unit current otion This is the current consumed from the expansion unit power supply connector If a unit is not listed below it means that it has no power supply connector Input circuit current This is the current consumed by the input circuits of the various units This value indicates the current that flows into the input circuit Output circuit current consumption This is the current consumed by the output circuits of the various units This value indicates the cur
58. A or less common Output points per common Lifetime Surge absorber None Operating mode indicator LED display Note Resistance load Internal circuit diagram Internal circuit Transistor type output specifications NPN output type EBYT E16YT E16T E32T PNP output type E8YP E16YP E16P E32P NN PNP Output points per common External power ly for drivi ior d Current 3 mA 1 point internal circuit ON OFF Note The above table shows the specifications of FPOR expansion unit For FPO Expansion Unit the maximum load current is 0 1 A Limitations on number of simultaneous input on points Keep the number of input points per common which are simultaneously on within the following range as determined by the ambient temperature E32 x VDC 16 at 26 4 V DC Number of43 7 7 7 7 7 7 7 7 7 7 he pointe PON 14 Lecce eo c common which are simulta neous on 43 406 55 Ambient Temperature Internal circuit diagram NPN tH 732 LED AA 58 n x 24VDC als fier m 9 57 24 VDC ke 7 7T f Tm EA 24V DC 8 28 H 88 s 4 3 4 Terminal layout diagram Model No Terminal layout diagrams E8R
59. D 0 1 D 1 D 1 D 0 1 D 15 D 1 D S141 S1 S241 S2 gt D 1 D 32 bit data multiplication E a D result in 32 bits Available X Not available A Not available partially Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FP2SH FP10SH Boo v pl Q i n BCD arithmetic instructions mo jamas pos os of ofofololo P40 data addition PB un e oomen soene 7 P41 data addition PDB Fa Sauce puse data addition PB ras pose oo o eene m ol ofofololo data addition PDB as umma 8 subtraction 8 digit BCD data DB 0 1 D S 1 S gt D 1 D me pos 00 f ol ofofololo rar stet p ft Jele ele s o subtraction ms pos ol ofofolola subtraction PDB Fe ee eee eme multiplication bby ebbe multiplication PDB on D S1 S2 D S2 gt quotient D division PB adn DT9015 8 digit BCD data DB 51 S2 D S1 1 1 S2 1 S2 5quotient division PDB D 1 D DEED DT9016 DT9015 remet post EE increment 1 8 digit BCD data DB 1 0 1 D 1 D 1 D MEN decrement id 1 8 digit BCD data 0 1 0 1 0 1 D decrement PDB 1 Data compare instructions F60 16 bit data CMP S1 S2 R900A on compare R900B on 32 bit data S1 S2
60. DT208 1 DMV K2000 07210 F1 DMV DT212 F177 HOME DT 200 XO HDF Fo Mv DT 90052 Fo MV H 100 DT 90052 R9120 R200 T10 R202 HDF A R202 TMX 10 K 3 Control code 10 Fixed m Control assignment 0 JOG m Control assignment type Home return type 0 1 Home return type 1 00 Fixed m Operation mode assignment 0 Forward 1 Reverse m Output type assignment 0 CW CCW 1 PLS SIGN Forward OFF Reverse ON 2 PLS SIGN Forward ON Reverse OFF Precautions during programming For using the pulse output function it is necessary to set the system register No 402 When the deceleration stop is requested by the FO instruction during the pulse output the deceleration stop is performed Even when the home input is on the pulse output starts by the execution of this instruction When the near home input turns on during acceleration the deceleration operation starts Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 4 9 Trapezoidal Control Instruction F171 his instruction automatically performs trapezoidal control according to the specified data table while the trigger execution condition is on Control method of Trapezoidal control instruction F171 Type 0 and Type 1 There are two kinds of operation modes which are type 0 and type 1 Type 0 For type O the time from th
61. F167 instruction the specified output when the elapsed value of the high speed counter reaches the target value The output is used by presetting with an instruction such as the SET RET instruction Cam control Turns on or off a maximum of 31 points of internal relays according to the elapsed value of the high speed counter and the predetermined table Input pulse F178 Measures the pulse number and cycle of the high speed counter measurement Setting the system register In order to use the high speed counter function it is necessary to set system register numbers nos 400 and 401 8 3 2 Input Modes and Count Incremental input mode ON xo FUFLELELEL FOUL X1 X3 X4 X6 X7 Count 4 ZI sl Two phase input mode Increment input CW o LILIL LI Los X3 X6 Hn m OFF X4 X7 Count 0 1 2 sees Decrement input CCW ON o J LJ LJ L L1 os X3 X6 a FLA LA ILL LE Lor OFF X4 X7 M Decremental input mode ON PLELFLELEL FOUL LE X1 X3 X4 X6 X7 Count e o2 7 3 3 2 1 0 Incremental decremental input mode ON ee X3 X6 ON TUUL fl or X4 7 Increasing Decreasing Increasing Decreasing p Direction discrimination ON xo X3 X6 MEE ON ___ Lo OFF X X
62. I O error Sele Verification is possible in FPWIN GR Pro at ctable yo error in the status display function MEWNET TR communication error FP3 and FP10SH Check the contents of special data registers FP3 DT9002 DT9003 FP10SH DT9 0002 DT90003 and the erroneous master unit and abnormal I O unit Then check the unit Selection of operation status using system register21 to continue operation set 1 to stop operation set 0 Verification is possible in FPWIN GR Pro at I O error in the status display function A Available Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net tion Description and steps to take status An abnormality in an intelligent unit FP FP X Check the contents of special data register DT90006 and locate the abnormal FP intelligent unit application cassette for FP X FP2 FP2SH and FP10SH Check the contents of special data registers DT90006 DT9000 7 and locate the abnormal intelligent unit Then check the unit referring to its manual Selection of operation status using system register22 to continue operation set 1 to stop operation set 0 FPES Check the contents of special data registers DT9006 DT9007 and locate the abnormal intelligent unit Then check the unit referring to its manual Selection of operation status using system register22 to continue operation set 1 to stop operation set 0 Verification is
63. LF None ETX Stop bit 1 bit 2 bits Computer link master slave Modem initialization Communication mode General purpose communication MODBUS RTU master slave PC PLC link Factory default settings Baud rate Datalength Parity Stopbit Tool port 9600bils 8bis Odd tit port RS232C port 9600bi s 8bis Odd 1 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net COM port RS485 lem 1 S RS485 Transmission distance Shielded twisted pair cable or VCTF n code serial communication Communicati on format to besetby Stop bit bit 2bt 4 system register Note2 5 Max 99 units pe connecter Max 32 units when our C ENT adapter is connected Computer link master slave Modem initialization Communication function General purpose serial communication Modbus RTU Master Slave PC PLC link Note1 When connecting a commercially available device that has an RS485 interface please confirm operation using the actual device In some cases the number of units transmission distance and baud rate vary depending on the connected device Note2 The values for the transmission distance baud rate and number of units should be within the values noted in the graph below For baud rate
64. Note4 C32 T32 F32 type When performing theo home return with deviation counter clear the deviation counter clear signals corresponding to each CH are used fixedly as follows CHO Y8 CH1 Y9 CH2 YA CH3 YB For performing the home return for each type it is necessary to specify the home input corresponding to each channel to be used for the home return in the system register 401 Home input corresponding to each channel CHO 4 CH1 X5 CH2 X6 CH3 X7 For performing the JOG positioning for each type it is necessary to specify the position control starting input signal corresponding to each channel to be used for the JOG positioning Note3 The settings for pulse catch and interrupt input can only be specified in system registers 403 to 405 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Default WE omm 1 1t099 S ee eri puter link link General purpose communications 2 Selection of modem Disabled FEnablediDisabie Enter the settings for the various items Data lenght bit 7 bits 8 bits Parity check none with odd with even Stop bit 1 bit 2 bits The following setting is valid only when the communication mode specified by system register 412 has been set to General purpose serial communication Terminator CR CR LF None ETX Header STX not exist STX exist Commun
65. Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net WR908 FPOR Relay No Lr Turns on when Unit No 1 is communicating properly in PC PLC R9080 link 1 mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link 1 d Turns on when Unit No 2 is communicating properly in PC PLC R9081 link 1 mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link 1 mode Turns on when Unit No 3 is communicating properly in PC PLC R9082 link 1 mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link 1 mode R9083 Turns on when Unit No 4 is communicating properly in PC PLC R9083 link 1 mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link 1 mode ru Turns on when Unit No 5 is communicating properly in PC PLC R9084 link 1 mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link 1 mode Turns on when Unit No 6 is communicating properly in R9085 link 1 mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link 1 d Turns on when Unit No 7 is communicating properly in PC PLC R9086 link 1 mode Turns off when operation is stopped when an error MEWNET i occurs or when not in the PC PLC link 1 mode WO Turns on when Unit No 8 is communicating properly in PC PLC
66. R9009 data bits specified by D 1 D to the right together with carry flag R9009 data 32 bit data left DRCL D n Rotates the number of bits specified rotate with carry PDRCL by n of the double words data 32 flag R9009 data bits specified by D 1 D to the left together with carry flag R9009 data Bit manip pulation instructions Sets the value of bit position n of PBTS the data of D to 1 Sets the value of bit position n of reset PBTR the data of to 0 PBTI the data of D ea d dum 16 bit data bit test BIT D n Tests the value of bit position n of ae to R900B bits in 16 bit data PBCU data of S in D d b le bits in 32 bit data PDBCU data of 5 1 S in D E Sd d b Available Not available A Not available partially F125 P125 F128 P128 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FP2SH FP10SH Poo Description Basic function instruction 0000000000000 function Basic function instruction 0000000000000 F137 Auxiliary STMR Turns on the specified output and timer 16 bit R900D after 0 01 s x set value Special instructions Special instructions F138 Hours min Converts the hour minute and second P138 utes and sec data of S 1 S to seconds data and FPO FP e FPX onds to the conv
67. S3 or S2 1 52 0 05 D 1 D Floating point 51 S2 When 53 1 S3 lt 0 0 type data S3 D S341 53 51 1 S1 gt D 1 D zone control When S371 S3 0 0 0 0 0 1 D When 53 1 S3 gt 0 0 S3 1 53 52 1 52 2 D 1 D Floating point FMAX 51 S2 Searches the maximum value in the type data PFMAX D real number data table between the maxi mum area selected with S1 and S2 value and stores it in the D 1 D The address relative to 5 1 is stored in D 2 Floating point 51 S2 Searches the minimum value in the D real number data table between the area selected with S1 and S2 and stores it in the 0 1 D The address relative to 5 1 is stored in D 2 type data 51 S2 The total value and the mean value D of the real number data from the area selected with 51 to 52 are obtained The total value is stored in the D 1 D and the mean value is stored in the 0 3 0 2 N N N type data total and mean values Floating point mini mum value Floating point FSORT 51 52 The real number data from the area type data sort PFSORT S3 specified by 51 to S2 are stored in ascending order the smallest word is first or descending order the largest word is first Scaling of FSCAL 51 S2 Scaling linearization on a real real number PFSCAL D number data table is performed and data the output Y to an input value X is cal
68. T32 2 DTO to DT32764 Default setting Tool port DT4096 COM port DTO No 417 Receive buffer capacity 0 to 2048 words Default setting 2048 words No 421 Note1 The baud rates of 300 600 and 1200 bps can be specified by the SYS1 instruction However the setting value of the system register cannot be changed For using the RS485 type make the same setting as that of the baud rate switches 19200 or 115200 bps Note2 No 416 and 417 is the COM port No 420 and 421 is the tool port Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 5 9 1 N Communication General purpose Serial Communication The FPOR and the external units are connected using an RS485 cable Using the protocol that matches the external units the F159 MTRN instruction is used to send and receive data Data transmission using F159 MTRN Commercial converter Data is received into receive buffer Data is sent and received il through the data registers System register settings No Name SetValue No 412 Selection of communication mode General purpose serial communication Communication format Char bit bits 8 bits Parity None Odd Even Stop bit 1 bit 2 bits Terminator CR CR LF None ETX Header STX not exist Starting address for receive buffer C10 14 16 DTO to DT12314 oe C32 T32 F32 DTO to DT32764 Default s
69. T32 C1008 to 1023 C Contact EV C1008 to 1023 C Contact EV Backup Elapsed value Elapsed value area R2480 to 255F R2480 to 255F DT12000 to 12314 DT32450 to 32764 5 All the areas of timer counter internal relays link relays link registers and data registers can be held Non hold areas and hold areas can be specified by the setting of system register 6 Notes about built in backup battery T32 only Secondary battery is used for this product It has not been charged when it is shipped from the factory Energize and charge it before you use it The secondary battery does not have a function to notify the battery voltage reduction However if the battery is out of charge and the hold area becomes indefinite the values in the hold areas will be cleared to O when the power is turned on next time We recommend to add a program for clearing the data to O when the values in hold areas become indefinite Relation between charging time and backup time 100 80 days at 25 C 40 days at 25 C 30 days at 25 Backup time Battery capacity recovery rate J 10 days at 25 C D 8 16 24 45 T2 Charging time h Backup time When ambient temperature is 70 C 14 days When ambient temperature is 25 50 days When ambient temperature is 20 25 days Predicted backup life When ambient temperature is 55 430 days When ambient temperature is 45 1200 days When ambient te
70. Transistor output type I O Loose wiring cable 10 leads AW G22 with connector AFP0521 2 cable set cable attached at one 0 1 set 2 cables blue white AFP0523 2 cable set Terminal socket AFP0802 2 cable set Molex socket AFP0801 2 cable set Wire press socket 2 cable set FPO Power supply cable AFP0581 1 pack FPOR FP Power supply RR Attaches to FPOR control unit Maintenance parts Length 1m AFPG805 1 pack 1 2 Restrictions on Unit Combination g Bl 18 Maximum possible expansion is with a total of three untis Contorol unit Expansion Expansion Expansion unit 1 unit 2 unit 3 Up to three expansion units can be added on the right of the FPOR these expansion units being either expansion units or intelligent units A combination of relay output and transistor output types is also possible Controllable I O points control unit using control unit is the same output type is a transistor output typ 14 points Max 62 points Max 110 points 16 points Max 112 points Max 112 points 2 C3 32 points Max 128 points Max 128 points 2 Note Install the FPO thermocouple unit on the right side of all other expansion units If itis installed on the left side the total precision will deteriorate Install the FPO CC Link slave unit on the right side of all other expansion units There is no expansion connector on the right side Install the FPO RTD unit on t
71. accordance with the contents of the data table that starts with S Pulse strings are output from the specified output in accordance with the contents of the data table that starts with S PWM output is output from the specified output in accordance with the contents of the data table that starts with S Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FP2SH FP10SH e i F174 Pulse output Outputs the pulses from the Selectable data specified channel according to table control peration the data table specified by S Pulses are output from channel in accordance with the designated data table so that the path to the target position forms an arc Performs the home return F176 Pulse output SPCH Circular interpolation according to the specified data F177 Pulse output Home return table F178 Input pulse PLS M S1 S2 D Measures the number of pulses measurement and cycle of pulses to be input No of pulses to the high speed counter of the cycle for input specified channel pulses F175 Pulse output S n Pulses are output from channel Linear in accordance with the interpolation designated data table so that the path to the target position forms a straight line Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FP2SH FP10SH zie d Description lean pera High speed
72. adjusted as follows When setting the clock calender by program By setting the highest bit of DT90058 to 1 the time becomes that written to DT90054 to DT9005 by F0 MV instruction After the time is set 0790058 is cleared to 0 Cannot be performed with any instruction other than FO MV instruction Example Set the time to 12 00 00 on the 5th day when the XO turns on X0 bF iFoMv H DT90054 1 5 9 minutes Inputs 12th FO Mv 512 0 90055 Inputs 1an FO MV H8000 0790058 Sets the time Note If the values of DT90054 to DT90057 Clock calender setting are changed with the programming tool and 30 seconds software the time will be set when the new DT90058 correction register values are written Therefore it is T32 only unnecessary to write to DT90058 When the correcting times less than 30 seconds By setting the lowest bit of DT90058 to 1 the value will be moved up or down and become exactly 0 seconds After the correction is completed 0790058 is cleared to 0 Example Correct to 0 seconds with on L pr Fo mv H 1 DT90058 Correct to At the time of coorection if between and 29 seconds it will be moved down and if between 30 and 59 seconds it will be moved up In the example above if the time was 5 minutes 29 seconds it will become 5 minutes 0 seconds and if the time was 5 minutes 35 seconds it will become 6 minutes 0 seconds Communication error Error code is sotr
73. axis movement DT520 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Sample program R50 R9120 R9121 R504 R500 DF R500 R500 R501 es El R501 HoF Dmv H10000000 DT500 F1 DMV K500 07502 F1 DMV K5000 DT504 F1 DMV K300 DT506 F1 DMV K300 07508 Ft K5000 F1 DMV 2000 075612 F175SPSH DT 100 R9120 R500 504 R502 Hor R502 R9121 R500 R504 R503 Hor R503 R502 R503 TO R504 R504 pm 0 K 3 Control code H 10 Fixed m Control assignment 0 Interpolation m Type 0 Linear interpolation 0 Fixed m Output assignment 0 Pulse output 1 Calculation only m Operation mode assignment 0 Increment 1 Absolute m Output type assignment 0 CW CCW 1 PLS SIGN Forward OFF Reverse ON 2 PLS SIGN Forward ON Reverse OFF Precautions during programming For using the pulse output function it is necessary to set the system register No 402 Specify the composite speed to make the component speed of each axis be 6 Hz or more Set the composite speed Initial speed to be 30 Hz or less For the linear interpolation instruction F175 specify the same value for the acceleration time and deceleration time To perform the operation only to the negative direction in the incremental mode set the target value to zero
74. data of all units are updated at the same time Unit no 1 Unit no 2 Unit no 3 Unit no 4 No 1 Receive area sai Send area Send area Receive area Receive area Receive area ideae No 2 eyo No 3 Receive area 4m Send arca FPOR FPOR FPOR The link relays and link registers of the PLCs contain areas for sending and areas for receiving data These areas are used to share data among the PLCs PLCs connectable to the PC link via MEWNET WO FP2 Multi Communication Unit Using Communication cassette RS485 type FP X Using Communication cassette RS485 type FPX Using Communication cassette RS485 type FPOR RS485 type Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Operation of PLC link Turning on a link relay contact in one PLC turns on the same link relay in all other PLCs on the same network Likewise if the contents of a link register in one PLC are changed the values of the same link register are changed in all PLCs on the same network Link relay Link relay LO for unit no 1 is turned on The status change is fed back to the programs of the other units and YO of the other units is set to TRUE No 2 Link register No 3 Link register No 4 Link register RO mv wo ue wx Cw No 1 Link register 100 Link register A constant of 100
75. done flag R9038 T Duplex transmission disabled while F159 MTRN is being F159 MTRN executed OFT instruction execution ON Transmission done flag R9039 OFF Transmitted data 1 0 2 5 3 Stored Receive buffer A A pe B B B C C Number of bytes lt gt lt gt gt lt 1 gt received Write pointer Number of bytes N received is cleared when F159 MTRN instruction is executed For general purpose serial communication half duplex transmission must be used Reception is disabled when the reception done flag R9038 is on When F159 MTRN is executed the number of bytes received is cleared and the address write pointer in the receive buffer is reset to the initial address Also when F159 MTRN is executed the error flag R9037 the reception done flag R9038 and the transmission done flag R9039 goes off Duplex transmission is disabled while F159 MTRN is being executed The transmission done flag R9039 must be observed Reception stops if the error flag R9037 goes on To resume reception execute the F159 MTRN instruction which turns off the error flag cS EA note Be aware that the reception done flag R9038 changes even while a scan is in progress e g if the reception done flag is used multiple times as an input condition there is a possibility of different statuses existing within the same scan To prevent multiple read access to the
76. f short time has been set the transmission assurance relay may not function properly The shortest time that can be set is 100 ms Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 7 MODBUS Communication 7 7 1 Overview of Functions The MODBUS RTU protocol enables the communication between the FPOR and other devices including our FP X FP e Programmable display GT series KT temperature control unit and MODBUS device made by other companies Enables to have conversations if the master unit sends instructions command messages to slave units and the slave units respond response messages according to the instructions Enables the communication between the devices of max 99 units as the master function and slave function is equipped About MODBUS RTU The MODBUS RTU communication is a function for the master unit to read and write the data in slave units communicating between them here are ASCII mode and RTU binary mode in the MODBUS protocol however the FPOR is supported with the RTU binary mode only Master function Writing and reading data for various slaves is available using the F145 SEND and F146 RECV instructions Individual access to each slave and the global transmission is possible Use Type Il instructions of F145 and F146 Type directly specifying MODBUS address to communication with MODBUS devices made by other companies Mast
77. function it is necessary to set the system register No 402 Performing rewriting during RUN stops the pulse output When the deceleration stop is requested by the FO instruction during the pulse output the deceleration stop is performed When the instruction is started during the interrupt program specify the execution in the interrupt program with the control code When describing the same channel in both the normal program and the interrupt program be sure to program not to execute them simultaneously Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 4 10 Speed Change After Starting Trapezoidal Control Type 0 F171 he explanation below shows the program to change the speed to a speed below the target speed during the trapezoidal control Use the type 0 to change the speed to a speed slower than the target speed Time chart Deceleration time Frequency Acceleration time Combined 1000 ms DW Target speed 10kHz Target speed after speed change Positioning operation start R10 Positioning operation running F171 instruction trigger R100 Positioning operation parameter p404 setting pulse i Positioning operation complete R102 Speed change command RM Pulse output instruction flag R9120 Sample program R102 R100 R101 c DMV H10000000 DT 100 F1 DMV 1 DT102 F1 DMV K10000 104 F
78. gt data 93 D initial value to the target value 0 Integer type non linear function instructions F285 Upper and LIMT 51 When 51 gt 53 S15D P285 lower limit PLIMT S2 When 51 lt 53 52 0 i control S3 D When S1 or S3 or S2 53 16 bit data Available Not available Not available partially 1 This instruction is only available for FP e Ver 1 2 or later 2 This instruction is only available for FP X Ver 2 0 or later and FPX Ver 3 10 or later Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net F286 Upper and DLIMT 51 S2 When S1 1 S1 gt S3 1 S3 S171 P286 lower limit PDLIMT S3 D 1 gt D 1 D control When S27 1 Eos S341 S3 S241 32 bit data 2 D 1 D When S171 S1 lt or S341 S3 lt or 52 1 52 S3 1 S3 D 1 D F287 Deadband BAND 1 S2 When 51 gt 53 S3 S15D P287 control PBAND S3 D When 52 lt 53 S3 S2 D 16 bit data When S1 or S3 or 52 05D F288 Deadband DBAND 51 S2 When S1 1 S1 S341 S3 S3 1 P288 control PDBAND S3 D 3 S1 1 S1 gt D 1 D 32 bit data When 52 1 S2 lt S3 1 S3 S3 1 3 S2 1 S2 5 D 1 D When S171 S1 or S341 S3 or 8241 52 0 0 1 D Zone control 51 S2 When S3 0 S3 815D When 53 gt 0 S3 S2 D Zone control S1 S2 When S3 1 S3 lt 0 S3 1 P290 32 bit data P
79. input ii Reset input Reset input X2 X2 w ON and OFF output ON and OFF output n The output turned on and off when the target The output turned on and off when the target value is reached can be specified from YO to Y7 value is reached can be specified from YO to Y7 as desired as desired Reference 8 2 1 Table of Specifications 8 3 5 Instructions used with High speed Counter Function High speed counter control instruction FO e This instruction is used for counter operations such as software reset and count disable e Specify this instruction together with the special data register DT90052 e Once this instruction is executed the settings will remain until this instruction is executed again Operations that can be performed with this instruction e Counter software reset bitO e Counting operation enable disable bit e Hardware reset enable disable bit2 e Clear high speed counter instructions F166 to F167 bit3 e Clear target value match interrupt bit3 Example Performing a software reset In case of CHO X7 In the above program the reset is performed in step OF r9 MV H 1 Dr9o052 T 1 and 0 is entered just after that in step 2 The MV 0790052 count is now ready for operation If it is only reset counting will not be performed In case of CH1 X7 LY DF MV 1001 0790052 Fo MV H 1000 0790052 Phone 800 894 0412
80. is cleared and the address write pointer in the receive buffer is reset to the initial address If there are two headers data following the second header overwrites the data in the receive buffer The reception done flag R9038 is turned off by the F159 MTRN instruction Therefore if F159 MTRN is executed at the same time the terminator is received the reception done flag will not be detected Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Sending data The reception done flag the transmission done flag and the F159 MTRN instruction are related as follows SIX a b ETX Transmitted data E Transmission Iransmission done flag D R9039 Duplex transmission F159 15 Dein F159 MTRN Rec DE TERN instruction execution Send buffer Number of bytes not yet transmitted a Transmission pointer Header STX and terminator ETX are automatically added to the data being transmitted The data is transmitted to an external device When the F159 MTRN instruction is executed the transmission done flag R9039 goes off Duplex transmission is disabled while F159 MTRN is being executed The transmission done flag R9039 must be observed Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 5 6 Changing Communication Mode Using F159 MTRN Instruction
81. is performed Timing chart Frequency Acceleration time Deceleration time 120ms Target value match Kite ann TES UM Time JOG operation R31 R32 command JOG operation start R3A R3C JOG operation parameter setting R3B R3D Pulse output J 1 1 instruction flag R9120 Data table Data register Setting item Unit Example of sample program Settable range No Type 1 With target value DT300 Controlesde Set according to the control code on the next page H1001 0010 Initial speed Hz Deceleration time ms 324000 Positive direction K 2 147 483 648 to K prso Target value Pulses 16600 Negative direction Note 1 Each setting item occupies 2 word data registers 2 When the control type 0 No target value is specified for the control code the target value pulse number of data table is invalid 3 For the JOG operation the time from the initial speed to the maximum speed 50 kHz is specified as acceleration time or deceleration time For the details refer to 8 4 17 Difference in Acceleration Deceleration Characteristics Between Instructions Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Sample program R9013 F1 DMV 10010010 DT300 F1 1000 07302 F1 DMV 5000 07304 F1 DMV K120 DT306 F1 DMV K120 DT308 R9013 F1
82. jump instruction has an index modifier the number of steps isthenumber in parentheses 3 In the FP2 FP2SH FP10SH when the number n in a loop instruction has an index modifier the number of steps is the number in parentheses Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FP2SH FP10SH tel io ier eee Indicates the end of a main program Fri Or es T olofofo the trigger turns on Eee ceed ELE LIN ladder instructions The start of program n for process i control NSTL Starts the specified process n and 59 clears the process currently started Scan execution type NSTP Starts the specified process n and H H clears the process currently started Pulse execution type Gd m T 2H Resets multiple processes specified by s 5 o o olo o ple steps n1 and n2 1 Eze olg 9 ppp Subroutine instructions Subroutine When the trigger is on Executes the call CALL al subroutine 2 When the trigger is off Not execute the 3 2 4 5 2 subroutine The output in the subroutine is maintained Output off When the trigger is on Executes the ui type subroutine subroutine When the trigger is off Not execute the X X xX X A call subroutine But the output in the subroutine is cleared Subroutine mu m Indicates the start of the subroutine Pm ent
83. occurs during data communication error fla Goes off when a request is made to send data using the 9 F159 MTRN instruction COM port communication mode COM port reception done flag during Turns on when the terminator is received during general general purpose purpose serial communication communication COM port transmission done flag during general purpose serial communication Goes on when transmission has been completed in general purpose serial communication Goes off when transmission is requested in general purpose serial communication TOOL port reception done flag during Turns on the terminator is received during general purpose general purpose serial communication communication TOOL port transmission done flag during general purpose serial communication A Available N A Not available Note R9030 to R9030F can be changed during 1 scan Goes on when transmission has been completed in general purpose serial communication Goes off when transmission is requested in general purpose serial communication Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net WR904 FPOR Relay Lar BE GN NEM M TOOL port Turns on when the general purpose communication function is being R9040 operation mode used flag Goes off when the computer link function is being used R9041 COM port PLC Turn on while the PLC link function is used link oe R9
84. of specified channel CHO Fo Mv K500 DT101 When the program runs the data table will be as F173 PWMH DT100 KO shown below Data table DT100 Control code 1 K13 DT101 Duty 2 5096 1 Specify the control code by setting the K constant Frequency Hz Period ms EMEN ae Pp S 133 33 125 O N 7 5 12 5 40 00 20 00 10 00 K10 Ok O O me O N K12 800 Ki4 12k 15 2 Specify the duty by setting the constant Duty to K999 1000 resolutions Note e f a value outside the specified range is written to the duty area while the instruction is being executed a frequency corrected to the maximum value is output If written when instruction execution is started an operation error is occurred n OJN 12 15 _ ooo Oo Go Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Chapter 9 Security Functions Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 9 1 Password Protect Function 9 1 1 Password Protect Function This function is used to prohibit reading and writing programs and system registers by setting a password on the FPOR There are two ways to set a passw
85. one Max 50 kHz 50kH faster than the target sp DNE wy nmt geese right after the execution Target speed e beeen eee Target speed e Target speed NET MN After speed change Initial speed Initial speed i L i i e dm 1 D speed change command Rewnte the set target speed Acceleration time Deceleration time calculated in PLC calculated in PLC Note For the details of the difference in acceleration deceleration characteristics refer to 8 4 17 Difference in Acceleration Deceleration Characteristics Between Instructions Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Sample program Trapezoidal control Type 0 F171 The explanation below shows the case that pulses are output from YO with the following conditions Initial speed 1 kHz Target speed 10 kHz Acceleration time 100 ms Deceleration time 1000 ms Movement amount 30000 pulses Timing chart Acceleration time Deceleration time Frequency 100ms 1000ms Target speed 10kHz Initial speed 1kHz Time Positioning operation start R10 3 Positioning operation running R100 F171 instruction execution R101 Positioning operation complete R102 Pulse output instruction flag R9120 Data table Data register Setting item Unit Example of sample program Settable range No Type 0 Incrementa
86. plate AFP0804 should be used only with the control unit as a stand alone unit It should not be used when the unit is being used in combination with an FPO FPOR expansion unit Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 5 2 Wiring of Power Supply 5 2 1 Wiring of Power Supply Use the power supply cable provided as an accessory to supply power to the unit Power supply cable AFPG805 Green Function earth Blue 0 V Power supply cable Power supply wiring for the unit Use the power supply cable Part number AFPG805 that comes with the unit to connect the power supply Brown 24 V DC Blue 0 Green Function earth Power supply wire To minimize adverse effects from noise twist the brown and blue wires of the power supply cable Power supply type To protect the system against erroneous voltage from the power supply line use an insulated power supply with an internal protective circuit The regulator on the unit is a non insulated type 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 Power supply voltage Rated voltage 24V DC Operating voltage range 21 6V DC to 26 4V DC Wiring system lsolate the wiring systems to the control unit input output devices and mechanical power apparatus Circuit breaker
87. possible in FPWIN GR Pro at I O error in the status display function I O unit Expansion unit wiring condition has changed compared to that at time of power up Check the contents of special data register FPO DT9010 FPX FP X DT90010 DT9001 1 and locate the erroneous expansion unit It checks whether an expansion connector is in agreement ix i Check the contents of special data register verify error FP2 FP2SH and FP10SH DT90010 DT90011 FP3 DT9010 DT9011 Selection of operation status using system register23 to continue operation set 1 to stop operation set 0 Verification is possible in FPWIN GR Pro at I O error the status display function Intelligent unit error A Available Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net tion status System watching dog timer error Slave station connecting Saet time error for MEWNET F system Operation error Description and steps to take Scan time required for program execution exceeds the setting of the system watching dog timer Check the program and modify it so that the program can execute a scan within the specified time Selection of operation status using system register24 to continue operation set 1 to stop operation set 0 The time required for slave station connection exceeds the setting of the system register 35 Selection of operation
88. special internal relay you should generate a copy of it at the beginning of the program Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Header STX Terminator Receiving data The reception done flag the transmission done flag and the F159 MTRN instruction are related as follows from external re F 3 iv A D S E V F H Em Data received C SIX Dy 8 Reception code is device Cannot be stored when reception done flag is deleted by F159 on MTRN r ON Reception done flag R9038 OFF Reception done ON flag is turned off by executing F159 MTRN PUSH instruction execution Receive buffer Number of bytes received lt 3 gt g gt lt gt XN lt 1 gt lt 1 gt Write pointer Numberofbytes Number of bytes Numberofbytes received is cleared received is cleared received is cleared when the header is when F159 MTRN when the header is received is executed received The data is stored in the receive buffer in sequential order When the header is received the number of bytes received is cleared and the address write pointer in the receive buffer is reset to the initial address Reception is disabled while the reception done flag R9038 is on Also When F159 MTRN is executed the number of bytes received
89. start code and end code can be used only in the general purpose serial communication mode Note5 Unit numbers should be registered by the system register Factory default Port type Data length Tool port 9600 bit s COM port RS485 port 115200 bit s ae Note If the potential difference between the power supplies of RS485 devices exceeds 4 V the unit may not communicate as it is the non isolated type The large potential difference leads to the damage to the devices Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 13 2 Number Allocation 13 2 1 l O Numbers for FPOR Control Unit The I O allocation for the FPOR control unit is fixed Unit type Allocation points No C10 Input 6 points to X5 Output 4 points YO to Y3 14 Input 8 points XO to X7 Output 6 points YO to Y5 C16 Input 8 points XO to X7 Output 8 points YO to Y7 Input 16 points XO to Output 16 points YO to YF Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 13 2 2 I O Numbers for FPO Expansion Unit e numbers do not need to be set as I O allocation is performed automatically by the PLC when an expansion I O unit is added e The I O allocation for expansion units is determined by the installation location Expansion Expansion Expansion Unit type Allocation points unit 2 Input 8 points X20 to X2
90. start input start input Pulse output Pulse output instruction flag instruction flag Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net adi Note When the position control start input does not turn on the pulse output will not stop Create a program to stop the operation when an error occurs with a combination of the forced stop by the FO instruction bit 3 of DT90052 and the deceleration stop by the FO instruction bit 5 of DT90052 As for the position control start input only the leading edge is detected When the pulse number from turning on the position control start input until stopping is small relative to a specified deceleration time the operation stops before decelerating to the initial speed When it is large relative to a specified deceleration time deceleration starts after holding the target speed Performing rewriting during RUN stops the pulse output When the deceleration stop is requested by the FO instruction during the pulse output the deceleration stop is performed When the position control start input turns on in the acceleration area the deceleration stop is performed Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Sample program JOG positioning operation Type 0 When the trigger execution condition is on the JOG operation is started When the position control start input turns on a sp
91. stored in the receive buffer Sending data Data written to the send buffer will be sent just as it is Example The data 12345 is transmitted as an ASCII code to an external device 1 Data sent using the F95 ASC instruction should be converted to ASCII code data Conversion to ASCII code 2345 Data to be transmitted JL Conversion to ASCII code H 31 32 33 34 35 Coded data 1 2 3 4 5 2 If DT100 is being used as the start address of send buffer data will be stored in sequential order in the data registers starting from the next register DT101 in two byte units consisting of the upper and the lower byte DT103 DT102 DT 101 Upper byte Lower byte Upper byte Lower bytie Upperbyte Lower byte 5 4 8 2 1 Receiving data The data of the receive area being read is ASCII code data Example The data 12345 is transmitted from a device with RS232C port If DT200 is being used as the receive buffer received data will be stored in the registers starting from DT201 in sequential order of first the lower byte and then the upper byte DT203 DT202 DT201 Upper byte Lowerbyte Upper byte Lower byte Upper byte Lower byte 5 4 3 2 1 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 5 3 Sending Data Communication with external devices is handled through the data registers Data to be output is stored in the data regi
92. the PC PLC link status Using a programming tool the PC PLC link status items such as the transmission cycle time and the number of times that errors have occurred can be monitored Using FPWIN GR Select Status Display under Online in the menu Click the PC link button after the Status Display screen is shown Using FPWIN Pro Select PLC Link Status under Online in the menu Note Remote programming of the linked PLCs is not possible from the programming tool Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 6 7 PC PLC Link Response Time The maximum value for the transmission time T of one cycle can be calculated using the following formula 181 132 Tsn Tso p 4 TIK link addition processing time D Ts transmission time per station TSO master station scan time Tit link table sending time The various items in the formula are calculated as described below O Ts transmission time per station Ts scan time Tpc PC PLC link sending time Tpc Ttx sending time per byte x Pem PLC link sending size Ttx 1 baud rate x 1000 x 11 ms Approx 0 096 ms at 115 2 kbps Pcm 23 number of relay words number of register words x 4 2 Tit link table sending time Tit Ttx sending time per byte x link table sending size Ttx 1 baud rate x 1000 x 11 ms Approx 0 096 ms at
93. the program in the condition close to the original timing set a constant scan or insert a program that does not affect the external operation to adjust the timing How to use FPO compatibility mode Download the programs uploaded from the FPO or the programs that the model code is created as the FPO using an applicable programming tool for the FPOR A confirmation message will be shown on the tool and the mode will be automatically changed to the FPO compatibility mode Tools supporting FPO compatibility mode FPWIN GR Ver 2 80 or later FPWIN Pro Ver 6 10 or later Restrictions on switching to FPO compatibility mode For downloading the FPO programs to the FPOR in the FPO compatibility mode the model setting for the FPO programs should match the model type of the FPOR as the table below Model setting for FPO program Applicable FPOR model C10RM C10RS C10CRM C10CRS C14RM C14RS C14CRM C14CRS C16T C16P C16CT C16CP C32 C32T C32P C32CT C32CP T32 T32T T32P T32CT T32CP Differences between the specifications of compatibility mode FPO Basically the FPO programs do not need to be modified to activate the FPO programs in the FPO compatibility mode however as for the following items the specifications are different Check the contents and change the programs if necessary 1 P13 PICWT instruction specifications EEPROM FROM write instruction The execution time of this instruction differs Depending on the
94. to H23 HOO to H59 Available Not available Minute data Second data DT90054 to H59 to H59 Available Available Day data Hour data DT90055 HO1 to H31 HOO to H23 Available Available Year data Month data DT90056 to H99 to H12 Available Available Day of the week data i Setting of Clock Calendar Function Setting using a programming tool Using FPWIN GR 1 Select Online Edit Mode under the Online on the menu bar or press the CTRL and F2 keys at the same time to switch to the Online screen 2 Select Set PLC Data and Time under Tool on the menu bar Set PLC Date and Time dialog box at PLC Data ana Tiaras Lati b zj The above steps display the Set PLC Date and Time dialog box shown at the left Input the date and time and click on the OK button PIC Dane Prt oS Tigre Viren Hele Using FPWIN Pro 1 Select Online Mode under the Online on the menu bar or press the Shift and Esc keys at the same time to switch to the Online Mode screen 2 Select Special Relay Special Data Register under Monitor on the menu bar 3 The screen will appear to set various parameters Setting and changing using program 1 The values written to the special data registers DT90054 to DT90057 which are allocated as the clock calendar setting area are sent 2 A value of H8000 is written to DT90058 Note The value can be sent using the differential in
95. to indirectly specify a memory area number This is called index modification Example Transferring the contents of data register DT100 to the number specified by the contents of an index register RO FO Mv DT 100 IODTO Base memory area In this example the number of the destination data register varies depending on the contents of 10 with DTO acting as a base For example when 10 contains K10 the destination will be DT10 and when 10 is K20 the destination will be DT20 In this way index registers allow the specification of multiple memory areas with a single instruction and thus index registers are very convenient when handling large amounts of data 12 2 2 Memory Areas Which can be Modified with Index Registers Index registers can be used to modify other types of memory areas in addition to data registers DT Example IOWXO IOWY1 IOWRO IOSVO IOEV2 IODT100O Constants can be also modified Example 10 10 1091001 An index register cannot modify another index register Example 1010 1011 When using index modification with an instruction which handles 32 bit data specify with 10 In this case 10 and 11 are handled together as 32 bit data Higher 16 bit area Lower 16 bit area Contents of 11 Contents of l0 In 1 In Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 12 2 3 Example of Using an Index Register Repeatedly reading i
96. to the PROG mode the following status display dialog box is displayed automatically Check the contents of the self diagnosed error Status display dialog box Status Display Untitlel If the error is an operation error the error address can be confirmed in Clear Error this dialog box Program Information Proqram Size 16000 OK Rest Machine Lanquage Of OK File Reaister Size 10 Comment Size Block Comment Remark Size PLC Connection Of OK 100000P Rest 100000 P 5000L Rest 5000 L 5000P Rest 5000 P PLC Type FPOR 16K Station Home Version 1 06 Scan Time 0 4 msec Condition Normal Min 0 3 msec PLC Mode REMOTE PROG Max X 7 7 msec PLC Error Flag Self Volt Dip 0 140 Error REST Advance Unit 0 Self Diagnosis Error M Eror Code 45 3 Key Po m PLC Mode Flag 170 Verfi RUN Mode Battery TEST Mode STEP RUN Hold Break Mode Message Ope Err Break Enable Remote Force flag External El essage Operation Error Occurred int OUT Refresh 120 Error Adwvn Err Verifi Err Operation Err PC link We link VE link Help To display the status display dialog box select Status Display under Online on the menu bar Using FPWIN Pro With the FPWIN Pro the contents of the self diagnostic error can be checked in the following PLC status dialog box Select PLC status under Monitor in the menu to display this dialog box PLC
97. unit are set for the DT90237 link ter 42 and 43 registers 46 and 47 Unit _ No 5 or 13 aa DT90239 ystem regis ter 46 and 47 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FPOR A Available N A Not available pep ccce c EET 54 ing Ing PC PLC link Unit station No 6 or 14 PC PLC link Unit sta tion No 7 or 15 PC PLC link Unit sta tion No 8 or 16 System regis ter 40 and 41 System regis ter 42 and 43 System regis ter 44 and 45 System regis ter 46 and 47 System regis ter 40 and 41 System regis ter 42 and 43 System regis ter 44 and 45 System regis ter 46 and 47 System regis ter 40 and 41 System regis ter 42 and 43 System regis ter 44 and 45 System regis ter 46 and 47 The contents of the system register settings partaining to the PLC inter link function for the various unit numbers are stored as shown below Example when DT90219 is O Higher byte Lower byte Doo 1 1 DT90243 Unit Station T Tas No 1 Setting contents of system register 40 42 44 and 46 Setting contents of system register 41 43 45 and 47 e When the system register 46 in the home unit is in the standard setting the A N A values in the home unit are copied in the system registers 46 and 47 When the system register 46 in the home unit is in the reverse setting the registers 40 to 45 and 4
98. using the Monitoring start code MC or Preset contact area fill command SC Embeds the area of a specified range in a 16 point on and off pattern Preset data area fill command Writes the same contents to the data area of a specified range Read system register IRR Reads the contents of a system register Write system register opecifies the contents of a system register Read the status of PLC RT Reads the specifications of the programmable controller and error codes if an error occurs Switches the operation mode of the Remote control programmable controller Let Has Aborts communication Read contact area Write contact area Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 15 6 Hexadecimal Binary BCD BCD data COIN A Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001 00000010 00000011 00000100 00000101 00000110 000001 11 00001000 00001001 00001010 00001011 00001100 00001101 00001110 00001111 00010000 00010001 00010010 00010011 00010100 00010101 00010110 00010111 0001
99. using the F159 MTRN instruction Explanatory diagram 1 The characters are converted to ASCII Data register DT code and the data is stored in the send buffer NENNEN x 2 Data transmission using F159 MTRN Sst NC _ ABCDEFGH M External ker device Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Explanation of data table The data table for transmission starts at the data register specified in S At the beginning of transmission the number of bytes to be transmitted is set 0 is set on completion of transmission Transmitted data storage area The circled numbers indicate the order of transmission Sm 2n mi Use an FO MV or F95 ASC instruction to write the data to be transmitted to the transmission data storage area specified in S Transmission process When the execution condition of the F159 MTRN instruction turns on and the transmission done flag R9039 is on operation is as follows 1 The number of transmission data N is preset in the start address of send buffer S The reception done flag R9038 is turned off and the reception data number is cleared to O 2 The set data is transmitted in order from the lower order byte in S 1 of the table During transmission the transmission done flag R9039 turns off f system register 413 is set to header start code with STX the header is automatical
100. 0 FP0 A80 AFP0401 ARCT1F321 K J T R thermocouples resolution 0 1 C 4 AFP0420 ARCT4F366 J T R thermocouples resolution 0 1 C FPO TC8 AFP0421 FPO RTD6 AFPO430 ARCT1F445 Lr ARCT1F382 FPO A04I AFP04123 Product Exclusive No manual FPO CCLS AFPO7943 ARCT1F380 FP WEB2 AFP0611 ARCT1F446 1 1 4 Power Supply Unit Produtname Spedfaions PartNo ProductNo Input voltage 100 to 240 VAC Free input FPO Power supply unit 4 AFP0634 Output capacity 0 7A 24 V DC 1 1 5 Options and Repair Parts Product name Product No Data clear type AFP8670 FP Memory loader Data hold type AFP8671 Terminal screwdriver Relay output type Necessary when wiring terminal blocks Phoenix AFPO0806 Molex connector pressure Necessary when wiring relay output type and Molex connectors AFP0805 contact tool MOLEX 57189 5000 Multi wire connector u Necessary when wiring transistor output type connectors AXY52000FP pressure contact tool FPO Slim type mountin Mounting plate for mounting control unit or expansion unit on a panel s T d d id AFP0803 10 pack plate vertically FPO Flat type mounting plate Mounting plate for mounting Control unit on a panel horizontally AFP0804 10 pack Relay output Molex type l O Loose wiring cable 9 leads AWG20 with Molex socket AFPO551 2 cable set cable attached at one end 0 5mm 1 set 2 cables blue white AFP0553 2 cable set
101. 0 096 Each Pem 23 4 8 4 71 bytes Tpc Ttx x Pem 0 096 x 71 6 82 ms Each Ts 5 6 82 11 82 ms Tit 0 096 x 13 2x 16 4 32 ms 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 44 ms Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Calculation example 3 When all but one station have been added to a 16 unit link the largest station number is 16 relays and registers have been allocated evenly and the scan time for each PLC is 5 ms Ttx 0 096 Each Ts 5 6 82 11 82 ms TIt 0 096 x 13 2x 15 4 13 ms 0 96 400 0 67 5 407 ms Note The default value for the addition waiting time is 400 ms 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 43 ms Calculation example 4 When all stations have been added to an 8 unit link the largest station number is 8 relays and register have been evenly allocated and the scan time for each PLC is 5 ms 0 096 Each Pem 23 8 16 x 4 119 bytes Tpc Ttx x Pem 0 096 x 119 11 43 ms Each Ts 5 11 43 16 43 Tit 0 096 x 13 2 x 8 2 79 ms 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 23 ms Calculation example 5
102. 0 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FPOR A Available N A Not available LONE NE ing ing Step ladder process 352 to 367 Step ladder process 368 to 383 DT90084 Step ladder process 384 to 399 Step ladder process 400 to 415 Step ladder process 416 431 l 7 Step ladder process Indicates the startup condition of the step DT90087 432 to 447 ladder process When the process starts up the bit corresponding to the process number DT90088 Step ladder process NA 448 to 463 DT90089 e pn pace Monitor using binary display DT90090 Step ladder process lt Example gt 15 11 3 0 Bit No 480 to 495 DT90100 Step ladder process 496 to 511 DT90092 s Note A programming tool software can be s used to write data ep ladder process 528 543 Step ladder process PUE 544 to 559 Step ladder process 560 to 575 DT90096 Step ladder process 576 to 591 Step ladder process 592 to 607 DT90085 t 655 t 651 L647 643 t 640 Process No 1 During running 0 During stopping DT90097 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FPOR A Available N A Not available LN Step ladder process 736 to 751 DT90107 us q pousse Indicates the startup condition of the step ladder process When the process starts up
103. 0 mode Turns on when Unit No 3 is communicating properly in PC PLC R9062 link O mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link 0 mode mes Turns on when Unit No 4 is communicating properly in PC PLC R9063 link 0 mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link 0 mode Lr Turns on when Unit No 5 is communicating properly in PC PLC R9064 link O mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link 0 mode ees Turns on when Unit No 6 is communicating properly in PC PLC R9065 link 0 mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link 0 mode Turns on when Unit No 7 is communicating properly in PC PLC R9066 link O mode Turns off when operation is stopped when an error MEWNET i occurs or when not in the PC PLC link 0 mode WO Turns on when Unit No 8 is communicating properly in PC PLC R9067 link mode Turns off when operation is stopped when an error link 0 occurs or when not in the PC PLC link 0 mode trans Turns on when Unit No 9 is communicating properly in PC PLC R9068 mission link mode Turns off when operation is stopped when an error assurance occurs or when not in the PC PLC link 0 mode Turns on when Unit No 10 is communicating properly in R9069 PC PLC link 0 mode Turns off when operation is stopped when an error occurs or wh
104. 00 DT90052 Example 2 Performing the deceleration stop of pulse output For CHO For CH1 X7 X8 HDF FO MV 120 DT90052 HDF MV H1120 0790052 FO MV 100 DT90052 FO MV H1100 DT90052 Note 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 When executing the forced stop pulse output stop with the pulse output control instruction FO the operations being executed with various instructions are cancelled and the pulse output is immediately stopped When the forced stop request flag bit3 of DT90052 is on instructions cannot be executed When executing the deceleration stop with the pulse output control instruction FO the operations being executed with various instructions are cancelled and the deceleration operation starts When the deceleration stop request flag bit5 of DT90052 is on instructions cannot be executed As for the data table control instruction F174 the operation is similar to that of the forced stop After the execution of the forced stop or deceleration stop pulses are not output unless the execution condition of each pulse output instruction F171 to F177 changes from OFF to ON Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 4 6 Elapsed Value Read and Write F1 Inst
105. 00 R300 R301 DF MM SS S S LL LL LLLI R301 H _ F1 DMV 10100000 DT 300 F1 DMV K1000 DT 302 F1 DMV K25000 DT 304 F1 DMV K300 DT 306 F1 DMV K450 DT 308 F1 DMV K20000 DT 310 F171 SPDH DT 300 KO R31 HDF Fo Mv H140 DT 90052 Fo MV H 100 DT 90052 R9120 R300 T30 R302 HDF A R302 TMX 30 K 3 Control code H LJ 10 Fixed Control assignment 1 JOG positioning Control assignment 2 0 Type 0 minterrupt assignment 0 Execution during main program 1 Execution during interrupt program Trigger is level type m Output assignment 0 Pulse output 1 Calculation only m Operation mode assignment 0 Incremental m Output type assignment 0 CW CCW 1 PLS SIGN Forward OFF Reverse ON 2 PLS SIGN Forward ON Reverse OFF Only when the target value is set to the pulse output direction can be reversed by changing the output type assignment from 0 1 2 to 4 5 6 Precautions during programming For using the pulse output function it is necessary to set the system register No 402 When the instruction is started during the interrupt program specify the execution in the interrupt program with the control code When describing the same channel in both the normal program and the interrupt program be sure to program not to execute them simultaneously Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomat
106. 00 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Self diagnostic Error This error occurs when the control unit CPU unit self diagnostic function detects the occurrence of an abnormality in the system The self diagnostic function monitors the memory abnormal detection I O abnormal detection and other devices When a self diagnostic error occurs The ERROR turns on or flashes The operation of the control unit CPU unit might stop depending on the content of error and the system register setting The error codes will be stored in the special data register DT9000 DT90000 n the case of operation error the error address will be stored in the DT9017 DT90017 and DT9018 DT90018 Clearing the self diagnostic error At the STATUS DISPLAY execute the error clear Error codes 43 and higher can be cleared You can use the initialize test switch to clear an error However this will also clear the contents of Operation memory Errors can also be cleared by turning off and on the power while in the PROG mode However the contents of operation memory not stored with the hold type data will also be cleared The error can also be cleared depending on the self diagnostic error set instruction F148 ERR Steps to take for self diagnostic error The steps to be taken will differ depending on the error contents For more details use the error code obtained above and consult the t
107. 000 DT 102 F1 DMV K2000 DT104 Fi DMV K1000 DT 106 Fi DMV K800 DT108 Fi DMV K100000 DT110 L _ F171SPDH DT100 J F1 Dmv Ks3000 DT104 R100 TO R102 TMX 0 K 3 L Precautions during programming To change the speed specify the execution condition of F171 instruction to be always executed Using the type 1 enables to perform the acceleration deceleration control up to the maximum speed 50 kHz Speed cannot be changed when the instruction is executed in the interrupt program Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 4 12 Precautions When Changing Speed Common to F171 and F172 Precautions during programming To change the speed specify the execution condition of instruction to be always executed Using the type 0 of trapezoidal control instruction F171 enables to perform the acceleration deceleration control up to the target value Using the type 1 of trapezoidal control instruction F171 enables to perform the acceleration deceleration control up to the maximum speed 50 kHz he speed cannot be changed during the deceleration requested by the deceleration stop and during the deceleration to stop at the target position Acceleration cannot be performed from that position when the elapsed value goes beyond the acceleration forbidden area starting position The acceleration forbidde
108. 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FP2SH FP10SH Symbol Description UP DOWN F118 m Increments or decrements from the counter UDC ET preset value S based on up down input Shift T Shifts one bit of 16 bit word internal register relay WR data to the left Left right F119 LO FHSLRSRA Shifts one bit of 16 bit data range shift LRSR specified by D1 and D2 to the left or register to the right Control instructions Master MC Starts the master control program control TP relay pon contra my de Master Ends the master control program control relay end The program jumps to the label instruction and continues from there Auxiliary The program jumps to the label jump instruction specified by S and continues from there Label The program jumps to the label instruction and continues from there the number of jumps is set in S Stops program execution when the predetermined trigger turns on in the TEST RUN mode only Available Not available Not available partially z In the FP2 FP2SH FP10SH when internal relay WR240 or higher is used the number of steps is the number in parentheses Also in the FP2 FP2SH FP10SH when the specified internal relay number word address has an index modifier the number of steps is the number in parentheses 2 In the FP2 FP2SH FP10SH when the number n in a
109. 042 Monitors whether the F145 SEND or F146 RECV instructions can be executed or not Off None of the above mentioned instructions can be executed During executing the instruction On One of the above mentioned instructions can be executed COM port Monitors if an abnormality has been detected during the execution of SEND RECV the F145 SEND or F146 RECV instructions as follows Instruction Off No abonormality detected execution end On An abnormality detected communication error End code DT90124 COM port SEND RECV instruction execution flag R904A_ Notused J Notusd J __ J J enoar Notus __ to R904F Available N A Not available Note R9040 to R904F can be changed during 1 scan WR905 FPOR MEWNET WO PLC link When using MEWNET WO Turns on when a transmission error occurs at PLC link Turns on when there is an error in the PLC link area settings error flag R9051 to R905F transmission Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net WR906 FPOR Relay No me Turns on when Unit No 1 is communicating properly in PC PLC R9060 link 0 mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link 0 mode Turns on when Unit No 2 is communicating properly in PC PLC R9061 link mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link
110. 1 LJ relay min cycles Mimi SE A Available N A Not available Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net WR902 FPOR Relay No Name _ ss Turns off while the mode selector is set to PROG eee nag Turns on while the mode selector is set to RUN R9024 Notusd R9026 Turns on while the F149 d instruction is executed IE E Turns on during forced on off operation for input output relay rag timer counter contacts R902B Interrupt error flag f Sampling by the instruction 0 end flag When the sampling operation starts 0 NE 3E 7 O O O O trigger flag When the sampling stop trigger stops 0 Turns on when an interrupt error occurs R902A Interrupt enable Turns on while the external interrupt trigger is enabled by the ICTL flag instruction Sampling enable When sampling starts 1 flag When sampling stops 0 Available N A Not available Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net WR903 FPOR Turns on when the general purpose communication function is being used Goes off when the MEWTOCOL COM or the PLC link function is being used execution flag On Execution is in progress complete flag during the RUN operation Notusd ft Notusd 0 J COM port 2 bi EE error
111. 1 DMV K100 106 F1 DMV 1 DT108 F1 DMV K50000 110 F171 SPDH DT 100 KO F1 DMV K5000 104 TO R102 TMX 0 K 3 1 Precautions during programming To change the speed specify the execution condition of F171 instruction to be always executed Using the type 0 enables to perform the acceleration deceleration control up to the target value Speed cannot be changed when the instruction is executed in the interrupt program Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 4 11 Speed Change After Starting Trapezoidal Control Type 1 F171 he explanation below shows the program to change the speed to a speed over the target speed during the trapezoidal control Use the type 1 to change the speed to a speed faster than the target speed Time chart Frequency time time Target speed 50kHz 4 7 Target speed after speed change 30kHz Target speed before speed change 20kHz Initial speed 10kHz Positioning operation start R10 Positioning operation running d P o ol F171 instruction trigger R100 Positioning operation parameter 5406 setting pulse Positioning operation complete R102 Speed change command R11 Pulse output instruction flag R9120 Sample program R9120 R102 R100 R101 _ F1 Dmv 10010000 DT 100 F1 DMV K10
112. 1 second type timer The hour data is stored in the upper 8 bits of DT90053 and the minute data in the lower 8 bits in the BCD format This hour and minute data is compared with the appointed time BCD and the R900B flag special internal relay is used to detect whether or not it matches the appointed time Chapter 3 Expansion 3 1 Expansion Method The FPO FPOR expansion units expansion I O unit high performance unit are connected to the right side of the control Unit Unit expansion is done using the right side connector for FPO FPOR expansion and the expansion hooks on the side of the unit 1 Peel the seal on the right side of the unit to expose the internal right side connector for the FPO FPOR expansion 3 Align the pins and holes in the four corners of the control unit and expansion unit and insert the pins into the holes so that there is no gap between the units 3 2 Part Names and Functions Expansion Units ESRS E16RS ESRM E16RM E16 2 Terminal type Connector type X1 XB xo X9 d a a Hg a j j i gt a Y1 illi ve yo w m XH d1 x SERE il 2 EU m g ESY E16Y E8YRS Terminal type Expansion input units X8 RA fxg 3 m Part Names and Functions 1 Power supply connector Supply 24 V DC It is connected using the cable AFP0581 supplied with the unit 2 Input connector
113. 1000 00011001 00011010 00011011 00000000 00011100 00000000 00000000 00000000 00000000 00000000 00100111 00011101 00011110 00011111 00111111 11111111 00001111 15 7 ASCII Codes b s e e x Jes Jes n mn n n e m me enim en jen en m m nm en en e e e e 9 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Record of changes ARCT1F475E May 2009 First Edition ARCT1F475E 1 Sep 2009 second Edition ARCT1F475E 2 Aug 2011 3rd Edition Addition FPOR Control Unit RS485 Type FPOR Expansion Unit Error correction Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net
114. 16 5 0 Safety deese de nente etn uda Sete Dort uu LE E URB 5 19 6 Preparation Of USB Port ecncinesacdanns os n a nn 6 1 6 1 USB COMECON uda din VR nsa Ud aste LUE dva en uestis auda 6 2 COMMUNIC AON dcdit eode bod bb ec db tcn 7 1 A FUNCTIONS ANG Types Reus de dando tu ete ue 1 2 7 2 Communicaton POM iit E esiti heb ieee 1 4 7 3 Communication Specifications 7 5 rd COmDulter 7 7 7 5 General purpose Serial 7 18 7 6 PC PEG INK FUNGUO suero Satria rea alae ae t Re 1 34 T MODBUS RTU Communication eee Immer 7 49 8 High speed Counter Pulse Output PWM Output PING 8 1 8 1 Overview of Each 8 2 8 2 Function Specifications and Restricted ltems 8 4 8 3 High speed Counter 8 9 94 Pulse Output FUNCION 8 19 9 5 PWM Odtput FUACTION naaraana na n ad Pc e Root cras 8 57 9 Security Functl lls 9 1 SN PaSSwOrd PrOle Gh FUNCHON E ED s o 9 2 9 2 Upload EXTOLGCHOFP
115. 23 4773 Web www ctiautomation net Email info ctiautomation net FPOR Pulse output control flag area 15 12 11 8 7 4 3 0 e The area DT90052 for writing channels 0190052 BEBEBEBE BEBE and control codes is allocated as shown in LLL m the left figure Chane speiteaton Fixed at H1 PLS e Control codes written with an FO MV instruction are stored by channel in special data register DT90380 to DT90383 Position control request JOG positioning 0 Invalid 1 Valid Deceleration stop request 0 Invalid 1 Valid Near home input 0 Invalid 1 Valid Forced stop request 0 Invalid 1 Valid Clear of Pulse output control 0 Continue 1 Clear Count 0 Permit 1 Prohibit Software reset 0 1 Yes Pulse output control flag monitor area Channel No Control code monitor area CHO DT90380 CH1 DT90381 CH2 DT90382 CH3 DT90383 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 4 5 Forced Stop Deceleration Stop F0 Instruction Pulse output control instruction FO Forced stop and deceleration stop is executed by FO MV instruction in combination with the special data register DT90052 Once this instruction is executed the settings will remain until this instruction is executed again Example Performing the forced stop of pulse output For CHO For CH1 X7 X8 DF F0 MV 108 0790052 LDF F0 MV H1108 0790052 FO MV H 100 DT90052 FO MV H11
116. 3 4773 Web www ctiautomation net Email info ctiautomation net Chapter 14 Dimensions and Others Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 14 1 Dimensions 14 1 1 C10 C14 Control Unit Terminal Block FPORCIOCRS 14CRS W FPORC10RS 14RS lll When mounting terminal block and power supply cable Mex insielietion dimension Approx 100 10 60_ Tiems Unit mm Note As for the expansion unit refer to the dimensions only Target expansion units E8BRS E16RS Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 14 1 2 C10 C14 Control Unit Molex Connector FPORC10CRM A4CRM W FPORC10RM 14RM lll When mounting Molex connector and power supply cable Max installation dimension Approx 90 Unit mm Note As for the expansion unit refer to the dimensions only Target expansion units ESRM E16RM Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 14 1 3 C16 Control Unit MIL Connector ll FPORC16CT P ll FPORC16T P ll When mounting MIL connector and power supply cable Max installation dimension Approx 100 18 60 geij I 3 8 w00 i 1 3 5 Ll 7 5 be 13 40 60 Unit mm Note As for the expansion unit refer to the dimensions only Ta
117. 4 X7 Count 2 3 4 i 2 0 e Increasing Decreasing Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Count for reset input Incremental input mode or X1 ON xg orxay tf LE LE LT EF LE Lore 1 1 X2 X5 count is prohibited The reset input is executed by the interruption at 1 on edge and 2 off edge 1 on edge Count disable Elapsed value clear 2 off edge Count enable DT90052 bit2 able disable setting of the input can be set by the reset input 8 3 3 Minimum Input Pulse Width For the period T 1 frequency a minimum input pulse width of T 2 single phase input or T 4 two phase input is required Single phase lt Two phase gt l l ae E o EE PUUL 2 2 l l 4 4 4 4 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 3 4 I O Allocation e As shown in the table in the previous section 8 2 1 the inputs and outputs used will differ depending on the channel number being used e The output turned on and off can be specified from YO to Y7 as desired with instructions F166 HC1S and F167 HC1R When using CHO with incremental input and When using CHO with two phase input and reset input reset input FPOR Count input A phase input B phase
118. 5 264 V AC Rated frequency 50 60 Hz Operating frequency 47 to 63 Hz The number of phase Single phase nrush current 30 A 0 p or less Cold start Leakage current 0 75 mA or less Holding time 10 ms or more Rated voltage 24 V DC Voltage accuracy 5 Rated current 0 7 A Operating output current 0 to 0 7 A Output ripple 500 mV or less Over current regulation 0 735 A or more Over voltage regulation Possible 20000h at 55 C 13 4 2 I O Link Unit Specifications AFP0732 dem Communication method Two wire half duplex communication Synchronous method Start stop synchronous system Duplex cable twisted pair cable or VCTF 0 75 mm2 x 2C lt JIS gt or equivalent Max 700 m when using twisted pair cable Max 400 m when using VCTF cable Baud rate 0 5Mbps No of I O points per one I O link unit 64 points Input 32 points Output 32 points Remote I O map allocation 32X 32Y Interface RS485 compliant Transmission error check CRC method Note Those numbers of points are the numbers that can be used for I O link via a host computer and the network MEWNET F When setting the output of the I O link error flag to ON available it is 63 points 31 input points amp 32 input points Transmission line Transmission distance Total length Note Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Phone 800 894 0412 Fax 888 72
119. 52 Fo MV H 100 DT 90052 R9120 R300 T30 R302 0 H R302 TMX 30 K 3 1 Precautions during programming To change the speed specify the execution condition of F171 instruction to be always executed Using the type 1 enables to perform the acceleration deceleration control up to the maximum speed 50 kHz Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 4 15 Data Table Control Instruction F174 Pulses are output from the specified channel according to the specified data table Positioning is performed sequentially according to the values of data tables and stops at the data table that the value of pulse output stop KO is written Time chart Frequency 5kHz 2 9kHz 1kHz 1000 4000 9000 11000 Elapsed value Movement amount Positioning operation start R40 Positioning operation running R40 Positioning operation start pulse R401 Positioning operation complete R402 Pulse output instruction flag R91 of po Data table Data register Setting item Unit Example of sample program No H1000 0010 DT400 Control code Absolute A CORE CW CCW Pages DT402 Frequency 1 Hz K1000 Settable range K2500 Set target values in the following range K1000 2141499048 10K K11000 Note Each setting item occupies 2 word data registers Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net
120. 7 corresponding to the home unit mentioned in the left column will be changed to 50 to 55 and 57 and the system register 46 will be set as it is Also the system registers 40 to 45 corresponding to other units will be changed to the values which the received values are corrected and the registers 46 and 57 in the home unit are set for the registers 46 and 47 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FPOR A Available N A Not available ing ing area for input or EXC EI DT90300 apsed Lower words words X0 X1 of the main unit The target value is set when T Note instructions F166 HC1S DT90303 Higher words F167 HC1R are executed DT90304 Elapsed Lower words AEA the main unit HSC CH1 The target value is set when Note DT90306 Target Lower words A A 9 instructions 166 HC1S and 0190307 Higher words F167 HC1R are executed Counting area for input X2 or A DT90308 Elapsed Lower words A A P TEES X2 X3 of the main unit HSC CH2 The target value is set when Note DT90310 Target Lower words A A 9 instructions F166 HC1S and OA jane DT90311 Higher words F167 HC1R are executed DT90312 Elapsed Lower words E TOP In puces ror the main unit value DT90313 area Higher words HSC CH3 The target value is set when N
121. 7 2 9 or later Do not connect a computer to PLC with USB before installing FPWIN GR When connecting a personal computer to PLC with USB the dialog boxes as below may be displayed If the FPWIN GR has not been installed click Cancel to close these dialog boxes Windows XP Windows 98SE Add New Hardware Wizard Found New Hardware Wizard This wizard searches for new drivers for Welcome to the Found New Hardware Wizard CP2101 USB to UART Bridge Controller This wizard helps you install software for CP210x USB Composite Device device driver is a software program that makes a hardware device work If your hardware came with an installation CD 1 or floppy disk insert it now What do you want the wizard to do CO Install from list or specific location Advanced Click Next to continue For Windows 7 although the following window appears it will automatically disappear after a short time The driver is not installed Installing device driver software gt Click here for status Device driver software was not successfully installed Click here for details Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Restrictions on USB Communication e The FPOR connected to the USB is recognized by the PC as that is connected through the COM port When multiple FPOR units are connected to one PC with the USB they cannot communicate with
122. 7 X40 to X47 X60 to X67 E8R Input 4 points X20 to X23 X40 to X43 X60 to X63 Output 4 points Y20 to Y23 Y40 to Y43 Y60 to Y63 ad Output 8 points Y20to Y27 Y40toY47 Y60 to Y67 sl X40 to XAF E16R X40 to X47 Y40 to Y47 F F E16YT P Output 16 points Y20 to Y2 Y40 to Y4 Y60 to Y6F X E39T P nput 16 points 20 to X2F X40 to X4F X60 to X6F Output 16 points Y20 to Y2F Y40 to Y4F Y60 to Y6F chO X20 to X2F X40 to X4F X60 to X6F unit ch1 X30 to X3F X50 to X5F X70 to X7F Y20 to Y2F Y40 to Y4F Y60 to Y6F WX2 WXA WX6 FPO A D Input 16 points converter unit FPO A80 ch 2 4 6 X20 to X2F X40 to X4F X60 to X6F FPO 4 thermocouple FPO TC8 Input 16 points WX3 vn ch1 3 5 7 X30 to X3F X50 to X5F X70 to X7F 2 4 X20 to X2F X40 to X4F X60 to X6F RTD unit CH1 3 5 X30 to X3F X50 to 5 X70 to X7F Y4 Output 16 points M M db P Y20 to Y2F Y40 to Y4F Y60 to Y6F X2 X6 Input 16 points d ded X20 to X2F X40 to X4F X60 to X6F FPO D A FPO A04V Output 16 points converter unit FPO AO04I chO 2 Y20 to Y2F Y40 to Y4F Y60 to Y6F Output 16 points WY5 ch1 3 Y30 to Y50 to Y5F Y70 to Y7F FPO I O link FPO IOL Input 32 points X20 to X3F X40 to X5F X60 to X7F unit Output 32 points Y20 to 40 to Y5F Y60 to Y7F e The data of each channel for FPO A D conv
123. A DT90049 Notused J 3 3 3 1 NA NA DT90050 Notused J h amp A 9 NA NA DT90051 Notused J NAA NA The pulse output instruction can be continued or cleared by writing a value with MV instruction FO Control code setting FPOR type 15 12 43210 C l DT90052 High speed counter Channel setting A A control flag HSC 0 to 5 CH to CHS HSC 0 HSC High speed counter instruction 0 Continue 1 Clear HSC Hardware reset Note 0 Enable 1 Disable HSC Count 0 Enable Disable HSC Software reset 0 No 1 Yes Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net DT90052 Pulse output control flag FPOR A Available N A Not available NN CHEN A value can be written with FO MV instruction to reset the high speed counter disable counting continue or clear high speed counter instruction Control code setting FPOR type 6543210 TTL Channel setting PLS 0 3 CHO CH3 PLS 1 PLS Position control start request 0 Disable 1 Enable PLS Deceleration stop request 0 Disable 1 Enable PLS Near home input 0 Disable 1 Enable PLS Pulse output 0 Continue 1 Clear PLS Pulse output control match ON OFF 0 Continue 1 Cancel PLS Count 0 Enable 1 Disable PLS Software reset 0 No 1 Yes Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net
124. An F159 MTRN instruction can be executed to change between general purpose serial communication mode and computer link mode To do so specify H8000 for n the number of transmission bytes and execute the instruction Changing from general purpose to computer link R9032 RO Ho H E 1 gt F159 MTRN DT100 H8000 KI Set to H8000 Specify the port to be changed KO Tool pot K1 COM RS232C port Changing from computer link to general purpose R R9032 0 Hor 9 1 gt F159 MTRN DT100 H8000 Kl Set to H8000 Specify the port to be changed KO Tool port K1 COM RS232C port R9032 The COM port mode flag turns on when general purpose serial communication mode is selected Note When the power is turned on the operating mode selected in system register 412 takes effect It is not possible to change to the MODBUS RTU mode Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 5 7 Setting Communication Parameters Tool port COM port The settings for baud rate and communication format of the tool port are entered using a programming tool Setting with FPWIN GR Select Options in the menu bar and then select PLC Configuration Click Tool Port or COM Port from the left list Dialog box of PLC system register setting Tool port selection screen PLC Configuration Unti
125. DZONE S3 D 53 51 1 S1 gt D 1 D When 53 1 S3 0 05 D 1 D When 53 1 S3 gt 0 S341 53 52 1 S2 gt D 1 D BCD type real number operation instructions P300 operation PBSIN BCD type BCOS COS S1 1 S1 5 D 1 D BER OE operation BCD type BTAN S D TAN S1 1 S1 5 D 1 D tangent PBTAN operation BCD type BASIN S D SIN S141 S1 gt D 1 D arcsine PBASIN operation F304 BCD type BACOS S D COS S141 1 D 1 D P304 arccosine PBACOS operation BCD type BATAN TAN S141 51 0 1 D arctangent PBATAN operation ima e rere P309 type data PFMV move F310 Floating point F 2 52 8141 51 52 1 S2 gt D 1 D P310 type data olio addition type data D 14 olola subtraction ee eee type data PF D multiplication Floating point S1 1 S1 S2 1 S2 5 D 1 D P313 type data division Available 2 Not available Not available partially 1 This instruction is only available for FP e Ver 1 2 or later 2 This instruction is available for FP e Ver 1 21 or later and FPO V2 1 or later Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Boo lean Floating point type data sine operation rand D SIN S 1 S 5 D 1 D F315 Floating point type COS S D COS S 1 S 5 D 1 D P315 data cosine PCOS operation Floating point type data tangent operation Flo
126. FPOR specifications It enables to make maximum use of the performance and functions of the FPOR 2 Using the programs in the same specifications as the FPO It enables to execute the programs in the same specifications as the FPO FPO compatibility mode The points to take care when using the FPO programs on the FPOR are described below in the above 2 cases When using the programs in the FPOR specifications When using the programs in the same specifications as the FPO When using the programs in the FPOR specifications As the FPO programs cannot be used as they are it is required to change the following 3 items for the FPO programs before downloading the programs into the FPOR 1 Change in the model setting Change the model for the FPO programs to the one for the FPOR with a tool software 2 Resetting of system registers As the system registers will be initialized once the model setting is changed reset the system registers if necessary 3 Modification of the programs Depending on programs they should be changed according to the specifications of FPOR Differences between specifications of and FPOR effecting program change Change in data areas Change in supported instructions Change in special internal relays Change in special data registers As the size of the data area and the settings of hold and non hold areas changes check if the address of the used data memory is correct The area that has be
127. L Mu Se uo khao n ue land obra xt D pel etel ud iios 9 8 9 3 Setting Function for FP Memory 9 9 9 4 Table of Security 5 9 12 10 Other FUNCTIONS EE ELSE 10 1 10 1 PT3 Il SUEICUOLU to t e hi ER 10 2 10 2 5ampling Trance FUNGUO nessico eux unte d pe aou oO at S 10 3 10 3 Time Constant 2 uas 10 6 11 Self Diagnostic and Troubleshooting 11 1 T4 1 oelt Diagrostic TUNGCHON a 11 2 2 TROUDIG SHOOUNG er Ute nea toe 11 3 Operatiom cd usce Copduss die o i Cet epe EE M 11 9 12 Precautions During Programming 12 1 T2 1 se or Dupblicated a pede n ebd etu bo Pe rat ra 12 2 12 2 Handling Index 12 4 12 3 Instructions of Leading Edge Detection Method 12 6 12 4 Precautions for Programming c ccccecceecseeceeceeeseeeeeeseeseeeseeeseeaeeeaes 12 9 12 5 Rewrite Function During RUN ccccecceceecceeceeseeseeseeseesaeeeesaees 12 10 12 6 Processing During Forced Input an
128. LC link link relays 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 relays and internal registers Link relay allocation No Nw Receive area Starting No of word for link relay transmission Link relay transmission size With the above settings the 14 words 224 points consisting of WL50 to WL63 can be used as internal relays Used N N Starting No for link register transmission Link register transmission size Used With the above settings the 28 words consisting of LD100 to LD127 can be used as internal registers Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Note Precautions When Allocating Link Areas If a mistake is made when allocating a link area be aware that an error will result and communication Will be disabled Avoid overlapping send areas When sending data from a send area to the receive area of another PLC there must be a link relay and link register with the same number in the receive area on the receiving side In the example shown below there is an area between No 2 and No 3 which is overlapped and this will cause an error so that communication cannot be carried out Example of link relay
129. Max 15 kHz Pulse output 4 points 50 kHz PWM output t4 points Max 4 8kHz Pulse catch input 8 points in total including HSC and interrupt input Input 8 programs C10 only Input 6 programs Periodical 1 program Pulse match 4 programs 0 5 ms unit 0 5 ms to 1 5 s 10 ms unit 10 ms to 30 s 0 5 ms unit 0 5 ms to 600 ms Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net C10 C14 All areas Backup by F12 P13lInstruction Counter 16 points ee en Internal relay 128 points P Data register 315 words All areas RAM backup in ERU All areas battery 9 Clock Calendar Available Communication port Tool port USB port COM port oelf diagnosis functions Watchdog timer Approx 690 ms program syntax checking 1 The specification is when rated input voltage is at 24 V DC and temperature at 25 Frequency may decrease depending on voltage temperature or operating condition 2 No of channels A total of 4 channels is available for pulse output and PWM output Frequency Pulse output can be specified up to 50 kHz PWM output can be specified up to 4 8 kHz An error on the pulse width that is a maximum of 40us may occur for the setting value depending on voltage temperature or operating condition 3 Guaranteed number of writing is up to 10000 times 4 Auto backup area when power is off Type C10 C14 C16 C32
130. Mn is the allocated COM port is allocated in the following display g gt Device Manager BHA Action View Help E Set Computer Disk drives E Display adapters DVD CD ROM drives ic Floppy disk controllers Floppy disk drives Human Interface Devices 7 29 IDE ATA ATAPI controllers LET keyboards 7 Mice and other pointing devices 5 Monitors gj Network adapters Ports COM amp LPT ZE Communications Port t Electric Es C Virtua ADT 450 iu r Wo E Ue Printer Port LPT1 fS Processors SCSI and RAID controllers 3j 45 Sound video and game controllers E See Storage volumes Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 6 1 4 Communication with Programming The following communication setting should be specified to perform the communication with a programming tool FPWIN GR FPWIN Pro using the USB 1 Display the Communication Setting window from the programming tool Using FPWIN GR Select Communication Setting under Option from the menu bar Using FPWIN Pro gt Select Communication Setting under Online from the menu bar Communication Setting Untitlet J x Network type C NET RS232 COM part Cancel Baud rate 200 X Initialize Data length 7 bits 8 bits Help Stap bit
131. Monitor the output condition using a programming tool e f the output monitored is turned on there is probably a duplicated output error Procedure 2 Forcing on the output using forcing input output function e f the output indicator LED is turned on go to input condition check e f the output indicator LED remains off there is probably an abnormality in the output unit Please contact your dealer Check of input condition 1 Input indicator LEDs are off Procedure 1 Check the wiring of the input devices Procedure 2 Check that the power is properly supplied to the input terminals e f the power is properly supplied to the input terminal there is probably an abnormality in the input unit Please contact your dealer e f 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 Check of input condition 2 Input indicator LEDs are on Procedure Monitor the input condition using a programming tool e f the input monitored is off there is probably an abnormality with the input unit Please contact your dealer e f the input monitored is on check the leakage current at the input devices e g two wire type sensor and check the program again Check 1 Check for the duplicated use of output Check whether the output has been rewritten using the high level instruction 2 Check the program flow when a control
132. N Download during Available All programs RUN Security function Password function 4 digit 8 digit Read protection setting Comment Memory capacity 328 kbytes All comments including I O comments annotations memory interlinear comments Download during Available All comments RUN Without expansion units 0 2 ms or less With expansion units 0 2 ms or less 1xthe number of expansion unit ms Basic instruction from 0 08 Timer instruction 2 2 us Operation High level instruction from 0 32us MV instruction speed Basic instruction from 0 58 us Timer instruction 3 66 us High level instruction from 1 62us MV instruction Approx 110 types Approx 210 types External input X 1760 points External output Y 1760 points Internal Relay R 4096 points opecial Internal Relay R 224 points Link Relay L 2048 points ister Q T 1024 points Factory default Timer 1008 points TO to T1007 0 Counter 16 points C1008 to C1023 32765 words 440 words DT90000 to DT90443 256 words 14 words 256 points 256 labels Differential points Number of points that is within the program capacity 1000 stages 500 subroutines Available Sampling by commands Sampling at regular time intervals Sampling trace For one sampling 16 bits 3 words C10 C14 C16 300 samples C32 T32 F32 1000 samples High speed counter HSC At single phase 6 points Max 50 kHz or second phase 3 points
133. N GF Timeout error while changing program in PLC Pragram may differ from PLC Please click below Help button to find the way how to solve it 1 When ladder symbol mode As a ladder editing is left set it to the offline edit mode Complete the program conversion in the tool software and then change to the online edit mode to check 2 When boolean mode A ladder editing is cleared Set it to the offline edit mode and carry out the editing operation again After the operation change to the online edit mode to check When the timeout error occurs using the through mode in GT series programmable display Extend the timeout time of the programmable display using the GTWIN The default setting is 5 seconds Communication Setting x Select Transfer from File in the menu bar The Transfer data screen will open Select Condition to open Communication COM port Cancel Setting screen Baud rate 115200 bps Initialize Network type Change the value for Timeout Click OK button to complete the change of setting t will be set as the following value automatically Data Length 8 Stop Bit 1 f Even tC 0 Time out 5 sec Parameter for automatic setting W Baud rate Ww Parity Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Cases where rewriting is not possible during RUN 1 When the result of rewriting is a syntax error
134. No of word for link relay transmission Link relay transmission size 20 120 124 O0 Note No 50 range of link relays used must be set to the same range for all the units Link register allocation Unit no 1 Unit no 2 Unit no 3 Unit no 4 N co LD128 O k Send area m 67 167 168 Receive area No 2 i Receive area 208 708 No 3 i p Send area System registers mo ome 000 Der ier Net Ro No 1 No 2 No 3 No 4 Range of link registers used Starting No for link register transmission Link register transmission size 40 i48 lo Note No 51 range of link registers used must be set to the same range for all the units When link areas are allocated as shown above the No 1 send area can be sent to the No 2 No 3 and No 4 receive areas Also the No 1 receive area can receive data from the No 2 and No 3 send areas No 4 is allocated as a receive area only and can receive data from No 1 No 2 and No 3 but cannot transmit it to other stations IES Note The PC link 1 can be used to connect with the second PC link WO of the FP2 Multi Communication Unit MCU At that time the link relay number and link register number for the PC link can be the same values as the FP2 from WL64 from LD128 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Partial use of link areas In the link areas available for PC P
135. Not available A Not available partially 1 The instruction is available for FPO T32 V2 3 or later and FP e 2 The instruction is available for FP2 FP2SH Ver 1 5 or later and the pulse execution type can be specified FP10SH cannot be used 3 This instruction is available for FP Ver 2 0 or later 4 This instruction is only available for FP X Ver 2 0 or later 5 This instruction is available for FP Ver 3 10 or later Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net High speed counter output reset with channel specification Positioning control with channel specification Pulse output with channel specification PWM output with channel specification Boo lean HC1R WM un Operand n S Yn Description Turns output Yn off when the elapsed value of the built in high speed counter reaches the target 11 FP2SH FP10SH LL O value of S 1 S Outputs a positioning pulse from the specified output YO or Y 1 according to the contents of the data table beginning at S Outputs a pulse from the specified output YO or Y 1 according to the contents of the NNNNS data table beginning at S Performs PWM output from the specified output YO or Y 1 5 o NNNNN according to the contents of the data table beginning at S O High speed counter Pulse output ins
136. O verification error occurs error flag R9000 Notusd R9000 Notused J Turns on and keeps the on state shen an operation error occurs The address where the error occurred is stored in DT90017 indicates the first operation error which occurred Turns on for an instant when an operation error occurs The address where the operation error occurred is stored in DT90018 The contents change each time a new error occurs R9009 Carrv fla This is set if an overflow or underflow occurs in the calculation vinis results and as a result of a shift system instruction being executed Turns on for an instant when the compared results become larger the comparison instructions F60 to F63 Turns on for an instant when the compared results are equal in the comparison R900B instructions F60 to F63 when the calculated results become 0 in the arithmetic instructions Turns on for an instant when the compared results become smaller edis in the comparison instructions F60 to F63 Turns on when the set time elapses set value reaches 0 in the Auxiliary timer timing operation of the F137 STMR F183 DSTM auxiliary timer instruction flag instruction The flag turns off when the trigger for auxiliary timer instruction turns off Operation error flag hold Operation error flag non hold R900D Tool port communication Turns on when communication error at tool port is occurred error Turns o
137. R9087 link 1 mode Turns off when operation is stopped when an error link 1 occurs or when not in the PC PLC link 1 mode trans Turns on when Unit No 9 is communicating properly in PC PLC R9088 mission link mode Turns off when operation is stopped when an error assurance occurs or when not in the PC PLC link mode Turns on when Unit No 10 is communicating properly in PC PLC R9089 link 1 mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link 1 mode Lr Turns on when Unit No 11 is communicating properly in PC PLC R908A link 1 mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link 1 mode mom Turns on when Unit No 12 is communicating properly in R908B link 1 mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link 1 d mec Turns on when Unit No 13 is communicating properly in PC PLC R908C link 1 mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link 1 mode Turns on when Unit No 14 is communicating properly in PC PLC R908D link 1 mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link 1 mode Turns on when Unit No 15 is communicating properly in PC PLC R908E link 1 mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link 1 mode mero Turns on when Unit No 16 is communicating pro
138. RUN and PROG LEDs flash alternately Lights In the PROG mode The operation has stopped The forced input output is being executed in the PROG mode Flashes The forced input output is being executed in the RUN mode The RUN and PROG LEDs flash alternately Flashes An error is detected during the self diagnostic function ERROR Lights A hardware error occurs or operation slows because of the program and the watchdog timer is activated ALARM PROG Green ERROR ALARM Red 2 RUN PROG mode switch This switch is used to change the operation mode of PLC Switch Operation mode RUN Position Up RUN mode The program is executed and the operation begins PROG Position Down PROG mode The operation stops In this mode programming can be done using a tool software Switching between RUN and STOP can be also performed by the remote operation from a programming tool When performing remote switching from the programming tool the setting of the mode switch and the actual mode of operation may differ Verify the mode with the status indicator LED Restart the power supply to operate in the mode set with the RUN PROG mode switch 2 USB connector Mini USB B type 5 pin This connector is used to connect a programming tool A commercial USB cable USB2 0 cable A miniB can be used 4 Tool port RS232C This connector is used to connect a programming tool A commercial mini DIN 5 pin connec
139. S Upload protection setting function If this function is valid the PLC will be in the upload protection state by downloading a program to the PLC from the FP memory loader FP memory loader fd Program A Password 01234567 MiUpload protection function Downloading programs aj mU f Program A Password 01234567 Upload is not possible Upload is prohibited FP memory loader Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 9 3 2 Setting Method Setting with FPWIN GR 1 Select Online Online Edit Mode in the menu bar and press the CTRL and F2 keys The screen is switched to Online Monitor 2 Select Tool Set PLC Password in the menu bar The Set PLC Password dialog box is displayed Set PLC Password Untitlel E XI RE We Current status Password i2 not set Close Available retry counte 3 counts Pare Caneel digit number 2 Help 4 digits Hex 8 digits alphanumeric Match case Operation Mode C Access Protect C Unprotect B digits password tA Enter in alphanumeric Setting Far FP memor loader option Allow the download in case of same password Set that PLC cannot be uploaded 3 Set the items in the table below and click on the Settings button Digit number Select 8 digits Operation Mode Select Protect 8 digits pass
140. S E8RM pide Terminal layout diagrams E8X E16T Input No input for EBYT E8YT Front view of connector ACS ae Note Two COM terminals of the input circuit are connected internally Input No input for E16YT I FH du cmm Output No output for E16X Front view of connector nee Note Two COM terminals of the input circuit are connected internally Two terminals of the output circuit are connected internally Two terminals of the output circuit are connected internally Terminal layout diagrams E16P E8YP Input No input for E8YP A3 COM COM Irun Front view of connector Sur Note Two COM terminals of the input circuit are connected internally Output Front view of connector CN ME Note Two COM terminals of the input circuit are connected internally Two terminals of the output circuit are connected internally Two terminals of the output circuit are connected internally Chapter 4 Allocation 4 1 V O Allocation FPOR control unit XO XF YO YF E ss os J J FPO FPOR expansion unit X20 X3F Y20 Y3F X407 X5F Y40 Y5F X60 X7F Y60 Y7F Expansion unit 1 Expansion unit 2 _ Expansion unit 3 Note The usable I O numbers different depending on the units Regarding I O number Specifying X and Y numbers On the FPOR the sam
141. SH and FP10SH Check the contents of special data registers DT90131 to DT90137 and locate the abnormal slave station and recover the communication condition FP3 Check the contents of special data registers DT9131 to DT9137 and locate the abnormal slave station and recover the communication condition Selection of operation status using system register27 to continue operation set K1 to stop operation set KO In the unit on the slave station an abnormality such as missing unit abnormal intelligent unit was detected FP2 FP2SH and FP10SH Check the contents of special data registers DT90131 to DT90137 and locate the abnormal slave station and recover the slave condition FP3 Check the contents of special data registers DT9131 to DT9137 and locate the abnormal slave station and recover the slave condition Selection of operation status using system register28 to continue operation set 1 to stop operation set 0 The power supply for the expansion unit was turned on after the control unit Turn on the power supply for the expansion A unit at the same time or before the control unit is turned on The voltage of the backup battery lowered or the backup battery of control unit is not installed Check the installation of the backup battery and then replace battery if necessary By setting the system register 4 you can disregard this self diagnostic error gt AJAJAJA
142. SH cannot be used 2 This instruction is available for FPO Ver 2 0 or later and FP e Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FP2SH FP10SH P15 exchange PXCH Ereg P16 Exchange PDXCH 0 2 01 1 D1 17 Higher lower SWAP The higher byte and lower byte of D P17 byte in 16 bit PSWAP are exchanged data exchange F18 16 bit data BXCH D1 Exchange the data between D1 and block D2 with the data specified by exchange Control instruction F19 Auxiliary jump SJP The program jumps to the label ome SP instruction specified by S and continues from there Binary arithmetic instructions 16 bit data S 5 D E ee addition pos addition PD addition P 52 D addition PD S2 D Bm subtraction E menm Re HIDE P27 subtraction 52 D Pas subtraction Pp s20 o nt Or 28 subtraction 52 D muitipication oo D F31 matipiesion PD 15 S1 1 S1 X S2 1 S2 5 D 3 0 2 P31 multiplication 52 D in D division x D E D ee DT9015 32 bit data D96 division PD p 1 S2 1 S2 5quotient 0 1 16 bit data multiplication i 52 D A Boo lean Description S A m pupa 2 Ld um um um LE L 079016 079015 S1 X S2 D E result in 16 bits mum E increment 1 32 bit data D 1 F37 16 bit data P37 omen _ F38 32 bit data in D 1
143. Web www ctiautomation net Email info ctiautomation net Chapter 11 Self Diagnostic and Troubleshooting Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 11 1 Self Diagnostic function 11 1 1 LED Display for Status Condition How to read status indicator LEDs on control unit woe NON LEDstaus Operation ERROR Description ALARM NN on Normal operation Light on PROG mode condition Forcing input output in Run mode Light on Car 1 Self diagnostic error Operation is running Operation noe Off Light on Self diagnostic error Operation stops Light on Light on Light System watchdog timer has been Stop or off or off on activated e The control unit has a self diagnostic function which Statue identifies errors and stops operation if necessary indicator e When an error occurs the status of the status indicator LED LEDs on the control unit vary as shown in the table above m m P wa QUO Uu UU jocong conooco A _ 11 1 2 Operation Mode When an Error Occurs Normally when an error occurs the operation stops When the duplicated output error or operation error occurs the user may select whether operation is to be continued or stopped by setting the system registers You can set the error which operation is to be continued or stopped using the programming tool software as shown below
144. a Form A normally open contact edge OR OR in parallel only for one scan when the leading edge of the trigger is detected Trailing Connects a Form A normally open contact edge OR aN a i in parallel only for one scan when the trailing edge of the trigger is detected Leading Outputs the operated result to the specified edge out output only for one scan when leading edge of the trigger is detected for pulse relay Trailing Outputs the operated result to the specified output only for one scan when trailing edge of the trigger is detected for pulse relay Alterna YR al E Inverts the output condition on off each time a 38 the leading edge of the is detected Connects the multiple instruction blocks ow Connects the multiple instruction blocks in T parallel Available Not JE A Not available partially i The type of the devices that can be specified depends on the models 2 This instruction is available for FP X Ver 2 0 or later and FPX Ver 3 10 or later 3 In the FP2 FP2SH 10SH when using 1280 Y1280 R1120 special internal relay included L1280 T256 C256 or anything beyond for the ST ST OT AN AN OR and OR instructions the number of steps is shown in parentheses Also in the FP2 FP2SH FP10SH when a relay number has an index modifier the number of steps is shown in parentheses For the and FP X the number of steps varies according to the relay number to be
145. a time chart The number of samples before and after the trigger point can be adjusted by the number of delay When using the 32 point type with the initial settings number of samples 1000 number of delay 100 the number of samples before and after the trigger point is 900 and 1000 respectively Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Operation image of sampling trace Trace memory in PLC pm 1 sampling data Back to the biginning if exceeding the area ff FPWIN GR Untitle1 2 Monitoring Time Chart ig File View Online Settings Option Help Slaj ele sfe wo Comment Remark FREE Sampling Times 1000 Times Sampling Rate 100 Delay Times 100 Times ime Monitor configuration Sampling data display Data entry mmm Bees arg wr rcs Ee cero e ERR 100ms Ons 1000ms 1000ns 2000ms 1000us 2000ms 1 P M Cursor information i la Online Offline Setting Scale Monitor Run Pro u lt gt lg Ready NUM 2 1 Sampling at regular time intervals 1 Register the bit word device to be monitored by the time chart monitor function of FPWIN GR 2 Specify the sampling configurations Set the mode of the sampling configurations to
146. able of Specifications 13 1 1 General Specifications mem Description Rated operating voltage 24 V DC Operating voltage range 20 4 to 28 8 V DC C10 C14 C16 5 ms at 20 4 V 10 ms at 21 6 V C32 T32 F32 10 ms at 20 4 V Built in Not replaceable 0 to 55 C torage temperature 40 to 70 T32 only 20 to 70 Ambient humidity 10 to 95 RH at 25 C No condensation 10 to 95 RH at 25 No condensation Ry output type Between input terminals and output 1500 V AC terminals for 1 minute for 1 minute Between output terminals and output 1500 V AC terminals Between different commons for 1 minute Breakdown voltage Between input terminals and power ground 500 V AC 500 V AC Detection current 5 mA terminals for 1 minute for 1 minute Between output terminals and 500 V AC 1500 V AC power ground terminals for 1 minute for 1 minute Between ground terminal and power 500 V AC 500 V AC terminal for 1 minute for 1 minute Tr output type output type Between put terminals and output Over 100 lOver 100 MO terminals Between terminals and output Over 100 MO terminals Between different commons Insulation resistance Test voltage 500 V DC ae ANG power grodhl 1e MOD output SENS and Over 100 lOver 100 MO power ground terminals Doreen ground terminals and power Over 100 lOver 100 MO terminal
147. able of self diagnostic error codes MEWTOCOL COM Transmission Errors These are error codes from a PC or other computer device that occur during an abnormal response when communicating with a PLC using MEWTOCOL COM Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 15 4 1 Table of Syntax Check Error Opera tion Description and steps to take status A program with a syntax error has been written Change to PROG mode and correct the error Two or more OT Out instructions and KP Keep instructions are programmed using the same relay Also occurs when using the same timer counter number Duplicated Change to PROG mode and correct the output program so that one relay error is not used for two or more OT instructions Or set the duplicated output to enable in system register 20 A timer counter instruction double definition error will be detected even if double output permission has been selected For instructions which must be used in a pair such as jump JP and LBL one instruction is Not paired either missing or in an incorrect position error Change to PROG mode and enter the two instructions which must be used in a pair in the correct positions An instruction has been written which does not agree with system register settings For Parameter example the number setting in a program does mismatch not agree with the timer counter range setting error Chan
148. acity Arrange the wiring so that the input and output wiring are separated and these wirings are separated from the power wiring as much as possible Do not route them through the same duct or wrap them up together Separate the input output wires from the power and high voltage wires by at least 100 mm Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 5 4 Wiring of MIL Connector Supplied connector and suitable wires The connector listed below is supplied with the unit Use the suitable wires given below Also use the required pressure connection tools for connecting the wires Suitable wires Twisted wire Size Nominal cross sectional area Insulation thickness Rated current AWG H22 Dia 1 ia 1 1 A AWG 24 Connector for loose wire cable Attached to the control unit and expansion I O unit Unit type and required quantity Manufacturer productNo C32 T32 F32 E32 Housing 10P 2pcsxiset 2pcsx2sets Panasonic Electric _ Works SUNX Co semi cover 10P 2pcs pcs x 1 set 4 pcs x2 sets Ltd Contact for AW22 and 24 4 pcs x 1 set 4 pcs x2 sets 5 pins Note The parts of the number of the connectors are supplied with the product If you need more connectors purchase AFP080 2 sets pack Pressure connection tool Manufacturer Product No oo Electric Works SUNX Co 2000 2 pcs x 1 set
149. allocations Unit no 1 Unit no 2 Unit no 3 WLO 10 WLO a 35 Receive area 39 Overlap _ No 3 end area 63 System registers Range of link relays used Starting No of word for link relay transmission o 20 Link relay transmission size Invalid allocations The allocations shown below are not possible neither for link relays nor for link registers Send area is split Send area Receive area Send area Send and receive areas are split into multiple segments Send area Receive area Receive area Send area Send area Receive area Receive area Send area Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 6 5 Setting the Largest Unit Number for PC PLC Link The largest unit number can be set using system register no 47 using system register 57 for PC PLC link 1 Sample setting 1st unit Unit no 1 is set 2nd unit Unit no 2 is set A largest unit no of 2 is set for each 1st unit Unit no 1 is set 2nd unit Unit no 2 is set 3rd unit Unit no 3 is set 4th unit Unit no 4 is set A largest unit no of 4 is set for each Nth unit Unit no n is set A largest unit no of n is set for each ME Note Unit numbers should be set sequentially and consecutively starting from 1 with no breaks between them If there is a missing unit number the transmission time will be longer lf fewer than 16 units are li
150. ata that was read If an error occurred and the command could not be processed successfully the content of the error Command Check Termi tni code nator T The unit number of the PLC to which the command is being sent 2 The type of command 3 Any settings and data required in order to execute the command The command and data v sent to the PLC with the specified unit number A response is returned and processed by the computer e g the computer retrieves the data that was sent Response message Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Format of command and response Command message All command related items should be noted in the text segment The unit number must be specified before sending the command D Header 2 Unit no of destination 01 to 99 decimal Text Content depends on type of command Check code BCC hexadecimal Terminator i aA Two One 4 VY Ne a digit digit Target that reads the value internal relay R1 Specified item S specifies that only 1 point should be read Command name e g read contact area Command code Indicates that this is a command 1 Header Start code Commands must always have a 9o ASCII code H25 or a lt ASCII code at the beginning of a message 2 Unit number The u
151. ating point type data arcsine operation Floating point type data arccosine operation Floating point type data arctangent operation Floating point type F319 P319 ES data natural logarithm Floating point type EXP S D EXP S 1 S gt D 1 D data exponent PEXP data logarithm PLOG data power PPWHR 52 0 D Floating point type PFSQR N S 1 S gt D 1 D S D data square root FLT Converts the 16 bit integer data PFLT F317 P317 F318 P318 TAN S D TAN S 1 S O D 1 D PTAN S D SIN S 1 S gt D 1 D ACOS S COS S41 S gt D 1 D PACOS D S D TAN S t S O D 1 D PATAN S D LN S 1 S O D 1 D PLN 16 bit integer data to floating point type with sign specified by S to real data conversion number data and the converted data is stored in D Converts the 32 bit integer data with sign specified by S 1 S to real number data and the converted data is stored in D 1 D Converts real number data specified by S 1 S to the 16 bit integer data with sign the largest integer not exceeding the floating point data and the converted data is stored in 32 bit integer data to floating point type data conversion F327 P327 Floating point type data to 16 bit integer conversion the largest integer not exceeding the floating point type data Floating point type data to 32 bit integer conversion the largest integer not exceeding the F328 P328 Conv
152. ation net Flow chart For Type 11 Data initialization DT50 and DT51 is equivalent to DT60 and DT61 NO Increments DI50 DT51 Execute F145 Sends a data SEND instruction write command RECV instruction Sends a data read command 146 YES Turns RO off The above program executes the operation 1 to 3 repeatedly 1 Updates the write data if the write data DT50 and DT51 and the read data DT60 and DT61 are matched 2 Writes the DT50 and DT51 of the local unit into the data No H7788 in the unit number 07 from the COM port 3 Reads the data No H7788 in the unit number 07 into the data DT60 and DT61 of the local unit from the COM port Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Chapter 8 High speed Counter Pulse Output and PWM Output Functions Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 1 Overview of Each Functions 8 1 1 Three Pulse Input Output Functions There are three functions available when using the high speed counter built into the FPOR High speed counter function Encoder output is inputto FPOR high speed counter function counts external the high speed counter inputs such as those from sensors or encoders When the count reaches the target value this function turns on off the desired output Motor Encoder
153. ause problems Since the power supply line of the FPO FPOR expansion unit is connected to the function earth through a varistor if there is an irregular potential between the power supply line and earth the varistor may be shorted As for the FPOR control unit since its power supply line is connected to the function earth through a high voltage capacitor it is no problem 24 V DC OV Varistor 39 V Function earth FPOR power supply line Do not ground the function earth terminal when grounding a plus terminal of the power Do not ground the FPOR function earth terminal when grounding a plus terminal of the power In some computers the SG terminal of RS232C port and connector shielding are connected In addition an FPOR tool port shielding and function earth terminal are connected Therefore the GND terminal of FPOR and the function earth terminal are connected if the computer is connected Especially when the FPOR is connected to a computer with a plus terminal grounded the GND terminal is in the state that the voltage of 24 V is applied As a result short circuit occurs which may lead to the breakage of FPOR and its neighboring parts if the GND terminal is connected to the earth terminal in that state SG Q s HI e Funcation earth A Shielding Grounding Grounding Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ct
154. available in the FPO compatibility mode Usable communication ports on FPOR FPO compatibility mode Tool port USB port No communication parameter COM port RS232C port Tool port settings Dialog box of PLC system register setting FLU Gost Urmi ika Kn AT Uri E dTi Commuricabon cssc ors Daia Lergh C Donneci C Hor Connect fF Big 414 c Lae J ome sno rm __ No 410 Unit number The unit number can be set within a range of 1 to 32 No 411 Communication format Modem connection Connect Not Connect Char bit 7 bits 8 bits Change the value to match the connected external device No 414 Baud rate setting The baud rate of 9600 or 19200 bps can be selected Specify the value to match the connected external device COM port RS232C port settings FLUG Gost eur atin Unibet E x Kosi Pot Section 413 Gennaio Form 414 Bake Char Bits m Parity Check Ha415 nir Ha Stn Bit z HaXi amp Modem Erabled i 1 1m me onemc wm me No 412 Mode selection Select the computer link No 413 Communication Format Char Bit 7 bits 8 bits Parity None Odd Even Stop bit 1 bit 2 bits Terminator CR Header STX not exist Change the value to match the connected external device No 414 Baud rate Select one of
155. backup battery of IC memory card The contents of the IC memory card cannot be guaranteed The IC memory card installed is not compatible Replace the IC memory card compatible with FP2SH FP10SH MEWNET W2 MCU The MEWNET W2 link unit or MCU Multi communication unit is not installed in the slot specified using the configuration data Either install a unit in the specified slot or change the parameter The error specified by the F148 ERR P148 PERR instruction is occurred Take steps to clear the error condition according to the specification you chose gt A Available Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 15 4 3 Table of MEWTOCOL COM Communication Error Description NACK error Link system error WACK error Link system error Unit No overlap Link system error Transmission format error Link unit hardware error Link system error 27 Link system error Link system error Link system error Link system error Transmission Link system error impossible error Communication stop Link system error No destination error Link system error Other communication Link system error error M0 BCCemo A transfer error occurred in the received data M1 Formateror A command was received that does not fit the format M2 No support error A command was received that is not supported LIEBE inii MN procedure error frames
156. buffer LL a Data read from The oldest data beginning from dec RM cR and stored in F117 Data write into FIFW S The data of S is written to the buffer sixiololo P117 FIFO buffer PFIFW starting from D Basic function instructions F118 UP DOWN counter Counts up or down from the value value in F119 Left right shift LRSR D1 Shifts one T to the left or right with register D2 the area between D1 and D2 as the register Data rotate instructions Rotates the n bits in data of D to P120 rotate PROR the right EHE CM LUE Rotates the n bits in data of D to rotate PROL the left F122 16 bit data right RCR D n Rotates the n bits in 17 bit area P122 rotate with carry PRCR consisting of D plus the carry flag flag R9009 data R9009 data to the right 16 bit data left Rotates the n bits 17 bit area rotate with carry PRCL consisting of D plus the carry flag flag R9009 data R9009 data to the left 32 bit data right DROR D Rotates the number of bits specified rotate PDROR by of the double words data 32 bits specified by D 1 D to the right F126 32 bit data left DROL Rotates the number of bits specified P126 rotate PDROL by n of the double words data 32 bits specified by D 1 D to the left F127 32 bit data right DRCR Rotates the number of bits specified P127 rotate with carry mo by n of the double words data 32 flag
157. by length are stored in these special data A N A F149 MSG instruction registers when F149 MSG instruction is executed DT90036 Notused J J NA CNA Note Scan time display is only possible in RUN mode and shows the operation cycle time In PROG mode the scan time for the operation is not displayed The maximum and minimum values are cleared each time the mode is switched from RUN to PROG Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FPOR A Available N A Not available Fa The number of data that match the searched DT90037 One Tor data is stored here when F96 SRC A N A instructions ane insturction is executed The position of the first matching data is Work for SRC stored here when an F96 SRC instructionis N A Instructions executed 01790039 Notused J CCNA NA DT90040 Notused J CNA NA DT90041 Notused 23 NA NA DT90042 Notused J 3 13A NA NA DT90043 Notused J 31 NA NA DT9004 Notused J h 3 3A NA NA DT90045 Notused J A A 4 NA NA DT90046 Notused J A 3 3 33 NA NA DT90047 Notused J h A NA NA DT90048 Notused J h 31 A NA N
158. cannot be downloaded with FP memory loader Ver 2 or later only the upload protection setting is activated Status of PLC that program has been downloaded Status of FP memory loader Password setting for FPOR after download No password setting The password will be cleared 4 digit password setting The password will be overwritten with a new 4 digit password 8 digit password setting t Limited distribution setting Off The password will be overwritten with a new 8 digit password 8 digit password setting The password will not change Limited distribution setting On The program itself will not be downloaded Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 9 4 Table of Security Settings Cancel For the settings on the FPOR control unit Status of security set protection password password Upload protection _ A a A 4digitpasswrd a MNA Sets Cancels mii A Available N A Not available Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Chapter 10 Other Functions Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 10 1 P13 PICWT Instruction Data registers of 32765 words can be stored and used in the built in ROM F ROM data area control unit using the P13 PICWT instruction Note the followin
159. cations gt Phone 800 894 0412 Fax 888 723 4773 Web lt When using CH2 gt FPOR Home input H X1 Near home input Driver Pulse output Y4 Direction output X1 or any other input can be specified for the near home input www ctiautomation net Email info ctiautomation net Wiring example FPOR Input terminal Home sensor Near home sensor Positioning start Positioning start Home return start JOG start JOG start Overrun j L o a E bcon acon acontact b contact tact tact Stepping motor Moving table side side P mmn Stepping motor driver Output terminal Common CW input Pulse output CW Pulse output CCW Power RIR2R1IR2 supply Note 24V DC Note When the stepping motor input is a 5 V optical coupler type connect a resister of 2 1 2 W to R1 and connect a resistor of 2 1 2 W 470 2 W to R2 YO T Common 3 t CCW input _ lt Table of I O allocation O X4 Home sensor input Near home sensor input XB Positioning start signal X9 Positioning start signal Home return start signal XC Overrunning signal Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 4 4 Pulse output control instructions FO F1 Pulse output control instruction FO e This instruction is used f
160. celeration Deceleration Frequency time time ue DU TUM 1 lt aS e nennen enne spe Den speed A Calculates the section TEM change between target speed Calculates the section before speed change Calculates the section between target speed Calculates the secbon between and inilial speed as between initial speed and target speed as speed table of 30 steps and creep speed as initial speed and target speed speed table of 30 steps as speed table of 30 steps Target apesd I EE ELE Before speed change Initial speed speed table of 30 steps Pr P Decelerates with each step 4 assigned in each section and with the same slope Initial speed Time Time Speed change command __ 1_ Trapezoidal control Type 1 F171 Specify the time from the initial speed to the maximum speed 50 kHz as acceleration time and the time from the maximum speed 50 kHz to the initial speed as deceleration time in the program The actual acceleration deceleration time is relatively shorter than the specified acceleration deceleration time Each section between the initial speed and the maximum speed 50 kHz and between the maximum speed 50 kHz and the initial speed is divided into the speed table of 30 steps to calculate the speed Therefore the acceleration deceleration is not as smooth compared to other control patterns especially when the target spee
161. cifying the password carefully The password setting is designed to avoid programs 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 deleted When specifying the password note it in the specifications manual or in another safe location in case it is forgotten at some point Programming Tool Restrictions Restrictions on usable programming tools depending on the units Type of programming tool Type of unit FPWIN GR Ver 2 Windows software FPWIN GR Ver 1 Windows software Conforms to IEC61131 3 AFP1113V2 AFP1114V2 AFP1113 Handy programming unit AFP1114 Discontinued product AFP1111A AFP1112A AFP1111 AFP1112 AFP8670 FP memory loader AFP8671 Acs Note Used Ver 2 80 or later Used Ver 6 10 or later Not used Not used Used Ver 2 0 or later In case of using FPWIN GR Ver 1 please purchase upgrade model FPWIN GR Ver 2 FPWIN GR Ver 2 can be upgraded free of charge at our web site FPWIN Pro Ver 6 can be upgraded free of charge at our web site The handy programming unit cannot be used Do not download any programs for other units such as FP1 to the FPOR using the handy programming unit When Using FPO Programs The programs used on the existing FPO can be used on the FPOR in the following 2 cases 1 Using the programs in the
162. communication port to COM1 destination unit No to 07 MODBUS command No to 6 register single point preset in DT 100 Also for Receive command set the same settings except Modbus command No It should be 03 in DT101 Clear the WRO to send the write command first Clear the write data DT50 and DT51 Set the read data DT60 and DT61 R9013 FO MV H 1607 Dr100 1 FO MV HO WRO 1 F1DMV HO Drs0 F1DMV HFFFFFFFF DT60 R1 is the transmission condition of write command transmission condition and R2 is the transmission condition of read command 31 R9044 RO R1 RO R2 H Compares the write data 50 and DT51 with the read data DT60 and DT61 before sending the write command and updates the write data if they are matched 39 R1 H F61 DCMP DT50 DT 60 R1 R900B 49 H4 1 gt F36D 1 DT50 1 Sends a command to write the data DT50 and DT51 2 words of the local unit to 9 the address No H7788 in the unit number 07 from R1 H F145 SEND DT 100 DT50 H7788 K2 FO MV H1 WRO L Sends command to read the address No H7788 in the unit number 07 from 70 and stores the result in the data DT60 and DT61 of the local unit R2 H F146 101 H7788 K2 DT60 FO MV HO E Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautom
163. counter Pulse output instruction for FPX FP X High speed MV S DT90052 Performs high speed counter counter and and Pulse output controls Pulse output according to 5 e controls the control code specified by 5 The control code is stored in DT90052 F1 Change and read Transfers S 1 S to high of the elapsed S 0790044 speed counter and Pulse output value of high FP X elapsed value area DT90045 speed counter S DT90300 DT90044 and Pulse output Transfers value in high speed DT90044 D counter and Pulse output FP X elapsed value area DT90045 DT90300 D DT90044 to D 1 D F166 Target value much on with channel specification F167 Target value much off with channel specification FPX Turns output Yn on when the elapsed value of the built in high speed counter reaches the elapsed value of the built in high speed counter reaches the target value of 5 1 S Positioning pulses are output from the specified channel in accordance with the contents of the data table that starts with S F171 Pulse output with channel specification Trapezoidal control and home return F172 Pulse output with channel specification JOG operation F173 PWM output PWM output is output from the with channel specified output in accordance specification with the contents of the data table that starts with S Pulse strings are output from the specified outpu
164. counting from there Y Mox ve Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 2 Function Specifications and Restricted Items 8 2 1 Specifications High speed counter function Input output contact No being Memory area being used used Performance specifications High speed counter Input contact Mini mum Maximum number value in Control Elapsed Target d input pulse counting parenthesis is flag value area value area Note2 reset input width speed Single phase Incremental Decremental 0 X2 1 X2 DT90300 to DT90301 DT90304 to DT90305 DT90308 to DT90309 DT90312 to DT90313 DT90316 to DT90317 DT90302 to DT90303 DT90306 to DT90307 DT90310 to DT90311 DT90314 to DT90315 DT90318 to DT90319 DT90322 to DT90323 6 um DT90320 Note3 None R9115 to DT90321 X0 DT90300 DT90302 2 phase X2 DT90301 DT90303 2 phase input X3 DT90308 DT90310 0 0 Direction X5 DT90309 DT90311 distinction EN i DT90316 DT90318 Note3 X7 R9114 to to None DT90317 DT90319 Note1 The reset input X2 can be set to either CHO or CH1 The reset input X5 can be set to either CH2 or CH3 The inputs X4 to X7 are also used for the home input of the pulse output function It is necessary to set how to use each input by system registers Note2 For information on minimum
165. ct Online gt Online Edit Mode in the menu bar and press the CTRL and F2 keys The screen is switched to Online Monitor 2 Select Tool Upload settings in the menu bar The Upload settings dialog box is displayed Upload settings Untitlel Set that PLC cannot be uploaded Close Release the upload protection by compulsion Help 3 Select Set the PLC cannot be uploaded and press the Execute button Force Cancel with FPWIN GR Select Release the upload protection by compulsion in the Upload settings dialog box and press the Execute button Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 9 3 Setting Function for FP Memory Loader 9 3 1 Setting Function for FP Memory Loader The following two functions of the FP memory loader AFP8670 AFP8671 can be set through the FPOR Limited distribution function Programs can be downloaded only to the units which the same password has been set When downloading a program from the memory loader the program can be downloaded only when the program stored in the memory loader matches the password set for the PLC with this function enabled FP memory loader 2 Password 01234567 Wilimited distribution function ON j Download is possible E hy Password 01234567 c Password abcdefgh Password None I Fi F L
166. ction is available for FP X V1 10 or later and FP 32k type Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 15 3 Table of High level Instructions The high level instructions are expressed by the prefixes F or P with numbers For most of the high level instructions F and P types are available The differences between the two types are explained as follows Instructions with the prefix F are executed in every scan while its trigger is in the on Instructions with the prefix P are executed only when the leading edge of its trigger is detected For the FPO FPOR FP FP X the P type high level instructions are not available lean rand mo transfer mstructions Cu P M bit data lu move PDMV 16 bit data invert and move 32 bit data invert and move Reading of head word No of the GETS specified slot Bit data BTM m Hexadecimal me digit 4 bit PDGT data move 7 datamove Pmv2 S2D s2 data move PMV2 wamove PoMv2 S2D data move PDMV2 BM 2 0 PBKMV S2 D PCOPY S2 D S2 D Data read ICRD from EEP S2 D Data write to PICWT EEP ROM 52 D z D E D E D ROM Data read ICRD from F ROM F10 Data write to PICWT F ROM Data read ICRD from IC card PICRD Data write to CWT IC card ECT Program read PGRD PPGRD from IC Available 2 Not available F12 P12 F13 P13 mem
167. ction is to prohibit reading programs and system registers by setting to disable program uploading f the upload protection is set note that the ladder programs and system registers will be disabled to be uploaded after that Transferring programs to the FP memory loader will be also unperformable he setting can be cancelled using the programming tool however all ladder programs system registers and password information will be deleted when the setting is cancelled Editing the files that are controlled with a PC can be carried out online using the programming tool However the programs will be broken if the programs are not absolutely matched When using this function store ladder programs as files without fail Interaction with the password protect function he password setting can be specified simultaneously for the PLC in which this function is set his function can be also set in a password protected PLC NEST Note When performing Release the upload protection by compulsion All programs and security information will be deleted when the upload protection setting is cancelled We cannot restore the deleted programs even if you ask us We cannot read the data of the PLC in which the program upload protection has been set Keeping your programs is your responsibility 9 2 2 Setting Method Use the programming tool to set the upload protection on the control unit Upload protection setting with FPWIN GR 1 Sele
168. culated Available X Not available Not available partially 1 This instruction is available for FP 32k type 2 This instruction is available for FP X Ver 1 13 or later 3 This instruction is available for FP2 FP2SH Ver 1 5 or later FP10SH cannot be used x gt Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FP2SH FP10SH Ope me Boolean P Description rand Time series processing instruction PID processing S PID processing is performed depending on the control value mode and parameter specified by S to S 2 and S 4 to S 10 and the result is stored in the S 3 Easy PID S1 Temperature control PID can be S2 easily performed using the image S3 S4 of a temperature controller Compare instructions F373 16 bit data DTR S D If the data in the 16 bit area P373 revision PDTR specified by S has changed detection since the previous execution internal relay R9009 carry flag will turn on D is used to store the data of the previous execution F374 32 bit data DDTR S D If the data in the 32 bit area P374 revision PDDTR specified by S 1 S has changed detection since the previous execution internal relay R9009 carry flag will turn on D 1 D is used to store the data of the previous execution Index register bank processing instructions F410 Setting the SETB n Index registe
169. d DT90141 The current Interval between two receiving operations value in the register x 2 5ms DT90142 The DAHER between two receiving operations value in the register x 2 5ms DT90143 The maximum interval between two receiving MEWNET WO operations value in the register x 2 5ms N A PC PLO link 0 status The number of times the sending operation is DT90144 performed DT90145 The current Interval between two sending operations value in the register x 2 5ms DT90146 The Interval between two sending operations value in the register x 2 5ms DT90147 The maximam interval between two sending operations value in the register x 2 5ms DT90148 ne number of times the receiving operation is performed DT90149 The current interval between two receiving operations value in the register x 2 5ms DT90150 The s nerva between two receiving operations value in the register x 2 5ms DT90151 The maximum interval between two receiving MEWNET WO operations value in the register x 2 5ms A N A PC PLC link 1 status The number of times the sending operation is DT90152 performed DT90153 The current Interval between two sending operations value in the register x 2 5ms DT90154 The ommum Interval between two sending operations value in the register x 2 5ms DT90155 The maximum interval between two sending operations value in the register x 2 5ms Area used for measurement of receiving PC PLC link 0 status Area used for measurement of sending inte
170. d dialog box is displayed Set Password Untitlel EE xj PLC Settings Current status Password iz not set Close Available counts 3 counts Ecl r digit number 2 Help C 4 digits Hex f B8 digits alphanumeric Match case Operation Mode Protect Unprotect B digits password Enter in alphanumeric Setting Far FP memory loader option Allow the download in case of same password Set that PLC cannot be uploaded Set the items in the table below and click on the Settings button Digit number Select 4 digits or 8 digits Operation Mode Select Access 4 digits or 8 digits Input the set password Once access is permitted the following message is displayed FPWIN GR EU gt t PLC is not protected state 3 Click the OK button Note If the power supply of the PLC is turned on off when the access is permitted the PLC will be password protected again Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net How to cancel the password protection Following two methods are available to cancel the password setting Unprotect Cancels the registered password to be specified All programs are retained All programs are deleted Erases all programs and security information to l Force cancel The upload protection cancel the setting forcib
171. d Output 12 15 fee 13 1 13 1 Table OF Specifications rd be tate Due ata 13 2 19 2 VO NEMD SR AIOCSUOD sse cates N 13 8 13 3 Relays Memory Areas and 13 10 13 4 Power Supply Unit and I O Link Unit Specifications 13 11 14 DIMENSIONS and OMENS 14 1 VA T DIE BISIOL 14 2 14 2 Cable Adapter 14 7 POC DDC IG ENTER ET 15 1 15 1 System Registers Special Internal Relays Special Data Registers 15 2 15 2 Table of Basic Instructions 15 39 15 3 Table of High level Instructions eeeeseesseessese 15 47 154 Fable Ol Error Codes o it 15 67 15 5 MEWTOCOL COM Communication Commands 15 80 15 6 15 81 15 7 ASCII Codes Before You Start Operating environment Use the unit within the range of the general specifications when installing Ambient temperature to 55 C Ambient humidity 10 to 95 RH at 25 C non condensing For use in pollution Degre
172. d header cannot be changed Char Bit 8 bits Parity Odd Stop Bit 1 bit Terminator Setting disable Header Setting disable No 415 Baud rate setting The default setting for the baud rate is 9600 bps Set the value to match the external device connected to the communication port For using the RS485 type make the same setting as that of the baud rate switches 19200 or 115200 bps Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 7 3 MODBUS Master Use the F145 SEND Data send or F146 RECV Data receive instruction to use the MODBUS master function Sample program Sets the remote unit No to 01 and No of processing OL words to 2 in the DT100 and DT101 Clear the WRO to send the write command first Clear the write data DT50 and DT51 Set the read data DT60 and DT61 F0 MV H2 DT100 1 Fo MV 1001 DT101 1 FO MV HO WRO 1 1 HO 0750 F1DMV HFFFFFFFF DT60 1 R1 is the transmission condition of write command transmission condition and 31F R2isthe transmission condition of read command R9044 R1 RO R2 H M Compares the write data DT50 and DT51 with the read data DT60 and DT61 before 39 sending the write command and updates the write data if they are matched I R1 F61 DCMP DT50 DT60 E R1 R900B aH l 1 9 r36D 1 0 50 Sends a comma
173. d is low To use in a low speed area with a device such as a stepping motor select the trapezoidal control Type O After the execution of the instruction the speed can be changed within the range of the maximum speed 50 kHz Deceleration time in program Deceleration Frequency Acceleration time in program time in program OPERE one nre monete Calculates the section Target speed Calculates the section between amp between 50kHz and UTC imp it or nsnm Calculates the section i initial speed as speed change between SOkHz and table of 30 steps initial speed as speed initial speed and 50kHz as speed table of 30 steps table of 30 steps Calculates the section between initial speed and 50kHz as speed table of 30 steps Target Targetspeed speed 777 Before speed Accelerates with each Decelerates with each change 1 5 step assigned between step assigned between Accelerates with each step Initial initial speed and target target speed and initial Initial gt signed each section and speed speed speed speed same slope Time uw 8 Tig Actual acceleration time Actual deceleration time Actual acceleration time Actual deceleration time GV Speed change command Time Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net JOG positioning control Type 0 F171
174. d several responses sent Key Point With the FPOR an expansion header is supported to send single frame of up to 2048 characters as well as general 96 of header No of characters that can be sent in 1 frame Max 118 characters Max 2048 characters Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Response message The PLC that received the command in the example above sends the processing results to the computer D Header Unit no of source PLC that processed the command decimal Text Processing results and communication error codes ar estored here 4 4 Check code BCC Hexadecimal amp Terminator Two One digit digit Read value Processing results for contact area read contact is off i name e g read contact area Response code indicates a normal processing result indicates that an error occurred 1 Header Start code A 95 ASCII code H25 or a lt ASCII code must be at the beginning of a message The response must start with the same header that was at the beginning of the command 2 Unit number The unit number of the PLC that processed the command is stored here 3 Text The content of this varies depending on the type of command If the processing is not completed successfully an error code will be stored here so that the content of the error can be checked so d 1 g
175. decremental control input X1 Reset input X2 Do not set input X1 as high speed counter Incremental input X1 Incremental inptu X1 Reset input X2 Decremental input X1 Decremental input X1 Reset input X2 Do not set input X3 as high speed counter Two phase input X3 X4 Two phase input X3 X4 Reset input X5 Incremental input X3 Incremental input X3 Reset input X5 Decremental input X5 Decremental input X5 Reset input X5 Individual input X3 X4 Individual input X3 X4 Reset input X5 Incremental decremental control X3 X4 Incremental decremental control X3 X4 Reset input X5 Does not set input X4 as high speed counter Incremental input X4 Incremental input X4 Reset input X5 Decremental input X4 Decremental input X4 Reset input X5 Do not set input X6 as high speed counter Incremental input X6 Decremental input X6 Two phase input X6 X7 Individual input X6 X7 Incremental decremental control input X6 X7 Do not set input X as high speed counter Incremental input X7 Decremental input X7 Note1 If the operation mode is set to Two phase incremental decremental or incremental decremental control the setting for CH1 or CH3 is invalid in system register 400 and the setting for CH5 is invalid in system register 401 Note2 If reset input settings overlap the CH1 setting takes precedence in system register 400 and the CH3 setting take
176. detected in block b the condition before the rewrite will be held Y contact relays which are on will be held in the on state To turn them off in the RUN mode use forced output To turn them off in the RUN mode use forced output If an instruction written in block a is detected in block b the condition before the rewrite will be held Set values specified by K constants in TM CT instructions are preset in all of the corresponding SV in the program Elapsed values EV do not change If deleted the output memory area will be held Writing or deleting a single instruction during RUN is not possible Write or delete the instruction in FPWIN GR ladder symbol mode Write in the order RET SUB CALL Delete in the order CALL SUB RET Write in the order IRET INT Delete in the order INT IRET Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FPWIN GR FPWIN GR Ladder symbol mode Boolean mode Operation of each instruction JP LOOP LBL A distance with the same number cannot be defined twice An SSTP instruction cannot be written in a subprogram Be sure to write the instruction for setting the loop number before LBL LOOP instructions Writing and deletion of a single instruction is not possible for a program with no step ladder area Write or delete both instructions simultaneously in FPWIN GR ladder symbol mode In the case of an SSTP instruction
177. device Not used Eo 5 Unit External device 7 2 2 USB Port This connector is used to connect a programming tool A commercial USB2 0 cable A miniB can be used Standard USB2 0 USB miniB type Note The USB driver should be installed It is assigned to a 0 virtual COM port on the PC Select RS232C C NET in a programming tool 7 2 3 COM Port It is a screw down connection type terminal block 3 pin COM port RS232C port terminal layout COM port RS485 port terminal layout Trasmission line Trasmission line E Terminal station setting signal ground Receive data Input send data Output Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 3 Communication Specifications Tool Port Description m O Data length 7 bits 8bits Parity None Even Odd Communication format Start code STX No STX End code CR CR LF None ETX Stop bit 1 bit 2 bits Computer link slave Communication mode Modem initialization General purpose communication only in RUN mode USB port Description O Standard Baud rate USB2 0 Fullspeed Computer link slave COM port RS232C port Description O Half duplex communication Data length 7 bits 8bits Parity None Even Odd Communication format Start code STX No STX End code CR CR
178. e IR Turns off when Unit No 12 is in the PROG mode Turns on when Unit No 13 is in the RUN mode p Turns off when Unit No 13 is in the PROG mode Turns on when Unit No 14 is in the RUN mode bn Turns off when Unit No 14 is in the PROG mode PI Turns on when Unit No 15 is in the RUN mode Turns off when Unit No 15 is in the PROG mode Turns on when Unit No 16 is in the RUN mode EN Turns off when Unit No 16 is in the PROG mode A Available N A Not available Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net WR910 FPOR Relay zd HSC CHO HSC CH1 Turns on the channel of high speed counter during the High speed HSC CH2 control using F165 CAMO F166 HC1S F167 HC1R R9110 R9111 one counter F178 PLSM instructions R9114 R9115 control flag HSC CH4 Turns off when the control is cleared or this instruction is HSC CH4 completed Beee _ R911F Instruction 1 fla 7 5 SPSH F177 HOME instructions g PLS CH3 instructions R9124 to R912F PLS CHO Turns on the channel of pulse output during the control R9131 Pulse output PLS CH1 using F166 HC1S F167 HC1R instructions R9120 Pulse output Turns on while the pulses are being output using pe F171 SPDH F172 PLSH F173 PWMH F174 SPOH R9123 i control flag PLS CH2 Turns off when the control is cleared or this instruction is PLS CH3 completed
179. e 2 environment Do not use the unit in the following environments Direct sunlight Sudden temperature changes causing condensation Inflammable or corrosive gas Excessive airborne dust metal particles or saline matter Benzine paint thinner alcohol or other organic solvents or strong alkaline solutions such as ammonia or caustic soda Direct vibration shock or direct drop of water Influence from power transmission lines high voltage equipment power cables power equipment radio transmitters or any other equipment that would generate high switching surges 100 mm or more Static electricity Do not touch connector pins directly to prevent static electricity from causing damage Always rid yourself of any static electricity before handling this product Power supply Use a power supply wire that is twisted he unit has sufficient noise immunity against the noise generated on the power line However it is recommended to take measures for reducing noise such as using an isolating transformer before supplying the power Allocate an independent wiring for each power supplying line input output device and operating device lf using a power supply without a protective circuit power should be supplied through a protective element such as fuse If an incorrect voltage is directly applied the internal circuit may be damaged or destroyed Be sure to supply power to a control and an expansion unit from a s
180. e PBCC calculation 51 52 53 Creates the code for checking the data specified by S2 and S3 and stores it in The calculation method is specified by 51 Converts the hexadecimal data specified by 51 and 52 to ASCII code and stores it in D Example HABCD gt H 42 41 44 43 Converts the ASCII code specified by S1 and 52 to hexadecimal data and stores T C p P70 F71 P71 HEXA Hexadecima 51 S2 D data gt ASCII code F72 P72 ASCII code Hexadeci mal data AHEX PAHEX 51 52 D itin D Example 44 43 42 41 HCDAB DC B A Converts the four digits of BCD data specified by S1 and S2 to ASCII code and stores it in D Example H1234 H 32 31 34 33 2143 Converts the ASCII code specified by S1 F73 P73 4 digit BCD data gt ASCII code BCDA PBCDA 51 52 D 74 P74 ASCII code 4 digit BCD data ABCD PABCD 51 52 D and S2 to four digits of BCD data stores it in D Example 34 33 32 31 gt H3412 4 32 1 Converts the 16 bits of binary data specified by S1 to ASCII code and stores it in D lo area of S2 bytes 7 00 1 BINA PBINA F75 P75 16 bit binary data gt ASCII code 51 52 D N e Available 2 Not available A Not available partially Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomatio
181. e came with an installation CD lt 6 or floppy disk insert it now What do you want the wizard to do Install the software automatically Recommended Click Next to continue 3 Select Search for the best driver in these locations and check Include this location in the search Then click the Browse button to specify the folder that the USB driver of FPOR has been stored and click Next gt Found New Hardware Wizard Please choose your search and installation options e Search for the best driver in these locations Use the check boxes below to limit or expand the default search which includes local paths and removable media The best driver found will be installed Search removable media floppy CD ROM Include this location in the search C Program Files Panasonic EW Control FPOR_USB Browse Don t search will choose the driver to install Choose this option to select the device driver from a list Windows does not guarantee that the driver you choose will be the best match for your hardware 4 Although the following dialog box appears during the installation click Continue anyway Hardware Installation The software you are installing For this hardware Panasonic Electric forks PLC Virtual UART has not passed Windows Logo testing to verity its compatibility with Windows Lell me why this testing is important Continuing your installat
182. e initial speed to the target speed is specified as acceleration time or deceleration time he time specified in a program is set as the acceleration time to be processed in the PLC as is The same is true for the deceleration time After the execution of the instruction the speed up to the target speed can be changed Acceleration time Deceleration time specified in program specified in program i Speed can be changed in a range up to o i i J0kHz the target speed right after the execution 50kHz Target speed H a Target speed _ S Target speed After speed change Initial speed Initial speed Acceleration time Deceleration time speed change command calculated in PLC calculated in PLC Rewrite the set target speed Type 1 For type 1 the time from the initial soeed to the maximum speed 50 kHz is specified as acceleration time or deceleration time When the target speed is below 50 kHz the acceleration time processed in the PLC is relatively shorter than the time specified in a program The same is true for the deceleration time Use the type 1 to change the speed to a speed faster than the target speed after the execution of the instruction After the execution the speed up to the maximum speed 50 KHz can be changed Acceleration time Deceleration time Speed can be changed specified in program specified in program the
183. e numbers are used for input and output Example The same numbers are used for input and output Expression of numbers for input output relays Since input relay X and output relay Y are handled in units of 16 points they are expressed as a combination of decimal and hexadecimal numbers as shown below X Decimal 1 2 8 9 Hexadecimal 1 2 3 g AB F Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 4 2 1 0 Allocation for FPOR Control Unit 4 2 1 Numbers of FPOR Control Unit The I O allocation of FPOR control unit is fixed Type of control unit Number of allocation I O number C40 Input 6 point to X5 Output 4 points YO to Input 8 points XO to X7 Output 6 points YO to Y5 C14 C16 Input 8 points XO to X7 Output 8 points YO to Y7 Input 16 points XO to XF 2 T32 F32 Output 16 points YO to YF Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 4 3 Numbers of FPO FPOR Expansion Unit O numbers do not need to be set as I O allocation is automatically performed when an expansion unit is added he I O allocation of expansion unit is determined by the installation location Number of Expansion Expansion Expansion allocation unit 1 unit 2 unit 3 Input 8 points X20 to X27 X40to X47 X60 to X67 Input 4 points X20 to X23 X40
184. e output when Pulse output from CW direction output is OFF Pulse output when direction output is ON Positive Pulse output Negative from CCW Example Pulse and direction forward ON reverse OFF Pulse output when direction output is ON Pulse output when direction output is OFF HSC counting Method Decremental When the current position value of elapsed value area is 5000 the pulse of 1000 is output from CW by executing the pulse output instruction with the target value 1000 and the current position will be 6000 Absolute Absolute value control Outputs a number of pulses equal to the difference between the set target value and the current value Selected Mode Pulse and direction forward OFF reverse ON CW CCW Pulse output when direction output is Target value greater than Pulse output current value HORTON OFF Target value Pulse output when Pulse output i 2 less than direction output is from CCW current value ON Example Pulse and direction forward ON reverse OFF Pulse output when direction output is ON Pulse output when direction output is OFF HSC counting method Decremental When the current position value of elapsed value area is 5000 the pulse of 4000 is output from CCW by executing the pulse output instruction with the target value 1000 and the current position will be 1000 Phone 800 894 0412 Fax 888 723 4773 Web www ctiau
185. e the same as that for a power supply reset 5 8 3 Protection of Power Supply and Output Sections Power supply An insulated power supply with an internal protective circuit should be used The power supply for the control unit operation 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 without a protective circuit power should be supplied through a protective element such as fuse Protection of output If current exceeding the rated control capacity is being supplied in the form of a motor lock current or a coil shorting in an electromagnetic device a protective element such as a fuse should be attached externally Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Chapter 6 Preparation of USB Port Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 6 1 USB Connection 6 1 1 Precautions when connecting PLC with USB port Note the following restriction for using a personal computer and PLC with USB connection PLC type Applicable OS FPWIN GR version FP X Windows 98 2 5 or later Windows Me Windows 2000 Windows XP Windows Vista FPOR Windows 2000 2 8 or later Windows XP Windows Vista FP X FPOR Windows
186. eakage current from the two wire type sensor photoelectric sensor or proximity sensor the use of a bleeder resistor is recommended as shown on the left The formula is based on an input impedance of 9 1 kO The input impedance varies depending on the input terminal number Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Precaution when using LED equipped limit switch LED equipped Bleeder limit resistor switch Power supply for input Internal resistor of limit switch Bleeder resistor The off voltage of input is 2 4 V therefore when the power supply voltage is 24 V select the bleeder resistor R so that 24 2 4 The current will be greater than I The resistance R of the bleeder resistor is 1 84 lt 14 9 11 2 4 The wattage W of the resistor is _ Power supply voltage R W x 3 to 5 times If the input of PLC does not turn off because of leakage current from the LED equipped limit switch the use of a bleeder resistor is recommended as shown on the left Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 5 3 2 Output Wiring 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 relay output be sure to connect a diode across the e
187. easure the pulse number and cycle of a specified high speed counter channel when using the high speed counter function The pulse number to be measured is counted in a specified counting cycle The one pulse on off cycle right after the execution of the instruction is measured as the pulse cycle Note The last numbers of the actual measured values may vary due to the measurement error R9013 edd Few wem sore K 100 07100 Storage location of measured pulse number DT200 DT201 F178 PLSM DT 100 DT101 DT 200 pulse number Measurement cycle of measured pulse number 100ms Pulse cycle measurement by 1us and 1 ms Storage location of measured pulse cycle 1 us unit DT202 to DT 203 Storage location of measured pulse cycle 1 ms unit DT204 to DT 205 Measurement limit of measured pulse cycle 1ms unit 2s Operation of F178 instruction In case of the above sample program Instruction Instruction Instruction Instruction execution execution execution execution Scan time Scan time Scan tim 4 Scan time nostis pulse number is stored in 07201 Cycle of counting pulse number 2 between 1 ms and 5s in od High speed um m n 1 Input pulse t TM id ia F H Time When no pulse is measured Measured Measured Measured for 174 7 ms or more 1
188. ecified pulse is output and the deceleration stop is performed Time chart Acceleration time Deceleration time Frequency 00 CELT CTL LITT 147 220ms Target speed 25kHz 20000 pulses Initial speed 1kHz CERERI xor DS Time JOG positioning operation start m ll i i JOG positioning operation running I JOG positioning operation R301 parameter setting JOG positioning operation complete um i1 0 i1 Jl Position control start input R31 Pulse output instruction flag R9120 Data table Data ree Setting item Unit Example of sample program Settable range JOG positioning Type 0 DT300 Control code CW CCW ORAN 2 H1010 0000 icd K 2 147 483 648 to K DT310 j Target value pulses K20000 2 147 483 647 Note 1 Each setting item occupies 2 word data registers 2 For the type 0 of JOG positioning control instruction F171 the time from the initial speed to the maximum speed 50 kHz is specified as acceleration time or deceleration time For the details refer to 8 4 17 Difference in Acceleration Deceleration Characteristics Between Instructions 3 When the target value is set to zero the operation stops once the position control start input turns on Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Sample program R30 R9120 R302 R300 DF R3
189. ed here when a Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FPOR A Available N A Not available ing ing Step ladder process DT90060 0 to 15 Step ladder process DT90061 16 to 31 Step ladder process DT90062 32 to 47 Step ladder process DT90063 48 to 63 Step ladder process DT90064 64 to 79 Step ladder process DT90065 80 to 95 Step ladder process 96 to 111 Step ladder process 112 to 127 7 Step ladder process Indicates the startup condition of the step DT90068 128 to 143 ladder process When the process starts up Step ladder process the bit corresponding to the process number DT90069 144 to 159 turns on DT90070 deb posee Monitor using binary display A A DT90071 Step ladder process lt gt 15 11 7 3 0 Bit No PS 176 to 191 da MEE RR NL DT90072 Step ladder process 655 t 651 shi a 643 t 640 Process No 1 92 to 207 1 During running 0 During stopping DT90073 L 22 pues Note A programming tool software can be used to write data DT90074 Step ladder process 224 to 239 Step ladder process 240 to 255 Step ladder process 80 256 271 Step ladder process iiid 272 to 287 Step ladder process 288 303 0790079 Step ladder process DT90075 304 to 319 Step ladder process uiid 320 to 335 Step ladder process aid 336 to 351 Phone 80
190. ed in these operations to transfer data between the PLC and an external device Sending data Data to be transmitted from the PLC is stored in the data register used as the send buffer DT When F159 MTRN is executed the data is output from the communication port Data transmission using F159 MTRN Device with RS232C port he terminator specified in the system register is automatically added to the data that has been sent The maximum volume of data that can be sent is 2048 bytes Data Data register DT writing Receiving data Data received from the communication port is stored in the receive buffer specified in the system register and the reception done flag goes on Data can be received whenever the reception done flag is off Data register DT aC AEN When data is being received the reception done flag is controlled by the F159 MTRN instruction No terminator is included in the stored data The maximum volume of data that can be received is 4094 bytes Key Point In the compatibility mode with the FPO FPO compatibility mode the F159 MTRN instruction is changed to the F144 TRNS instruction Communication Port Tool port COM port Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 5 2 Programming Example of General purpose Serial Communication The F159 MTRN instruction is used to send and receive data via the specified c
191. ed simultaneously Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FPOR pulse output performance Independent control Single phase CHO el a Available 0 80 J Available Available J To o 850 O Available Available Available 50 O Available Available Available Available Note Even if all channels are used they can be used within the ranges above Interpolation control icm interpolation Maximum output frequency kHz CH CH Composite speed Available d Available Available a Note Even if all channels are used for the interpolation function they can be used within the ranges above Note The maximum counting speed may be lower than the above mentioned values when the change of pulse output speed CAM control instruction target value match ON OFF instruction and other interrupt programs are executed simultaneously Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 3 High speed Counter Function 8 3 1 Overview of High speed Counter Function Instructions used and the contents of the controls number the specified channel or disabling the count counter Read Write of elapsed value Target value match ON OFF control a Reads and writes the elapsed value of the high speed counter Turns on F166 instruction or off
192. eed to change the mode For this reason the time of the scan during the RUN rewrite extends from several ms to several hundreds of ms Operation during rewrite 1 External output Y is held 2 External input X is ignored 3 The timer T stops the clock 4 Rise and fall changes in the inputs of differential instructions DF counter instructions CT and left right sift registers are ignored 5 Interrupt functions are stopped 6 Internal clock relays special internal relays are also stopped 7 Pulse output is stopped during the rewrite Set values for timer counter instructions All set values specified with decimal constants K in timer and counter instructions are preset in the corresponding set value areas SV Values in the elapsed value area EV do not change Operation of rewrite during RUN complete flag The rewrite during RUN complete flag R9034 is a special internal relay that goes on for only the first scan following the completion of rewriting in the RUN mode It can be used instead of the initial pulse relay following a change in the program Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 12 5 2 Cases Where Rewriting During Run is Not Possible When the timeout error message is indicated Even if the timeout error message is indicated it is highly possible that the program in PLC has been already rewritten Carry out the following operations FPWI
193. elay which is off during the first scan and turns on at the second scan Example 1 DF leading edge differential instruction YO FX DF y y Add R9014 XO R9014 YO FA P DF T RUN Power on AD YO Even if XO was initially on the input condition for the DF instruction is off to on at the second scan therefore derivative output is obtained Example 2 CT counter instruction CT 100 X1 Add R9014 XO 9014 100 X1 RUN Power on XO CT100 counting fy operation Even if XO was initially on the input condition for the counter is off to on at the second scan therefore the count is incremented Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 12 3 3 Precautions When Using a Control Instruction If a leading edge detection instruction is in a control instruction it will be executed only under the following condition The leading edge detection instruction was off when the execution condition of the previous control instruction was reset and the leading edge detection instruction is on when the execution condition of the current control instruction becomes on When a leading edge detection instruction is used with an instruction which changes the order of instruction execution such as MC MCE JP or LBL the operation of the instruction may change as follows depending on input timing Take care regarding this point
194. eleration cannot be performed Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FPOR A Available N A Not available Adress in DT90420 mm Available for the transistor EJER output type only DT90421 Higher words Note When controlling the EXE DT90422 pulse output CH by Target value F166 HC1S F167 HC1R DT90423 Higher words instructions the target DT90424 Target value value is stored area for match The target value for match DT90425 ON OFF Higher words ON OFF is stored Corrected PLS The initial speed of the DT90426 speed of initial CH2 calculated result is stored A N A speed Lower words The minimum speed for the DT90427 minimum change of speed A N A If the elapsed value corsses DT90428 Acceleration forbidden area over this position when changing the speed DT90429 Higher words acceleration cannot be position performed DT90430 Elapsed value Available for the transistor output type only DT90431 Higher words Note When controlling the DT90432 pulse output CH by porget value F166 HC1S F167 HC1R DT90433 Higher words instructions the target DT90434 Target value value is stored area for match The target value for match DT90435 ON OFF Higher words ON OFF is stored Corrected PLS Theinitial speed of the DT90436 speed of initial CH3 calculated result is stored spoeg Lower words The minimum speed for t
195. en if there are one or more stations that have not been added to the link Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Reducing the transmission cycle time when there are stations that have not been added If there are stations that have not been added to the link the TIk time link addition processing time and with this the transmission cycle time will be longer 151 152 sn it Tso Tie link addition command sending time Twt addition waiting time Tis link error stop command sending time Tso master station scan time With 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 Programming example of SYS1 instruction SYS1 M PCLK1TO 100 Function Setting SYS1 to change the waiting time for a link to be added to the PC PLC link from the default value of 400 ms to 100 ms Keywords Setting for key word no 1 PCLK1TO Permissible range for key word no 2 10 to 400 10 ms to 400 ms sail Note If there are any units 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 problem 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 al
196. en not in the PC PLC link 0 mode Turns on when Unit No 11 is communicating properly in R906A PC PLC link 0 mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link 0 mode Turns on when Unit No 12 is communicating properly in R906B PC PLC link 0 mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link 0 d Turns on when Unit No 13 is communicating properly in R906C PC PLC link 0 mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link 0 mod Turns on when Unit No 14 is communicating properly in R906D PC PLC link 0 mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link 0 mode Turns on when Unit No 15 is communicating properly in R906E link 0 mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link 0 mode Turns on when Unit No 16 is communicating properly in R906F link 0 mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link 0 mode A Available N A Not available Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net WR907 FPOR Name X Description Turns on when Unit No 1 is in the RUN mode E Turns off when Unit No 1 is in the PROG mode E Turns on when Unit No 2 is in the RUN mode Turns off when Unit No 2 is
197. en used as a hold area might be a non hold area The following instructions that are supported on the FPO cannot be used Replace them with the instructions for the FPOR based on the following description FPO FPOR F144 TRNS instruction F159 MTRN instruction F168 SPD1 instruction F171 SPDH F177 HOME instructions F169 PLS instruction F172 PLSH instruction F170 PWM instruction F173 PWMH instruction As for the following instructions the specifications change Modify the programs in accordance with the specifications after the change FPO FPOR F12 ICRD instruction Unit of read 64 words Unit of read 2048 words P13 PICWT instruction Unit of write 64 words Unit of write 2048 words The addresses of the following special internal relays are changed High speed counter control flag FPO FPOR R903A For CHO R9110 For CHO R903B For CH1 R9111 For CH1 R903C For CH2 R9112 For CH2 R903D For CH3 R9113 For CH3 The contents of the following special data registers are changed FPO FPOR DT9052 DT90052 DT90052 High speed counter control flag High speed counter control flag As each 4 bits of the control code for all 4 As the areas to write the channel channels are allocated write the control code numbers to be changed and the in the area of the corresponding channel control codes are separated write the corresponding channel numbers and control codes bit15 12 11 RT
198. er Slave Slave Slave FPOR RS485 Modbus RTU Modbus RTU Modbus RTU Slave function Slave function Slave function applicable applicable device device Slave function If the slave units receive a command message from the master unit they send back the response message corresponding to the content Do not execute the F145 SEND or F146 RECV instructions when the unit is used as a slave unit Master Modbus RTU slave Slave Slave Master function applicable RS485 device FPOR FPOR Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net MODBUS RTU command message frame START ADDRESS FUNCTION DATA CRC CHECK END 3 5 character time 16 bits 3 5 character time ADDRESS Unit No 8 bits O to 99 decimal Note1 0 Broadcast address Note2 Slave unit No is 1 to 99 decimal Note3 For MODBUS 0 to 247 decimal FUNCTION 8 bits DATA Varies depending on commands CRC 16 bits END 3 5 character time Differs depending on baud rate Refer to reception judgement time Response in normal status The same message as a command is returned for single write command A part of a command message 6 bytes from the beginning is returned for multiple write command Response in abnormal status In case a parameter disabled to be processed is found in a command except transmission error Slave address unit number Function code 80H One of either 1 2 or 3 Err
199. erted data is stored in D 1 D seconds data Seconds to Converts the seconds data of S 1 S hours to hour minute and second data minutes and de the bilan data is stored in seconds data F142 Watching The time allowable scan time for the P142 dog timer system T watching dog timer is update changed to S x 0 1 ms for that scan F143 Partial IORF D1 D2 Updates the I O from the number P143 update PIORF specified by D1 to the number specified by D2 F144 Serial data TRNS The COM port received flag R9038 is communica set to off to enable reception tion control Beginning at S n bytes of the data registers are sent from the COM port pras TT penn oN Sends the data to another station in the P145 network MEWNET via link unit F146 Receives the data to another station PRECV in the network MEWNET via link unit Hime Sends the data to the slave station as P145 the MOD bus master via COM port Receives the data from the slave station P146 as the MOD bus master via COM port mese se 3 P145 the MOD bus master type ll F146 Datareceive RECV Receives the data from the slave station of the MOD bus master type Il F145 Data send Sends the data to the slave station as i mni the MEWTOCOL master via COM port F146 Datareceive RECV uem Receives the data from the slave station P146 as the MEWTOCOL master via COM port F147 Converts the ASCII code data in the
200. erter unit FPO A80 FPO thermocouple unit FPO TCA FPO TC8 FPO D A converter unit FPO AOA4V PO AO041 is switched and read write using a program that includes the flag for switching converted data e Regarding FPO CC Link slave unit please refer to the exclusive manual Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 13 3 Relays Memory Areas and Constants memory area available for use External input 7 X External output 7 Y Internal relay 4096 points RO to R255F Relay which turns on or off only within program Link relay L 2048 points LO to L127F This relay is a shared relay used for PLC link This goes on when the timer reaches the 1024 points TO to T1007 C1008 to ae time It corresponds to the timer C1023 Note Note2 This goes on when the counter increments It Counter C corresponds to the counter number Special internal relay R 224 points from R9000 dl ah aig on speetfie External input wx 110 words WXO to WX109 usd e ue PREP SINS External output Code for specifying 16 external output points as WY OO oie one word 16 bits of data Internal relay 2 WR 256 words WRO to WR255 eee rea ponts as Link relay WL 128 words WLO to WL127 i uc Note2 fe aes Data memory used in program Data is handled Data register DT DTO to DTO to in
201. erts real number data specified by S 1 S to the 32 bit integer data with sign the largest integer not exceeding the floating point data and the floating point type converted data is stored in D 1 data D Available 2 Not available Not available partially 1 This instruction is available for FP e Ver 1 21 or later and FPO V2 1 or later Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email 10 1 O FP2SH FP10SH eo gt O AR e O e 9 C C C r3 C info ctiautomation net Description rand FPO FP e o 83 FP2SH FP10SH FIX PFIX Converts real number data specified by S 1 S to the 16 bit integer data with sign rounding the first decimal point down and the converted data is stored in D Floating point type data to 16 bit integer con version rounding the first decimal point down to integer Floating point type data to 32 bit integer con version rounding the first decimal point down to integer Floating point type data to 16 bit integer con version rounding the first decimal point off to DFIX PDFIX o Og Converts real number data specified by S 1 S to the 32 bit integer data with sign rounding the first decimal point down and the converted data is stored in D 1 D ROFF PROFF 9 Og
202. es only one point Specifies multiple contacts Specifies a range in word units Turns contacts on or 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 Writes data to a data area Read timer counter set Reads the timer counter setting value value area Write timer counter set Writes the timer counter setting value value area Read timer counter RK Reads the timer counter elapsed value elapsed value area Write timer counter WK Writes the timer counter elapsed value elapsed value area Register or Reset MC Registers the contact to be monitored contacts monitored Register or Reset data Registers the data to be monitored monitored Monitoring start Monitors a registered contact or data using MD and MC Preset contact area fill SC Embeds the area of a specified range in a 16 point on and off command pattern Preset data area fill SD Writes the same contents to the data area of a specified command range Read system register RR Reads the contents of a system register Write system register Specifies the contents of a system register Read the status of PLC RT Reads the specifications of the programmable controller and error codes if an error occurs Switches the operation mode of the programmable controller RUN mode lt gt PROG mode Read contact area Write contact area Remote con
203. esist zampe Thick appropriate ues ness cable at 20 Belden 9207 Shielded Shield 0 5 mm Max Ba Hitachi Cable Olye twisted c4 0 9 V AW G20 4 Ltd KPEV ductor _ J thylene j pair or greater 50 5 mm x 1P 0 5 Max Polychlo AW G20 rinated or greater biphenyl Approx VCTF 0 5 6 2 mm mm x 2C JIS N ner Use shielded twisted pair cables Use only one type of transmission cable Do not mix more than 1 type Twisted pair cables are recommended in noisy environments When using shielded cable with crossover wiring for the RS485 transmission line grounded one end If two wires are connected to the plus terminal and minus terminal of RS485 use the wires of the same cross sectional area which is 0 5 mm 5 7 4 Baud Rate Setting RS485 Type Confirm the baud rate setting before installation when using the COM port The factory default setting is 115200 bps Baud rate E 19 200bps 20 e ATE 115 200bps Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 5 8 Safety Measures 5 8 1 Safety Measures Precautions regarding system design On the system using PLC malfunction may occur for the following reasons Power on timing differences between the PLC and input output or mechanical power apparatus Response time lag when a momentary power drop occurs Abnormality in t
204. et value area is available by F166 HC1S and F167 HC1R instructions only N A N A N A N A N A N A N A N A N N A 21212121212 gt gt gt gt gt zzzz 2m gt lt gt gt gt gt gt lt gt lt gt gt gt gt gt lt gt 1615 gt gt gt gt gt gt gt Eu gt gt gt lt gt lt gt 2 lt gt gt gt gt gt gt gt gt lt gt lt gt ee gt gt lt gt lt gt e eet gt gt gt gt gt gt gt gt lt gt lt gt gt lt gt lt gt lt gt lt gt lt gt Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FPOR A Available N A Not available When HSC control is executed by Control flag monitor area 0790376 Notused 0790377 Not used O O 0790378 Not used O Z O DT90379 Not used O DT90380 PLS CHO When pulse output control is Contro diagimenitor executed by F0 MV S DT90052 Area TFARSISEOE instruction the setting value for the output type target CH is stored in each CH DT90384 DT90385 DT90386 DT90387 DT90388 DT90389 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Address DT90400 gj EN NM value DT90401
205. etting Tool port DT4096 COM port DTO No 417 Receive buffer capacity 0 to 2048 words No 421 Note1 The communication format and baud rate should be set to match the connected devices Note2 The baud rates of 300 600 and 1200 bps can be specified by the SYS1 instruction However the setting value of the system register cannot be changed For using the RS485 type make the same setting as that of the baud rate switches 19200 or 115200 bps Note3 No 416 and 417 is the COM port No 420 and 421 is the tool port Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 5 10 Settings in Compatibility Mode with FPO FPO Compatibility Mode Programming Example of General purpose Serial Communication in FPO compatibility mode The high level instruction F144 TRNS is used to send and receive data via the COM port RS232C port The F159 MTRN instruction is used in the normal FPOR mode bs Key Point In the FPO compatibility mode the F144 TRNS instruction is used instead of F159 MTRN instruction F144 TRNS instruction Data is sent and received between the FPOR and an external device via the COM port RS232C port FO 5 F144 TRNS DT100 _ Serial data communication Starting from DT100 the contents of 8 bytes Devices that can be specified for S Only data registers DT can be specified as the send buffer Devices that can be specified
206. f data gt Gray PGRY S to gray codes and the x o code conversion converted result is stored in the D 32 bit binary data gt Gray DGRY S D Converts the 32 bit binary data of S 1 S to gray code and the PDGRY converted result is stored in the D 1 D S D Converts the gray codes of S to binary data and the converted result is stored in the D code conversion F237 16 bit gray code GBIN P237 binary data PGBIN conversion F238 32 bit gray code DGBIN S D Converts the gray codes of 5 1 S P238 binary data PDGBIN to binary data and the converted conversion result is stored in the D 1 D F240 Bit line to bit COLM S h The values of bits 0 to 15 of S are P240 column PCOLM D stored in bit n of D to DC 15 x t conversion Bit column to bit LINE S n The values of bit of S to S 15 line conversion PLINE D are stored in bits O to 15 of D Binary data gt BTOA S1 ASCII S2 x O conversion D ASCII binary ATOB data conversion Converts multiple binary data to multiple ASCII data 51 Converts multiple ASCII data to 92 n multiple binary data D ASCII data ACHK 91 Checks the ASCII data strings to be check S2 n used in F251 ATOB instruction EZ r 4lolx x of E 1 1 4 NO NO L3 Character strings instructions Comparing character F257 P257 SCMP 91 These instructions com
207. fied by D 1 D to the right D n Shifts the n bits of the 32 bit data area specified by D 1 D to the left SE sEREREEEER 71 Ig 2 i sf D2 n D1 and D2 to the left F110 Right shift of one WSHR D1 Shifts the one word of the areas by P110 word 16 bit PWSHR D2 D1 and D2 to the right F105 Right shift of one BSR Shifts the one digit of data of D to P105 hexadecimal digit 4 PBSR the right bit F106 Left shift of one BSL Shifts the one digit of data of D to P106 hexadecimal digit PBSL the left 4 bit F108 Right shift of BITR D1 Shifts the n bits of data range by F109 BITL D1 Shifts the bits of data range by P109 bits n bits PBITL U Tl 3 Q Q X Q x Q x x F111 Left shift of one D1 Shifts the one word of the areas by P111 word 16 bit PWSHL D2 D1 D2 to the left Right shift of one WBSR D1 Shifts the one digit of the areas by hexadecimal digit 4 PWBSR D2 D1 and D2 to the right bit Left shift of one WBSL D1 Shifts the one digit of the areas by hexadecimal digit 4 PWBSL D2 D1 02 to the left bit O Available X Not available A Not available partially Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FP2SH FP10SH Ope Boolean Description rand PFIFT defined in the
208. for MEWTOCOL COM based on the contents specified by the character constant Change the operation mode of the high speed counter based on the contents specified by the character constant Change the setting value of the system register for the PLC link function Q Available 2 Not available A Not available partially 1 With FP X Ver2 0 or later and FPX Ver 3 10 or later the baud rate can be selected from 300 600 or 1200 bps 2 With FP 32k type the 8 digit password can be selected 3 With FP 32k type and FP X Ver1 10 or later it can be used Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FPO FP e FP2SH FP10SH FP2SH FP10SH ree Oo Data Data compare instructions 000000000000 instructions 16 bit ST Begins a logic operation by comparing two 16 bit data in the comparative condition S1 S2 data compare Start 5 51 52 Begins a logic operation by comparing two 16 5 777 1 bit data the comparative condition S1 lt S2 or S1 gt S2 ST Es gt 851 52 1 Begins a logic operation by comparing two 16 bit data in the comparative condition 51 gt 52 ST gt Begins a logic operation by comparing two 16 1 bit data in the comparative condition S1 gt S2 ST lt gt or S1 S2 Begins a logic operation by comparing two 16 bit data in the c
209. for 16 bit operation H HO to HFFFFFFFF for 32 bit operation F 1 175494 x 10 to F 3 402823 x 10 F 1 175494 x 10 to 3 402823 x 10 Note1 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 Note2 There are two types one is the hold type that the last state is stored even if the power supply turns off or the mode is changed to PROG mode from RUN mode and the other is the non hold type that the state is reset For C10 C14 C16 C32 The hold type areas and non hold type areas are fixed For information on the sections of each area refer to the performance specifications For T32 F32 The settings of the hold type areas and non hold type areas can be changed using the system registers On T32 if the battery has run out the data in the hold area may be indefinite Not cleared to 0 Note3 The points for the timer and counter can be changed by the setting of system register 5 The number given in the table are the numbers when system register 5 is at its default setting Constant Floating point type F Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 13 4 Power Supply Unit and I O Link Unit Specifications 13 4 1 Power Supply Unit Specifications AFP0634 Mem Description Input Rated operating voltage 100 240 V AC Operating voltage range 8
210. for n WX WY WR WL SV EV DT LD I IO to ID K H Sending data The amount of data specified by n is sent to the external device from among the data stored in the data table starting with the area specified by S through the COM port specified by D Data can be sent with the header and terminator automatically attached A maximum of 2048 bytes can be sent When the above program is run the eight bytes of data contained in DT101 to DT104 and stored in the send buffer starting from DT100 are sent from the COM port Receiving data Data can be received when the reception done flag is off The received data is stored in the receive buffer specified by the system register When the reception of the data is completed the terminator is received the reception done flag R9038 turns on and subsequently receiving data is prohibited To receive the next data execute the F144 TRNS instruction and turn the reception done flag R9038 off to clear the number of received bytes to O To receive data continuously without sending data clear the number of transmitted bytes to 0 set n to KO and then execute the F144 TRNS instruction Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Setting Communication Parameters Confirm that the model of the programming tool is FPO Usable communication port COM port RS232C port COM port RS232C port settings Dialog box of PLC system reg
211. fter S2 1 52 P157 PCADD D elapses from the time of 81 2 9171 S1 is stored 0 2 0 1 D Time CSUB 51 S2 The time that results from subtraction PCSUB D subtracting S2 1 S2 from the m time 8142 51 1 S1 is stored in D 2 D 1 D Serial port MTRN S n D This is used to send data to an communication PMTRN external device through the specified CPU COM port or MCU COM port P161 reception PMRCV D2 equipment via the COM port of the specified MCU BIN arithmetic instruction BIN arithmetic instruction O gt S O O F160 Double word DSQR 5 P160 32 bit data PDSQR v S D 7 square root High speed counter Pulse output instruction for FP e ______ O High speed counter Pulse output instruction for FPO FP e High speed MV S Performs high speed counter and counter and DT9052 Pulse output controls according Pulse output to the control code specified by controls S The control code is stored in DT9052 Change and DMV Transfers S 1 S to high speed read of the od counter ue Pulse output elapsed elapsed value value area of high speed DT9044 Transfers value in high speed counter and D counter and Pulse output elapsed Pulse output value area to D 1 D High speed HC1S n S Turns output Yn on when the counter output elapsed value of the built in high set with speed counter reaches the target channel value of S 1 S specification Available
212. g mu 32C Commercial aT ae converter The unit number for the PLC to which the command is being sent is included in the command message The unit number of the PLC sending a response is included in the response message Note LINEEYE CO LTD SI 35 is recommended to be used as a converter For the RS232C type COM port a RS232C RS485 conversion adapter is also required on the PLC side Setting of unit numbers By default the unit number for each communication port is set to 1 in the system register settings There is no need to change this for 1 1 communication but if 1 N communication is used to connect multiple PLCs to the transmission line e g in a C NET the unit number must be specified so that the destination of the command can be identified The unit number is specified by using the system register Setting system registers No Name i Set Value No 410 Unit number 1 to 99 Set the desired unit number With a C NET adapter a maximum of 32 units stations can be specified No 412 Computer link Communication format Char bit 7 bits 8 bits Parity None Odd Even Stop bit 1 bit 2 bit Terminator CR Header STX not exist Note1 The communication format and baud rate should be set to match the connected computer Note2 The baud rates of 300 600 and 1200 bps can be specified by the SYS1 instruction For using the RS485 type make the same sett
213. g forward rotation and Y1 when using reverse rotation with the following conditions Initial speed 1 kHz Target speed 7kHz Acceleration time 100 ms Deceleration time 1000 ms Timing chart Acceleration time Deceleration time Frequency T 100ms 100ms Target speed 7kHz Initial speed 1kHz Time Home return start R30 d Lio Pulse output instruction flag wm Data table Data register Setting item Unit Example of sample program No Type O No target value Output type CW CCW Set according to the control code is H1000 0000 Forward on the next page H1000 0010 Reverse DT302 Initial speed Hz K1000 K1 to K50000 DT304 Target speed Hz K7000 K1 to K50000 DT306 tme k100 K1 to K32760 Target value K 2 147 483 648 to K Note 1 Each setting item occupies 2 word data registers 2 When the control type 0 No target value is specified for the control code the target value pulse number of data table is invalid 3 For the JOG operation the time from the initial speed to the maximum speed 50 kHz is specified as acceleration time or deceleration time For the details refer to 8 4 17 Difference in Acceleration Deceleration Characteristics Between Instructions Settable range Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Sample program 30 DF J 4 F1 Dmv 10000000 DT300 T Ar J F1 DMV
214. ge to PROG mode check the system register settings and change so that the settings and the instruction agree An instruction which must be written in a specific area main program area or subprogram area has been written to a different area for example a subroutine SUB to RET is placed before an ED instruction Change to PROG mode and enter the instruction into the correct area Program area error A Available Note This error is also detected if you attempt to execute a rewrite containing a syntax error during RUN In this case nothing will be written to the CPU and operation will continue Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Compile memory full error High level instruction type error High level instruction operand combina tion error No program error Rewrite during RUN syntax error Opera tion status Description and steps to take The program is too large to compile in the program memory Change to PROG mode and reduce the total number of steps for the program FP10SH If memory expansion is possible compilation will become possible when the memory is expanded In the program high level instructions which execute in every scan and at the leading edge of the trigger are programmed to be triggered by one contact e g FO MV and PO PMV are programmed using the same trigger continuously Correct the pro
215. gram so that the high level instructions executed in every scan and only at the leading edge are triggered separately There is an incorrect operand in an instruction which requires a specific combination of operands for example the operands must all be of a certain type Enter the correct combination of operands Program may be damaged Try to send the program again When inputting with the programming tool software a deletion addition or change of order of an instruction ED LBL SUB RET INT IRET SSTP and STPE that cannot perform a rewrite during RUN is being attempted Nothing is written to the CPU A Available Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 15 4 2 Table of Self Diagnostic Error Opera Error tion Description and steps to take code Mx status LL LL CPU error Stops Probably a hardware abnormality A A A Please contact your dealer error1 error2 RAM Probably an abnormality in the internal RAM at pee contact He x de RAM error5 Master memory The models of master memories are different A model Stops Use the master memories created with the 41 unmatch same model error FP e FPO FPOR FP gt FP1 C14 C16 Probably a hardware abnormality gt Please contact your dealer FP X When the master memory cassette is mounted the master memory cassette may be damaged Remove the master me
216. gs for the use 1 Restrictions on the number of writing Writing can be performed within 10000 times If writing continues for more than that the correct operation cannot be guaranteed 2 The power supply turns off when the P13 PICWT instruction is being executed If the power supply turns off during this instruction is being executed the hold type area may not be kept Also when the power is shut off during rewriting in the RUN mode the same event may occur Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 10 2 Sampling Trance Function 10 2 1 Overview The sampling trace function is available for the FPOR Using this function enables to take samplings and record accumulate the state of arbitrary data of 16 bits 3 data registered in the PLC at an arbitrary timing and to examine the changes in the bit and data in details after stopping sampling at an arbitrary timing The sampling trace function is used by Time chart monitor under the online menu of the FPWIN GR The instructions functions special relays and special registers related to the sampling trace function are as below Name jOpentin O O F155 SMPL sampling instruction F156 STRG Sampling stop trigger instruction R902C Sample point flag OFF Sampling by instruction ON Sampling at regular time intervals R902D Sampling trace end flag When sampling trace starts O stops 1 902 sampl
217. he forbidden area over this position when changing the speed run DT90439 s Higher words acceleration cannot be position performed Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 15 2 Table of Basic Instructions ra basic instructions R Begins a logic operation with a Form A m n cima open contact ae a Begins a logic operation with a Form B alolololololo normally closed contact 2 aa output 2 Lim 8001616 1 instruction a AND EE Connects a Form A normally open contact serially fan NEM ES o Connects a Form B normally closed contact Ie serially FPO FP e FP2SH FP10SH Connects a Form A normally open contact in parallel ORN lom Connects a Form B normally closed contact in parallel Leading xvRTcLRE Begins a logic operation only for one scan edge STT H when the leading edge of the trigger is start detected Trailing xvRTcLRE Begins a logic operation only for one scan edge 4 when the trailing edge of the trigger is start detected Leading pe Connects a Form A normally open contact edge serially only for one scan when the leading AND edge of the trigger is detected Trailing Connects a Form A normally open contact X YRTOCLRE i edge y serially only for one scan when the trailing AND edge of the trigger is detected Leading Connects
218. he PLC unit external power supply or other devices In order to prevent a malfunction resulting in system shutdown choose the adequate safety measures listed in the following Interlock circuit When a motor clockwise counter clockwise operation is controlled provide an interlock circuit externally Emergency stop circuit Provide an emergency stop circuit to the PLC externally to turn off the power supply of the output device Start up sequence The PLC should be started after booting the I O device and mechanical power apparatus To keep this sequence the following measures are recommended Turn on the PLC with the mode selector set to the PROG mode and then switch to the RUN mode Program the PLC so as to disregard the inputs and outputs until the outside devices are energized Note In case of stopping the operation of the PLC also have the input output devices turned off after the PLC has stopped operating Grounding When installing the controller next to devices that generate high voltages from switching such as inverters do not ground them together Use an exclusive ground for each device 5 8 2 Momentary Power Failures Operation of momentary power failures If the duration of the power failure is less than 5 ms the FPOR continues to operate If the power is off for 5 ms or longer operation changes depending on the combination of units the power supply voltage and other factors In some cases operation may b
219. he RS485 type make the same setting as that of the baud rate switches 19200 or 115200 bps No 416 Starting address for data received For the tool port No 420 No 417 Buffer capacity setting for data received For the tool port No 421 For the general purpose serial communication setting Receive buffer is required To change this area specify the starting address using system register No 416 or 420 and the volume number of words using No 417 421 The receive buffer layout is shown below When setting for the tool port and the COM port both do not specify the same buffer number Receive buffer Starting area specified The number of in system register no received bytes 416 420 is stored here The number of words is Received data specified in system regis storage area ter no 417 421 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 5 8 Connection with 1 1 Communication General purpose Serial Communication RS232C RS232C equipment System register settings No Name SetValue No 412 Selection of communication mode General purpose serial communication Communication format Char bit T bits 8 bits Parity None Odd Even Stop bit 1 bit 2 bits Terminator CR CR LF None ETX Header STX not exist Starting address for receive buffer C10 14 16 DTO to DT12314 C32
220. he next data the F159 instructon resets the buffer writing point KO and turns off the reception done contact 9038 The data in the receive buffer is not cleared The program described above is executed in the following sequence 1 The data sent from external devices is stored in the receive buffer 2 The reception done contact R9038 is turned on 3 The received data is sent from the receive buffer to the area starting with data register DTO 4 The F159 MTRN instruction is executed with no data to clear the number of received bytes and to turn off the reception done contact R9038 The system is now ready to receive the next data x M in the receive buffer is not cleared Note Be aware that the reception done flag R9038 changes even while a scan is in progress e g if the reception done flag is used multiple times as an input condition there is a possibility of different statuses existing within the same scan To prevent multiple read access to the special internal relay you should generate a copy of it at the beginning of the program Explanatory diagram Data register DT 3 Data reading V Data reception g Reception done R9038 ON E 4Reception ready R9038 OFF 7 1 External J device WA Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Explanation of data table Data sent from an external device co
221. he right side of all other expansion units 1 3 Programming Tools 1 3 1 Required Tools for Programming 1 Programming tool software The tool software can also be used with the FP series FPWIN GR Ver 2 or FPWIN Pro Ver 6 Windows software is used with FPOR FP Programmer cannot be used Programming tool software Computer 2 connection cable A commercial USB cable A mini B type is used for the connection A cable for connecting a PC Mini DIN 5 pin D sub 9 pin can be also used for the connection DPC connection cable 1 3 2 Software Environment and Suitable Cable Standard ladder diagram tool software FPWIN GR Ver 2 OS Type of software Operating system Hard disk capacity AFPS10520 Windows 98 FPWIN GR Ver 2 Windows ME English language Small type Windows 2000 40MB or more AFPS11520 menu Windows amp XP Windows Vista Upgrade version AFPS10520R Note1 Ver 1 1 must be installed to install the upgrade version Note2 Ver 2 0 can be upgraded to Ver 2 1 or later free of charge at our web site Use the latest version Note3 The small type can be used only for each series of FP e FP2 FPO and FP X Conforms to IEC61131 3 programming tool software FPWIN Pro Ver 6 Type of software OS Operating system Hard disk capacity Windows 2000 fast d Windows XP 100MB or more AFPS50560 iia Windows Vista Note1 The small type and upgrade version is not availab
222. hile turning on electricity It could lead to an electric shock Use the external devices to function the emergency stop and interlock circuit Connect the wires or connectors securely The loose connection could cause excessive exothermic heat or smoke generation Do not allow foreign matters such as liquid flammable materials metals to go into the inside of the product It could cause excessive exothermic heat or smoke generation Do not undertake construction such as connection and disconnection while the power supply is on It could lead to an electric shock Copyright Trademarks This manual and its contents are copyrighted You may not copy this manual in whole or part without written consent of Panasonic Electric Works SUNX Co Ltd Windows is a registered trademark of Microsoft Corporation in the United States and other countries All other company names and product names are trademarks or registered trademarks of their respective owners PLC BAT Table of Contents Before You Start Programming Tool Restrictions When Using FPO Programs 1 Functions and Restrictions of the Unit 1 1 TPN DCS RP 1 2 1 2 Restrictions on Unit Combination 1 7 1 3 Programming FOOIS uu 1 8 2 Specifications and Functions of Control Un
223. iautomation net 5 3 Wiring of Input and Output 5 3 1 Input Wiring Connection of photoelectric sensor and proximity sensor Relay output type Sensor 8 2p Zo Power supply for sensor Power supply for input Voltage output type Sensor Input terminal FPOR Internal Power supply for input Precaution when using LED equipped reed switch Olnput terminal FPOR Two wire type sensor Internal Sensor s leakage current mA Bleeder resistor k amp The off voltage of the input is 2 4 V therefore select the value of bleeder resistor R so that the voltage between the COM terminal and the input terminal will be less than 2 4 V The input impedance is 9 1 9 1R Ix 2 4 Therefore 91R R 21 84 RS 9 11 2 4 The wattage W of the resistor is _ Power supply voltage R W In the actual selection use a value that is 3 to 5 times the value of W NPN open collector output type FPOR e te m circuit Power supply for input Two wire output type Sensor Internal circuit Power supply for input When a LED is connected in series to an input contact such as LED equipped reed switch make sure that the voltage applied to the PLC input terminal is greater than the ON voltage In particular take care when connecting a number of switches in series If the input of PLC does not turn off because of l
224. ication 2400 bps 4800 bps 9600 bps m speed Baud rate 19200 bps 38400 bps 57600 bps setting 115200 bps Starting address for received buffer of general serial data 4096 32 04 communication mode Buffer capacity setting for data received of general 2048 to 2048 serial data communication mode 410 Unit No setting 1 1to99 Computer link Communication General purpose serial communication mode setting Computer link beri link MODBUS RTU Selection of modem Enter the settings for the various items Data lenght bit 7 bits 8 bits Parity check none with odd with even Stop bit 1 bit 2 bits The following setting is valid only when the communication mode specified by system register 412 has been set to General purpose serial communication Terminator CR CR LF None ETX Header STX not exist STX exist Communication 2400 bps 4800 bps 9600 bps speed Baud rate 9600 bps bps 38400 bps 57600 bps setting 115200 bps Starting address for received buffer of general serial data 0 to 32764 communication mode Buffer capacity setting for data 417 received of general 2048 to 2048 serial data communication mode Note1 The communication format in a PLC link is fixed at the following settings Data length is 8 bits odd parity stop bit is 1 The communication speed baud rate is fixed at 115200 bps Note2 The general purpose communication w
225. ified data table Specify the number KO or K2 corresponding to the channel CHO or CH2 assigned to the X axis to execute the F175 instruction Time chart Acceleration time Deceleration time 300ms 300ms Frequency Target speed 10kHz Initial speed 1kHz Time Linear interpolation operation start R50 Linear interpolation operation running R500 Linear interpolation operation start pulse R501 Linear interpolation operation complete R504 Pulse output instruction flag R9120 X axis R9121 Y axis Data table Data register Setting item Unit Example of sample program No H1000 0000 DT500 Control code Increment o ed S CONTO GOUE CW CCW page DT502 Composite speed Initial K500 K6 to K50000 speed Hz 51 Settable range prso4 Composite speed Target K6 to K50000 speed Hz X axis target value pulses Y axis target value pulses X axis component speed The result is stored as 2 words in real type DT514 Em Initial speed Hz X axis compo composite speed x X axis movement amount X axis component speed DT516 nent speed Target speed Hz X axis movement amount Y axis movement amot TAXIS component speed Y axis compo composite speed x Y axis movement amoun Initial speed Hz Y axis component speed Target speed Hz Note Each setting item occupies 2 word data registers nentspeed X axis movement amount Y
226. ified using an index register RO MV DTO IODTO In this case index register modifies the address of data register However it may exceed the addressable range of the data register depending on the data in IO If the value exceeds the range an operation error will occur The same is true when the contents of I0 are a negative value 2 Is there any data which cannot be converted using BCD BIN data conversion Example When BCD to BIN conversion is attempted RO I LF81 BIN DTO DT100 In this case if contains a hexadecimal number with one of the digits A through F such as 1244 conversion will be impossible and an operation error will result Example When BIN to BCD conversion is attempted RO _ F80 BCD DT1 DT101 In this case if DT1 contains a negative value or a value greater than K9999 an operation error will occur 3 Check if the devisor of a division instruction is 0 lt Example gt RO F32 96 DTO DT100 DT200 In this case if the content of DT100 is an operation error will occur Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Chapter 12 Precautions During Programming Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 12 1 Use of Duplicated Output 12 1 1 Duplicated Output What is duplicated output Duplicated output refers to repeatedly
227. ime from the target speed 1 to the target speed 2 is as changeover time and the time from the target speed 2 to the initial speed is as deceleration time For the details refer to 8 4 17 Difference in Acceleration Deceleration Characteristics Between Instructions Set according to the control code on the next page Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Sample program R30 R302 R300 DF R300 R300 R301 DF pp R301 F1 H10110000 DT 300 F1 DMV Kk 1000 DT 302 1 DMV K5000 DT 304 F1 DMV K300 DT 306 F1 DMV K2000 DT308 F1 DMV K100 DT 310 F1 DMV K300 DT 312 F1 DMV K100000 DT314 F171 SPDH DT 300 KO R31 R300 HDF HH Fo mv H 140 DT 90052 Fo MV H 100 x T 90052 R9120 R300 T30 R302 HDF A R302 TMX 30 K 3 Control code 10 Fixed m Control assignment 1 JOG positioning m Control assignment 2 1 Type 1 minterrupt assignment 0 Execution during main program 1 Execution during interrupt program Trigger is level type m Output assignment 0 Pulse output 1 Calculation only m Operation mode assignment 0 Incremental m Output type assignment 0 CW CCW 1 PLS SIGN Forward OFF Reverse ON 2 PLS SIGN Forward ON Reverse OFF Precautions during programming For using the pulse output function it is necessary to set the system
228. in the PROG mode Turns on when Unit No 3 is in the RUN mode E Turns off when Unit No 3 is in the PROG mode Turns on when Unit No 4 is in the RUN mode a Turns off when Unit No 4 is in the PROG mode Turns on when Unit No 5 is in the RUN mode Turns off when Unit No 5 is in the PROG mode Turns on when Unit No 6 is in the RUN mode P Turns off when Unit No 6 is in the PROG mode Turns on when Unit No 7 is in the RUN mode MEWNET No 7 Turns off when Unit No 7 is in the PROG mode WO Turns on when Unit No 8 is in the RUN mode PC PLC LM Turns off when Unit No 8 is in the PROG mode link 0 Turns on when Unit No 9 is in the RUN mode operation Turns off when Unit No 9 is in the PROG mode mode relay Turns on when Unit No 10 is in the RUN mode PEN Turns off when Unit No 10 is in the PROG mode Pen Turns on when Unit No 11 is in the RUN mode Turns off when Unit No 11 is in the PROG mode Turns on when Unit No 12 is in the RUN mode IR Turns off when Unit No 12 is in the PROG mode Turns on when Unit No 13 is in the RUN mode p Turns off when Unit No 13 is in the PROG mode Turns on when Unit No 14 is in the RUN mode bn Turns off when Unit No 14 is in the PROG mode PI Turns on when Unit No 15 is in the RUN mode Turns off when Unit No 15 is in the PROG mode Turns on when Unit No 16 is in the RUN mode EN Turns off when Unit No 16 is in the PROG mode A Available N A Not available
229. ing as that of the baud rate switches 19200 or 115200 bps Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 4 6 MEWTOCOL Master Use the F145 SEND Data send or F146 RECV Data receive instruction to use the MEWTOCOL master function Communication port The MEWTOCOL master is not available for the tool port It is available for the COM port only Sample program Sets the communication port to COM1 the remote unit No to 01 and No of processing OL words to 2 in the DT100 and DT101 Clear the WRO to send the write command first d Clear the write data DT50 and DT51 Set the read data DT60 and DT61 R9013 H Fo mv H2 DT 100 MV H1001 DT 101 HO WRO 1 1 HO F1DMV HFFFFFFFF 0760 R1 is the transmission condition of write command transmission condition and 31r R2isthe transmission condition of read command R9044 R1 RO R2 H H Compares the write data DT50 and DT51 with the read data DT60 and DT61 before 39 sending the write command and updates the write data if they are matched R1 61 DT50 R1 R900B ag M p 1 1 F36 D 1 DT50 Sends a command to write the data DT50 and DT51 of the local unit to the DTO and SSF priin the unit number 01 from the c
230. ing at D Character ASCII ASC S Twelve characters of the character code PASC constants of S are converted to ASCII code and stored in D to D 5 F96 16 bit table data S1 The data of S1 is searched for in P96 search PSRC S2 the areas in the range S2 to S3 53 and the result is stored in DT9037 and DT9038 DSRC 51 The data of S1 1 S1 is searched PDSRC S2 for in the 32 bit data designated by 53 53 beginning from S2 and the result if stored in DT90037 and DT90038 F97 P97 32 bit table data search o JJ O Data shift instructions Data table shift out and compress CMPR D1 Transfer D2 to D3 Any parts of PCMPR D2 the data between D1 and D2 that D3 are 0 are compressed and shifted in order toward D2 F99 P99 Data table shift in CMPW S D1 and compress PCMP Transfer S to D1 Any parts of the data between D1 and D2 that are 0 are compressed and shifted in order toward D2 F100 Right shift of P100 multiple bits n bits in a 16 bit data Left shift of multiple SHL bits n bits in a 16 PSHL bit data F102 Right shift of n bits DSHR P102 in a 32 bit data PDSHR F103 Left shift of n bits in DSHL P103 a32 bit data PDSHL D n Shifts the n bits of D to the right D n Shifts the n bits of D to the left D n Shifts the n bits of the 32 bit data area speci
231. ing to the initial speed specified with each instruction 1 When the initial speed is 1 Hz or higher and lower than 46 Hz the control can be performed up to 10 KHz 2 When the initial soeed is 46 Hz or higher and lower than 184 Hz the control can be performed up to the maximum frequency 3 When the initial speed is 184 Hz or higher the control can be performed up to the maximum frequency The speed error will be smallest Control code and quick start Common to F171 F172 F175 When Calculation only is specified in the digit to set the output of the control code of each instruction the pulse output is not performed Instructions can be quickly started when executing them for the same channel and with the same parameter after executing calculation only v Duty cycle of pulse output Common to F171 F172 F174 F175 F177 Pulses are output with a 2596 duty cycle Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 5 PWM Output Function 8 5 1 Overview PWM output function With the F173 PWMH instruction the pulse width modulation output of the specified duty ratio is obtained System register setting In order to use the PWM output function it is necessary to set system register numbers no 402 8 5 2 PWM Output Instruction F173 X6 While X6 is on a pulse with a period of 1 ms and duty Mv DT100 ratio of 5096 is output from YO
232. ing trigger flag Turns on when sampling stop trigger is on R902F Sampling enable flag Turns on when sampling operation starts DT90028 Interval of sampling trace KO For sampling by instruction K1 to K3000 10 ms to 30 seconds For sampling at regular time intervals 10 2 2 Details of Sampling Trace Function No of data collectable at one sampling 16 bits 3 data Sampling capacity No of samples accumulable 300 samples C10 C14 C16 1000 samples C32 T32 F32 Types of sampling timing When an instruction is executed or at regular time intervals 1 Sampling at regular time intervals From 10 ms 2 Sampling by F155 SMPL instruction Sampling for every scan can be executed by the instruction Also more than one sampling can be executed in one scan Timing for the execution of the F155 SMPL instruction can be set by the ladder sequence It is not possible to activate the sampling at regular time intervals and the sampling by the F155 SMPL instruction simultaneously How to stop sampling Methods of the stop trigger request Following two methods are available 1 Deactivate request by the tool software 2 Deactivate request by the F156 STRG instruction If the stop trigger activates the PLC will continue to take samplings for the specified number of delay and then stop the sampling operation Once the sampling operation stops the data will be automatically retrieved by the tool software and will be indicated in
233. ingle power supply Turning on off of the power of all the units must be conducted simultaneously Power supply sequence Have the power supply sequence such that the power supply of the control unit turns off before the power supply for input and output If the input output power supply is turned off before the control unit or if the control unit is not shut off momentarily the controller detects change of input level and might conduct an unexpected operation Before turning on the power When turning on the power for the first time be sure to take the precautions given below When performing installation check to make sure that there are no scraps of wiring particularly conductive fragments adhering to the unit Verify that the power supply wiring I O wiring and power supply voltage all correct Sufficiently tighten the installation screws and terminal screws Set the mode selector to PROG mode Before entering a program Be sure to perform a program clear operation before entering a program Refer to the respective tool software manuals for the details of the operation procedure Tool software FPWIN Pro FPWIN GR Request concerning program storage To prevent the accidental loss of programs the user should consider the following measures Drafting of documents To avoid accidentally losing programs destroying files or overwriting the contents of files documents should be printed out and then saved Spe
234. input pulse width also refer to 8 3 3 Minimum Input Pulse Width gt Note3 CH4 and CH5 cannot be used for the C10 type Note4 The maximum counting speed is the values when executing with the conditions of each item counting method or number of channels only These values are not available if executing the high speed counter match ON OFF instruction other pulse I O process simultaneously or executing the interrupt program B 7 i i 0 1 2 3 0 2 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Pulse output function used Deviation ro Position Pulse High speed counter counter clear Near Target Home control Elapsed Target area for channel No starting instruct value value area match Input input ey ddp input i area Note5 on off DT90400 DT90402 DT90404 DT90410 DT90412 DT90414 Indepen nei DT90411 DT90413 DT90415 DT90420 DT90422 DT90424 oe ve ve vm e De oele or DT90430 DT90432 DT90434 om ve v7 Wee v 20 reis Drnis eres lt bit4 gt DT90400 DT90402 DT90404 ZO o e ve we DT90410 DT90412 DT90414 DT90420 DT90422 DT90424 DT90430 DT90432 DT90434 Note1 The pulse output function is available only for the transistor output type Note2 When using CH2 or CH3 with the C16 type the deviation counter clear output cannot be used Also Y6 and Y7 are al
235. instruction such as MCR or JMP is used Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 11 2 5 A Protect Error Message Appears When a password function is used Procedure Enter a password in the Set PLC Password menu FPWIN GR Security settings menu FPWIN Pro and change it to the state to enable Access Using FPWIN GR 1 Select Set PLC Password under Tool on the menu bar 2 The PLC password setting dialog box shown below is displayed Turn on the radio button next to Access enter a password and click on the Settings button Set PLC password dialog box Set PLC Password Untitlel E X Current status Password is not set Close Available counts 3 counts Excel m digit number ay Help 4 digits Hex 8 digits alphanumeric Match case Operation Mode C Access Protect C Unprotect 8 digits password Enter in alphanumeric Setting for FP memory loader option Allow the download in case of same password Set that PLC cannot be uploaded Using FPWIN Pro 1 Select Security Settings under Online on the menu bar 2 The security setting dialog box shown below is displayed Input the password in the field of PLC access and click the Login button Security Settings dialog box Security Settines Status Information Password protection Passwo
236. ion net Email info ctiautomation net Sample program JOG positioning operation Type 1 When the trigger execution condition is on the JOG operation is started When the position control start input turns on the position control is performed up to a specified target value after changing the target speed at the changeover time specified in advance Time chart Acceleration time Deceleration time 300ms 100ms 300ms Frequency Target speed 2 20kHz Positioning operation Target speed 1 100000 pulses JOG operation JOG operation Initial speed 1kHz Time JOG positioning operation start R30 oe JOG positioning operation running R300 JOG positioning operation start pulse R301 JOG positioning operation complete R302 Position control start input R31 Pulse output instruction flag R9120 Data table Data register Setting item Unit Example of sample program Settable range No H1011 0000 DT300 Control code JOG positioning Type 1 CW CCW Initial speed Hz 07306 Acceleration time ms DT310 Changeover time ms K100 K1 to K32760 DT312 Deceleration time ms K300 K1 to K32760 K 2 147 483 648 to DT314 Target value pulses K100000 2 147 483 647 Note 1 Each setting item occupies 2 word data registers 2 For the type 1 of JOG positioning control instruction the time from the initial speed to the target speed 1 is specified as acceleration time the t
237. ion of this software may impair or destabilize the correct operation of your system either immediately or in the future Microsoft strongly recommends that you stop this installation now and contact the hardware vendor for software that has passed Windows Logo testing Continue Anyway Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 5 Click Finish on the following screen to be displayed Found New Hardware Wizard Completing the Found New Hardware Wizard The wizard has finished installing the software for E Panasonic Electric Works PLC Virtual UART c Click Finish to close the wizard Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Procedure of installing the driver e g Windows 7 1 Once the FPOR is connected the following screen is displayed It will automatically disappear after a short time Installing device driver software Click here for status L IM Device driver software was not successfully installed Ax Click here for details 2 Click the start menu and move the mouse pointer to Computer and right click on it to select Properties a sticky Notes Computer E Snipping Tool Control Panel ay Manage lh XPS Viewer dp Windows Fax and Scan Devices and Pr Map network drive Disconnect network drive Default Progra Show on Deskti A Re
238. is pulse cycle pulse cycle pulse cycle stored in 01202 01203 When no pulse is measured for more than the measure Measured pulse cycle is stored in the following DT after the ment limit time specified in measurement DT100 1 is stored in 1 unit DT202 DT203 1 ms unit DT204 DT205 DT204 and DT205 Example When a single pulse of 250Hz was measured repeatedly Pulse number measured within 100 ms 25 1 is stored in DT200 and DT201 Pulse cycle 1 250 x 10 4000 1 is stored in DT202 DT203 Pulse cycle 1 250 x 10 4 Error 1 is stored in DT204 and DT205 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Sample program F178 Reads the elapsed value of high speed counter CHO DT900300 DT90301 to DT166 DT67 0 Compares it with the previous read elapsed value DT68 DT69 If unmatched exectues F178 R9010 F1 DT90300 DT66 R900B R80 F60 CMP DT66 DT68 F178 Execution condition Executes F178 instruction Measurement limit 1 s Measurement unit 1us and ims No of moving average 5 times 1 Channel No CHO Measurement cycle 10 ms DT60 DT61 Stores pulse number DT62 DT63 Stores pulse cycle in 1us unit 4 DT64 DT65 Stores pulse cycle in 1ms unit R80 F178 PLSM 5350 K 10 DTeo 178 Execution condition Co
239. is written to link register LDO of unit no 1 The contents of LDO in the other units are also changed to a constant of 100 Communication port It is available for the COM port only Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 6 2 Setting of Unit Numbers By default the unit number for the communication port is set to 1 in the system registers In a link that connects multiple PLCs on the same transmission line the unit number must be set in order to identify the different PLCs The unit number is specified either by using the SYS1 instruction or the system register Note1 The priority order for unit number settings is as follows 1 SYS1 instruction 2 System registers Note2 Unit numbers should be set sequentially and consecutively starting from 1 with no breaks between them If there is a missing unit number the transmission time will be longer Note3 If fewer than 16 units are linked the transmission time can be shortened by setting the largest unit number in system register no 47 pp pg FPOR FPOR FPOR FPOR Max 16 units Lf Unit no Unit numbers are the numbers to identify the different PLCs on the same network The same number must not be used for more than one PLC on the same network Note When using the PC PLC link with the RS232C the number of units is 2 Phone 800 894 0412 Fax 888 723 4773 Web www ctiau
240. ister setting Configuration Untitlet Hold Non hold Action on Error No 412 Port Selection tio Time High Speed Counter No 413 Communication Format No 414 Baudrate Interrupt Input Tool Part Char bit 8 Bits 9600 Parity Check Odd No 415 Unit No Stop Bit 1 1 Terminato cR x No 416 Modem Enabled Header STX not exist No 417 Receive Buffer Starting Address DT 0 0 1659 No 418 Receive Buffer Capacity 1660 0 1660 Cancel Initialize No 412 Communication mode Select General communication No 413 Communication Format setting Char Bit 7 bits 8 bits Parity None Odd Even Stop bit 1 bit 2 bits Terminator End code CR CR LF None ETX Header STX not exist STX Specify the value to match the connected external device No 414 Baud rate setting Select one of the values from 300 600 1200 2400 4800 9600 and 19200 bps No 415 Unit number The unit number can be set within a range of 1 to 99 No 417 Starting address for data received No 417 Buffer capacity setting for data received For the general purpose serial communication setting Receive buffer is required To change this area specify the starting address using system register No 417 and the volume number of words using No 418 The receive buffer layout is shown below Receive buffer Starling area specified The number of
241. it 2 1 2 1 Part Names and FunctloriSsiucodiep co ROS CU uu eue Cm dO EE Ra De aide 2 2 2 2 Input and Output Specifications 2 4 2 9 Terminal layout GIAGKa MS Ru veu Vcn erc EEE 2 7 2 4 Functions of T32 Control 2 10 SN zl 3 1 o dq Expaision MEIO a 3 2 O22 Fart Names anaJT uncos siet t e eaten el Cu d 3 3 3 3 Input and Output Specifications 3 4 RET 3 7 AVO AIOC 4 1 a WO FAO Olls 4 2 4 2 Allocation for FPOR Control 4 3 4 3 I O Numbers of FPO FPOR Expansion Unit 4 4 5 Installation and Wiring 5 1 SM AMON RN TETTE DONORS 5 2 5 2 Wiring of Power Supply isa oia oce pte ror rex Sen sn ce EE cn nere ovx aee etr 5 6 95 9 Winnog or Input ang 5 8 5 4 Wiring of MIL Connector 5 11 5 5 Wiring of Terminal Block Type 5 13 5 6 Wiring of Molex Connector 5 15 SRM Eoo P ONIE TH 5
242. it of data of D P84 invert com PINV plement of 1 F85 16 bit data P85 complement of 2 F86 32 bit data P86 complement of 2 P87 absolute PABS P88 absolute PDABS F89 16 bit data EXT F90 Decode DECO S D Decodes part of the data of S and P90 5 stores itin D The part is specified by n F91 7 segment SEGT S D Converts the data of S for use in a 7 P91 decode PSEGT segment display and stores it in 0 1 D ENCO S Encodes part of the data of S fee stores it in D The part is specified by 16 bit data The least significant digit of each of the combine PUNIT n words of data beginning at S are stored united in order in D Available Not available A Not available partially Inverts each bit of data of D and adds 1 inverts the sign Inverts each bit of data of D 1 D and adds 1 inverts the sign Gives the absolute value of the data of D Gives the absolute value of the data of D 1 D Extends the 16 bits of data in D to 32 bits in D 1 D V T U N N Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 0 Bee Description CN LL F94 16 bit data distribute DIST S n Each of the digits of the data of S P94 PDIST D are stored in distributed to the least significant digits of the areas beginn
243. ith the tool port is available only in RUN mode In PROG mode the computer link mode must be used regardless of settings Data lenght bit 8 bits format setting Stop bit 1 bit Communication Data lenght icati bit 8 bits Communication format setting i check Stop bit 1 bit Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FPOR Add Default ME MN Controller input time constant setting 1 to E Controller input time constant setting 1 to X7 Controller input time dna constant setting 2 X8 to XB C32 T32 F32 Controller input time constant setting 2 XC to XF C32 T32 F32 Note X6 and X7 is invalid for C10 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 15 1 2 Table of Special Internal Relays for FPOR The special internal relays turn on and off under special conditions The on and off states are not output externally Writing is not possible with a programming tool or an instruction WR900 FPOR Relay No Name PDescripio R9000 Self diagnostic Turns on when a self diagnostic error occurs error flag The content of self diagnostic error is stored in DT90000 R9001 Notused 2 2 2 4 R9002 Notused Notued L O R9003 R9004 verification Turns on when an I
244. l Set according to the control code CW CCW on the next page H1000 0000 Initial speed Hz K 2 147 483 648 to K DT110 Target value pulses K30000 2 147 483 647 Note 1 Each setting item occupies 2 word data registers 2 For type O the time from the initial speed to the target speed is specified as acceleration time or deceleration time For the details refer to 8 4 17 Difference in Acceleration Deceleration Characteristics Between Instructions DT100 Control code Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Sample program R10 R9120 R102 R100 DF R100 R100 R101 DF m R101 F1 DMV H 10000000 DT 100 F1 DMV K1000 DT 102 DMV K10000 DT 104 F1 DMV K100 DT 106 DMV K1000 DT 108 F1 DMV K30000 DT110 F171 SPDH DT 100 KO R9120 R100 TO R102 HDF A R102 3 Control code 10 Fixed m Control assignment 0 Trapezoidal m assignment 0 TypeO 1 Type 1 minterrupt assignment 0 Execution during main program 1 Execution during interrupt program Trigger is level type Output assignment 0 Pulse output 1 Calculation only m Operation mode assignment 0 Incremental 1 Absolute m Output type assignment 0 CW CCW 1 PLS SIGN Forward OFF Reverse ON 2 PLS SIGN Forward ON Reverse OFF Precautions during programming For using the pulse output
245. l linked PLCs 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 If a 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 10 ms Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Error detection time for transmission assurance relays 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 relay of the PLC to be turned off at the other stations This time period can be shortened using the SYS1 instruction Programming example of SYS1 instruction SYS1 M PCLK1T1 100 Function Setting SYS1 to change the time that the PC PLC link transmission assurance is off from the default value of 6400 ms to 100 ms Keywords Setting for key word no 1 PCLK1T1 Permissible range for key word no 2 100 to 6400 100 ms to 6400 ms Note The setting should not be changed as long as a longer transmission assurance relay detection time does not cause any problems The SYS1 instruction should be executed at the beginning of the program at the rise of R9014 The same time should be set for all linked PLCs he 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
246. ld check your manufacturer s website for updated driver software for your device Install this driver software anyway Only install driver software obtained from L si C ef Sou information w See details 9 The installation of the driver software begins Once the installation completes successfully the following screen will be displayed Windows has successfully updated your driver software Windows has finished installing the driver software for this device Panasonic Electric Works SUNIX PLC Virtual UART In this case the USB port has been assigned to COMA However it may differ depending on the environment of the PC you use Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 6 1 3 Confirming COM Ports The USB connected to the FPOR is recognized as a COM port by a PC The COM port number assigned to the USB differs according to the PC environment How to confirm COM port 1 Connect the PLC and a PC with a USB cable 2 Display Device Manager For Windows Vista or Windows 7 Select Windows Start Menu Computer System Properties Device Manager For Windows XP Select My computer gt View System information gt Hardware tab gt Device Manager 3 Double click Ports COM amp LPT As the table of allocation of COM ports is shown confirm the COM port number Panasonic Electric Works PLC Virtual UART CO
247. le for Ver 6 Note2 Ver 6 0 can be upgraded to Ver 6 1 or later free of charge at our web site Use the latest version Type of computer and suitable cable For the connection between a personal computer RS232C and the control unit RS232C D sub connector cable PLC side connector Specifications Product No connector emale Mini DIN round 5 pin Straight type 3 AFC8503S Note A USB RS232C conversion cable is necessary to connect with a personal computer without a serial port using a PC connection cable Female Mini DIN round 5 pin Ltype 3m AFC8503 D sub 9 pin Mini DIN round 5 L type 3 C8503 For the connection between a personal computer USB and the control unit USB USB cable Use a commercial cable Cable type Length USB 2 0 cable miniB Note Windows 2000 or later OS is required for the communication with a USB USB A type Male USB miniB type 5 pin Male PC side PLC side Chapter 2 Specifications and Functions of Control Unit 2 1 Part Names and Functions 2 1 1 Part Names and Functions C10 C 14 C10 C14 Common to all control units Terminal block type Connector type 1 Operation monitor LEDs These LEDs display the current operation status of PLC such as RUN STOP and ERROR ALARM LED Lights In the RUN mode The program is being executed RUN Green Flashes The forced input output is being executed in the RUN mode The
248. lt 52 1 52 or S1 1 S1 S241 52 Begins a logic operation by comparing two 32 em HU 51 52 bit data in the comparative condition S1 1 1 gt S2 1 2 Begins a logic operation by comparing two 32 bit data in the comparative condition S 1 1 1 gt S2 1 S2 or S14 1 51 52 1 52 Begins a logic operation by comparing two 32 bit data in the comparative condition S 1 1 1 lt S2 1 52 Begins a logic operation by comparing two 32 bit data in the comparative condition S 1 1 1 lt S2 1 52 or S1 1 51 52 1 52 Connects a Form A normally open contact NERENENSENE 7 TAX FI P EAE 51 52 4 serially by comparing two 32 bit data in the point comparative condition S1 1 S1 S2 1 S2 t r Connects a Form A normally open contact serially by comparing two 32 bit data in the number comparative condition S1 1 S1 S2 1 S2 data or S1 1 51 gt 52 1 52 Connects a Form A normally open contact serially by comparing two 32 bit data the AND comparative condition S1 1 1 S2 1 S2 gt Connects a Form SRi contact _ 5 52 serially by comparing two 32 bit data in the L comparative condition S1 1 S1 gt S2 1 S2 or S1 1 51 52 1 52 ul Connects a Form A normally open contact F lt Sl S2 serially by comparing t
249. ly s setting is also deleted How to cancel the password protection Programs are retained 1 Select Tool Set PLC Password in the menu bar The Set PLC Password dialog box is displayed Set PLC Password Untitlel E X o Current status Bits Protect Close Available counts 3 courts E digit number io Help 4 digits Hes B8 digits alphanumeric Match case Operation C Access Protect digits password A 4 Enter in alphanumeric Setting Far FP memory loader aptianr 4 Allow the download in case of same password Set that PLC cannot be uploaded 2 Set the items in the table below and click on the Settings button Digit number Select 4 digits or 8 digits Operation Mode Select Unprotect 4 digits or 8 digits Input the set password Once the cancellation of protection is completed the following message is displayed FPWIN GR xi AN The protect of FLG was released 3 Click the OK button gt Note Unless the access is permitted the cancellation of password cannot be executed Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net How to force cancel Programs and security information are all deleted 1 Select Tool Set PLC Password in
250. ly added to the beginning of the data he terminator end code specified in system register 413 is automatically added to the end of the data prid Dr102 DT103 D1104 Transmission data DIE ON OFF R9039 Execution condition Ro F159 execution During transmission During this interval the F159 MTRN instruction cannot be executed ON OFF 3 When all of the specified quantity of data has been transmitted the S value is cleared to 0 and the transmission done flag R9039 turns on When you do not wish to add the terminator end code during transmissions Specify the number of bytes to be transmitted using a negative number f you also do not wish to add a terminator to received data set system register 413 to Terminator None Programming example The following program transmits 8 bytes of data without adding the terminator RO HDF S 1 1 159 MTRN DT100 K 8 1 EE g Key Point Do not include the terminator end code in the transmission data The terminator is added automatically When STX exist is specified for the header start code in system register 413 do not add the header to the transmission data The header is added automatically Specify K 8 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 5 4 Receiving Data Data register DT
251. m S1 S241 S2 R900A on compare PDCMP S141 1 S2 1 S2 5 R900B on S141 51 lt 52 1 S2 5 R900C on 16 bit data band S1 S2 S1 S3 R900A on compare PWIN S3 S2 or S1 or S3 5 R900B on 81 S2 5 R900C on OQ Available 2 Not available Not available partially Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Boo lean FPO FP e FP2SH FP10SH DWIN PDWIN 32 bit data band 51 52 S141 S1 S341 S3 R900A on S3 S241 S2 or S141 S1 or S3 1 S3 R900B on S141 S1 lt S2 1 S2 R900C on 1 S2 Compares the two blocks beginning with S3 S2 and S3 to see if they are equal S1 S2 D S1 AND S2 5 D olo o o o oppo e 51 S2 D 51 OR S2 5 D ala S1 S2 D compare F64 Block data BCMP P64 compare PBCMP Logic operation instructions pwa AND PWAN F66 16 bitdata WOR e POR 16 bit data XOR exclusive PXOR OR 16 bit data exclusive o 3 7 Description rand S1 AND S2 OR S1 AND S2 D 51 AND 52 OR S1 AND S2 D m P67 F68 P68 XNR PXNR S1 S2 D o N NOR F69 16 bitdata WUNI 51 52 eg 1 AND R S2 AND D P69 unite PWUNI 53 0 51 AND S3 OR S2 AND S3 gt D When S3 is HO S2 D When S3 is HFFFF S1 D Data conversion instructions Block check BCC cod
252. m with internal relays at the beginning of the program when using them several times in the program 8 4 19 Common Precautions for Pulse Output Instructions Note that there are the following restrictions on using each function of the pulse output Precautions when using instructions in PULSE SIGN mode Common to F171 F172 F175 F177 When each instruction is executed pulses are output approx 300ys after the direction signal has been output the motor drive characteristics are simultaneously taken into consideration Stop by pulse output control instruction F0 Common to F171 F172 F174 F175 F177 When executing the deceleration stop with the pulse output control instruction FO the operations being executed with various instructions are cancelled and the deceleration operation starts When the deceleration stop request flag bit 5 of DT90052 is on instructions cannot be executed As for the data table control instruction F174 the operation is similar to that of the forced stop When executing the forced stop pulse output stop with the pulse output control instruction FO the operations being executed with various instructions are cancelled and the pulse output is immediately stopped When the forced stop request flag bit 3 of DT90052 is one instructions cannot be executed Specification of initial speed and speed error Common to F171 F172 F174 F175 F177 Note that there are the following characteristics accord
253. me The number of days in the backup time varies according to the rate of charging time If it is charged on a full charge 72 hours at the ambient temperature of 25 C the backup time will be approx 50 days 100 50 days at 25 Backup time Battery capacity recovery rate 0 8 16 24 48 72 Charging time h The backup time will vary according to the ambient temperature when the battery is charged Ambient temperature when charged Number of days in backup time 70 Approx 14 days Approx 25 days Predicted life of built in backup battery The life of the built in backup battery varies according to the ambient temperature while the control unit is on energized Note The temperature when the control unit is off not powered has little influence on the battery life Approx 10 years ACS ae Note The built in backup battery cannot be replaced 2 4 3 Clock Calendar The clock calendar function is available for the FPOR T32 Note As the value is unstable in the initial state write the value using a programming tool Area of clock calendar With the clock calendar function data indicating the hour minute second day year and other information stored in the special data registers DT90053 to DT90057 can be read using the transmission instruction and used in sequence programs Special data eee Higher bytes Lower bytes Reading Writing Hour data Minute data DT90053 HOO
254. mmunication format and baud rate should be set to match the connected computer Programming of computer link For a computer link a program should be created that allows command messages to be sent and response messages to be received on the computer side No communication program is required on the PLC side Specify the communication format only by the system register he program for the computer side must be written in BASIC or C language according to the MEWTOCOL COM MEWTOCOL COM contains the commands used to monitor and control PLC operation Example of connection to the computer 1 1 communication Tool port Computer side FPOR side D SUB 9 Mini DIN 5 pin Symbol Pin no COM port RS232C port Computer side D SUB 9 pin FPOR side 3 pin terminal RD R SG G Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 4 5 1 N Communication MEWTOCOL Slave Function A computer and PLCs are connected through a commercially available RS232C RS485 converter and the respective computer and PLCs are wired using an RS485 cable with crossover wiring The computer and the PLC communicate via commands and responses The computer sends a command specifying the unit number and the PLC with that unit number sends a response back to the computer FPOR FPOR FPOR FPOR Unit no 1 Unit no 2 Unit no 3 Unit no Computer
255. mory and check whether the ERROR turns off When the ERROR turned off rewrite the master memory as its contents are damaged and use it again When the ERROR does not turn off please EN Stops contact your dealer AlAlAlALAIAIAIA FP1 C24 C40 C56 C72 and FP M Probably an abnormality in the memory unit Program the memory unit again and try to operate If the same error is detected try to operate with another memory unit FP2 FP2SH FP10SH and FP3 There may be a problem with the installed ROM ROM is not installed ROM contents are damaged Program size stored on the ROM is larger than the capacity of the ROM Check the contents of the ROM Unit Units installed exceed the limitations i e 4 or E27 installation Stops MOS ink units Turn off the power and re configure units error referring to the hardware manual System Rue an abnormality in the system register Stops Check the system register setting or n error Ee De initialize the system registers 1 This error occurs on FP X Ver2 0 or later A Available Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net tion status Configu ration A parameter error was detected in the Stops MEWNET W2 configuration area Set correct parameter Description and steps to take Interrupt Probably a hardware abnormality erro
256. mote Desktop Conpffcti Dg ut Help and Supp Rename Shut down 3 As the following screen is displayed click Device Manager ra gt Control Panel System and Security System Search Control Panel p e Control Panel Home s View basic information about your computer 5 Device Manager Windows edition Remote settings Windows 7 Professional System protection Copyright 2009 Microsoft Corporation All rights reserved Advanced system settings Get more features with a new edition of Windows 7 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Ele Action View Help eg n 4 FPWIN T Computer gt a Disk drives gt AR Display adapters b 5 DVD CD ROM drives x Floppy disk drives Floppy drive controllers lic Human Interface Devices gg IDE ATA ATAPI controllers bm Keyboards i A Mice and other pointing devices Monitors Network adapters ER n Processors gt sound video and game controllers gt System devices bs Universal Serial Bus controllers Device type Other devices Manufacturer Unknown Location Port EDOD1 Hub 0005 Device status The drivers for this device are not installed Code 28 There is no driver selected for the device information set or element To find a driver for this device click Update Driver Phone 800 894 0412 Fax 888 723 4773
257. mperature is 40 2100 days When ambient temperature is 35 3300 days When ambient temperature is 34 C or lower 10 years The temperature when the power is off has little influence on the battery life T Precision of Clock Calendar T32 only When ambient temperature is 0 Less than 104 seconds per month When ambient temperature is 25 Less than 51 seconds per month When ambient temperature is 55 C Less than 155 seconds per month Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 13 1 3 Communication Specifications Tool port o Descptin Data length 7 bits 8 bits Transmission format Communication function Computer link Slave Modem initialization General purpose communication In the RUN mode only USB port Descrptin O Standard Baud rate USB2 0 Fullspeed Computer link Slave COM port RS232C port Oo S 0 Data length 7 bits 8bits Parity None Even Odd Communication format Start code STX No STX End code CR CR LF None ETX Stop bit 1 bit 2 bits Computer link Master Slave Modem initialization General purpose communication MODBUS RTU Master Slave PC PLC link A maximum of 16 units can be connected by converting to RS485 Communication function Factory default Baud rate Datalength Parity Stop bit Tool port 9600 bit s 8bis Odd COM p
258. mputer so no program is necessary on the PLC side in order to carry out communication There are a MEWTOCOL master function and a MEWTOCOL slave function for the computer link The side that issues commands is called master and the side that receives the commands executes the process and sends back responses is called slave Computer Command message sare a S Response message MEWTOCOL master function This function is to carry out the communication on the master side side that issues commands of the computer link It is executed with the PLC s instruction F145 SEND or F146 RECV It is not necessary to write the response process as a ladder so the program is easier than the general purpose communication function The 1 1 or 1 N communication is available between our devices equipped with the computer link function and the MEWTOCOL COM Our devices e g PLC temperature control unit eco power meter machine vision MEWTOCOL slave function his function is to receive commands from the computer link execute the process and send back the results Any special ladder program is not necessary to use this function Set the communication conditions in the system registers It enables the 1 1 or 1 N communication with a master computer or PLC he program for the computer side must be written in BASIC or C language according to the MEWTOCOL COM MEWTOCOL COM contains the commands used to monitor and control PLC opera
259. n area starting position can be monitored by the special data registers shown in the table below The speed cannot be changed to a value below the deceleration minimum speed If a value below the deceleration minimum speed is specified the speed will be corrected The deceleration minimum speed can be monitored by the special data registers shown in the table below Pulse output control area TI Acceleration forbidden area Channel No Deceleration minimum speed area A starting position area DT90407 DT90408 to DT90409 DT90427 DT90428 to DT90429 DT90437 DT90438 to DT90439 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 4 13 JOG Positioning Control Instruction F171 When the trigger execution condition turns on the JOG operation is started When the position control start input becomes effective a specified pulse is output and the deceleration stop is performed he position control start input becomes effective when the leading edge of the external inputs XO to X3 or the bit 6 of the special data register DT90052 is detected To use the external inputs XO to X3 specify them by the system register No 402 for each channel Control method of JOG positioning control instruction F171 Type 0 and Type 1 Type O Once the trigger execution condition turns on the JOG operation is started and acceleration is performed up to the target speed When the position cont
260. n external data Example Writing the contents of input to a sequence of data registers beginning from RO DH KDFHFO Mv KO 10 R1 H MV WX3 IODTO 3 F35 1 10 When RO turns on 0 is written to index register IO When the R1 turns on the contents of input WX3 is transferred to the data register specified by _ IODTO 3 Add 1 to IO In this case the contents of IO will change successively and the destination data register will be as follows Input times of H1 Contents of 10 Destination data register fro jf 1st 0 DTO 2nd 1 DT1 ard 2 DT2 Inputting and outputting data based on a number specified by an input Example 1 Setting a timer number specified by a digital switch coco RO HDFHLF81 BIN wX1 0 ss CD Set timer time i F81 BIN WXO 105 0 ss 2 WX 1 WXO L Digital _J switches D Convert the BCD timer number data in WX1 to binary and set it in index register 10 2 Convert the BCD timer set value in WXO to binary and store in the timer set value area SV specified by contents of 10 Example 2 Taking external output of the elapsed value in a timer number specified by a digital switch 7 segment Timer elapsed indicator value display R 1 F81 BIN WX1 10 Js CD F80 BCD IOEVO WYO sss 2 gx Convert the BCD timer number data in WX1 to binary and set it in index register IO Convert
261. n in the character string Available Not available 27 Not available partially This instruction is available for 32k type 2 This instruction is available for FPX Ver 3 10 or later 3 This instruction is only available for FP X Ver 2 0 or later NO Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FP2SH FP10SH Ope Description rand Integer type data processing instructions F270 Maximum 91 Searches the maximum value in the P270 value word 52 D word data table between the S1 and data 16 bit 52 and stores it in the D The LL address relative to S1 is stored in D 1 an F271 Maximum DMAX 51 Searches for the maximum value in P271 value double PDMAX 52 D the double word data table between word data 32 the area selected with S1 and S2 bit and stores it in the D The address relative to S1 is stored in D 2 F272 Minimum value 91 Searches for the minimum value in P272 word data 16 52 D the word data table between the area bit selected with S1 and 52 and stores it in the D The address relative to S1 is stored D 1 F273 Minimum value 51 Searches for the minimum value P273 double word 52 D the double word data table between data 32 bit the area selected with S1 and S2 a
262. n net Email info ctiautomation net Description rand FPO FP e FPX FP2SH FP10SH F76 P76 ASCII code gt 16 bit binary data ABIN PABIN 51 52 Converts the ASCII code specified by S1 and S2 to 16 bits of binary data and stores it in D 001 Converts the 32 bits of binary data S141 51 to ASCII code and stores it in D area of S2 bytes Converts the ASCII code specified by F77 32 bit binary data gt ASCII code DBIA PDBIA 51 52 78 ASCII code gt DABI P78 32 bit binary PDABI data 1 S2 D S1 and S2 to 32 bits of binary data and stores it in 0 1 D BCD S D Converts the 16 bits of binary data PBCD specified by S to four digits of BCD 5 LJ data and stores it in 3 3 16 bit binary data 4 digit BCD data Example K100 H100 F81 4 digit BCD BIN S D Converts the four digits of BCD data P81 data gt 16 bit PBIN specified by S to 16 bits of binary data binary data and stores it in Example H100 K100 F82 32 bit binary DBCD S D Converts the 32 bits of binary data P82 data 8 digit PDBCD specified by 5 1 S to eight digits of BCD data BCD data and stores it in 0 1 D F83 8 digit BCD DBIN S D Converts the eight digits of BCD data P83 data gt 32 bit PDBIN specified by S 1 S to 32 bits of binary binary data data and stores it in D 1 D F84 16 bit data INV Inverts each b
263. n when scan time exceeds the time specified in system register 34 during constant scan execution This goes on if O has been set using system register 34 Constant scan error flag A Available N A Not available Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net WR901 FPOR Always on relay R9011 Always off relay R9012 Scan pulse relay Initial on type Goes on for only the first scan after operation RUN has been pulse relay started and goes off for the second and subsequent scans Initial off type Goes off for only the first scan after operation RUN has been R9014 pulse relay started and goes on for the second and subsequent scans SIPP Turns on for only the first scan of a process after the boot at the pulse relay on step ladder control type R9016 R9017 0 01 s clock Repeats on off operations in LJ R9018 pulse relay 0 01 sec cycles 591 zl 0 02 s clock Repeats on off operations in LJ R9019 pulse relay 0 02 s cycles 502 0 1 s clock pulse Repeats on off operations in 0 1 LJ R901A relay s cycles KEFY 0 2 s clock pulse Repeats on off operations in 0 2 LJ R901B relay s cycles KEFY 1 s clock pulse Repeats on off operations in 1 s 1 R901C relay cycles ETE 2 s clock pulse Repeats on off operations in 2 s R901D relay cycles XR 1 min clock pulse Repeats on off operations in
264. nd stores it in the D The address relative to S1 is stored in D 2 F275 Total and 51 The total value the mean value of P275 mean values 92 D the word data with sign from the area i word data 16 selected with S1 to S2 are bit obtained and stored in the D F276 Total and DMEAN S1 The total value and the mean value of P276 mean values PDMEAN 52 D the double word data with sign from i double word the area selected with S1 to S2 data 32 bit are obtained and stored in the D F277 Sort word SORT S1 The word data with sign from the P277 data 16 bit PSORT S2 area specified by S1 to S2 are 53 sorted in ascending order the smallest word is first or descending order the largest word is first F278 Sort double DSORT 91 The double word data with sign from P278 word data 32 PDSORT 52 the area specified by S1 to S2 are bit 53 sorted in ascending order the smallest word is first or descending order the largest word is first F282 Scaling of SCAL 91 The output value Y is found for the 16 bit data input value X by performing scaling for the given data table F283 Scaling of DSCAL 51 The output value Y is found for the P283 32 bit data PDSCAL S2 D input value X by performing scaling 10 for the given data table F284 Inclination 51 Executes the linear output for the P284 output of 16 bit 52 specified time from the specified 10
265. nd to write the data DT50 and DT51 of the local unit to the and 995r DT1 in the unit number 01 from the communication port R1 H F145 SEND DT 100 DT50 DTO FO MV WRO 1 70 Sends a command to read the data DTO and DT1 in the unit number 01 from the communication port and stores the result in the data DT60 and DT61 of the local unit R2 F146 RECV Dr 100 DTO Dreo FO MV HO WRO 1 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Flow chart Data initialization DT50 and DT51 is equivalent to DT60 and DT61 NO Increments DI50 DT51 Execute F145 Sends a data SEND instruction write command RECV instruction Sends a data read command 146 YES Turns RO off The above program executes the operation 1 to 3 repeatedly 1 Updates the write data if the write data DT50 and DT51 and the read data DT60 and DT61 are matched 2 Writes the DT50 and DT51 of the local unit into the data DTO and DT1 in the unit number 1 from the COM port 3 Reads the data DTO and DT1 in the unit number 1 into the data DT60 and DT61 of the local unit from the COM port Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Sample program For Type Il Use a program as below to directly specify a MODBUS address For Send command set the used
266. ndition of internal and output relays during operation When instructions are repeatedly used which output to internal and output relays such as transfer instructions and OT KP SET and RST instructions the contents are rewritten at each step during operation Example Processing when SET RST and OT instructions are used X0 to X2 are all This section of the program is processed as if RO are on This section of the program is processed as if RO are off This section of the program is processed as If RO are on The output is determined by the final operation results lf the same output is used by several instructions such as the OT KP SET RST or data transfer functions the output obtained at the I O update is determined by the final results of the operation Example Output to the same output relay YO with OT KP SET and RST instructions XO YO c YO ON x1 YO L ASs YO ON X2 YO RI YO OFF When XO to X2 are all on YO is output as off at I O update f you need to output a result while processing is still in progress use a partial I O update instruction F143 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 12 2 Handling Index Registers 12 2 1 Index Registers Like other registers index registers have 14 points 10 to ID for reading and writing 16 bit data Use an index register
267. nds of the load When using an AC inductive load Relay output type Surge absorber Rc Varistor 1 f Output 4 g Output i e Load utput 5 FPOR terminal Load 4 Q COM J Example of surge absorber Resistance R 50 Capacity C 0 47 When using an DC inductive load Diode gt Output Load FPOR COM J Diode Reverse voltage 3 times the load voltage Averag rectified torward current Load current or more Precautions when using capacitive loads When connecting loads with large in rush currents to minimize their effect connect a protection circuit as shown below Resistor Inductor Qut p u t AMA Out p ut C a terminal terminal Load L FPOR 99M FPOR Use an external fuse as overload protection A fuse is not built in the output circuit It is recommended to install external fuses on every circuit in order to prevent the output circuit to be burned out when the output is shorted However in some cases such as shortcircuit the element of the unit may not be protected 5 3 3 Precautions Regarding Input and Output Wirings Separate the input output and power lines Be sure to select the thickness dia of the input and output wires while taking into consideration the required current cap
268. nfo ctiautomation net 5 1 Installation 5 1 1 Installation Environment and Space Operating environment Use the unit within the range of the general specifications when installing Ambient temperature to 55 Ambient humidity 10 to 95 96 RH at 25 non condensing For use in pollution Degree 2 environment Do not use the unit in the following environments Direct sunlight Sudden temperature changes causing condensation Inflammable or corrosive gas Excessive airborne dust metal particles or saline matter Benzine paint thinner alcohol or other organic solvents or strong alkaline solutions such as ammonia or caustic soda Direct vibration shock or direct drop of water Influence from power transmission lines high voltage equipment power cables power equipment radio transmitters or any other equipment that would generate high switching surges 100 mm or more Static electricity Do not touch connector pins directly to prevent static electricity from causing damage Always rid yourself of any static electricity before handling this product Measures regarding heat discharge Always install the unit oriented with the tool port facing outward on the bottom in order to prevent the generation of heat Do not install the unit as shown below INCORRECT Upside down Upside down Installations such that Input and output Horizontal the input and output connec
269. nge the value and setting status write in the new value and or select the setting status 4 To register these settings choose OK Precautions for system register setting System register settings are effective from the time they are set However the system registers after No 400 become effective when the mode is changed from PROG mode 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 controller sends a command to the modem which enables it for reception When the initialized operation is performed all set system register values parameters will be initialized Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 15 1 1 Table of System Registers for FPOR Ope value Starting number setting for T udo counter Hold type area starting number setting for timer and counter 1008 0 to 1024 T32 F32 Hold type area starting number T32 F32 Hold type area starting number setting for data registers 0 to 32765 T32 F32 Hold or non hold setting for step m NN ladder process Non hold Hold Non hold T32 F32 Previous value is held for a leading edge detection Hold instruction DF instrucion with Non hold MC Note to 128 Hold type area starting word number for link relays for PC PLC link 0 T32 F32 Hold type area starting word number for PC PLC link relays 6 f
270. nication format Char bit 8 bits Parity Odd Stop bit 1 bit Terminator CR Header STX not exist No 415 Baud rate setting for COM1 port 115200 bps Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 6 4 Link Area Allocation The link relays and link registers to be used in the PC PLC link are allocated in the link area of the CPU unit Link area allocations are specified by setting the system registers of the CPU unit System registers value Range of link relays used for PC PLC link 0 0064 words 41 Range of link data registers used for PC PLC link O Oto 128 words Starting number for link relay transmission Link relay transmission size 0 to 63 0 to 64 words Starting number for link data register transmission O Oto 127 Link data register transmission size 0 Oto 127 words 46 PC PLO link switch flag Normal Normal 1st half Reverse 2nd half 16 Maximum unit number setting for MEWNET WO 1 to 16 PC PLC link 46 PC PLC link switch flag Normal Normal 1st half Reverse 2nd half 50 Range of link relays used for PC PLC link O Oto 64 words 51 Range of link data registers used for PC PLC link O Oto 128 words 53 Link relay transmission size LO Oto64words 0 to 127 words Of 010 127 words 57 Maximum unit number setting for MEWNET WO 16 1 to 16
271. nit number of the PLC to which you want to send the command must be specified In 1 1 communication the unit number 01 ASCII code H3031 should be specified The unit number of the PLC is specified by the system register 3 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 command 3 0 1 4 H S X O0 1 id B Specification Command name and data te Command code be written ASCII code H23 4 Check code BCC block check code for error detection using horizontal parity The BCC should be created so that it targets all of the text data from the header to the last text character 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 It is normally part of the calculation program and is created automatically The parity check can be skipped by entering ASCII code H2A2A instead of the BCC 5 Terminator End code Messages must always end with a Cp ASCII code HOD Note When writing The method for writing text segments in the message varies depending on the type of command f there is a large number 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 an
272. nked the transmission time can be shortened by setting the largest unit number in system register no 47 in system register no 57 for PC PLC link 1 For all PLCs which are linked the same value should be set for the largest unit number f there are fewer than 16 units linked and the largest unit number has not been set default 16 or the largest unit number has been set but the unit number settings are not consecutive or the unit number settings are consecutive but there is a unit for which the power supply has not been turned on the response time for the PC PLC link the link transmission cycle will be longer Ap Reference 7 6 7 Link Response Time Setting PC PLC link switching flag PC PLC link switching flag can be set using system register no 46 If it is set to 0 default value the first half of the link relays and registers are used If it is set to 1 the second half of the link relays and registers are used First half WLO to WL63 LDO to LD127 is used Second half WL64 to WL127 LD128 to LD255 is used Main flag Link area First half 1 WL64 to WL127 LD128 to LD225 Second half WLO to WL63 LDO to LD127 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 6 6 Monitoring When using a PC PLC link the operation status of the links can be monitored using the following relays Transmission assurance relays For PC PLC
273. nnected to the communication port is stored in the data registers that have been set as the receive buffer he number of bytes Specify the data registers in system register 416 to received is stored in this area 419 The number of bytes of data received is stored in the starting address of the receive buffer The initial value Reception data is storage area The circled numbers Received data is stored in the received data storage indicate the order of ore area in order from the lower order byte Reception process When the reception done flag R9038 is off operation takes place as follows when data is sent from an external device The R9038 flag is off during the first scan after RUN 1 Incoming data is stored in order from the lower order byte of the 2nd word area of the receive buffer Header and terminator start and end codes are not stored Beginning of reception Re opening Y Received data A U V R9038 ON OFF Execution condition R10 Reception Reception iSN Reception is possible not possible is possible Execution of F159 MTRN 2 When the terminator end code is received the reception done flag R9038 turns on Reception of any further data is prohibited When the terminator has been set to None the reception done flag does not turn on Check the number of received bytes to judge whether the reception has completed or not When an F159 MTRN ins
274. no 2 Unit no 3 Unit no 4 Receive area System registers Nm noe Net e No 1 No 2 No 3 No 4 Range of link relays used Starting No of word for link relay transmission o l2 0 0 Link relay transmission size 20 2 24 lo Note 40 range of link relays used must be set to the same range for all the units Link register allocation Unit no 1 Unit no 2 Unit no 3 Unit no 4 LDO DO Send area 40 Receive area Receive area System registers cee for various units No 2 No 3 41 Range of link registers used o 40 80 jo Starting No for link register transmission Link register transmission size 40 40 44 Note No 41 range of link registers used must be set to the same range for all the units When link areas are allocated as shown above the No 1 send area can be sent to the No 2 No 3 and No 4 receive areas Also the No 1 receive area can receive data from the No 2 and No 3 send areas No 4 is allocated as a receive area only and can receive data from No 1 No 2 and No 3 but cannot transmit it to other stations Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net For PC PLC link 1 Link relay allocation Unit no 1 Unit no 2 Unit no 3 Unit no 4 WL64 Send area Receive area 03 03 Receive area 0 v 127 27 27 27 System registers No 1 No 4 Range of link relays used Starting
275. not direction output 2 Pulse width specification FPO It is possible to set the fixed pulse width 80us or duty ratio FPO compatibility mode The settings are invalid and the duty ratio of pulse width is fixed at 25 6 F168 SPD1 instruction specifications Positioning control Home return The specifications during pulse output are changed FPO The elapsed value during home return is not fixed It becomes zero when home return is done FPO compatibility mode The elapsed value is counted even during the home return operation It becomes zero when home return is done 7 Real number calculation process As the accuracy of real number calculation has been improved the calculation result in the FPO compatibility mode may differ from the result in the existing FPO program 8 Process when a secondary battery is out of charge T32 type only 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 data memory will be unstable FPO compatibility mode The value in the hold area of data memory will be cleared to 0 Chapter 1 Functions and Restrictions of the Unit 1 1 Unit Types 1 1 1 FPOR Control Units Program Power capacity peius supply voltage 10 points bus Input 6 points ec Output 4 points C10 10 points bu Input 6 points d i Output 4 points 14 points be Input 8 points be d Output 6 poin
276. ns F215 32 bit data DAND 2 S2 51 AND 52 1 P215 AND PDAND e O P216 OR PDOR F217 32 bit data DXOR Si 52 51 1 S1 AND S2 D 1 D F218 32 bit data DXNR S1 S2 S1 1 51 AND PM 52 OR mer m re h 2 5 D 1 D Double word mw sos S1 1 S1 AND S341 S3 OR n 32 bit data S3 D S2 1 52 AND S341 unites gt D 1 D Data conversion instructions Time data gt TMSEC S D The specified time data a date em second mee and time is changed to re second BBBBE conversion data Second The specified second data is efx lols data time PSECTM changed into time data a date and conversion time Q Available Not available A Not available partially 1 This instruction is available for FP e only 2 This instruction is available for gt Ver 3 10 or later 3 This instruction is only available for FP X Ver 2 0 or later 4 This instruction is available for FP10SH Ver 3 10 or later FPX 5 This instruction is available for FP 32k type 6 This instruction is available for FP X Ver 1 13 or later 7 This instruction is available for FP2 FP2SH Ver 1 5 or later FP10SH cannot be used Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Description rand O FP2SH FP10SH 16 bit binary GRY S D Converts the 16 bit binary data o
277. nstallation Using the Optional Mounting Plate When using the slim type FPO mounting plate AFP0803 Use M4 size pan head screws for attachment of the mounting plate and install according to the dimensions shown below 10mm 90 mm 6 mm The rest of the procedure is the same as that for attaching the unit to the DIN rails Installation Removal 20 1 IES er Note When using an expansion unit tighten the screws after joining all of the mounting plate to be connected Tighten the screws at each of the four corners Example When using the maximum numbers of the expansion units with AFP0803 lt Four plates in series gt lt Mounting hole dimensions gt 60 0 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net When using the flat type mounting plate AFP0804 Use M4 size pan head screws for attachment of the mounting plate and install according to the dimensions shown below AT t TEmEY g _ D 6 2mm B 90 0 mm 60 0 mm O 4 at Raise the expansion hooks of the unit Align the expansion hooks with the mounting plate and press the hooks Installation Removal IEF Note The flat type mounting
278. number of write blocks the execution time may be longer or shorter No of write blocks No of words FPO compatibility mode F170 PWM instruction specifications PWM output instruction The settable frequencies differ Especially the setting for the low frequency band cannot be specified eS hey FPO compatibility mode Frequency Hz Cycle ms Frequency Hz Cycle ms 1 0 1 Pp 100 100 166 7 Cannot specify Error occurs H8 6666 3 Data size of elapsed value and target value of pulse output and high speed counter The data size is changed FPO 24 bits FPO compatibility mode 32 bits 4 F144 TRNS instruction specifications Serial data communication The following 2 items in the specifications for sending data are changed 1 Processing of starting data of send buffer FPO Stores the number of unsent bytes every one byte transmission FPO compatibility mode Stores O after the completion of all data transmission 2 Restriction on the number of sent bytes No restriction FPO compatibility mode 2048 bytes 5 F169 PLS instruction specifications Pulse output JOG operation The following 2 items in the specifications are changed 1 Operation mode and direction output setting process FPO 00 No counting mode is selectable FPO compatibility mode 00 No counting mode is not selectable Performs the same operation as the one when specifying 10 Incremental counting mode with
279. nverts the measured pulse cycle us to frequency Hz Performs real number calculation for the reciprocal of the measured pulse cycle DT62 DT63 to DT72 DT73 1 Rounds off the real number and stores it as integer data DT72 DT73 to DT70 DT71 R80 H F313 F 1000000 DT62 DT 72 178 Pulse cycle Execution condition F332 DROFF DT72 DT70 4 Stores the elapsed value at the time of measurement as the previous value DT66 DT67 to DT68 DT69 R9010 H F1 omv DT 66 Dres 8 3 6 High speed counter control flag Note that there are the following restrictions on using each function of the high speed counter Allocation and role of high speed counter control flag When a high speed counter instructions F165 F166 F167 F178 is executed the high speed counter control flag of the corresponding channel is ON No other high speed counter instruction can be executed as long as this flag is ON he high speed counter control flags are allocated to each channel Channel No High speed counter control flag R9110 R9111 R9112 R9113 Operation of high speed counter control flag he high speed counter flag varies during scanning Replace it with an internal relay at the beginning of the program when using it several times in the program Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 3 7 Sample program Positioning operations wi
280. o of pins Model No of Phoenix Contact Model No Product No MC1 5 9 ST 3 5 1840434 Suitable wires Twisted wire Size Nominal cross sectional area AWG 24 to 16 0 2mm to 1 25mm Pole terminals with compatible insulation sleeve If a pole terminal is being used the following models manufactured by Phoenix Contact Co should be used Manufacturer Cross sectional area Size Phoenix Contact model No 25mm AWG 24 Al 0 25 6 YE 50mm AWG 20 AI 0 5 6 WH 18 ____ 10 75 66 nu M tac 5mm AWG 18 Al 0 75 6 GY 00mm AWG 18 Al 1 6 RD AI TWIN 2 0 5mm x2 AW G 20 for 2 pcs 0 5 8 WH Pressure welding tool for pole terminals Model No of Phoenix Contact Model No Product No Phoenix Contact Co CRIMPFOX UD 6 1204436 For tightening the terminal block When tightening the terminals of the terminal block use a screwdriver Phoenix Contact Co Product No 1205037 with a blade size of 0 4 x 2 5 Part No SZS 0 4x2 5 The tightening torque should be 0 22 to 0 25 N m 2 3 to 2 5 kgf cm or less Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Wiring method 1 Remove a potion of the wire s insulation 2 Insert the wire into the terminal block until it contacts the back of the block socket and then tighten the screw clockwise to fix the wire in place The tightening torque 0 22 to 0 25 N m 2 3 to 2 5 kgf cm
281. off when elapsed value of high L speed counter CHO reaches 5000 pulses _ i 32 bit data comparison instruction R900C turns on when the CHO high speed counter Slepeed value becomes greater than 4500 pulses Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 4 Pulse Output Function 8 4 1 Overview of Pulse Output Function Instructions used and the contents of the controls number deceleration stop i elapsed value counter during the pulse output control F172 F177 Trapezoidal F171 Automatically outputs pulses with the trapezoidal control by control specifying the initial speed target speed acceleration time deceleration time and target value JOG positioning F171 Outputs specified pulses after the position control start input during the JOG operation Data table control F174 Outputs pulses according to a specified data table Linear F175 Performs the linear interpolation control by specifying the interpolation composite speed acceleration time deceleration time X axis target value and Y axis target value Setting the system register For using the pulse output function it is necessary to set the system register No 402 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 4 2 Types of Pulse Output Method and Operation Modes Clockwise counter clockwise output method For
282. ollowing programs as they will not be executed correctly Example 1 gt NS X0 X1 YO 4 H DF 1 2 When X1 was on prior to XO YO will not be on even if XO becomes on Example 2 gt ANS TMX 5 30 YO X2 MX5 will activate if X1 becomes on regardless of whether XO is on or off cs m sd H Y1 oj nok dup When X2 was on prior to XO 1 will not be on even if XO becomes on When a combination of contacts are set as the trigger execution condition of a differential instruction DF or timer instruction do not use an AND stack ANS instruction read stack RDS instruction or pop stack POPS instruction Examples in which the above programs are rewritten correctly Program in which the example 1 is rewritten X0 x1 YO HoF 2 1 41 Program which the example 2 is rewritten YO 1 5 30 H 1 X2 i lt Program in which the example 3 is rewritten gt X1 YO im HH XO X2 Y1 Hor X3 Eo Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 12 5 Rewrite Function During RUN 12 5 1 Operation of Rewrite During RUN How operation of rewrite during RUN is performed Rewriting programs can be executed even in RUN mode When a rewrite is attempted during RUN the tool service time is temporarily extended program rewriting is performed and operation is resumed without the n
283. omation net Email info ctiautomation net FPOR A Available N A Not available Address Description ing In Ing The current scan time is stored here Scan Scan time current time is calculated using the formula DT90022 value Note Scan time ms stored data decimal x 0 1 ms Example K50 indicates 5 ms The minimum scan time is stored here Scan Scan time minimum time is calculated using the formula DT90023 value N Scan time ms stored data decimal x 0 1 ms Example K50 indicates 5 ms The maximum scan time is stored here The Scan time maximum scan time is calculated using the formula DT90024 value Scan time ms stored data decimal x 0 1 ms Example K125 indicates 12 5 ms The mask conditions of interrupts using the instruction can be stored here Monitor using Mask condition binary display DT90025 monitoring register 15 11 3 0 Bit No A a a ae INTO to 11 7 3 INT No interrupt disabled 1 interrupt enabled 0790026 Notused J 3 L 033 OA Periodical interrupt The value set by ICTL instruction is stored DT90027 interval INT24 periodical interrupt is not used A N A K1 to K3000 0 5ms to 1 5s or 10ms to 30s Sampling by the SMPL instruction DT90028 Sample trace interval K1 to K3000 x 10 ms 10 ms to 30 s A DT90029 Notused J w NA NA The contents of the specified message Data Character storage
284. ommunication port F159 MTRN instruction Data is sent and received via the specified COM port RO S n D __ L LL LO H F159 MTRN DT100 1 nid die Serial data communicat Starting from DT100 the contents of 8 bytes are sent from the communication K 1 port Devices that can be specified for S Only data registers DT can be specified as the send buffer Devices that can be specified for WX WY WR WL SV EV DT LD I IO to ID K H Devices that can be specified for 0 Only the constants KO and K1 only Sending data The amount of data specified by n is sent to the external device from among the data stored in the data table starting with the area specified by S through the communication port specified by D Data can be sent with the header and terminator automatically attached A maximum of 2048 bytes can be sent When the above program is run the eight bytes of data contained in DT101 to DT104 and stored in the send buffer starting from DT100 are sent from the communication port Receiving data Data can be received when the reception done flag is off The received data is stored in the receive buffer specified by the system register When the reception of the data is completed the terminator is received the reception done flag turns on and subsequently receiving data is prohibited To receive the next data execute the F159 MTRN instruction and turn the reception done flag off
285. ommunication port R1 145 SEND DT 100 DT 50 DTO KO MV H1 1 70 Sends a command to read the data DTO and DT1 in the unit number 01 from the communication port and stores the result in the data DT60 and DT61 of the local unit R2 F146 DT 100 DTO KO DrTeo MV HO WRO 1 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Flowchart Data initialization DT50 0751 is equivalent to DT60 and DT61 Increments DT50 and DT51 Execute F145 Sends a data SEND instruction write command Completion sends a data 146 read command instruction Turns RO off With the above program the procedures 1 to 3 are executed repeatedly 1 Updates the write data if the write data DT50 and DT51 and the read data DT60 and DT61 are matched 2 Writes the DT50 and DT51 of the local unit into the data DTO and DT1 in the unit number 1 from the COM port 3 Reads the DTO and DT1 in the unit number 1 into the data DT60 and DT61 of the local unit from the COM port Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 4 7 Setting in Compatiblity Mode with FPO FPO Compatibility Mode Setting Communication Parameters Confirm that the model of the programming tool is FPO Note Only the salve function is
286. omparative condition S1 lt S2 d bL b be be zz s Begins a logic operation by comparing two 16 bit data in the comparative condition S1 lt S2 or S1 S2 16 bit Connects a Form A normally open contact f 53 8 4 serially by comparing two 16 bit data in the comparative condition S1 S2 Connects a Form A normally open contact AND pf 5 8 84 serially by comparing two 16 bit data in the comparative condition S1 lt S2 or S12 S2 Connects a Form A normally open contact 8 8 4 serially by comparing two 16 bit data in the comparative condition S1 gt S2 Connects a Form A normally open contact 3 824 serially by comparing two 16 bit data in the comparative condition S1 gt S2 or S1 S2 Connects a Form A normally open contact 553 8 4 serially by comparing two 16 bit data in the comparative condition S1 lt S2 Connects a Form A normally open contact 5758 8 serially by comparing two 16 bit data in the comparative condition S1 lt S2 or S1 S2 16 bit Connects a Form A normally open contact in dala pe 51 82 parallel by comparing two 16 bit data in the comparative condition 51 52 compels Connects a Form A normally open contact in OR ps 52 parallel by comparing two 16 bit data in the comparative condition S1 lt S2 or S1 gt S2 Connects a Form A normally open contact in 81 82 parallel by comparing two 16 bit data
287. on mode of communication port operation mode Click Computer Link No 413 Communication Format setting The default setting of communication format is as below Set the communication format to match the external device connected to the communication port The terminator and header cannot be changed Char Bit 8 bits Parity Odd Stop Bit 1 bit Terminator Setting disable Header Setting disable No 415 Baud rate setting The default setting for the baud rate is 9600 bps Set the value to match the external device connected to the communication port For using the RS485 type make the same setting as that of the baud rate switches 19200 or 115200 bps USB port The setting for the USB port is fixed The setting for the communication parameter is not available Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 4 4 1 1 Communication MEWTOCOL Slave Function Overview For a 1 1 computer link between the FPOR and a computer and RS232C cable is needed Communication is performed via commands from the computer and responses from the PLC Computer FPOR 85232 lt System register settings Name JSetvdue Communication format Char bit 7 bits 8 bits Parity None Odd Even Stop bit 1 bit 2 bit Terminator CR Header No STX 2400 to 115200 bps Note The co
288. or Confirmation When ERROR Turns ON When the ERROR on the control unit CPU unit turns on or flashes a self diagnostic error or syntax check error has occurred Confirm the contents of the error and take the appropriate steps Error Confirmation Method Procedure 1 Use the programming tool software to call up the error code By executing the STATUS DISPLAY the error code and content of error are displayed 2 Check the error contents in the table of error codes using the error code ascertained above Syntax check error This is an error detected by the total check function when there is a syntax error or incorrect setting written in the program When the mode selector is switched to the RUN mode the total check function automatically activates and eliminates the possibility of incorrect operation from syntax errors in the program When a syntax check error is detected ERROR turns on or flashes Operation will not begin even after switching to the RUN mode Remote operation cannot be used to change to RUN mode Clearing a syntax check error By changing to the PROG mode the error will clear and the ERROR will turn off Steps to take for syntax error Change to the PROG mode and then execute the total check function while online mode with the programming tool connected This will call up the content of error and the address where the error occurred Correct the program while referring to the content of error Phone 8
289. or PC PLC link 1 T32 F32 128 to 256 dena Disabled Disabled Enabled duplicated output OPSTAAN Seng Stop Stop Continuation of operation verification error occurs Operation Seung wenn Stop Stop Continuation of operation Operation error occurs Wait time setting for multi frame 6500 0 10 to 81900 ms communication ms Communication timeout setting 10000 0 for SEND RECV RMRD RMWT n 10 to 81900 ms commands Hold type area starting number 0 Normal scan for PC PLC link registers for PC PLC link 0 T32 F32 O to 600 ms Scans once each specified time interval Hold type area starting number for PC PLC link registers for PC PLC link 1 T32 F32 4 128 Constant value settings for scan Normal time o O to 2 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FPOR Default ge Descriptions value Range of link relays used for PC PLC link o J0tStwors Range of link data registers used for PC PLC link DEM adi ips PC Starting word number for link 0 to 63 relay transmission d 43 Link relay transmission size 0 Oto64 words Starting number for link data set 1 127 register tranmission Link data register transmission EN 46 PC PLC link switch flag Maximum unit number setting for MEWNET WO0 PC PLC link ioo Range of link relays used for E PC PLC link EN ic dis used for PC PLC link EN didi Star
290. or code CRC Error code contents 1 Function code error 2 Device number error out of range 3 Device quantity error out of range Reception done judgment time The process for receiving a message completes when the time that is exceeding the time mentioned below has passed after the final data was received Approx 1 7 ms Approx 0 8 ms Approx 0 6 ms Approx 0 3 ms Note The reception done judgment time is an approx 32 bit time Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Supported commands ul ans Name MODBUS Remarks instructions for Name for FPOR maste decimal original Reference No Read Coil Status Read Y and R Coils F146 RECV F146 RECV F146 RECV i 0X Read Input Status Read X Input 1X Read Holding Registers Read DT 4X F146 RECV Read Input Registers Read WL and LD 3X F145 SEND Force Single Coil Write Single Y and R 0X X OX 4X 4 and Rs Words Cannot be issued Mask Write 4X Register Write DT Mask Cannot be issued Read Write 4X Registers Read Write DT Table for MODBUS reference No and FPOR device No MODBUS reference No Pata on NE PLC device No hexadecimal 000001 001760 0000 06DF Y0 Y109F 002049 006144 0800 17FF RO R255F 100001 101760 0000 06DF X0 X109F OX 000 ES Bx DENN F145 SEND 06 Preset Single Register WrteDT1Word 4X 0 Cannot be issued 08
291. or resetting the built in high speed counter stopping the pulse output and setting and resetting the near home input e Specify this FO MV instruction together with special data register DT90052 e Once this instruction is executed the settings will remain until this instruction is executed again Example 1 Enable the near home input during home return operations and begin deceleration In case of CHO X3 In these programs the near home input is I DF F0 MV 110 0790052 C enabled in step 1 and O is entered just after that in step 2 to perform the preset operations FO MV H 100 DT90052 2 Operations executable by Pulse output control instruction FO DT90052 Type of m P eem Resets the value in an elapsed value area Example For CHO DT90400 and DT90401 disable enable Example For CHO 0790400 and DT90401 output control F166 F167 1 3 Stop of pulse Forcibly stops the pulse output during the execution of the pulse output output instructions F171 to F177 4 Near home Enables the near home input when executing the home return input instruction F177 Allocates an arbitrary input to the near home input 5 Deceleration Forcibly stops the pulse output during the execution of the pulse stop request output instructions F171 to F177 Request of Can be used as an input to start positioning control when position control executing the JOG positioning instruction F177 Phone 800 894 0412 Fax 888 7
292. ord as below 1 Sets using the programming tool 2 Sets using an instruction SYS1 instruction Characters usable for password Digit number of Usable characters password 4 digit password 4 characters of the following 16 characters to 9 and A to can be used 8 digit password A maximum of 8 one byte characters case sensitive and symbols can be used Note Precautions on the password setting Do not forget your password If you forget your password you cannot read programs Even if you ask us for your password we cannot crack it Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 9 1 2 Setting using Programming Tool Setting using FPWIN GR 1 Select Online Edit Mode under the Online on the menu bar or press the CTRL and F2 keys at the same time to switch to the Online screen 2 Select or Set PLC Password under Tool on the menu bar The following display will be shown Security information dialog box 1 Indicates the current status of the password FAC Hone _ setting D o E ___ 2 Specify the type of the password to be used eds faceci 3 Specify an operation mode 5 C 4 dgisiHex Em Access Accesses programs by inputting a password Protect Sets password lt S Unprotect Releases the password setting Input a password gt 5 Those are the settings when using the FP
293. ort RS232C por 9600 bit s 8bits Odd Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net COM port RS485 port Description Interface RSE Transmission General purpose serial purp ASCII Binary code communication MODBUS RTU un Data length 7 bits 8bits nio a qi 7 bits 8bits ormat 10 beset Stopbit None Even Odd by system register Start code STX No STX CR CR LF None ETX No of connected units Transmits from bit 0 character by character Computer link Master Slave Modem initialization Communication function General purpose communication MODBUS RTU Master Slave PC PLC link Note1 When connecting a commercially available device that has an RS485 interface please confirm operation using the actual device In some cases the number of units transmission distance and baud rate vary depending on the connected device Note2 The values for the transmission distance baud rate and number of units should be within the values noted in the graph below For baud rate 115 2 kbps baud rate 19 2 kbps 99 Number of units stations 40 0 700 1200 Transmission distance m Note3 The settings of the baud rate switches on the side of the unit and the system register No 415 should be the same Only 19200 bps can be specified when the C NET adapter is connected with the RS485 interface Note4 The
294. ory card F8 P8 FPX FPO FP e FP2SH FP10SH LORS RR S 5 D 1 D MV ili D PMV DMV PDMV 8 1 S S D 1 D The head word No of the specified slot is read The specified one bit in S is transferred to the specified one bit in D The bit is specified by The specified one digit in S is transferred to the dre one digit in D The digit is STD aa n Sint 1 D 1 D S2 1 S2 gt D 3 0 2 The data between S1 and S2 is transferred to the area starting at D The data of S is transferred to the all area between D1 and D2 The data stored in the expansion memory of the EEP ROM specified by S1 and S2 are transferred to the area starting at D The data specified by S1 and S2 are transferred to the EEP ROM starting at D The data stored in the expansion memory of the F ROM specified by S1 and S2 are transferred to the area starting at D The data specified by S1 and S2 are transferred to the F ROM starting at D The data stored in the expansion memory of the IC card specified by S1 and 52 are transferred to the area starting at D The data specified by S1 and S2 are transferred to the IC card expansion memory area starting at D The program specified using S is transferred into the CPU from IC memory card and executes it Not available partially 1 This instruction is available for E Ver 1 5 or later FP10
295. ote DT90314 Target Lower words A A 9 instructions F166 HC1S and OA fame DT90315 Higher words F167 HC1R are executed Counting area for input X4 or A av DT9031 Elapsed L r wor A A RUNS X4 X5 of the main unit DT90317 Higher words HSC CH4 The target value is set when Note DT90318 Target L A JA 90318 9 instructions F166 HC1S fame F167 HC1R are executed Note Writing in the elapsed value area is available by F1 DMV instruction only Writing in the target value area is available by F166 HC1S and F167 HC1R instructions only DT90319 Higher words Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FPOR A Available N A Not available ing ing DT90320 Elapsed Counting area for input X5 of the main unit pre032 Higher words The target value is set when A 9 instructions F166 15 iin DT90323 Higher words F167 HC1R are executed EN DT90324 DT90325 DT90326 DT90327 DT90328 DT90329 DT90330 DT90331 DT90332 DT90333 DT90334 DT90335 DT90336 DT90337 DT90338 DT90339 DT90340 DT90341 DT90342 DT90343 DT90344 DT90345 DT90346 DT90347 DT90348 DT90349 DT90350 DT90351 DT90352 DT90353 DT90354 DT90355 DT90356 DT90357 DT90358 DT90359 DT90360 DT90361 DT90362 DT90363 Note1 Writing in the elapsed value area is available by F1 DMV instruction only Writing in the targ
296. other similar tool to pull up the hold down pin of the housing and then pull out the wire Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 5 7 Wiring of COM Port 5 7 1 Suitable Wires and Wiring Method Terminal block Suitable wires A screw down connection type is used for the COM port Use the suitable wires given below COM port RS232C port terminal layout port RS485 port terminal layout Signal ground Trasmission line E Trasmission line PORUM E Terminal station setting Send data Output Terminal block The communication connector manufactured by Phoenix Contact is used Phoenix Contact model No Model No Product No MKDS1 3 3 5 1751400 Suitable wires Twisted wire Size Cross sectiondarea AWG 28 to 16 0 08mm to 1 25mm Use the above wires shielded it is recommended to ground the shielded part Also if using a pole terminal refer to 5 5 Wiring of Terminal Block Type Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Wiring method 1 Remove a potion of the wire s insulation a 5mm 2 Insert the wire into the COM port until it contacts the back side Mf i iif j tm For tightening the terminal block When tightening the COM port use a scre
297. pare two specified character strings and o strings P258 coupling Number of LEN characters in a character string F260 Search for SSRC P260 character string Retrieving data from character strings right side Retrieving data from character strings left side Retrieving a character string from a character string output the judgment results to a special internal relay 51 These instructions couple 92 D character string with another S D These instructions determine the number of characters in a character string 51 The specified character is searched 92 D ina character string 91 These instructions retrieve a S2 D specified number of characters from the right side of the character string EN RIGHT LEFT 51 52 D These instructions retrieve a specified number of characters from the left side of the character string gt These instructions retrieve character string consisting of a specified number of characters from the specified position in the character string These instructions write a specified number of characters from a character string to a specified position in the character string A specified number of characters in a character string are rewritten F264 P264 MIDW Writing a character string to a character strinc Replacing character strings N Dp 5 starting from a specified positio
298. pe O 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 Also the home return can be performed without the near home input Without near home input With near home input Home input ON S Near home Home Spese pee input ON input ON Max speed Max speed Initial speed Initial speed 0 Hz OHz Home input is effective at any time Home input ON during deceleration E Near home speed input ON Home Max speed input ON Initial speed OHZ Type 1 In this mode the home input is effective only after deceleration started by near home input has been completed If the leading edge of home input off to on is detected during the operation at a creep speed after the deceleration operation the pulse output stops Speed Near home Home input Max speed Initial speed OHz rx gt Home input is effective only after completing deceleration Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Sample program Home return The explanation below shows the case that home return is performed with the following conditions Initial speed 1 kHz Target speed 5 kHz Creep speed 500 Hz Acceleration time 300 ms Deceleration time 500 ms Timing chart Acceleration time Deceleration time Frequency 300ms 500ms
299. perly in PC PLC R908F link 1 mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link 1 mode A Available N A Not available Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net WR909 FPOR Name X Description Turns on when Unit No 1 is in the RUN mode E Turns off when Unit No 1 is in the PROG mode E Turns on when Unit No 2 is in the RUN mode Turns off when Unit No 2 is in the PROG mode Turns on when Unit No 3 is in the RUN mode E Turns off when Unit No 3 is in the PROG mode Turns on when Unit No 4 is in the RUN mode a Turns off when Unit No 4 is in the PROG mode Turns on when Unit No 5 is in the RUN mode Turns off when Unit No 5 is in the PROG mode Turns on when Unit No 6 is in the RUN mode P Turns off when Unit No 6 is in the PROG mode Turns on when Unit No 7 is in the RUN mode MEWNET No 7 Turns off when Unit No 7 is in the PROG mode WO Turns on when Unit No 8 is in the RUN mode PC PLC LM Turns off when Unit No 8 is in the PROG mode link 1 Turns on when Unit No 9 is in the RUN mode operation Turns off when Unit No 9 is in the PROG mode mode relay Turns on when Unit No 10 is in the RUN mode PEN Turns off when Unit No 10 is in the PROG mode Pen Turns on when Unit No 11 is in the RUN mode Turns off when Unit No 11 is in the PROG mode Turns on when Unit No 12 is in the RUN mod
300. r 10 to ID bank P410 index register PSETB number change over bank number F411 Changing the CHGB n Index register IO to ID bank P411 index register PCHGB number change over with bank number remembering preceding bank number Restoring the POPB Changes index register 10 to ID index register PPOPB bank number back to the bank bank number D before F411 CHGB P41 1 PCHGB instruction File register bank processing instructions F414 Setting the file SBFL n File register bank number change register bank Over number F415 Changing the CBFL n File register bank number change file register 7 over with remembering preceding bank number bank number F416 Restoring the PBFL Changes file register bank P416 file register PPBFL number back to the bank before bank number PI F415 CBFL P415 PCBFL instruction Available X Not available Not available partially 1 This instruction is available for FPO V2 1 or later only 2 This instruction is available for FP X V 1 20 or later and FP 32k type 3 This instruction is not available for FP10SH Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 15 4 Table of Error codes Difference in ERROR display There are differences in the way errors are displayed depending on the model FP X FPO0 FPOR FP X ERROR ALARM Flashes continually lit Screen display Continually lit Err
301. r Deceleration tme tme ___ CO Ce SO Target speed 1 speed 2 TII Calculates the secton between d Calculates the secton target speed and target speed Vista iani Calculates the between initial speed and 2 as speed table of 30 steps 4 section between target speed 1 as speed as speed target speed 2 and table of 30 steps ta steps initial speed as Calculates the sadio speed table of 30 eey betveen get soeed2 Target steps dudum Speed 1 Target value Initial T Target value Initial speed Time Time Position control start input Position control start Input Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 4 18 Pulse Output Instruction Flag Note that there are the following restrictions on using each function of the pulse output Allocation and role of pulse output instruction flag When a pulse output instruction F171 F172 F174 F175 F177 or PWM output instruction F173 is executed and pulses are being output the pulse output instruction flag of the corresponding channel is ON No other pulse output instruction can be executed as long as this flag is ON he pulse output instruction flags are allocated to each channel Pulse output instruction flag R9120 R9121 R9122 R9123 Operation of pulse output instruction flag he pulse output instruction flags vary even during scanning Replace the
302. r O 3 gt Please contact your dealer An interrupt occurred without an interrupt Interrupt request hardware problem or error due to Stops noise is possible error 1 Turn off the power and check the noise conditions There is no interrupt program for an interrupt hich occurred Interrupt i S Stops Check the number of the interrupt program error and change it to agree with the interrupt request Multi CPU CPU2 This error occurs when a FP3 FP10SH is used as CPU2 for a multi CPU system unmatch Stops Refer to Multi CPU system Manual An abnormal unit is installed FP X FPOR FPOR mode FP X FP2 FP2SH and FP10SH Check the contents of special data register DT90036 and locate the abnormal unit Then turn off the power and replace the unit with a Stops new one FP3 Check the contents of special data register DT9036 and locate the abnormal unit Then turn off the power and replace the unit with a new one Remowve the illegal unit from the slave station MEWNET F The number of slots or I O points used for remote MEW NET F remote I O system exceeds the Stops limitation Re configure the system so that the MEWNET F A unit which cannot be installed on the slave station of the MEWNET F link system is Stops installed on the slave station illegal unit limitation number of slots and I O points is within the specified range MEWNET F I O overlap or I O setting that is ove
303. r the I O Stops 209 is detected in the allocated I O and mapping PS MEWNET F I O map error Re configure the I O map correctly A Available Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net tion status Description and steps to take mapping error according to the I O points of the slave stations When reading in the program from the IC memory card due to automatic reading because of the dip switch setting or program switching due to F14 PGRD instruction C memory card is not installed There is no program file or it is damaged IC card Stops 7 Writing is disabled read error PS There is an abnormality in the AUTOEXEC SPG file Program size stored on the card is larger MEWNET F E ee VO ae slave I O ae ae e erminal units an in termine Stops Re configure the I O map for slave stations than the capacity of the CPU J nstall an IC memory card that has the program properly recorded and execute the read once again Abnormal I O unit FPX FP X Check the contents of special data register DT90002 and abnormal FP expansion unit application cassette for FP X Then check the unit FP2 and FP2SH Check the contents of special data registers DT90002 DT90003 and abnormal I O unit Then check the unit Selection of operation status using system register21 to continue operation set 1 to stop operation set 0
304. rd set and user logged in Password retry count 3 Upload Protection C Enable upload protection PLC Protection Password Please enter up to 8 characters Enter old password 4 Change Protection Clear Protection Enter new password Repeat new password FP Memory Loader C Enable upload protection Allow download to PLC only if password in the PLC is the same PLC Access Please enter up to 8 characters Enter password Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 11 2 6 PROG Mode does not Change to RUN Condition A syntax error or a self diagnosed error that caused operation to stop has occurred Procedure 1 Check if the ERROR ALARM LED is flashing A Example If the ERROR ALARM LED is flashing check 11 2 1 If ERROR ALARM LED is Flashing gt Procedure 2 Execute a total check FPWIN GR or check compile FPWIN Pro to determine the location of the syntax error Using FPWIN GR Select Debug on the menu bar and select Totally check program Click on the Execute button in the total check dialog box Using FPWIN Pro Select Compile under Project or Check under Object on the menu bar As the dialog box is displayed check the contents Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 11 3 Operation Errors 11 3 1 Outline of Operation Errors
305. register No 402 When the instruction is started during the interrupt program specify the execution in the interrupt program with the control code When describing the same channel in both the normal program and the interrupt program be sure to program not to execute them simultaneously Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 4 14 JOG Positioning Control Type 0 Change Speed F171 Use the type 1 to change the speed to a speed faster than the target speed Time chart Acceleration time Deceleration time 300ms 450ms Frequency Target speed 2nd change 30kHz Target speed 25kHz Target speed 1st change 5kHz JOG positioning operation start R30 i JOG positioning operation running pang F171 instruction trigger 7 JOG positioning operation R301 i i i parameter setting Speed change command R31 i Speed change command R32 Position control start input ui Pulse output instruction flag R91 00 l Sample program R30 R9120 R302 R300 DF R300 R300 R301 R301 F1 10100000 DT300 F1 K1000 DT 302 F DMV K25000 DT 304 F1 DMV K300 DT 306 F1 DMV K450 DT308 F1 DMV 12500 DT 310 R300 F171 sPoH DT300 R31 HoF _ F1 K5000 DT304 R32 _ F1 DMV 30000 DT304 R33 OF _ Fo mv H 140 DT 900
306. rent used to drive the output circuits This value does not include the load current value FPOR C10 100mAorless 159mAorlss FPOR C14 120mAorless 21 1 FPOR C16 70 mA or less 211mAorless 20 mA or less FPOR C32 90 mA or less 42 2 mA or less 40 mA or less FPOR T32 FPO E8X 10 mA or less 87 6 mA or less FPOR control unit FPOR F32 M FPOESYR 10mAcrless 100mAcrless o o FPOESYTP 15mAorless 26 MA less FPO E16X 10mAorless 75 2mAorless ee FPO FPOR expansion unit LERRA FPOET6YTIP 25mAorless 852mAorles FPO ES2T PP 35mAorles 752mAorles 52mAorless 21 20mAorles _ 100mAorles FPO AB0 20mAorles 60mAorlss FPO A04V 20mAorless 100mAorles FPO A04 _ 20mAorless 130mAorles 4 25 or less FPO TC8 FPO RTD6 Programmable display 80 mA b VDC RS232C type somos f C NET AFP15402 A or adapter S2 someones 0 intelligent unit Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 13 1 2 Control Specifications Wem CIO C144 C16 C32 132 F32 j Program memory Rewriting during Available Simultaneous rewriting capacity 512 steps RU
307. result 3 Processing of Timer T and Counter C Regardless of the timer counter input condition forced on off operation will take precedence at a contact specified for forced input output At this time the contact of the timer T or counter C in the operation memory will be rewritten Timing and counting will not take place during control he on off state of contacts not specified will be determined by the operation result Operation during operation For small sized PLCs FPOR FP and FP X The internal relay R or output Y specified by OT or KP instruction is rewritten according to the results of operation However as the R or Y is set reset again right before the peripheral service as the above procedure C the monitoring value with the tooling software or the output to external devices is forcibly rewritten to a specified value For medium sized PLCs FP2 FP2SH For the internal relay R and output Y specified by OT or KP instruction the value of the forced processing has a priority When rewritten by a high level instruction the result of the instruction has a priority Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Chapter 13 Specifications Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 13 1 T
308. rget expansion units E16X E16YT E16YP E16T E16P E8X E8YT E8YP Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 14 1 4 C32 T32 F32 Control Unit MIL Connector FPORC32CT P FPORC32T P FPORT32CT P FPORF32CT P ll When mounting MIL connector and power supply cable Max installation dimension Approx 100 Unit mm Note As for the expansion unit refer to the dimensions only Target FPO expansion units E32T E32P Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 14 1 5 Power Supply Unit Power supply unit FPO PSA4 35 0 e ms IBS 80 0 I Fc jt Ka 8 mum Unit mm 14 1 6 I O Link Unit 1 0 link unit AFP0732 Unit mm Unit mm Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 14 2 Cable Adapter Specifications 14 2 1 AFC8503 AFC8503S PC connection cable 3000 2 PC side Pin Signal name 24 99 15 32 0 X Socket Inch screw thread 4 40 5 2 3 J 8 1 4 B Unit mm 14 2 2 AFC85305 AFC8531 AFC8532 For extending for the tool port TaS ew z SS _ 8532 Unit mm Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautoma
309. rigger execution condition turns off deceleration is performed within a specified deceleration time However if the trigger turns on again acceleration is performed up to the target speed again When the deceleration stop is requested by the FO instruction during the pulse output the deceleration stop is performed There are two kinds of control method which are type 0 and type 1 Operation modes of JOG operation There are two operation modes for the JOG operation which are type 0 and type 1 Those operation specifications for the specified target value differ Type O Regardless of the settings for the target value the JOG operation is performed when the trigger is on Pulse output pod instruction flag 23 R9120 E Trigger Time Deceleration stop starts when the trigger is off Deceleration stop starts when the trigger is off _ Type 1 Even if the trigger is on the deceleration stop is performed according to the settings of the target value Pulse output 1 s instruction flag R9120 Trigger i Targe value Specified No of pulses Time Deceleration stop starts according to the settings of the target value Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Sample program JOG operation 0 No target value The explanation below shows the case that pulses are output from YO when usin
310. rogram Check 1 Check if instructions such as JMP or LOOP are programmed in such a way that a scan never finish 2 Check if interrupt instructions are executed in succession 11 2 3 ALL LEDs are OFF Procedure 1 Check wiring of power supply Procedure 2 Check if the power supplied to the FP X control unit is in the range of the rating e Be sure to check the fluctuation of the voltage Procedure 3 Disconnect the power supply wiring to the other devices if the power supplied to the FP X control unit is shared with them e f the LED on the control unit turn on at this moment increase the capacity of the power supply or prepare another power supply for other devices e Please contact your dealer for further questions Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 11 2 4 Diagnosing Output Malfunction Proceed from the check of the output side to the check of the input side Check of output condition 1 Output indicator LEDs are on Procedure 1 Check the wiring of the loads Procedure 2 Check if the power is properly supplied to the loads e f the power is properly supplied to the load there is probably an abnormality in the load Check the load again e f the power is not supplied to the load there is probably an abnormality in the output section Please contact your dealer Check of output condition 2 Output indicator LEDS are off Procedure 1
311. rol start input becomes effective pulses are output up to a specified target value The speed can be changed by rewriting the target speed during the operation after executing the instruction Target speed Target value Initial 9 a adiba speed Deceleration time Acceleration time Execution condition Position control start input Pulse output instruction flag Type 1 Once the trigger execution condition turns on the JOG operation is started and acceleration is performed up to the target speed 1 When the position control start input becomes effective the speed is changed to the target speed 2 at a specified changeover time and pulses are output up to a specified target value he speed cannot be changed after executing the instruction When Target speed 1 gt Target speed 2 When Target speed 1 Target speed 2 Target s A speed 1 speed 2 Target ___ PLNS Hes Target S uc cs speed 2 oa speed 1 m l 0 1 x Target value initial gt 1 4 1 Me initial e eei ee speed Po speed 4 Acceleration Changeover Deceleration Acceleration Deceleration time time time time time time Execution Execution condition condition Position control Position control
312. rs DT90300 and DT90301 e Use this F1 DMV instruction to set the elapsed value Example 1 Writing the elapsed value F1 DMV K3000 0790044 Example 2 Reading the elapsed value X7 I DF 1 DMV DT90044 DT100 Note Set the initial value of K3000 in the high speed counter Read the elapsed value of the high speed counter and copies it to DT100 and DT101 The elapsed value area varies during scanning Replace it with an arbitrary data register at the beginning of the program as necessary in cases such as using it several times in the program Target value match ON instruction F166 Example 1 DF 166 HC1S KO K10000 Y7 Example 2 XB 166 HC18 K2 K20000 Y6 Target value match OFF instruction F167 Example 1 XC F167 HC1R K1 K30000 Y4 Example 2 XD F167 HC1R K3 K40000 Y5 If the elapsed value DT90300 and DT90301 for channel 0 matches K10000 output Y7 turns on If the elapsed value DT90308 and DT90309 for channel 2 matches K20000 output Y6 turns on If the elapsed value DT90304 and DT90305 for channel 1 matches K30000 output Y4 turns off If the elapsed value DT90312 and DT90313 for channel 3 matches K40000 output Y5 turns off Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Input pulse measurement instruction F178 This instruction is used to m
313. rted to angle data in degrees F337 Floating point P337 type data degree radian F338 Floating point P338 type data radian degree Floating point type real number data processing instructions Floating point FCMP S1 S1 1 51 gt 52 1 S2 gt R900A type data compare PFCMP S2 S1 1 51 52 1 S2 gt R900B on 10 O JOI OJOJO S141 51 lt 52 1 S2 R900C on F346 Floating point FWIN 8141 S1 S3 1 53 R900A on P346 type data band 2 compare LT RT PFWIN S241 S2 lt or S1 1 S1 or 53 1 53 gt R900B on Available Not available Not available partially 1 This instruction is available for FP e Ver 1 21 or later and FPO V2 1 or later o Converts real number data specified 95 Og Se S2 NNW Ww N Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FP2SH FP10SH Floating point FLIMT 51 S2 When 51 1 S1 S341 S3 type data PFLIMT S3 D 8141 51 gt D 1 D upper and When S241 S2 lt S3 1 S3 lower limit S2 1 52 gt 0 1 D control When S171 S1 or S3 1 S3 or 52 1 52 S341 3 D 1 D Floating point FBAND 51 52 When S141 S1 S341 S3 type data PFBAND S3 D S341 S3 S1 1 S1 gt D 1 D dead band When S241 S2 lt S3 1 S3 control S341 S3 S2 1 82 5 0 1 D When S141 S1 lt or S3 1
314. ruction Elapsed value read and write instruction F1 This instruction is used to read and write the pulse number counted by the pulse output control Specify this F1 DMV instruction in combination with the pulse output elapsed area after the special data register DT90400 When executing the F1 DMV instruction with DT90400 the elapsed value is stored as 32 bit data in the combined area of the special data registers DT90400 and DT90401 The elapsed values can be read or written with this F1 DMV instruction only Example 1 Writing the elapsed value XT Set the initial value K3000 in the pulse output LDF F1 DMV K3000 DT90400 CHO Example 2 Reading the elapsed value X8 Read the elapsed value of the pulse output LDF 1 DMV DT90400 DT100 CHO to DT100 and DT101 Elapsed value area Channel No Pulse output elapsed value area CHO DT90400 to DT90401 CH1 DT90410 to DT90411 CH2 DT90420 to DT90421 CH3 DT90430 to DT90431 Note The elapsed value area varies during scanning Replace it with an arbitrary data register at the beginning of the program as necessary in cases such as using it several times in the program Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 4 7 JOG Operation Instruction F172 This instruction is used to output pulses according to a specified parameter when the trigger execution condition is on When the t
315. rval Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FPOR A Available N A Not available ing ing Area used for measurement of receiving DT90159 PC PLO link 1 status Area used for measurement of sending interval MEWNET WO DT90160 PC PLC link 0 unit No Stores the unit No of PC PLC link 0 A MEWNET WO DT90161 PC PLC link 0 error Stores the error contents of PC PLC link 0 A flag DT90162 to DT90169 DT90170 Duplicated destination for PC PLC inter link address DT90171 Counts how many times a token is lost DT90172 Counts how many times two or more tokens are detected DT90173 Counts how many times a signal is lost DT90174 c ed commands have MEWNET WO DT90175 PC PLC link 0 status DT90176 No of times format errors have occurred in received data DT90177 No of times transmission errors have occurred DT90178 No of times procedural errors have occurred DT90179 No of times overlapping parent units have occurred DT90180 to DT90189 DT90194 to DT90218 N A Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FPOR A Available N A Not available Address name Description Unit No Station No DT90219 selection for DT90220 to pe NS ipd i i A A DT90251 System regis PAPER System regis Unit ter 42 and 43 DT90222 station The contents of the sy
316. ry program n M MN ECCE return Ineruptinstructions S OO eT pas a pe i n Interrupt IRET ET 3 Ends the interrupt program 1 olololololo return Interrupt ICTL H Ho sH Select interrupt enable disable or clear in slolo 51 and S2 and execute Available X Not available Not available partially Available for FP e only 2 In the FP2 FP2SH FP10SH when the number n of a subroutine program has an index modifier the number of steps is the number in parentheses Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Oo i Special setting instructions Communica tion condi tions setting Password setting Interrupt setting PLC link time setting H Lip svsi M MEWTOCOL COM response control High speed counter operation mode changing System registers No 40 to E Lf svs2 5 01 oH No 47 changing Change the communication conditions for the COM port or tool port based on the contents specified by the character constant Change the password specified by the PLC based on the contents specified by the character constant Set the interrupt input based on the contents specified by the character constant Set the system setting time when a PLC link is used based on the contents specified by the character constant Change the communication conditions of the COM port or tool port
317. s precedence in system register 401 Note3 If system register 400 to 403 have been set simultaneously for the same input relay the follwing precedence order is effective High speed counter Pulse catch f Interrupt input Example When the high speed counter is being used in the addition input mode even if input XO is specified as an interrupt input or as pulse catch input those settings are invalid and XO functions as counter input for the high speed counter Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Default Descriptions value Normal output YO Y 1 Pulse output YO 1 Pulse output YO Y1 Home input X4 Pulse output YO Y1 Home input X4 Position control starting input XO PWM output YO Normal output Y 1 Normal output Y2 Y3 Pulse output Y2 Y3 Pulse output Y2 Y3 Home input X5 Pulse Pulse output Y3 Y4 Home input X5 Position uise control starting input X1 PWM output PWM output Y2 settings Normal output Y4 Y5 YO to Y7 Pulse output Y4 Y5 Pulse output Y4 Y5 Home input X6 Pulse output Y4 Y5 Home input X6 Position control starting input X2 PWM output Y Normal output Y6 Y 7 Pulse output Y6 Y7 Pulse output Y6 Y7 Home input X7 Pulse output Y6 Y7 Home input X7 Position control starting input X3 PWM output Y6 Normal output Y 7 AD Al A2 AS X4 Ao XD Af gt T
318. setting or DIP switch etc or ROM operation mode was being used There was an error in the code format of the address data Address error Also when exceeded or insufficient of address data there was a mistake in the range designation Cannot be read because there is no program in the program area or the memory contains an error Or reading was attempted of data that was not registered When inputting with programming tool software editing of an Rewrite during RUN instruction ED SUB RET INT IRET SSTP and STPE that error cannot perform a rewrite during RUN is being attempted Nothing is written to the CPU 0 SIM over error Program area was exceeded during a program write process 7 174 Exclusive access A command that cannot be processed was executed at the same control error time as a command being processed External memory error No program error and No data error 167 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 15 5 MEWTOCOL COM Communication Commands Table of MEWTOCOL COM commands Reads the on and off status of contact Specifies only one point Specifies multiple contacts Specifies a range in word units 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 Monitors a registered contact or data
319. smesoH H the specified output and R900D are set to on Auxiliary timer F183 vate After set value S x 0 01 seconds 32 bit H H wiosm s H the specified output and R900D are set to on Time constant S28 ij Executes the filter processing for the xlo processing nm specified input nu C Decrements from the preset value n Q Available X Not available A Not available partially 1 The type of the devices that can be specified depends on the models 2 The allowable number of using the PSHS and RDS instruction depends on the models 3 For FP2SH FP10SH and FP X Ver2 0 or later any device can be set for the setting value of counter or timer instruction 4 5 This instruction is available for FP X Ver 2 0 or later In the FP2 FP2SH FP10SH when using Y1280 R1120 special internal relay included L1280 or anything beyond for the KP instruction the number of steps is shown in parentheses Also in the FP2 FP2SH FP10SH when a relay number has an index modifier the number of steps is shown in parentheses 6 In the FP2 FP2SH FP10SH when timer 256 or higher or counter 255 or lower is used the number of steps is the number in parentheses Also in the FP2 FP2SH FP10SH when a timer number or counter number has an index modifier the number of steps is the number in parentheses For the and FP X the number of steps varies according to the specified timer number or counter number Phone 800 894
320. so used for the pulse output of CH3 and the deviation counter clear of CHO or CH1 and they can be used only as one of the outputs Note3 The home inputs X4 to X7 are also used for the input of the high speed counter It is necessary to set how to use each input by system registers Note4 The near home input is used by assigning an arbitrary contact and operating the bit 4 of the special data register DT90052 with the instruction FO Note5 The home control start input is used for the trigger to start the position control when using the JOG positioning instruction F171 It is used by specifying XO to with the system register or assigning an arbitrary contact and operating the bit 6 of the special data register DT90052 with the instruction FO Note6 For the linear interpolation CHO and CH1 or CH2 and CH3 are used in combination Note7 The output frequency is the value only when the conditions of each item such as output method or No of channels are executed This is the value when the pulse input output process is not simultaneously performed or interrupt program is not executed PWM output function High speed Output Pulse output counter contact No instruction Output frequency channel No used flag R9120 R9121 0 0 to 99 9 Hz to 4 8 kH R9122 Resolution 1000 R9123 Note The PWM output function is only available with the transistor output type Phone 800 894 0412 Fax 888 723 4773 Web www ctiautoma
321. specifying the same output in a sequence program If the same output is specified for the OT and KP instructions it is considered to be duplicated output Even if the same output is used for multiple instructions such as the SET RST instruction or high level instruction such as data transfer it is not regarded as duplicated output lf you enter RUN mode while the duplicated output condition exists it will be normally flagged as error The ERROR ALARM LED will flash and the self diagnostic error flag R9000 will go on How to check for duplicated use You can check for duplicated outputs in the program using the programming tool by the following method Using FPWIN GR Select the Debug Totally Check Program in the menu bar and click Execute If there are any duplicated outputs an error message and the address will be displayed Using FPWIN Pro If there are any duplicated outputs an error message and the address will be displayed when compiling programs Enabling duplicated output f you need to use output repeatedly due to the content of the program duplicated output can be enabled In this case change the setting of system register 20 to enable When this is done an error will not occur when the program is executed Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 12 1 2 When Output is Repeated with OT KP SET or RST Instruction Co
322. sponds sends response messages based on the instructions received A proprietary MEWNET protocol called MEWTOCOL COM is used to exchange data between the computer and the PLC he PLC answers automatically to the commands received from the computer so no program is necessary on the PLC side in order to carry out communication Computer FAMN GR etc Command message pu Response message 7 1 3 General purpose Serial Communication With general purpose serial communication data can be sent back and forth between an external device connected such as an image processing device and a bar code reader Reading and writing of data is done using a ladder program in the FPOR while reading and writing of data from an external is handled through the data registers Image checker Data register DT Data transmission using F159 MTRN Received data Data received in receive buffer Data is sent to and received from external devices thruogh the data registers Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 1 4 PC PLC Link Using a commercial R232C RS485 converter enables to configure a PC PLC link MEWNET WO with the FPOR Exclusive internal relays link relays L and data registers link registers LD are shared between the connected PLCs Unit no 1 Unit no 2 Unit no 3 Unit no 4 No 1 No 1 Send area e
323. status dialog box PLC Status CPU Type FPOR 16k C10 C14 C16 Version 1 06 Connection Link Unit No Network Scan Time Current 0 4 ms Minimum 0 4 ms Maximum 0 6 ms PLC Status Information RUN Mode REMOTE Mode PROG Mode TEST Mode BREAK Mode Break Enabled Output Enabled Step Mode Force Active PLC Message Interrupt Enabled PLC Message Station HOME PLC Memory Partitions Program Size Steps Basic Error Messages Self Diagnostic Error W Operation Error B First Error Step 17 gt 17 Task 1 17 gt 17 Task 1 Last Error Step Battery Error Battery Error hold Hardware Error Slot Status Verify Error Slot Status Intelligent Unit Error Slot Status Hardware Error I O Verify Error Intelligent Unit Error Self Diagnostic Error Error 45 Self Check Operation Error Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Procedure 2 For error code is 1 to 9 gt Condition There is a syntax error in the program Operation 1 Change to PROG mode and clear the error Operation 2 Execute a total check function using FPWIN GR to determine the location of the syntax error Or execute a check or compile using FPWIN Pro to determine the location of the syntax error For error code is 20 or higher gt Condition A self diagnostic error other than a syntax error has occurred Operation Use the programming
324. status using system register25 to continue operation set 1 to stop operation set 0 Operation became impossible when a high level instruction was executed Selection of operation status using system register26 to continue operation set K1 to stop operation set KO The address of operation error can be confirmed in either special data registers DT9017 and DT9018 or DT90017 and DT90018 It varies according to the model to be used DT9017 DT9018 FP e FPO mode DT90017 DT90018 FP X FPOR FPOR mode FP2 FP2SH FP10SH Verification is possible in FPWIN GR Pro at I O error in the status display function A Available Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net tion status Remote I O commu nication error MEW NET F attribute error Expansion unit power supply sequence error battery error Description and steps to take FPS FP X S LINK error Occurs only in FPO SL1 When one of the S LINK errors ERR1 3 or 4 has been detected error code E46 remote I O S LINK communication error is stored Selection of operation status using system register27 to continue operation set K1 to stop operation set KO MEWNET F communication error A communication abnormally was caused by a transmission cable or during the power down of a slave station FP2 FP2
325. stem register settings ter 44 45 partaining to the PLC inter link function for No 1 or 9 System regis the various unit numbers are stored as DT90223 ter 46 and 47 shown below System regis Lg PC PLC ter 40 and 41 Example DT90225 link System regis When DT90219 is 0 Unit ter 42 and 43 is Higher byte Lower byte DT90226 station 2818 189157 ee ter 44 and 45 to No 2 or 10 DT90243 DT90227 System regis Unit Station ter 46 and 47 No 1 Setting contents DN of system register PC PL F System regis imr aca denn DT90229 link Unit A N A DT90230 station e When the system register 46 in the home ter 44 and 45 unit is in the standard setting the values in LE Syst i the home unit are copied in the system ystem regis uni ied i y DT90231 DT90232 System regis When the system register 46 in the home PC PLC ter 40 and 41 unit is in the reverse setting the registers System regis 40 to 45 and 47 corresponding to the DT90233 link h aned il Unit ter 42 and 43 ome unit mentioned in the left column wi System regis be changed to 50 to 55 and 57 and the DT90234 Map system register 46 will be set as it is System regis Also the system registers 40 to 45 DT90235 ter 46 and 47 corresponding to other units will be System regis changed to the values which the received DT90236 ter 40 and 41 values are corrected and the registers 46 PC PLC Svetemiegiss and 57 in the home
326. ster used as the send buffer DT and when the F159 MTRN instruction is executed the data is output from the communication port Data Data register DT Data transmission using writing F159 MTRN External device Data table for transmission send buffer When transmission begins K8 DT100 When transmission ends KO z Y Reduces one by one at every transmission DT101 H42 B H41 A DT102 H44 D H43 C Datais transmitted in order DT103 H46 F H45 E from the low order byte Binary data can be transmitted 07104 H48 H H47 G Data table before transmission Sample program for sending data The following program transmits the characters ABCDEFGH Hex to an external device using the communication port RO I br w Data transmission command The intemal relay R10 is tumed on when Bat transmissioncondiion R tums _ __ I L ASC M ABCDEFGH _ DT101 Data conversion The characters ABCDEFGH are converted to an ASCII code and written to DT101 to DT104 H riso MTRN DT 100 transmission The data in the send buffer is sentfromthe 1 Starting from DT100 COMI port the contents of 8 bytes are sent from communication port K1 The program described above is executed in the following sequence 1 ABCDEFGH is converted to an ASCII code and stored in a data register 2 The data is sent from the communication port
327. struction DF or by changing H8000 to H0000 Example showing the date and time being written Set the time to 12 00 00 on the 5th day when the XO turns on o e DF H Fo MV HO 90054 ad Inputs 0 minutes and 0 seconds jJ Fo Mv H512 DT90055 L Inputs 12th hour 5th day J Fo Mv H8000 _ DT 90058 f Setthetime o C CJ Note As the value is unstable in the initial state write the value using a programming tool As a day of the week is not automatically set on programming tools fix what day is set to 00 and set the value for 00 Example showing the clock calendar being used Sample program for fixed schedule and automatic start In the example shown here the clock calendar function is used to output YO signal for one second at 8 30 a m every day Here the Hour minute data stored in the special data register DT90053 is used to output the signal at the appointed time R9010 MEN Feo cmp 9 5 f Data comparison instruction 1 The value of the special data register DT90053 Hour 1 minute data is compared with the value of H830 8 8 30 H900B HO M am ee Uo E i8 m C tS S r Comparison match is output RO TO YO ee aa DF Appointed time output pulse 1 second o J YO LLL ILLILLILILILI I I IA TMX O K10 19 second type timer Kt 0 is set and used as a
328. system register 26 5 Press the OK to write the setting to the PLC Using FPWIN Pro 1 Change the mode to offline 2 Select Action on error from the system register table of the project navigator 3 Change the setting of No 26 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 11 3 3 Dealing with Operation Errors Procedure 1 Check the location of the error Check the address where the error occurred which is stored in DT90017 and DT90018 and make sure the high level instruction for that address is correct and appropriate 2 Clear the error Use a programming tool to clear the error When using FPWIN GR select Online gt Status Display in the menu bar Execute Clear Error When using FPWIN Pro select Monitor gt PLC Status Press the Error Clear button An error can be cleared by turning the power off and on in PROG mode however the contents of the operation memory except the hold type data will be cleared An error can also be cleared by executing a self diagnostic error set instruction F148 If the mode selector is set to RUN RUN will resume as soon as the error is cleared So if the cause of the error is not removed the error may seem not to be cleared 11 3 4 Points to Check in Program 1 Check if an extraordinarily large value or negative value was stored in the index register Example When a data register is mod
329. t B 4 f the read command was used the data that was read is stored here If normal Command name If error occurs Error code Response code If normal S ASCII code H24 If error occurs ASCII code H21 4 Check code BCC block check code 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 5 Terminator End code There is always a Cp ASCII code HOD at the end of the message Note When reading If no response is returned the communication format may not be correct or the command may not have arrived at the PLC or the PLC may not be functioning Check to make sure all of the communication specifications e g baud rate data length and parity match between the computer and the PLC If the response contains an instead of a the command was not processed successfully The response will contain a communication error code Check the meaning of the error code Unit number and command name are always identical in a command and its corresponding response see This makes the VT ey between a command and a response clear Same gt Same Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Commands to be used Reads the on and off status of contacts Specifi
330. t How to prohibit access with password 1 Select Tool Set PLC Password in the menu bar The Set PLC Password dialog box is displayed Set PLC Password lintitlel NE xj Home Settings Current status Password iz not set Close Available counts 3 counts En ul digit number i Help C 4 digitsiHes f B8 digits alphanumeric Match case Operation Mode Access Protect C Unprotect B digits password Enter in alphanumeric escono Setting Far FP memory loader option T Allow the download in case of same password Set that PLC cannot be uploaded 2 Set the items in the table below and click on the Settings button Digit number Select 4 digits or 8 digits Operation Mode Select Protect 4 digits or 8 digits Input a password to be set set Password Untitlel Enter the password alphanumeric esce Do nat forget this password 3 Input the password for confirmation again and click the OK button Once the PLC is in write read inhibit state password protected the following message is displayed FPWIN GR gt PN PLC became disabled ta write read 4 Click the OK button Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net How to permit access with password 1 Select Tool Set PLC Password in the menu bar The Set PLC Passwor
331. t in accordance with the contents of the data table that starts with S Outputs the pulses from the specified channel according to the data table specified by S Pulse output with channel specification Selectable data table control operation Pulses are output from channel in accordance with the designated data table so that the path to the target position forms a straight line Pulses are output from channel in accordance with the designated data table so that F175 Pulse output Linear interpolation F176 Pulse output Circular interpolation the path to the target position forms an arc Q Available X Not available A Not available partially 1 The elapsed value area differs depending on used channels 2 This instruction is available for FPX C32T2 C28P2 C32T2H and C28P2H Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FP2SH FP10SH Boolean 9P Description rand display instructions 53 54 the FP e registration FP e screen Specify the screen to be displayed Lr switching Basic function instruction constant 53 D the specified input processing F183 dne d DSTM Turn on the specified output and 0 01 s x set value Data transfer instructions ENTE reum T P190 data move PMV3 53 D oe ve SEE Dal P191 data move PDMV3 53 D 52 Do 3 5 D 5 0 4 Logic operation instructio
332. th a single speed inverter Wiring example FPOR Input terminal Conveyor Encoder input Operation start Encoder Output terminal Inverter operation YO 3 Operation Stop E Operation chart I O allocation Inverter VO No Speed X0 Encoder input X5 Operation start signal Inverter operation signal Positioning operation running Positioning operation start Positioning done pulse High speed counter CHO control flag Number of pulse __ When X5 is turned on YO turns on and the conveyor begins moving When the elapsed value DT90300 and DT90301 reaches K5000 YO turns off and the conveyor stops X5 R9110 R102 R100 EN omv DT90300 F167 HCIR KO 5000 YO Sets ig h speed counter CHO f Target value match off instruction YO goes off when elapsed value of high L Positioning done pulse 0 5 s SS KS ke Ss be s type timer S Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Positioning operations with a double speed inverter Wiring example FPOR Input termial Encoder input Operation start Ouput terminal Inverter operation YO gt Conveyor a d um 7 4 wr r Pd d Pd d p p p P4 xi 7 M Z Pa A
333. the PC simultaneously e he PC can communicate with the FPOR that was connected first only and it cannot communicate with the other FPOR e A USB HUB cannot be used for the connection 6 1 2 Installation of USB Driver USB drivers must be installed to connect the unit with the USB The installation procedures differ depending on the OS in the PC to be used gt ae Note For the PC with more than one connector it may be requested to reinstall these two drivers if the positions of the USB connectors are changed In that case reinstall the drivers Procedure of installing the driver e g Windows XP 1 Once the FPOR is connected the following screen is displayed Select No not this time and click Next gt Found New Hardware Wizard Welcome to the Found New Hardware Wizard Windows will search for current and updated software by looking on your computer on the hardware installation CD or on the Windows Update Web site with your permission Read our privacy policy Can Windows connect to Windows Update to search for software Yes this time only Yes now and every time connect a device Click Next to continue Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 2 Select Install from a list of specific location and click Next gt Found New Hardware Wizard This wizard helps you install software for FPOR If your hardwar
334. the elapsed value data EV the timer specified by 10 to BCD and output it to output relay WYO m i Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 12 3 Instructions of Leading Edge Detection Method 12 3 1 Instructions of Leading Edge Detection Method Instructions using the leading edge detection operation DF leading edge differential instruction Count input for CT counter instruction Count input for F118 UCD up down counter instruction Shift input for SR shift register instruction Shift input for F119 LRSR left right shift register instruction NSTP next step instruction Differential execution type high level instruction P13 NOOR WD Leading edge detection method An instruction with a leading edge detection method operates only in the scan where its trigger execution condition is detected switching from off to on 1 Standard operation ON Tiger 1 OFF instruction Executed every scan 2 Leading edge detection operation Trigger al Operation of ON instruction OFF AE only one time How to perform leading edge detection The condition of the previous execution and the condition of the current execution are compared and the instruction is executed only if the previous condition was off and the current condition is on In any other case the instruction is not executed Precautions when using an ins
335. the menu bar The Set PLC Password dialog box is displayed xj PLE Home 0000000000000 Current status Buigits Protect Close Available retry counte 3 counts ERES digit number C 4 digits Hex f 8 digits alphanumeric Match case Operation Mode C Access Protect B digits password Enter in alphanumeric eese Setting Far FP memar loader option Allow the download in case of same password Set that PLC cannot be uploaded 2 Click the Force Cancel button A confirmation message is displayed N All programs comments and data will be cleared Are vou 3 Confirm the message and click the OK button If the current status is Password is not set this procedure has completed All programs and security information were deleted TE Current status Password is not set Close Available retry counts 3 counte Ecl digit number n Help 4 digits Hex f 8 digits alphanumeric Match case Operation Mode C Access Protect B digits passward Enter in alphanumeric Setting for FP memory loader option Allow the download in case of same password Set that PLC cannot be uploaded Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 9 2 Upload Protection 9 2 1 Upload Protection Overview of program upload protection function his fun
336. the output circuit are connected internally Front view of connector Note Four COM terminals of the input circuit are connected internally Two terminals of the output circuit are connected internally Two terminals of the output circuit are connected internally 2 4 Functions of T32 Control Unit 2 4 1 Memory Backup Function The FPOR T32 control unit has a secondary battery Charging type The backup function for the operation memory and clock calendar function can be used Backup of operation memory 1 Timer Counter T C 2 Internal relays R 3 Data Registers DT 4 Step ladders The range specified with a programming tool is the hold area to be backed up If the range is not specified it will be the area of the default Note If the battery is out of charge and the hold area becomes indefinite the value in the hold area will be cleared to when the power supply is turned on again bs Key Point Programs and system registers will be held in the internal ROM regardless of the built in back up battery 2 4 2 Built in Backup Battery Time the built in backup battery can be used Backup time The built in backup battery is not charged when the unit is shipped Charge the battery sufficiently before use Full charge Ambient temperature 25 C 72 hours It will be charged automatically if the DC power is supplied to the control unit Relation between charging time and backup ti
337. the values from 300 600 1200 2400 4800 9600 and 19200 bps No 415 Unit number The unit number can be set within a range of 1 to 32 No 416 Modem enabled Check the box to connect a modem Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 5 General purpose Serial Communication 7 5 1 Overview In general purpose serial communication data is sent and received over the communication port to and from an external device such as an image processing device or a bar code reader Data is read from and written to an external device connected to the communication port by means of an FPOR program and the FPOR data registers Image processing device Sending data using F159 MTRN Data is sent by transferring the data to a data register and then transmitting it using the F159 MTRN instruction Receiving data Data is received by transferring the data from the communication port to the data register specified in the system register as the receive buffer and then being stored there automatically Sending and receiving data with the external devices is carried out via the data register Outline of operation To send data to and receive it from an external device using the general purpose serial communication function the data transmission and data reception functions described below are used The F159 MTRN instruction and the reception done flag are us
338. ting word number for link 64 64 to 127 relay transmission link1 53 Link relay transmission size 0 Oto64 words Starting number for link data 128 128 to 255 ting register tranmission Link data register transmission mm enter size Maximum unit number setting for MEWNET W0 PC PLC link eae Range of link data registers Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Controller input settings 1 Controller input settings 2 High speed counter High speed counter FPOR Name Default value CHO Do not set input as high speed counter High speed counter operation mode settings to X2 CH1 Do not set input X1 as high speed counter speed counter CH4 Do not set input X6 as high speed counter High speed counter pulse output settings X6to X7 CHS Do not set input X7 as high speed counter No CH2 Do not set input High speed y5 as high speed counter counter operation mode settings X3 to X5 CH3 Does not set input X4 as high Do not set input as high speed counter Two phase input XO X1 Two phase input X0 X1 Reset input X2 Incremental input XO Incremental input X0 Reset input X2 Decremental input XO Decremental input X0 Reset input X2 Individual input XO X1 Individual input XO X1 Reset input X2 Incremental decremental control input X1 Incremental
339. tion NES ae Note It is necessary to set the system register of the communication port to the computer link for using this function Both the master and slave functions are available for the FPOR however only the slave function is available for the tool and USB ports Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 4 2 MEWTOCOL Slave Function Outline of operation Command and response Instructions issued by the computer to the PLC are called commands Messages sent back to the computer from the PLC are called responses When the PLC receives a command it processes the command regardless of the sequence program and sends a response back to the computer On the computer side the execution result of the command can be confirmed by the transmitted response MEWTOCOL COM sketch Communication is carried out in a conversational format based on the MEWTOCOL 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 Computer Transmission program Reception processing program 4 The unit number of the PLC that sent the response Confirmation of whether or not the processing was carried out successfully 6 The type of command processed J If the command was used to read dala the d
340. tion net Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Chapter 15 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 15 1 System Registers Special Internal Relays Special Data Registers Precaution for System Registers What is the system register area e System registers are used to set values parameters which determine operation ranges and functions used Set values based on the use and specifications of your program e here is no need to set system registers for functions which will not be used Type of system registers The registers to be used depend on each PLC 1 Allocation of timers and counters System registers 5 The number of timers and counters is set by specifying the starting counter number 2 Hold non hold type setting System registers 6 to 13 When these registers are set to hold type the values in the relays and data memory will be retained even if the system is switched to PROG mode or the power is turned off If set to non hold type the values will be cleared to O 3 Operation mode setting on error System registers 20 23 and 26 Set the operation mode when errors such as battery error duplicated use of output I O verification error and operation error occur 4 Time settings System registers 31 to 34 Set time out error detection time and the constant scan time
341. tion net Email info ctiautomation net 8 2 2 Functions Used and Restrictions Simplified chart Maximum counting speed of High speed counter The maximum counting speed of the high speed counter varies according to No of channels to be used or the simultaneous use of the pulse output function Use the chart below as a guise Frequency kHz Combination with pulse output function Trapezoidal control No change in speed 50kHz Combination of high speed counter No pulse output Pulse output 1 CH Singe phse _ 2phase Single Lodi HELL LE phase 8 EA ME NET NN edes ee AXI Note The maximum counting speed may be lower than the above em values when the change of pulse output speed CAM control instruction target value match ON OFF instruction and other interrupt programs are executed simultaneously Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Max counting speed Frequency kHz Combination with pulse output function Trapezoidal control No change in speed 50kHz Pulse output 2 CH Pulse output 3 CH Pulse output 4 CH Single phase 45 Note The maximum counting speed may be lower than the above mentioned values when the change of pulse output speed CAM control instruction target value match ON OFF instruction and other interrupt programs are execut
342. tlel x Hold Non hold Action on Error 1 gt No 413 Communication Format Time Mo 410 Unit No Link WO 0 Mo 412 Comm Mode Char Bit 8 Bits v Link 0 1 arar SCOE NA EE re pas Controller input settings HSC Eds Parity Odd Controller output settings PLS PwM Modem Enabled Stop Bit 1 Interrupt pulse catch settings Interrupt edge settings Terminator cR Time constant setting of CPU input Header STX not exist Port No 415 Baudrate 9600 bps No 420 Starting address for data received of 4096 serial data communication mode Bt Roses Mo 421 Buffer capacity setting for data received of 2048 0 2048 serial data communication mode Cancel Head PLE Initialize Help No 410 Unit number The unit number can be set within a range of 1 to 99 No 412 Communication mode Select the operation mode of communication port operation mode Click General communication No 413 Communication Format setting The default setting of communication format is as below Set the communication format to match the external device connected to the communication port The terminator and header cannot be changed Char Bit 8 bits Parity Odd Stop Bit 1 bit Terminator CR Header STX not exist No 415 Baud rate setting The default setting for the baud rate is 9600 bps Set the value to match the external device connected to the communication port For using t
343. to X43 X60 to X63 Output 4 points Y20to Y23 Y4O to YA3 Y60 to Y63 i Output 8 points Y20to Y27 Y40to YA7 Y60 to Y67 Apod E points X20 to X27 40 to X47 X60 to X67 i ee to X4F I to Y2F i to YAF to X2F to FPO Analog I O _ unit s to X3F a to X5F WY2 WY4 vao to Y2F Yao to FPO A D conversion unit to X2F pao to X4F FPO Thermocouple Input 16 points unit CH1 3 5 7 to X3F to 5 to X2F to FPO unit FPO RTD pue to X3F e to X5F WY2 WYA Y20 to Y2F Y40 to YAF WX2 WXA X20 to X2F X40 to X4F FPO D A WY2 WYA conversion unit M to Y2F ve to Y4F Output 16 points CH1 3 ps to e to Y5F i X20 to X3F X40 to X5F I O link unit FPO IOL Feo 29 4 32points Y20toY3F Y40to Y5F Y60 to The data for the each channels of FPO A D conversion unit FPO A80 FPO thermocouple unit FPO TCA FPO TC8 and FPO D A conversion unit FPO AOAV FPO AO04I is converted and loaded with a user program that includes a switching flag to convert the data Regarding FPO CC Link slave unit please refer to the exclusive manual Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Chapter 5 Installation and Wiring Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email i
344. to clear the number of received bytes to O To receive data continuously without sending data clear the number of transmitted bytes to 0 set n to and then execute the F159 MTRN instruction Binary communication Selecting STX not exist for the header and None for the terminator in the general purpose serial communication enables the binary communication Sending data Sends the data of bytes to be specified Receiving data Check the No of bytes received before the process At that time the reception done flag does not work Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Data to be sent received with FPOR Remember the following when accessing data in the FPOR send and receive buffers f a header has been chosen in the communication format settings the code STX H02 will automatically be added at the beginning of the data begin sent he data without the code STX at the reception is stored in the receive buffer and the reception done flag turns on when the terminator end code is received When the terminator has been set to None the reception done flag does not work However if the code STX is added in the middle of the data the number of received byte is cleared to 0 and the data is stored from the beginning of the receive buffer again A terminator is automatically added to the end of the data being sent here is no terminator on the data
345. tomation net Email info ctiautomation net 7 6 3 Setting Communication Parameters PC PLC Link Settings for baud rate and communication format The settings for baud rate and communication format of the COM port are entered using a programming tool Setting with FPWIN GR Select Options in the menu bar and then select PLC Configuration Click the COM Port tab Dialog box of PLC system register setting Configuration lintitle1 Hald N on hold Action on Error Ma410 Unit Na 1 413 Communication Format Time Link 0 0 Ma412 Comm Made Bit Bits Link w 1 ET n s Controller input settings HSC Link Parity Odd Controller output settings PLS Pw M Modem Enabled pa Si Eie a Interrupt pulse catch settings Interrupt edge settings Terminator Tool Port Header st not exist r Saen Hodia 115200 bps Time constant setting af CPU input Hotie Sharing address far data recerved of DT 9 1 712314 senal data communicata made b visit Mod Buffercapacity setting far data received ot 2048 10 2049 sera date communication mode Cancel Head PLE Initialize No 410 Unit number The unit number can be set within a range of 1 to 16 No 412 Communication Mode Click on Y and select PC Link u Key Point When using a PC PLC link the communication format and baud rate are fixed No Name SetValue Commu
346. tomation net Email info ctiautomation net 8 4 3 Allocation Double pulse input driver CW pulse input and CCW pulse input method e Two output contacts are used as a pulse output for CW CCW e The I O allocation of pulse output terminal and home input is determined by the channel used e Set the control code for F171 SPDH instruction to CW CCW When using gt FPOR Home input rr Near home input Driver CW output Y1 CCW output or any other input can be specified for the near home input Single pulse input driver When using CH2 gt FPOR Home input y Near home input Driver CW output CCW output X1 or any other input can be specified for the near home input pulse input and directional switching input method e One output point is used as a pulse output and the other output is used as a direction output e The I O allocation of pulse output terminal direction output terminal and home input is determined by the channel used e Near home input is substituted by allocating the desired contact and turning on and off the lt bit4 gt of special data register DT90052 e Up to four driver systems can be connected When using gt FPOR Home input Near home input Driver Pulse output Direction output XO or any other input can be specified for the near home input gt la Reference lt 8 2 1 Table of Specifi
347. tool in PROG mode to clear the error Using FPWIN GR FPWIN Pro Click on the Clear Error button in the Status display dialog Error code 43 and higher can be cleared e n the PROG mode the power supply can be turned off and then on again to clear the error but all of the contents of the operation memory except hold type data are cleared e An error can also be cleared by executing a self diagnostic error set instruction F148 ERR Key Point When an operation error error code 45 occurs the address at which the error occurred is stored in special data registers DT90017 and DT90018 If this happens click on the Operation Err button in the Status display dialog box and confirm the address at which the error occurred before cancelling the error Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 11 2 2 If ERROR LED is Condition The system watchdog timer has been activated and the operation of PLC has been activated Procedure 1 Set the mode selector of PLC from RUN to PROG mode and turn the power off and then on e f the ERROR ALARM LED is turned on again there is probably an abnormality in the FPOR control unit Please contact your dealer e f the ERROR ALARm LED is flashed go to chapter 11 2 1 Procedure 2 Set the mode selector from PROG to RUN mode e f the ERROR ALARM LED is turned on the program execution time is too long Check the p
348. tor is used for the tool port on the control unit Pin No name Abbreviation Signal direction Signal Ground SG gt Send Data Unit External device 3 Receive Data RD External device Not used p Unit gt External device The followings are the default settings when the unit is shipped from the factory The system register should be used to change these Baud rate 9600bps Char Bit 8 bits Parity check Odd parity Stop bit 1 bit Note The unit number of the tool port should be set by the system register 5 Input connector 6 Input status LEDs 7 Output connector Output indicator LEDs 9 Power supply connector 24 V DC Supply 24 V DC It is connected using the power supply cable AFPG805 supplied with the unit 19 COM port RS232C or RS485 Communication interface for connection with an external device such as a programmable display 17 expansion hook This hook is used to secure expansion units The hook on the right side is also used for installation on the flat type mounting plate AFP0804 12 Right side connector for FPO expansion This is used to connect the FPO cum FP2 expansion unit installed on the right side of control unit to the internal circuit The connector is located under the seal 3 DIN hook This hook enables the unit to attach to a rail at a touch It is also used to install the unit on the slim type mounting plate AFPO803
349. tors on top installation of the unit connectors face down Do not install the unit above devices which generate heat such heaters transformers or large scale resistors Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Installation space Leave at least 50 mm of space between the wiring ducts of the unit and other devices to allow heat radiation and unit replacement 50 mm 1 97 in or more 50 mm 1 97 in or more Maintain at least 100 mm of space between devices to avoid adverse affects from noise and heat when installing a device or panel door to the front of the PLC unit 3 937 in Le or more Panel door PLC unit Other device Leave at least 100 mm of space from the front surface of the control unit in order to allow room for programming tool connections and wiring 5 1 2 Installation and Removal Attachment to DIN rail and removal from DIN rail The unit can be simply attached to DIN rail Procedure of installation 1 Fit the upper hook of the unit onto the DIN rail 2 Without moving the upper hook press on the lower hook to fit the unit into position Procedure of removal 1 Insert a slotted screwdriver into the DIN rail attachment lever 2 Pull the attachment lever downwards 3 Lift up the unit and remove it from the rail Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 5 1 3 I
350. trol Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 4 3 Setting Communication Parameters Tool port COM port The settings for baud rate and communication format are entered using a programming tool Note When the MEWTOCOL master is used also select Computer Link COM port only Setting with FPWIN GR Select Options in the menu bar and then select PLC Configuration Click Tool Port or COM Port from the left list Dialog box of PLC system register setting Tool port selection screen PLG Configuration Untitlel Hald Man hold Acton on Error 1 413 Communication Format Time Ma 410 Ma Link W O 0 Mo412 Comm Mode Char Bit E Bits Link 0 1 e nd SJ Controller input settings HSC Computer Link Parity dd Controller output settings PLS Mh Modem Enabled B Stop Bit 1 Interrupt pulse catch settings Interrupt edge settings Time constant setting of CPU input Terminator eader 51 nat exist Y 415 Baudate 3600 bps Mos Starting address far data recerved of senal data communication mode Hodal Buffercapacity setting far data S048 0 2046 seral data communication mode 4096 0 12374 Cancel Head PLE Initialize Help No 410 Unit number The unit number can be set within a range of 1 to 99 No 412 Communication mode Select the operati
351. truction for FPOR High speed counter and Pulse output controls ui Cam control CAMO Target value much on with channel specification High speed counter control Pulse output control Target value much off with channel specification High speed counter control Pulse output control Pulse output JOG positioning type 0 1 Trapezoidal control Pulse output JOG operation 0 and 1 Change and read of the elapsed value of high speed counter and Pulse output PWM output with channel specification HC1S HC1R PLSH PWMH S DT90052 DT90300 DT90300 2 UO n S D S n Performs high speed counter and Pulse output controls according to 5 the control code specified by S The control code is stored in DT90052 Transfers S 1 S to high speed counter and Pulse output elapsed value area DT90045 DT90044 Transfers value in high speed counter and Pulse output elapsed value area DT90045 DT90044 to D 1 D Controls cam operation on off patterns of each cam output according to the elapsed value of the high speed counter Turns output Yn on when the elapsed value of the high speed counter or pulse output reaches the target value of S 1 S N N C2 Turns output Yn off when the elapsed value of the high speed counter or pulse output reaches the target value of S 1 S Positioning pulses are output from the specified channel in
352. truction is executed the reception done flag R9038 turns off except the case when the terminator has been set to None the number of received bytes is cleared and subsequent data is stored in order from the lower order byte For repeated reception of data perform the following steps 1 Receive data 2 Reception done R9038 on reception prohibited 3 Process received data 4 Execute F159 MTRN R9038 off reception possible 5 Receive subsequent data Prepare for reception RO _ a F159 MTRN 100 KO Ki The reception done flag R9038 turns on when data A reception from the external device is completed To repeatedly perform only reception Reception of any further data is prohibited specify KO To receive subsequent data you must execute the F159 R9038 also turns off when transmission is performed with a byte number MTRN instruction to turn off the reception done flag specification R9038 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 5 5 Flag Operation in Serial Communication Header No STX Terminator CR Receiving data The reception done flag the transmission done flag and the F159 MTRN instruction are related as follows Data received a py cy cR D AEREA from external Ea 2 89 device Cannot be stored when reception done flag is on ON Reception
353. truction which performs leading edge detection When RUN begins for example when the system is powered on the off gt on change of the execution condition trigger is not detected Execution of the instruction will take place as explained on the next page When used with one of the instructions indicated in instructions 1 to 6 below which change the order of execution of instructions the operation of the instruction may change depending on input timing Take care regarding this point Be careful when using leading edge detection type instructions with control instructions such as 1 MC and MCE instructions 2 JP and LBL instructions 3 LOOP and LBL instructions 4 CNDE instruction 5 Step ladder instructions 6 Subroutine instructions Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 12 3 2 Operation and Precautions When RUN starts Operation of first scan after RUN begins The leading edge detection instruction is not executed when the mode has been switched to the RUN mode or when the power supply is booted in the RUN mode if the trigger execution condition is already on RUN Power on Trigger Operation of instruction Not executed Executed f you need to execute an instruction when the trigger execution condition is on prior to switching to RUN mode make a program as below using R9014 initial pulse off relay R9014 is a special internal r
354. ts C14 14 pants be 2 Input 8 points i Output 6 points 16 points bus Input 8 points M Output 8 points C16 16 points z Input 8 points a is Output 8 points 32 points 32k Input 16 points 24V steps Output 16 DC points C32 32 points i Input 16 points Output 16 point Specifications 24V DC common 24V DC common 24V DC common 24V DC common 24V DC common 24V DC common 24V DC common 24V DC common Relay output 2A Relay output 2A Relay output 2A Relay output 2A Transistor output NPN 0 2A Transistor output PNP 0 2A Transistor output NPN 0 2A Transistor output PNP 0 2A Transistor output NPN 0 2A Transistor output PNP 0 2A Transistor output NPN 0 2A Transistor output PNP 0 2A Transistor output NPN 0 2A Transistor output PNP 0 2A Transistor output NPN 0 2A Transistor output PNP 0 2A Connecti on type Terminal block Molex connector Terminal block Molex connector Terminal block Molex connector Terminal block connector MIL connector MIL connector MIL connector MIL connector MIL connector MIL connector COM port RS232C RS485 RS232C RS232C RS485 RS232C RS232C RS232C RS485 RS485 RS232C RS232C RS485 RS485 Product No AFPORC10RS AFPORC10RM AFPORC10CRS AFPORC10MRS AFPORC10CRM AFPORC14RS
355. tween the target speed and the creep speed is divided into the speed table of 30 steps to calculate the speed Therefore the acceleration deceleration is smoother compared to other control patterns Frequency Acceleration Deceleration time time _ Target speed p Calculates the section E Calculates the section between initial speed between target speed and target speed as and areep speed as speed table of 30 steps speed table of 30 steps Initial Cfoap eoe speed Near home input input 1 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Trapezoidal control Type 0 F171 Specify the time from the initial speed to the target speed as acceleration time and the time from the target speed to the initial speed as deceleration time in the program Each section between the initial speed and the target speed and between the target speed and the initial speed is divided into the speed table of 30 steps to calculate the speed Therefore the acceleration deceleration is smoother compared to the trapezoidal control type 1 After the execution of the instruction the speed can be changed within the range of the target speed To change the target speed to the one faster than the target speed right after the execution select the type 1 Deceleration time in program 1 2 2 F Ac
356. two 32 bit data in the L 1 comparative condition S1 1 1 gt S2 1 52 AND lt Connects a Form A normally open contact or S1 1 51 52 1 52 parallel by comparing two 32 bit data in the ORD gt Connects a Form A normally open contact in 0 31 32 4 parallel by comparing two 32 bit data in the comparative condition S1 1 51 gt 52 1 52 comparative condition S1 1 S1 gt S2 1 52 ORD lt Connects a Form A normally open contact in pP or S1 1 51 52 1 52 r S141 51 52 1 52 serially by comparing two 32 bit data in the 32 bit Connects a Form A normally open contact in pP5s g parallel by comparing two 32 bit data in the data comparative condition S1 1 S1 S2 1 52 comparative condition S1 1 51 lt 52 1 52 ORD gt Connects a Form A normally open contact in pP al x 51 1 51 52 1 S2 parallel by comparing two 32 bit data the Q Available Not available A Not available partially Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net FP2SH FP10SH Floating point type real number data compare Start Begins a logic operation by comparing two 32 ES bit data in the comparative condition S1 1 EXE S2 1 52 T E RH Begins a logic operation by comparing two 32 Lo bit data in the comparative condition S1 1 51
357. used Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Stores the operated result to this ER instruction 2 Read stack Reads the operated result stored by the PSHS instruction 2 Pop stack d Reads and clears the operated result stored by the PSHS instruction Leading edge Turns on the contact for only one differential scan when the leading edge of the trigger is detected Turns on the contact for only one scan when the trailing edge of the trigger is detected Turns on the contact for only one scan when the leading edge of the trigger is detected The leading edge detection is possible on the first scan SET YRL E Output is set to and held at on S 3 O E pP Trailing edge differential Leading edge differential initial execution 081 Output is set to and held at off R MN Outputs at set trigger and holds until M M 2 reset trigger turns ox l type Basic function instructions On delay timer After set value n x 0 001 seconds 75 timer contact is set to on TMR After set value n x 0 01 seconds us timer contact is set to on After set value x 0 1 seconds TMY T timer contact is set to on After set value n x 1 second timer contact is set to on Auxiliary timer F137 vRLE After set value S x 0 01 seconds 16 bit H Hew
358. ut time constants for 16 points of the CPU input XO to XF can be set by the system registers 430 to 433 If this setting is specified an operation like the equivalent circuit below will be performed By the setting the noises or chattering of input will be removed CXn 7 Input signal of Xn contact Xn Image memory of input Xn CXn Timer processing Xn Setting value System S register setting value Timer processing Setting value System register setting value Aes ae Note he input signal of X contact is retrieved at the timing of the normal 1 0 update f the partial update instruction is executed for the input in the time constant processing the time constant processing will be invalid and the input status at the time will be read out and set he time constant processing can be performed for the input other than XO to XF add on cassettes or expansion units by the F182 FILTR instruction he timer instruction is not used for the timer processing in this equivalent circuit he time constant processing is invalid when the high speed counter pulse catch or interrupt has been specified Input time constant setting function and applicable models register Control unit input Applicable model I O No a 0 14 16 C32 T32 F32 H69 XO to X3 ERE 431 X4 to X7 RA 432 X8 to XB INA A XC to XF A Available N A Not available Phone 800 894 0412 Fax 888 723 4773
359. ward Reverse gt Control is carried out using two pulses a forward rotation pulse and a YO AL reverse rotation pulse Y2 Sem pice yt E 3 LH 13 ET BILL Y3 Incremental counting Decremental counting Pulse direction output method forward OFF reverse ON Forward Reverse Control is carried out using one pulse output to specify the speed and Puse ruse vo FLFLFLFLEL FLELELE LE another to specify the direction Y2 7 rotation with on off signals In this d mode forward rotation is carried out when the rotation direction signal is irection Sign OFF Incremental counting Decremental counting Pulse direction output method forward ON reverse OFF Forward c Reverse Control is carried out using one pulse output to specify the speed and Pulse Pulse vo F IF F F F another to specify the direction of 2 rotation with on off signals In this ON OFF mode forward rotation is carried out Rotation wvi o o direction Sign y3 when the rotation direction signals is ON Incremental counting Decremental counting Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Operation mode Incremental Relative value control Outputs the pulses set with the target value Selected Mode Pulse and direction forward OFF reverse ON CW CCW Puls
360. wdriver Phoenix Contact Co Product No 1205037 with a blade size of 0 4 x 2 5 Part No SZS 0 4x2 5 The tightening torque should be 0 22 to 0 25 Nem 2 3 to 2 5 kgf cm or less Notes for wiring 1 When removing the wire s insulation be careful not to scratch the core wire 2 Do not twist the wires to connect them 3 Do not solder the wires to connect them The solder may break due to vibration 4 After wiring make sure stress is not applied to the wire 5 In the terminal block socket construction if the wire is fastened upon counter clockwise rotation of the screw the connection is faulty Disconnect the wire check the terminal hole and then re connect the wire Clockwise Counter clockwise Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 5 7 2 Connection of COM Port RS485 Type Wiring should extend from one unit to the next between terminals and terminals as below Never run two wires from a single unit to two other units In the unit that serves as the terminal station connect the E terminal and terminal 0 s e SRG HE Short circuit the transmission line and terminal E of the terminal unit 5 7 3 Selection of Transmission Cables RS485 Type Please use the following cables as transmission cables Appropriate electrical cables 77 cables Conductor Cross sectional R
361. wo 32 bit data in the comparative condition S1 1 S1 lt S2 1 52 ANF Connects a Form A normally open contact Floating point type real number data compare OR serially by comparing two 32 bit data in the 1 comparative condition S1 1 51 lt 52 1 52 or S1 1 S1 S2 1 2 Connects a Form A normally open contact in ORF lt gt Up Fes 52 parallel by comparing two 32 bit data the comparative condition S1 1 S1 S2 1 S2 ORF gt pest 82 Connects a Form A normally open contact in parallel by comparing two 32 bit data in the ORF lt m Fe 81 82 comparative condition S1 1 51 lt 52 1 52 or S1 1 51 gt 52 1 52 Connects a Form A normally open contact in parallel by comparing two 32 bit data in the comparative condition S1 1 S1 gt S2 1 52 Connects a Form A normally open contact in parallel by comparing two 32 bit data in the comparative condition S1 1 51 gt 52 1 52 or S1 1 51 52 1 52 Connects a Form A normally open contact in parallel by comparing two 32 bit data in the comparative condition S1 1 51 lt 52 1 52 Connects a Form A normally open contact in parallel by comparing two 32 bit data in the comparative condition S1 1 S1 S241 52 or S11 S1 S2 1 2 Available Not available Not available partially 1 This instru
362. word Enter a 8 digit password Check the box of the function to use Limited distribution function Setting of FP memory loader option Allow the download in case of same password Enable the upload protection setting Set that PLC cannot be uploaded Note This function is available only when a 8 digit password has been set Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 9 3 3 Table of Corresponding Operations of FP Memory Loader Security Function Note that the operation differs according to the combination of the program stored in the FP memory loader and the status of the PLC to which is written Version check list Status of destination PLC 4 digit password 8 digit password Protected Protected Program FP memory loader 8 digit password is set and Allow the download in case of same Password is unset Or 4 bit or 8 bit password is set x x password is set 8 digit password is set O 1 1 Set that PLC cannot be uploaded is set x 8 digit password is set and Allow the download in case of same X password is set SR Re and Set that PLC cannot be uploaded is set Download possible 6 Download possible only for models with the same password X Download impossible Note1 The upload protection setting is not available in FP memory loader Ver1 Note2 Although programs

Download Pdf Manuals

image

Related Search

Related Contents

Chess Challenger scan  Dell E1909WDD User's Manual  Rexel Folder Top Opening  Chameleon Paradize Service Manual  CL.P1413 CL.P1210      

Copyright © All rights reserved.
Failed to retrieve file