background image

Summary of Contents for FP0R Series

Page 1: ......

Page 2: ...ion 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 while turning on electricity It could lead to an electric shock Use the external devices to function the emergency stop and interlock ci...

Page 3: ...l layout diagram 3 7 4 I O Allocation 4 1 4 1 I O Allocation 4 2 4 2 I O Allocation for FP0R Control Unit 4 3 4 3 I O Numbers of FP0 FP0R Expansion Unit 4 4 5 Installation and Wiring 5 1 5 1 Installation 5 2 5 2 Wiring of Power Supply 5 6 5 3 Wiring of Input and Output 5 8 5 4 Wiring of MIL Connector Type 5 11 5 5 Wiring of Terminal Block Type 5 13 5 6 Wiring of Molex Connector Type 5 15 5 7 Wirin...

Page 4: ...ant Processing 10 6 11 Self Diagnostic and Troubleshooting 11 1 11 1 Self Diagnostic function 11 2 11 2 Troubleshooting 11 3 11 3 Operation Errors 11 9 12 Precautions During Programming 12 1 12 1 Use of Duplicated Output 12 2 12 2 Handling Index Registers 12 4 12 3 Instructions of Leading Edge Detection Method 12 6 12 4 Precautions for Programming 12 9 12 5 Rewrite Function During RUN 12 10 12 6 P...

Page 5: ...nal Relays Special Data Registers 15 2 15 2 Table of Basic Instructions 15 39 15 3 Table of High level Instructions 15 47 15 4 Table of Error codes 15 67 15 5 MEWTOCOL COM Communication Commands 15 80 15 6 Hexadecimal Binary BCD 15 81 15 7 ASCII Codes 15 82 ...

Page 6: ...iv ...

Page 7: ...single 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 ch...

Page 8: ... AFP1114V2 Not used AFP1113 AFP1114 Not used AFP1111A AFP1112A AFP1111 AFP1112 Not used FP memory loader AFP8670 AFP8671 Used Ver 2 0 or later Note 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 d...

Page 9: ...hen using the programs in the FP0R specifications When using the programs in the same specifications as the FP0 When using the programs in the FP0R specifications As the FP0 programs cannot be used as they are it is required to change the following 3 items for the FP0 programs before downloading the programs into the FP0R 1 Change in the model setting Change the model for the FP0 programs to the o...

Page 10: ...ternal relays are changed High speed counter control flag FP0 R903A For CH0 R903B For CH1 R903C For CH2 R903D For CH3 FP0R R9110 For CH0 R9111 For CH1 R9112 For CH2 R9113 For CH3 Change in special data registers The contents of the following special data registers are changed FP0 DT9052 DT90052 High speed counter control flag As each 4 bits of the control code for all 4 channels are allocated writ...

Page 11: ... does not affect the external operation to adjust the timing How to use FP0 compatibility mode Download the programs uploaded from the FP0 or the programs that the model code is created as the FP0 using an applicable programming tool for the FP0R A confirmation message will be shown on the tool and the mode will be automatically changed to the FP0 compatibility mode Tools supporting FP0 compatibil...

Page 12: ... blocks 512 words Approx 40ms Approx 100ms 16 blocks 1024 words Approx 80ms Approx 100ms 32 blocks 2048 words Approx 160ms Approx 100ms 33 blocks 2112 words Approx 165ms Approx 200ms 41 blocks 2624 words Approx 205ms Approx 200ms 64 blocks 4096 words Approx 320ms Approx 200ms 96 blocks 6144 words Approx 480ms Approx 300ms 256 blocks 16320 words Approx 800ms Approx 800ms 2 F170 PWM instruction spec...

Page 13: ...mental counting mode with not direction output 2 Pulse width specification FP0 It is possible to set the fixed pulse width 80μs or duty ratio FP0 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 FP0 The elapsed value during home retur...

Page 14: ...xii ...

Page 15: ...Chapter 1 Functions and Restrictions of the Unit ...

Page 16: ...RC14CRS RS485 AFP0RC14MRS Molex connector RS232C AFP0RC14CRM C16 16k steps 16 points Input 8 points Output 8 points 24V DC 24V DC common Transistor output NPN 0 2A MIL connector AFP0RC16T Transistor output PNP 0 2A AFP0RC16P 16k steps 16 points Input 8 points Output 8 points 24V DC 24V DC common Transistor output NPN 0 2A MIL connector RS232C AFP0RC16CT Transistor output PNP 0 2A RS232C AFP0RC16CP...

Page 17: ... Transistor output NPN 0 2A MIL connector RS485 AFP0RT32MT Transistor output PNP 0 2A RS485 AFP0RT32MP F32 32k steps 32 points Input 16 points Output 16 points 24V DC 24V DC common Transistor output NPN 0 2A MIL connector RS232C AFP0RF32CT Transistor output PNP 0 2A RS232C AFP0RF32CP Transistor output NPN 0 2A MIL connector RS485 AFP0RF32MT Transistor output PNP 0 2A RS485 AFP0RF32MP ...

Page 18: ...ints Input 16 points 24V DC common MIL connector AFP0RE16X 16 points Input 8 points Output 8 points 24V DC 24V DC common Relay output 2A Terminal block AFP0RE16RS Molex connector AFP0RE16RM 16 points Input 8 points Output 8 points 24V DC common Transistor output NPN 0 3A MIL connector AFP0RE16T 16 points Input 8 points Output 8 points 24V DC common Transistor output PNP 0 3A MIL connector AFP0RE16...

Page 19: ...rent output type 4 to 20mA Resolution 1 4000 FP0 A04V AFP04121 ARCT1F382 FP0 A04I AFP04123 1 1 3 Link Units Product name Specifications Power supply voltage Part No Product No Exclusive manual FP0 I O Link Unit This is alink unit designedtomake theFP0R function as a slaveunit toMEWNET F remote I O system 24V DC FP0 IOL AFP0732 This manual FP0 CC Link Slaveunit This unit is for making the FP0R func...

Page 20: ...elay output Molextype I O cable Loose wiring cable with Molexsocket attached at one end 9P AWG20 0 5mm 2 2 pcs blue and white set Length 1 m AFP0551 2 cable set Length 3 m AFP0553 2 cable set Transistor outputtype I O cable Loose wiring cable with connectorattached at oneend 10P AWG22 0 3mm 2 2 pcs blue and white set Length 1 m AFP0521 2 cable set Length 3 m AFP0523 2 cable set Flatcable connector...

Page 21: ...n the expansion unit is a transistor output type C10 10 points Max 58 points Max 106 points C14 14 points Max 62 points Max 110 points C16 16 points Max 112 points Max 112 points C32 T32 F32 32 points Max 128 points Max 128 points Note Install the FP0 thermocouple unit on the right side of all other expansion units If it is installed on the left side the total precision will deteriorate Install th...

Page 22: ...ws 2000 Windows XP Windows Vista 40MB or more AFPS10520 Small type AFPS11520 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 http industrial panasonic com ac e dl_center software Use the latest version Note3 The small type can be used only for each series of FP e FPΣ FP0 and F...

Page 23: ... pin L type 3 m AFC8503 Female Mini DIN round 5 pin Straight type 3 m AFC8503S Note A USB RS232C conversion cable is necessary to connect with a personal computer without a serial port using a PC connection cable 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 A miniB Max 5 m Note Windows 2000 or later OS ...

Page 24: ...1 10 ...

Page 25: ...Chapter 2 Specifications and Functions of Control Unit ...

Page 26: ...is being executed in the RUN mode The RUN and PROG LEDs flash alternately PROG Green 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 ERROR ALARM Red Flashes An error is detected during the self diagnostic function ERROR Lights A hard...

Page 27: ...G 2 Send Data SD Unit External device 3 Receive Data RD Unit External device 4 Not used 5 5 V 5 V Unit 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 ...

Page 28: ...cted 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 9 1 kΩ Response time OFF ON 20 µs or less Note The input time constant can be set using system registers 0 1 ms to 64 ms ON OFF Same as above Operating mode indicator LED display Note This specification is applied when the rated input a voltage is 24 V DC and the tem...

Page 29: ... or less Response time OFF ON 20 µs or less Load current 5 mA or more 0 1 ms or less Load current 0 5 mA or more ON OFF 40 µs or less Load current 5 mA or more 0 2 ms or less Load current 0 5 mA or more External power supply and terminals Voltage 21 6V DC to 26 4V DC Current C16 30 mA or less C32 T32 F32 60 mA or less C16 35 mA or less C32 T32 F32 70 mA or less Surge absorber Zener diode Operating...

Page 30: ...mmon 1 point common 1 point common C14 4 points common 1 point common 1 point common Response time OFF ON Approx 10 ms ON OFF Approx 8 ms Lifetime Mechanical Min 20 000 000 operations Switching rate 180 times min Electrical Min 100 000 operations Switching rate 20 times min at rated control capacity Surge absorber None Operating mode indicator LED display Note Resistance load Circuit diagram ...

Page 31: ...Terminal layout diagrams Model No Terminal layout diagrams C10RS C10CRS C10RM C10CRM The above illustration is the terminal block type C14RS C14CRS C14RM C14CRM The above illustration is the terminal block type ...

Page 32: ...Model No Terminal layout diagrams C16T C16CT C16MT Note Two COM terminals of the input circuit are connected internally C16P C16CP C16MP Note Two COM terminals of the input circuit are connected internally ...

Page 33: ...o terminals of the output circuit are connected internally Two terminals of the output circuit are connected internally C32P C32CP C32MP T32CP T32MP F32CP F32MP 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 ...

Page 34: ...ernal 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 0 when the power supply is turned on again Key Point Programs and system registers will ...

Page 35: ...e approx 50 days 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 C Approx 14 days 20 C 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 whe...

Page 36: ...ata H00 to H23 Available Available DT90056 Year data H00 to H99 Month data H01 to H12 Available Available DT90057 Day of the week data H00 to H06 Available Available 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 P...

Page 37: ...e 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 Y0 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...

Page 38: ...2 14 ...

Page 39: ...Chapter 3 Expansion ...

Page 40: ... 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 FP0 FP0R expansion 2 Using a screwdriver or similar tool pull out the top and bottom expansion hooks 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 4 Press down the...

Page 41: ...nit Input connector Input indicator LED Output connector Output indicator LEDs Expansion hook This hook is used to secure expansion units Expansion connector This connector is used to connect an expansion unit and internal circuit 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 ...

Page 42: ...6 points common E8R 4 points common Min on voltage Min on current 19 2 V DC 3 mA Max off voltage Max off current 2 4 V DC 1 mA Response time OFF ON 2 ms or less ON OFF 2 ms or less Operating mode indicator LED display Note The above table shows the specifications of FP0R Expansion Unit For FP0 Expansion Unit the rated input voltage is approx 4 3 mA and the input impedance is approx 5 6 kΩ Limitati...

Page 43: ...32T PNP output type E8YP E16YP E16P E32P Item Description NPN PNP Insulation method Optical coupler Output type Open collector Rated load voltage 5 V DC to 24 V DC 24 V DC Operating load voltage range 4 75 V DC to 26 4 V DC 21 6 V DC to 26 4 V DC Max load current 0 3A point Max 1 A per common Output points per common E16T E8Y 8 points common E32 E16Y 16 points common Off state leakage current 100 ...

Page 44: ...s 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 Internal circuit diagram NPN PNP ...

Page 45: ...3 7 3 4 Terminal layout diagram Model No Terminal layout diagrams E8RS E8RM E16RS E16RM E8YRS ...

Page 46: ...M terminals of the input circuit are connected internally E16X E32T E16YT 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 ...

Page 47: ...OM terminals of the input circuit are connected internally E32P E16YP 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 ...

Page 48: ...3 10 ...

Page 49: ...Chapter 4 I O Allocation ...

Page 50: ... O number Specifying X and Y numbers On the FP0R 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 ...

Page 51: ... of FP0R control unit is fixed Type of control unit Number of allocation I O number C10 Input 6 point X0 to X5 Output 4 points Y0 to Y3 C14 Input 8 points X0 to X7 Output 6 points Y0 to Y5 C16 Input 8 points X0 to X7 Output 8 points Y0 to Y7 C32 T32 F32 Input 16 points X0 to XF Output 16 points Y0 to YF ...

Page 52: ...to X3F WX5 X50 to X5F WX7 X70 to X7F Output 16 points WY2 Y20 to Y2F WY4 Y40 to Y4F WY6 Y60 to Y6F FP0 A D conversion unit FP0 Thermocouple unit FP0 A80 FP0 TC4 FP0 TC8 Input 16 points CH0 2 4 6 WX2 X20 to X2F WX4 X40 to X4F WX6 X60 to X6F Input 16 points CH1 3 5 7 WX3 X30 to X3F WX5 X50 to X5F WX7 X70 to X7F FP0 RTD unit FP0 RTD Input 16 points CH0 2 4 WX2 X20 to X2F WX4 X40 to X4F WX6 X60 to X6F...

Page 53: ...Chapter 5 Installation and Wiring ...

Page 54: ...utions 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 yourse...

Page 55: ...ront 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 ...

Page 56: ...ate and install according to the dimensions shown below The rest of the procedure is the same as that for attaching the unit to the DIN rails 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 ...

Page 57: ...pansion hooks of the unit Align the expansion hooks with the mounting plate and press the hooks An unit with an attached mounting plate can also be installed sideways on a DIN rail Note The flat type mounting 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 FP0 FP0R expansion unit ...

Page 58: ...nternal 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 Isolate the wiring systems to the control unit input output devices and mechanical power apparatus Measures regarding power supply sequence The power supply sequence should be set u...

Page 59: ...een the power supply line and earth the varistor may be shorted As for the FP0R control unit since its power supply line is connected to the function earth through a high voltage capacitor it is no problem Do not ground the function earth terminal when grounding a plus terminal of the power Do not ground the FP0R function earth terminal when grounding a plus terminal of the power In some computers...

Page 60: ...itch 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 Precaution when using two wire type sensor If the input of PLC does not turn off because of leakage current from the two wire type sensor photoelectric sensor or proximity sensor the use of a bleeder resistor is recommended as shown...

Page 61: ...aution when using LED equipped limit switch 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 ...

Page 62: ...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 o...

Page 63: ...7231FP Connector for loose wire cable Attached to the control unit and expansion I O unit Manufacturer Type and product No Unit type and required quantity E8 C16 E16 C32 T32 F32 E32 Manufactured by us Housing 10P 1 pc 2 pcs x 1 set 2 pcs x 2 sets Semi cover 10P 2 pcs 4 pcs x 1 set 4 pcs x 2 sets Contact for AW22 and 24 5 pins 2 pcs x 1 set 4 pcs x 1 set 4 pcs x 2 sets Note The parts of the number ...

Page 64: ...nnection tool 2 Insert the wire without removing its insulation until it stops and lightly grip the tool 3 After press fitting the wire insert it into the housing 4 When all wires has been inserted fit the semi cover into place 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 ...

Page 65: ...x Contact Co should be used Manufacturer Cross sectional area mm 2 Size Part No With insulating sleeve Without insulating sleeve Phoenix Contact Co 0 25 AWG 24 AI 0 25 6 BU A 0 25 7 0 34 AWG 22 AI 0 34 6 TQ A 0 34 7 0 50 AWG 20 AI 0 5 6 WH A 0 5 6 0 75 AWG 18 AI 0 75 6 GY A 0 75 6 1 00 AWG 18 A 1 60 0 5 2 AWG 20 for 2 pcs AI TWIN 2 0 5 8 WH Pressure welding tool for pole terminals Manufacturer Mod...

Page 66: ...tes 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...

Page 67: ...es Twisted wire Size Cross sectional area Insulation thickness AWG 24 18 0 2mm 2 0 75mm 2 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 2 Place the contact in the crimping tool place the wire in the contact and lightly squeeze the tool 3 Insert the crimped wire into the housing un...

Page 68: ...l block The communication connector manufactured by Phoenix Contact is used No of pins Phoenix Contact model No Model No Product No 3 pins MKDS1 3 3 5 1751400 Suitable wires Twisted wire Size Cross sectional area AWG 28 to 16 0 08mm 2 to 1 25mm 2 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 ...

Page 69: ...ue should be 0 22 to 0 25 N m 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 u...

Page 70: ...e Resist ance at 20 C Material Thick ness Shielded twisted pair 0 5 mm 2 AWG20 or greater Max 33 4 Ω km Polye thylene Max 0 5 mm Approx 7 8 mm Belden 9207 Hitachi Cable Ltd KPEV S0 5 mm 2 x 1P VCTF 0 5 mm 2 AWG20 or greater Max 37 8 Ω km Polychlo rinated biphenyl Max 0 6 mm Approx 6 2 mm VCTF 0 5 mm 2 x 2C JIS Note Use shielded twisted pair cables Use only one type of transmission cable Do not mix...

Page 71: ...ister is 9600 bps Setting using FPWIN GR Select Options PLC Configuration COM Port in the menu bar Setting of baud rate switches As for the FP0R RS485 type the baud rate switches are built in the control unit Set the baud rate switches to 115200 bps or 19200 bps The initial setting factory default is 115200 bps Note The factory settings of the system register and baud rate switches are different S...

Page 72: ... 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 l...

Page 73: ...Chapter 6 Preparation of USB Port ...

Page 74: ...0R Windows 2000 Windows XP Windows Vista 2 8 or later FP X FP0R Windows 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 For Windows 7 although the following window a...

Page 75: ... FP0R 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 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 driv...

Page 76: ... 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 FP0R has been stored and click Next 4 Although the following dialog box appears during the installation click Continue anyway ...

Page 77: ...6 5 5 Click Finish on the following screen to be displayed ...

Page 78: ...P0R is connected the following screen is displayed It will automatically disappear after a short time 2 Click the start menu and move the mouse pointer to Computer and right click on it to select Properties 3 As the following screen is displayed click Device Manager ...

Page 79: ...6 7 4 Double click on FP0R 5 Click Update Driver ...

Page 80: ...Click the Browse button to specify the folder that the USB driver of FP0R has been stored and click Next If the location was not changed when installing FPWIN GR the USB driver of FP0R has been stored in C Program Files Panasonic EW SUNX Control FP0R USB ...

Page 81: ...driver software anyway 9 The installation of the driver software begins Once the installation completes successfully the following screen will be displayed In this case the USB port has been assigned to COM4 However it may differ depending on the environment of the PC you use ...

Page 82: ...B 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 View System information Hardware tab Device Manager 3 Double click Ports COM LPT As the table of allocation of COM ports is shown confirm the COM port number Panasonic Electric Works PLC Virtual UART COMn is the allocated COM port COM...

Page 83: ...on Setting under Option from the menu bar Using FPWIN Pro Select Communication Setting under Online from the menu bar 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 Port No COM port number allocated for the USB Baud rate The baud rate cannot be specified Even if any rate is select...

Page 84: ...6 12 ...

Page 85: ...Chapter 7 Communication ...

Page 86: ...re 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 The 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 7 1 3 General purpose Serial Commu...

Page 87: ...ected PLCs 7 1 5 MODBUS RTU Function overview The MODBUS RTU protocol enables the communication between the FP0R 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 Mas...

Page 88: ...SD Unit External device 3 Receive Data RD Unit External device 4 Not used 5 5 V 5 V 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 connector shape USB miniB type Note The USB driver should be installed It is assigned to a virtual COM port on the PC Select RS232C C NET in a programming tool 7 2 3...

Page 89: ...tandard Baud rate USB2 0 Fullspeed Communication mode Computer link slave COM port RS232C port Description Interface RS232C Transmission distance 15 m Baud rate 2400 4800 9600 19200 38400 57600 115200 bit s Communication method Half duplex communication Synchronous method Start stop synchronous system Communication format Data length 7 bits 8bits Parity None Even Odd Start code STX No STX End code...

Page 90: ...ilable 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 Note3 The settings of the baud rate switches on the side of the unit a...

Page 91: ...truction 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 This func...

Page 92: ...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 s...

Page 93: ...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 cod...

Page 94: ...ts 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 C R ASCII code H0D 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...

Page 95: ...ue Write timer counter elapsed value area WK Writes the timer counter elapsed value Register or Reset contacts monitored MC Registers the contact to be monitored Register or Reset data monitored MD Registers the data to be monitored Monitoring start MG Monitors a registered contact or data using MD and MC Preset contact area fill command SC Embeds the area of a specified range in a 16 point on and...

Page 96: ...ion 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 ...

Page 97: ...te 2400 to 115200 bps Note The communication 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...

Page 98: ...hange 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 Set Value No 410 Unit number 1 to 99 Set the desired unit number With a C NET adapter a...

Page 99: ...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 ...

Page 100: ...te 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 DT0 and DT1 in the unit number 1 from the COM port 3 Reads the DT0 and DT1 in the unit number 1 into the data DT60 and DT61 of the local unit from the COM port ...

Page 101: ...em 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 No 412 Mode selection Select the computer link No 413 Communication Format Char Bit 7 bits 8 bits Parity None Odd Even Stop ...

Page 102: ...ending 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 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 T...

Page 103: ...f 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 re...

Page 104: ... automatically added to the end of the data being sent There is no terminator on the data 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 2 If DT100 is being used as the start address of se...

Page 105: ...om the communication port Data table for transmission send buffer Sample program for sending data The following program transmits the characters ABCDEFGH Hex to an external device using the communication port 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 using t...

Page 106: ...ader start code with STX the header is automatically added to the beginning of the data The terminator end code specified in system register 413 is automatically added to the end of the data 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 transmissi...

Page 107: ... 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 DT0 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 t...

Page 108: ...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 3 When an F159 MTRN instruction is executed the reception done flag R9038 turns off except the case when the terminator has bee...

Page 109: ...uted 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 Note Be aware that the reception done flag R9038 ...

Page 110: ... 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 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 ...

Page 111: ...der 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 ...

Page 112: ...8000 for n the number of transmission bytes and execute the instruction Changing from general purpose to computer link Changing from computer link to general purpose 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 MODB...

Page 113: ...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 the RS485 type make the same setting as that of the baud rate switches 1...

Page 114: ...o 115200 bps No 416 No 420 Starting address for receive buffer Note2 C10 14 16 DT0 to DT12314 C32 T32 F32 DT0 to DT32764 Default setting Tool port DT4096 COM port DT0 No 417 No 421 Receive buffer capacity Note1 0 to 2048 words Default setting 2048 words 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 c...

Page 115: ...e ETX STX not exist No 415 Baud rate Note2 2400 to 115200 bps No 416 No 420 Starting address for receive buffer Note3 C10 14 16 DT0 to DT12314 C32 T32 F32 DT0 to DT32764 Default setting Tool port DT4096 COM port DT0 No 417 No 421 Receive buffer capacity Note3 0 to 2048 words Note1 The communication format and baud rate should be set to match the connected devices Note2 The baud rates of 300 600 an...

Page 116: ...e 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 dat...

Page 117: ... 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 ...

Page 118: ...ame link register are changed in all PLCs on the same network The 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 data of all units are updated at the ...

Page 119: ... link register are changed in all PLCs on the same network Link relay Link relay L0 for unit no 1 is turned on The status change is fed back to the programs of the other units and Y0 of the other units is set to TRUE Link register A constant of 100 is written to link register LD0 of unit no 1 The contents of LD0 in the other units are also changed to a constant of 100 Communication port It is avai...

Page 120: ...tings 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 Unit numbers are the num...

Page 121: ...select PLC Configuration Click the COM Port tab Dialog box of PLC system register setting No 410 Unit number The unit number can be set within a range of 1 to 16 No 412 Communication Mode Click on and select PC Link Key Point When using a PC PLC link the communication format and baud rate are fixed No Name Set Value No 413 Communication format Char bit Parity Stop bit Terminator Header 8 bits Odd ...

Page 122: ...link relays used for PC PLC link 0 0 to 64 words 51 Range of link data registers used for PC PLC link 0 0 to 128 words 52 Starting number for link relay transmission 64 64 to 127 53 Link relay transmission size 0 0 to 64 words 54 Starting number for link data register transmission 128 128 to 255 55 Link data register transmission size 0 0 to 127 words 57 Maximum unit number setting for MEWNET W0 P...

Page 123: ... transmission size 20 20 24 0 Note No 40 range of link relays used must be set to the same range for all the units Link register allocation System registers No Name Setting for various units No 1 No 2 No 3 No 4 41 Range of link registers used 128 128 128 128 44 Starting No for link register transmission 0 40 80 0 45 Link register transmission size 40 40 48 0 Note No 41 range of link registers used...

Page 124: ...r transmission 128 128 208 128 55 Link register transmission size 40 40 48 0 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 ...

Page 125: ... registers Link relay allocation No Name No No 40 Range of link relays used 50 No 42 Starting No of word for link relay transmission 20 No 43 Link relay transmission size 20 With the above settings the 14 words 224 points consisting of WL50 to WL63 can be used as internal relays Link register allocation No Name No No 41 Range of link registers used 100 No 44 Starting No for link register transmiss...

Page 126: ...le 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 allocations System registers No Name Set value of various control units No 1 No 2 No 3 No 40 Range of link relays used 64 64 64 No 42 Starting No of word for link relay transmission 0 20 30 No 43 Link relay transmission size 20 20 ...

Page 127: ...are linked 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 If 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 sett...

Page 128: ...tion 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 PLC link transmission error relay R9050 This relay goes on if a problem is detected during transmission Key Point Monitoring the PC PLC link status Using a programming tool the PC PLC link status...

Page 129: ...wt 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 Initial value 400 ms can be changed using SYS1 system register instruction Tls 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 M...

Page 130: ...ocated and the scan time for each PLC is 5 ms Ttx 0 096 Each Pcm 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 ms Tlt 0 096 x 13 2 x 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 stati...

Page 131: ...PLC link from the default value of 400 ms to 100 ms Keywords Setting for key word no 1 PCLK1T0 Permissible range for key word no 2 10 to 400 10 ms to 400 ms 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 prog...

Page 132: ... 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 lin...

Page 133: ...ation is a function for the master unit to read and write the data in slave units communicating between them There are ASCII mode and RTU binary mode in the MODBUS protocol however the FP0R 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 ...

Page 134: ...inning 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 Error code CRC One of either 1 2 or 3 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 proc...

Page 135: ...pback Test F145 SEND 15 Force Multiple Coils Write Multiple Ys and Rs 0X F145 SEND 16 Preset Multiple Registers Write DT Multiple Words 4X Cannot be issued 22 Mask Write 4X Register Write DT Mask 4X Cannot be issued 23 Read Write 4X Registers Read Write DT 4X Table for MODBUS reference No and FP0R device No MODBUS reference No Data on BUS hexadecimal PLC device No Coil 000001 001760 0000 06DF Y0 Y...

Page 136: ...ommunication mode Click on 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 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...

Page 137: ...7 53 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 ...

Page 138: ... 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 DT0 and DT1 in the unit number 1 from the COM port 3 Reads the data DT0 and DT1 in the unit number 1 into the data DT60 and DT61 of the local unit from the COM port ...

Page 139: ...7 55 Sample program For Type II Use a program as below to directly specify a MODBUS address ...

Page 140: ...ite 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 ...

Page 141: ...Chapter 8 High speed Counter Pulse Output and PWM Output Functions ...

Page 142: ...8 2 ...

Page 143: ...t reaches the target value this function turns on off the desired output Pulse output function Combined with a commercially available motor driver the function enables positioning control With the exclusive instruction you can perform trapezoidal control home return and JOG operation PWM output function By using the exclusive instruction the PWM output function enables a pulse output of the desire...

Page 144: ...ill change depending on the function being used Counting range K 2 147 483 648 to K 2 147 483 647 Coded 32 bit binary 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 counting from there ...

Page 145: ...323 2 phase 2 phase input One input Direction distinction CH0 X0 X1 X2 R9110 DT90300 to DT90301 DT90302 to DT90303 25µs 1CH 15kHz 2CH 15kHz 3CH 10kHz CH2 X3 X4 X5 R9112 DT90308 to DT90309 DT90310 to DT90311 CH4 Note3 X6 X7 None R9114 DT90316 to DT90317 DT90318 to DT90319 Note1 The reset input X2 can be set to either CH0 or CH1 The reset input X5 can be set to either CH2 or CH3 The inputs X4 to X7 ...

Page 146: ...t be used Also Y6 and Y7 are also used for the pulse output of CH3 and the deviation counter clear of CH0 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...

Page 147: ...CH Single phase 2 phase Single phase 2 phase Single phase 2 phase CH0 CH1 CH2 CH3 CH4 CH5 CH0 CH2 CH4 A 50 50 A A 50 50 A A A 50 50 A A A A 50 50 A A A A A 50 40 A A A A A A 50 40 A 15 14 A A 15 10 A A A 10 10 A A 50 15 50 14 A A A 50 15 50 14 A A A A 50 15 50 14 A A A A A 50 15 50 14 A A A 50 15 50 10 A A A A 50 15 50 10 A A 50 15 50 12 A A A 50 13 50 12 A A A A 50 12 50 11 A A A A A 50 12 50 9 A...

Page 148: ... 20 35 29 20 30 24 15 10 10 10 9 8 8 9 8 8 50 10 44 10 30 10 50 10 40 10 28 10 44 10 30 10 25 10 35 10 25 10 20 10 50 9 35 8 28 8 40 9 30 8 25 8 50 10 50 10 40 8 50 10 45 8 35 7 50 9 40 8 30 7 50 8 35 8 30 7 50 10 50 8 40 8 50 9 45 8 35 7 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 ...

Page 149: ...e ranges above Interpolation control Linear interpolation Maximum output frequency kHz Composite speed CH0 CH2 Available 50 Available Available 50 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 ...

Page 150: ...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 F167 Cam control F165 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 measurement F178 Measures the pulse number and cycle of t...

Page 151: ...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 Two phase ...

Page 152: ...s used with High speed Counter Function High speed counter control instruction F0 This instruction is used for counter operations such as software reset and count disable Specify this instruction together with the special data register DT90052 Once this instruction is executed the settings will remain until this instruction is executed again Operations that can be performed with this instruction C...

Page 153: ... F0 MV instruction are stored by channel in special data registers DT90370 to DT90375 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 High speed counter control flag monitor area Channel No Control code flag monitor area CH0 DT90370 CH1 DT90371 CH2 DT90372 CH3 DT90373 CH4 DT90374 CH5 DT90375 ...

Page 154: ... Reading the elapsed value Read the elapsed value of the high speed counter and copies it to DT100 and DT101 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 Target value match ON instruction F166 Example 1 If the elapsed value DT90300 and DT90301 for cha...

Page 155: ...cation of measured pulse number DT200 to DT201 No of moving average of measured pulse number Once Measurement cycle of measured pulse number 100ms Pulse cycle measurement by 1µs and 1 ms Storage location of measured pulse cycle 1 µs unit DT202 to DT203 Storage location of measured pulse cycle 1 ms unit DT204 to DT205 Measurement limit of measured pulse cycle 1ms unit 2s Operation of F178 instructi...

Page 156: ...eed 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 The high speed counter control flags are allocated to each channel Channel No High speed counter control flag CH0 R9110 CH1 R9111 CH2 R9112 CH3 R9113 Operation of high speed counter control flag The high speed counter flag varies during scanning Replace it ...

Page 157: ...t X5 Operation start signal Y0 Inverter operation signal R100 Positioning operation running R101 Positioning operation start R102 Positioning done pulse R9110 High speed counter CH0 control flag Program When X5 is turned on Y0 turns on and the conveyor begins moving When the elapsed value DT90300 and DT90301 reaches K5000 Y0 turns off and the conveyor stops ...

Page 158: ...ription X0 Encoder input X5 Operation start signal Y0 Inverter operation signal Y1 Inverter high speed signal R100 Positioning operation running R101 Positioning operation start R102 Arrival at deceleration point R103 Positioning done pulse R900C Comparison instruction flag R9110 High speed counter CH0 control flag ...

Page 159: ... on Y0 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 Y0 turns off and the conveyor stops ...

Page 160: ...rn in a specified channel Trapezoidal control F171 Automatically outputs pulses with the trapezoidal control by 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 i...

Page 161: ...sing one pulse output to specify the speed and another to specify the direction of rotation with on off signals In this mode forward rotation is carried out when the rotation direction signal is OFF Pulse direction output method forward ON reverse OFF Control is carried out using one pulse output to specify the speed and another to specify the direction of rotation with on off signals In this mode...

Page 162: ...rget 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 Target value CW CCW Pulse and direction forward OFF reverse ON Pulse and direction forward ON reverse OFF HSC counting method Target value greater than current value Pulse output from CW Pulse outpu...

Page 163: ... Single pulse input driver pulse input and directional switching input method One output point is used as a pulse output and the other output is used as a direction output The I O allocation of pulse output terminal direction output terminal and home input is determined by the channel used Near home input is substituted by allocating the desired contact and turning on and off the bit4 of special d...

Page 164: ...nd connect a resistor of 2 kΩ 1 2 W 470 Ω 2 W to R2 Table of I O allocation I O No Description X4 Home sensor input X0 Near home sensor input X8 Positioning start signal X9 Positioning start signal XA Home return start signal XB JOG start signal XC JOG start signal XD Overrunning signal Y0 Pulse output CW Y1 Pulse output CCW ...

Page 165: ...uction F0 DT90052 Bit No Type of control Description 0 Software reset Resets the value in an elapsed value area Example For CH0 DT90400 and DT90401 1 Count disable enable Disables or enables the count of an elapsed value area Example For CH0 DT90400 and DT90401 2 Clear of pulse output control Clears the control of the target value match ON OFF instructions F166 F167 3 Stop of pulse output Forcibly...

Page 166: ...rol codes is allocated as shown in the left figure Control codes written with an F0 MV instruction are stored by channel in special data register DT90380 to DT90383 Pulse output control flag monitor area Channel No Control code monitor area CH0 DT90380 CH1 DT90381 CH2 DT90382 CH3 DT90383 ...

Page 167: ...ed When executing the forced stop pulse output stop with the pulse output control instruction F0 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 F0 the operations bein...

Page 168: ...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 Set the initial value K3000 in the pulse output CH0 Example 2 Reading the elapsed value Read the elapsed value of the pulse output CH0 to DT100 and DT101 Elapsed value area Channel No Pulse output elapsed value area CH0 DT90400 to DT90401 CH1 DT90410 to...

Page 169: ...eleration stop is requested by the F0 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 0 Regardless of the settings for the t...

Page 170: ...ording to the control code on the next page DT302 Initial speed Hz K1000 K1 to K50000 DT304 Target speed Hz K7000 K1 to K50000 DT306 Acceleration time ms K100 K1 to K32760 DT308 Deceleration time ms K100 K1 to K32760 DT310 Target value pulses K0 K 2 147 483 648 to K 2 147 483 647 Note 1 Each setting item occupies 2 word data registers 2 When the control type 0 No target value is specified for the ...

Page 171: ... 31 Sample program Control code 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 ...

Page 172: ...olute CW CCW H1001 0010 Set according to the control code on the next page DT302 Initial speed Hz K1000 K1 to K50000 DT304 Target speed Hz K5000 K1 to K50000 DT306 Acceleration time ms K120 K1 to K32760 DT308 Deceleration time ms K120 K1 to K32760 DT310 Target value pulses 324000 Positive direction K 45600 Negative direction K 2 147 483 648 to K 2 147 483 647 Note 1 Each setting item occupies 2 wo...

Page 173: ... 33 Sample program Control code 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 ...

Page 174: ...e 0 and type 1 Type 0 The home input is effective regardless of whether or not there is a near home input whether deceleration is taking place or whether deceleration has been completed Also the home return can be performed without the near home input 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 in...

Page 175: ...itial speed Hz K1000 K1 to K50000 DT204 Target speed Hz K5000 K1 to K50000 DT206 Acceleration time ms K300 K1 to K32760 DT208 Deceleration time ms K500 K1 to K32760 DT210 Creep speed Hz K500 K1 to K50000 DT212 Deviation counter clear signal output time K0 Not output K0 Not output deviation counter clear signal K1 to K200 x 0 5ms 0 5ms to 100ms Note 1 Each setting item occupies 2 word data register...

Page 176: ...he system register No 402 When the deceleration stop is requested by the F0 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 ...

Page 177: ...leration time After the execution of the instruction the speed up to the target speed can be changed Type 1 For type 1 the time from the initial speed 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 d...

Page 178: ...mental CW CCW H1000 0000 Set according to the control code on the next page DT102 Initial speed Hz K1000 K1 to K50000 DT104 Target speed Hz K10000 K1 to K50000 DT106 Acceleration time ms K100 K1 to K32760 DT108 Deceleration time ms K1000 K1 to K32760 DT110 Target value pulses K30000 K 2 147 483 648 to K 2 147 483 647 Note 1 Each setting item occupies 2 word data registers 2 For type 0 the time fro...

Page 179: ... output When the deceleration stop is requested by the F0 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 ...

Page 180: ... the type 0 to change the speed to a speed slower than the target speed Time chart Sample program 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 progra...

Page 181: ... type 1 to change the speed to a speed faster than the target speed Time chart Sample program 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 pr...

Page 182: ... 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 forbidden 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...

Page 183: ...pe 0 Once the trigger execution condition turns on the JOG operation is started and acceleration is performed up to the target speed When the position control 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 Type 1 Once the trigger execution condition turns on t...

Page 184: ... 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 th...

Page 185: ... Hz K1000 K1 to K50000 DT304 Target speed Hz K25000 K1 to K50000 DT306 Acceleration time ms K300 K1 to K32760 DT308 Deceleration time ms K450 K1 to K32760 DT310 Target value pulses K20000 K 2 147 483 648 to K 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 ...

Page 186: ...utions 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 ...

Page 187: ...0000 DT304 Target speed 1 Hz K5000 K1 to K50000 DT306 Acceleration time ms K300 K1 to K32760 DT308 Target speed 2 Hz K20000 K1 to K50000 DT310 Changeover time ms K100 K1 to K32760 DT312 Deceleration time ms K300 K1 to K32760 DT314 Target value pulses K100000 K 2 147 483 648 to K 2 147 483 647 Note 1 Each setting item occupies 2 word data registers 2 For the type 1 of JOG positioning control instru...

Page 188: ...essary 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 ...

Page 189: ... to a speed faster than the target speed Time chart Sample program 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 ...

Page 190: ... Settable range DT400 Control code H1000 0010 Absolute CW CCW Set according to the control code on the next page DT402 Frequency 1 Hz K1000 Set frequencies in the following range K1 to K50000 Set target values in the following range K 2 147 483 648 to K 2 147 483 647 DT404 Target value 1 pulses K1000 DT406 Frequency 2 Hz K2500 DT408 Target value 2 pulses K4000 DT410 Frequency 3 Hz K5000 DT412 Targ...

Page 191: ...Control code Precautions during programming When the deceleration stop is requested by the F0 instruction during the pulse output an operation similar to the forced stop is performed and the pulse output stops immediately ...

Page 192: ...control code on the next page DT502 Composite speed Initial speed Hz K500 K6 to K50000 DT504 Composite speed Target speed Hz K5000 K6 to K50000 DT506 Acceleration time ms K300 K1 to K32760 DT508 Deceleration time ms K300 K1 to K32760 DT510 X axis target value pulses K5000 K 8 388 608 to K 8 388 607 DT512 Y axis target value pulses K2000 K 8 388 608 to K 8 388 607 DT514 X axis component speed Initi...

Page 193: ... 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 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 requ...

Page 194: ...ely 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 Common to Ho...

Page 195: ... the type 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 maximu...

Page 196: ... 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 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 t...

Page 197: ...0 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 F0 th...

Page 198: ...hown below Data table DT100 Control code 1 K13 DT101 Duty 2 50 1 Specify the control code by setting the K constant K Frequency Hz Period ms K3 6 166 67 K4 7 5 133 33 K5 12 5 80 00 K6 25 40 00 K7 50 20 00 K8 100 10 00 K9 200 5 00 K10 400 2 50 K11 600 1 67 K12 800 1 25 K13 1 0 k 1 00 K14 1 2 k 0 83 K15 1 6 k 0 63 K16 2 0 k 0 50 K17 3 0 k 0 33 K18 4 8 k 0 21 2 Specify the duty by setting the K const...

Page 199: ...Chapter 9 Security Functions ...

Page 200: ... using an instruction SYS1 instruction Characters usable for password Digit number of password Usable characters 4 digit password 4 characters of the following 16 characters 0 to 9 and A to F 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 cann...

Page 201: ...re are following five statuses Item Settings 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 Protect Eight digit password and access is prohibited 8 digits Available to access Eight digit ...

Page 202: ...e below and click on the Settings button Item Settings Digit number Select 4 digits or 8 digits Operation Mode Select Protect 4 digits or 8 digits Input a password to be set 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 4 Click the OK button ...

Page 203: ...and click on the Settings button Item Settings 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 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 ...

Page 204: ... 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 2 Set the items in the table below and click on the Settings button Item Settings 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 protect...

Page 205: ...ord in the menu bar The Set PLC Password dialog box is displayed 2 Click the Force Cancel button A confirmation message is displayed 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 ...

Page 206: ...ion The password setting can be specified simultaneously for the PLC in which this function is set This function can be also set in a password protected PLC 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...

Page 207: ...e 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 Upload protection setting function If this function is valid the PLC will be in the upload protection state by downloading a program to th...

Page 208: ... the items in the table below and click on the Settings button Item Settings Digit number Select 8 digits Operation Mode Select Protect 8 digits password Enter a 8 digit password Setting of FP memory loader option Check the box of the function to use Limited distribution function Allow the download in case of same password Enable the upload protection setting Set that PLC cannot be uploaded Note T...

Page 209: ...ord is set and Set that PLC cannot be uploaded is set Note2 Note1 Download possible Download possible only for models with the same password Download impossible Note1 The upload protection setting is not available in FP memory loader Ver1 Note2 Although programs cannot be downloaded with FP memory loader Ver 2 or later only the upload protection setting is activated Status of PLC that program has ...

Page 210: ...or the settings on the FP0R control unit Status of security Security not set Upload protection 4 digit password 8 digit password Sets Cancels Upload protection A A A 4 digit password A A N A 8 digit password A A N A A Available N A Not available ...

Page 211: ...Chapter 10 Other Functions ...

Page 212: ... 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 ...

Page 213: ...ble 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...

Page 214: ...mpling Trace 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 TRACE Set the sampling rate time ...

Page 215: ...mode of the sampling configurations to TRACE Set the sampling rate time to 0 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 button stop by the Trigger Break in the menu or stop by the F156 instruction Reference...

Page 216: ...ut status at the time will be read out and set The input signal of X contact is retrieved at the timing of the normal I O update The time constant processing can be performed for the input other than X0 to XF add on cassettes or expansion units by the F182 FILTR instruction The timer instruction is not used for the timer processing in this equivalent circuit The time constant processing is invalid...

Page 217: ...Chapter 11 Self Diagnostic and Troubleshooting ...

Page 218: ...own in the table above 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 PLC Sy...

Page 219: ...s display dialog box is displayed automatically Check the contents of the self diagnosed error Status display dialog box If the error is an operation error the error address can be confirmed in this dialog box Key Point 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 chec...

Page 220: ...or Using FPWIN GR FPWIN Pro Click on the Clear Error button in the Status display dialog box Error code 43 and higher can be cleared In 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 An error can also be cleared by executing a self diagnostic error set instruction F148 ERR Key P...

Page 221: ...s too long Check the program 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 Be sure to check the fluctuation of the voltag...

Page 222: ...bly 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 If the power is properly supplied to the input terminal there is probably an abnormality in the input unit Please contact your dealer If the power is no...

Page 223: ...C 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 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 ...

Page 224: ...ng check 11 2 1 If ERROR ALARM LED is Flashing 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 All under Project or Check under Object on the menu bar As the dialog b...

Page 225: ...ch 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 regi...

Page 226: ...t 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 modified using an index register In this case index register modifies the address of data register DT0 However it may exceed the addressable range of the data register depending on the data in I0 If the value exceeds the rang...

Page 227: ...Chapter 12 Precautions During Programming ...

Page 228: ...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 I...

Page 229: ...n SET RST and OT instructions are used X0 to X2 are all on The output is determined by the final operation results If 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 Y0 with OT KP SET and RST instructions When X0 to X...

Page 230: ...tination will be DT10 and when I0 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 da...

Page 231: ... I0 Destination data register 1st 2nd 3rd 0 1 2 DT0 DT1 DT2 Inputting and outputting data based on a number specified by an input Example 1 Setting a timer number specified by a digital switch Convert the BCD timer number data in WX1 to binary and set it in index register I0 Convert the BCD timer set value in WX0 to binary and store in the timer set value area SV specified by contents of I0 Exampl...

Page 232: ...n 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 instruction which performs leading edge detection When RUN begins for example when the system is powered on the off on change of the exec...

Page 233: ...booted in the RUN mode if the trigger execution condition is already on If 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 relay which is off during the first scan and turns on at the second scan Example 1 DF leading edge differential instruction Exam...

Page 234: ...he 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 Example 1 Using the DF in...

Page 235: ... on or off Example 3 When X2 was on prior to X0 Y1 will not be on even if X0 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 examp...

Page 236: ...d 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...

Page 237: ...ge 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 se...

Page 238: ...ructions 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 Mode Instruction No Name Operation after the completion of rewriting during RUN FP0 compatibility mode F168 S...

Page 239: ... 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 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 Fun High level instructions If an instruction written in block a is det...

Page 240: ...tion 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 only writing and deletion of a single instruction is possible for a program with a step ladder area JP LOOP LBL Be sure to write the instruction for setting the loop number before LBL LOOP instructions Write in the order JP L...

Page 241: ...ate of contacts not specified will be determined by the operation 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...

Page 242: ...12 16 ...

Page 243: ...Chapter 13 Specifications ...

Page 244: ...minal and power terminal 500 V AC for 1 minute 500 V AC for 1 minute Insulation resistance Test voltage 500 V DC Tr output type Ry output type Between input terminals and output terminals Over 100 MΩ Over 100 MΩ Between output terminals and output terminals Between different commons Over 100 MΩ Between input terminals and power ground terminals Over 100 MΩ Over 100 MΩ Between output terminals and ...

Page 245: ...lue FP0R control unit FP0R C10 100 mA or less 15 9 mA or less FP0R C14 120 mA or less 21 1 mA or less FP0R C16 70 mA or less 21 1 mA or less 20 mA or less FP0R C32 FP0R T32 FP0R F32 90 mA or less 42 2 mA or less 40 mA or less FP0 FP0R expansion unit FP0 E8X 10 mA or less 37 6 mA or less FP0 E8R 10 mA or less 50 mA or less 18 8 mA or less FP0 E8YR 10 mA or less 100 mA or less FP0 E8YT P 15 mA or le...

Page 246: ...1760 points External output Y 1760 points Internal Relay R 4096 points Special Internal Relay R 224 points Link Relay L 2048 points Timer Counter T C 1024 points Factory default Timer 1008 points T0 to T1007 Counter 16 points C1008 to C1023 Data register DT 12315 words 32765 words Special data register DT 440 words DT90000 to DT90443 Link data register LD 256 words Index register I0 to ID 14 words...

Page 247: ...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 voltag...

Page 248: ... 0 Fullspeed Communication mode Computer link Slave COM port RS232C port Description Interface RS232C Transmission distance 15 m Baud rate 2400 4800 9600 19200 38400 57600 115200 bit s Communication method Half duplex communication Synchronous method Start stop synchronous system Communication format Data length 7 bits 8bits Parity None Even Odd Start code STX No STX End code CR CR LF None ETX Sto...

Page 249: ...e 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 Note3 The settings of the baud rate switches on the side of the unit and th...

Page 250: ... for the FP0R control unit is fixed Unit type Allocation points I O No C10 Input 6 points X0 to X5 Output 4 points Y0 to Y3 C14 Input 8 points X0 to X7 Output 6 points Y0 to Y5 C16 Input 8 points X0 to X7 Output 8 points Y0 to Y7 C32 T32 F32 Input 16 points X0 to XF Output 16 points Y0 to YF ...

Page 251: ... ch1 WX3 X30 to X3F WX5 X50 to X5F WX7 X70 to X7F Output 16 points WY2 Y20 to Y2F WY4 Y40 to Y4F WY6 Y60 to Y6F FP0 A D converter unit FP0 thermocouple unit FP0 A80 FP0 TC4 FP0 TC8 Input 16 points ch0 2 4 6 WX2 X20 to X2F WX4 X40 to X4F WX6 X60 to X6F Input 16 points ch1 3 5 7 WX3 X30 to X3F WX5 X50 to X5F WX7 X70 to X7F FP0 RTD unit FP0 RTD Input 16 points CH0 2 4 WX2 X20 to X2F WX4 X40 to X4F WX...

Page 252: ...024 words EV0 to EV1023 Data memory for storing the elapsed value during operation of a timer counter Stores by timer counter number Special data register DT 440 words DT90000 to DT90439 Data memory for storing specific data Various settings and error codes are stored Index register I 14 words I0 to ID Register can be used as an address of memory area and constants modifier Control Instruction poi...

Page 253: ... 20000h at 55 C 13 4 2 I O Link Unit Specifications AFP0732 Item Description Communication method Two wire half duplex communication Synchronous method Start stop synchronous system Transmission line Duplex cable twisted pair cable or VCTF 0 75 mm2 x 2C JIS or equivalent Transmission distance Total length Max 700 m when using twisted pair cable Max 400 m when using VCTF cable Baud rate 0 5Mbps No ...

Page 254: ...13 12 ...

Page 255: ...Chapter 14 Dimensions and Others ...

Page 256: ...14 2 14 1 Dimensions 14 1 1 C10 C14 Control Unit Terminal Block Unit mm Note As for the expansion unit refer to the dimensions only Target expansion units E8RS E16RS ...

Page 257: ...14 3 14 1 2 C10 C14 Control Unit Molex Connector Unit mm Note As for the expansion unit refer to the dimensions only Target expansion units E8RM E16RM ...

Page 258: ...14 4 14 1 3 C16 Control Unit MIL Connector Unit mm Note As for the expansion unit refer to the dimensions only Target expansion units E16X E16YT E16YP E16T E16P E8X E8YT E8YP ...

Page 259: ...14 5 14 1 4 C32 T32 F32 Control Unit MIL Connector Unit mm Note As for the expansion unit refer to the dimensions only Target FP0 expansion units E32T E32P ...

Page 260: ...14 6 14 1 5 Power Supply Unit Unit mm 14 1 6 I O Link Unit Unit mm 14 1 7 When Using DIN Rail Unit mm ...

Page 261: ...14 7 14 2 Cable Adapter Specifications 14 2 1 AFC8503 AFC8503S PC connection cable Unit mm 14 2 2 AFC85305 AFC8531 AFC8532 For extending for the tool port Unit mm ...

Page 262: ...14 8 ...

Page 263: ...Chapter 15 Appendix ...

Page 264: ...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 5 MEWNET W0 PC PLC link settings System registers 40 to 47 50 to 55 and 57 These settings are for using link relays and link registers f...

Page 265: ...hange 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 input settings tool port COM port and modem connection settings become effective when the mode is changed from PROG to RUN With regard to the modem connecti...

Page 266: ...T32 F32 0 0 to 64 11 Hold type area starting word number for PC PLC link relays for PC PLC link 1 T32 F32 64 64 to 128 12 Hold type area starting number for PC PLC link registers for PC PLC link 0 T32 F32 0 0 to 128 13 Hold type area starting number for PC PLC link registers for PC PLC link 1 T32 F32 128 128 to 256 Action on error 20 Disable or enable setting for duplicated output Disabled Disable...

Page 267: ...ssion size 0 0 to 127 words 46 PC PLC link switch flag Normal Normal reverse 47 Maximum unit number setting for MEWNET W0 PC PLC link 16 1 to 16 PC PLC link 1 set ting 50 Range of link relays used for PC PLC link 0 0 to 64 words 51 Range of link data registers used for PC PLC link 0 0 to 128 words 52 Starting word number for link relay transmission 64 64 to 127 53 Link relay transmission size 0 0 ...

Page 268: ...oes not set input X4 as high speed counter CH3 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 Controller input settings 2 High speed counter 401 High speed counter pulse output settings X6 to X7 CH4 Do not set input X6 as high speed counter CH4 Do not set input X6 as high speed counter In...

Page 269: ... 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 CH0 to CH3 When using the home return function of the pulse output always set the home input In that case X4 to X7 cannot be set as the high speed counter Note3 C16 type For performing the home return for the pulse output CH0 wi...

Page 270: ...unication mode setting Computer link Computer link General purpose serial communication PC PLC link MODBUS RTU Selection of modem connection Disabled Enabled Disabled 413 Communication format setting Data lenght bit 8 bits Parity check Odd Stop bit 1 bit 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 s...

Page 271: ...ut time constant setting 1 X0 to X3 1 ms None 0 1 ms 0 5 ms 1 ms 2 ms 4 ms 8 ms 16 ms 32 ms 64 ms 431 Controller input time constant setting 1 X4 to X7 432 Controller input time constant setting 2 X8 to XB C32 T32 F32 433 Controller input time constant setting 2 XC to XF C32 T32 F32 Note X6 and X7 is invalid for C10 ...

Page 272: ...ime a new error occurs R9009 Carry flag This is set if an overflow or underflow occurs in the calculation results and as a result of a shift system instruction being executed R900A Flag Turns on for an instant when the compared results become larger in the comparison instructions F60 to F63 R900B Flag Turns on for an instant when the compared results are equal in the comparison instructions F60 to...

Page 273: ...er initial pulse relay on type Turns on for only the first scan of a process after the boot at the step ladder control R9016 Not used R9017 Not used R9018 0 01 s clock pulse relay Repeats on off operations in 0 01 sec cycles R9019 0 02 s clock pulse relay Repeats on off operations in 0 02 s cycles R901A 0 1 s clock pulse relay Repeats on off operations in 0 1 s cycles R901B 0 2 s clock pulse relay...

Page 274: ...lay timer counter contacts R902A Interrupt enable flag Turns on while the external interrupt trigger is enabled by the ICTL instruction R902B Interrupt error flag Turns on when an interrupt error occurs R902C Sample point flag Sampling by the instruction 0 Sampling at constant time intervals 1 R902D Sampling trace end flag When the sampling operation stops 1 When the sampling operation starts 0 R9...

Page 275: ... flag during general purpose communication Turns on when the terminator is received during general purpose serial communication R9039 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 R903A Not used R903B Not ...

Page 276: ...ove mentioned instructions can be executed R9045 COM port SEND RECV instruction execution end flag Monitors if an abnormality has been detected during the execution of the F145 SEND or F146 RECV instructions as follows Off No abonormality detected On An abnormality detected communication error End code DT90124 R9046 Not used R9047 Not used R9048 Not used R9049 Not used R904A Not used R904B Not use...

Page 277: ...g properly in 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 R9068 Unit No 9 Turns on when Unit No 9 is communicating properly in 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 R9069 Unit No 10 Turns on when Unit No 10 is communicating properly in PC PLC link 0 mode...

Page 278: ...n the PROG mode R9077 Unit No 8 Turns on when Unit No 8 is in the RUN mode Turns off when Unit No 8 is in the PROG mode R9078 Unit No 9 Turns on when Unit No 9 is in the RUN mode Turns off when Unit No 9 is in the PROG mode R9079 Unit No 10 Turns on when Unit No 10 is in the RUN mode Turns off when Unit No 10 is in the PROG mode R907A Unit No 11 Turns on when Unit No 11 is in the RUN mode Turns of...

Page 279: ...ing properly in PC PLC link 1 mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link 1 mode R9088 Unit No 9 Turns on when Unit No 9 is communicating properly in PC PLC link mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link mode R9089 Unit No 10 Turns on when Unit No 10 is communicating properly in PC PLC link 1 mode T...

Page 280: ...n the PROG mode R9097 Unit No 8 Turns on when Unit No 8 is in the RUN mode Turns off when Unit No 8 is in the PROG mode R9098 Unit No 9 Turns on when Unit No 9 is in the RUN mode Turns off when Unit No 9 is in the PROG mode R9099 Unit No 10 Turns on when Unit No 10 is in the RUN mode Turns off when Unit No 10 is in the PROG mode R909A Unit No 11 Turns on when Unit No 11 is in the RUN mode Turns of...

Page 281: ...116 to R911F Not used R9120 Pulse output instruction flag PLS CH0 Turns on while the pulses are being output using F171 SPDH F172 PLSH F173 PWMH F174 SP0H F175 SPSH F177 HOME instructions R9121 PLS CH1 R9122 PLS CH2 R9123 PLS CH3 R9124 to R912F Not used R9130 Pulse output control flag PLS CH0 Turns on the channel of pulse output during the control using F166 HC1S F167 HC1R instructions Turns off w...

Page 282: ...N A N A DT90003 Not used N A N A DT90004 Not used N A N A DT90005 Not used N A N A DT90006 Not used N A N A DT90007 Not used N A N A DT90008 Not used N A N A DT90009 Not used N A N A DT90010 Extension right side I O verify error unit 0 to 3 When the state of installation of FP0 expansion I O unit has changed since the power was turned on the bit corresponding to the unit No will turn on Monitor us...

Page 283: ...ing operation the address where the first operation error occurred is stored Monitor the address using decimal display A N A DT90018 Operation error address latest type The address where an operation error occurred is stored Each time an error occurs the new address overwrites the previous address A N A DT90019 2 5 ms ring counter Note1 The data stored here is increased by one every 2 5 ms H0 to H...

Page 284: ... 11 The mask conditions of interrupts using the instruction can be stored here Monitor using binary display A N A DT90026 Not used N A N A DT90027 Periodical interrupt interval INT24 The value set by ICTL instruction is stored K0 periodical interrupt is not used K1 to K3000 0 5ms to 1 5s or 10ms to 30s A N A DT90028 Sample trace interval K0 Sampling by the SMPL instruction K1 to K3000 x 10 ms 10 m...

Page 285: ...96 SRC instruction is executed A N A DT90039 Not used N A N A DT90040 Not used N A N A DT90041 Not used N A N A DT90042 Not used N A N A DT90043 Not used N A N A DT90044 Not used N A N A DT90045 Not used N A N A DT90046 Not used N A N A DT90047 Not used N A N A DT90048 Not used N A N A DT90049 Not used N A N A DT90050 Not used N A N A DT90051 Not used N A N A DT90052 High speed counter control fla...

Page 286: ...ddress Name Description Read ing Writ ing DT90052 Pulse output control flag A value can be written with F0 MV instruction to reset the high speed counter disable counting continue or clear high speed counter instruction Control code setting A A ...

Page 287: ...ek data for the clock calender is stored The built in clock calender will operate correctly through the year 2099 and supports leap years The clock calender can be set by writing a value using a programming tool software or a program that uses the F0 MV instruction see example for DT90058 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 t...

Page 288: ...nged with the programming tool software the time will be set when the new values are written Therefore it is 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 DT90058 is cleared to 0 Example Correct to 0 seconds with X0 on At the t...

Page 289: ...adder process 64 to 79 DT90065 Step ladder process 80 to 95 DT90066 Step ladder process 96 to 111 DT90067 Step ladder process 112 to 127 DT90068 Step ladder process 128 to 143 DT90069 Step ladder process 144 to 159 DT90070 Step ladder process 160 to 175 DT90071 Step ladder process 176 to 191 DT90072 Step ladder process 192 to 207 DT90073 Step ladder process 208 to 223 DT90074 Step ladder process 2...

Page 290: ... ladder process 368 to 383 DT90084 Step ladder process 384 to 399 DT90085 Step ladder process 400 to 415 DT90086 Step ladder process 416 to 431 DT90087 Step ladder process 432 to 447 DT90088 Step ladder process 448 to 463 DT90089 Step ladder process 464 to 479 DT90090 Step ladder process 480 to 495 DT90091 Step ladder process 496 to 511 DT90092 Step ladder process 512 to 527 DT90093 Step ladder pr...

Page 291: ...tep ladder process 704 to 719 DT90105 Step ladder process 720 to 735 DT90106 Step ladder process 736 to 751 DT90107 Step ladder process 752 to 767 DT90108 Step ladder process 768 to 783 DT90109 Step ladder process 784 to 799 DT90110 Step ladder process 800 to 815 DT90111 Step ladder process 816 to 831 DT90112 Step ladder process 832 to 847 DT90113 Step ladder process 848 to 863 DT90114 Step ladder...

Page 292: ...n the register x 2 5ms DT90146 The minimum interval between two sending operations value in the register x 2 5ms DT90147 The maximum interval between two sending operations value in the register x 2 5ms DT90148 MEWNET W0 PC PLC link 1 status The number of times the receiving operation is performed A N A DT90149 The current interval between two receiving operations value in the register x 2 5ms DT9...

Page 293: ...PLC inter link address A N A 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 No of times underfined commands have been received DT90175 No of times sum check errors have occurred during reception DT90176 No of times format errors have occurred in received data DT90177 No of times tran...

Page 294: ...s 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 A N A DT90221 System regis ter 42 and 43 DT90222 System regis ter 44 and 45 DT90223 System regis ter 46 and 47 DT90224 PC PLC link Unit station No 2 or 10 System regis ter 40 and 41 D...

Page 295: ...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 A N A DT90241 System regis ter 42 and 43 DT90242 System regis ter 44 and 45 DT90243 System regis ter 46 and 47 DT90244...

Page 296: ... main unit A A Note DT90309 Higher words A A Note DT90310 Target value area Lower words The target value is set when instructions F166 HC1S and F167 HC1R are executed A A Note DT90311 Higher words A A Note DT90312 Elapsed value area Lower words HSC CH3 Counting area for input X3 of the main unit A A Note DT90313 Higher words A A Note DT90314 Target value area Lower words The target value is set wh...

Page 297: ... A DT90336 Not used N A N A DT90337 Not used N A N A DT90338 Not used N A N A DT90339 Not used N A N A DT90340 Not used N A N A DT90341 Not used N A N A DT90342 Not used N A N A DT90343 Not used N A N A DT90344 Not used N A N A DT90345 Not used N A N A DT90346 Not used N A N A DT90347 Not used N A N A DT90348 Not used N A N A DT90349 Not used N A N A DT90350 Not used N A N A DT90351 Not used N A N...

Page 298: ...DT90375 HSC CH5 A N A DT90376 Not used N A N A DT90377 Not used N A N A DT90378 Not used N A N A DT90379 Not used N A N A DT90380 Control flag monitor area Transistor output type only PLS CH0 When pulse output control is executed by F0 MV S DT90052 instruction the setting value for the target CH is stored in each CH A N A DT90381 PLS CH1 A N A DT90382 PLS CH2 A N A DT90383 PLS CH3 A N A DT90384 No...

Page 299: ...ords If the elapsed value corsses over this position when changing the speed acceleration cannot be performed A N A DT90409 Higher words A N A DT90410 Elapsed value area Lower words PLS CH1 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 A A DT90411 Hig...

Page 300: ...ords If the elapsed value corsses over this position when changing the speed acceleration cannot be performed A N A DT90429 Higher words A N A DT90430 Elapsed value area Lower words PLS CH3 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 A A DT90431 Hig...

Page 301: ... a Form A normally open contact in parallel only for one scan when the leading edge of the trigger is detected 2 2 2 Trailing edge OR OR Connects a Form A normally open contact in parallel only for one scan when the trailing edge of the trigger is detected 2 2 2 Leading edge out OT Outputs the operated result to the specified output only for one scan when leading edge of the trigger is detected fo...

Page 302: ...d timer contact a is set to on 4 5 3 Auxiliary timer 16 bit F137 STMR After set value S x 0 01 seconds the specified output and R900D are set to on 5 Auxiliary timer 32 bit F183 DSTM After set value S x 0 01 seconds the specified output and R900D are set to on 7 Time constant processing F182 Executes the filter processing for the specified input 9 Counter CT Decrements from the preset value n 3 4 ...

Page 303: ... the label instruction specified by S and continues from there 3 1 Loop Label LOOP LBL The program jumps to the label instruction and continues from there the number of jumps is set in S 4 5 3 1 Break BRK Stops program execution when the predetermined trigger turns on in the TEST RUN mode only 1 Available Not available Not available partially 1 In the FP2 FP2SH FP10SH when internal relay WR240 or ...

Page 304: ...dder area 1 Subroutine instructions Subroutine call CALL When the trigger is on Executes the subroutine When the trigger is off Not execute the subroutine The output in the subroutine is maintained 2 3 2 Output off type subroutine call FCAL When the trigger is on Executes the subroutine When the trigger is off Not execute the subroutine But the output in the subroutine is cleared 4 5 2 Subroutine ...

Page 305: ...sed on the contents specified by the character constant MEWTOCOL COM response control Change the communication conditions of the COM port or tool port for MEWTOCOL COM based on the contents specified by the character constant High speed counter operation mode changing Change the operation mode of the high speed counter based on the contents specified by the character constant 3 3 System registers ...

Page 306: ...paring two 16 bit data in the comparative condition S1 S2 5 AN Connects a Form A normally open contact serially by comparing two 16 bit data in the comparative condition S1 S2 or S1 S2 5 AN Connects a Form A normally open contact serially by comparing two 16 bit data in the comparative condition S1 S2 5 AN Connects a Form A normally open contact serially by comparing two 16 bit data in the compara...

Page 307: ...e comparative condition S1 1 S1 S2 1 S2 9 AND Connects a Form A normally open contact serially by comparing two 32 bit data in the comparative condition S1 1 S1 S2 1 S2 or S1 1 S1 S2 1 S2 9 AND Connects a Form A normally open contact serially by comparing two 32 bit data in the comparative condition S1 1 S1 S2 1 S2 9 AND Connects a Form A normally open contact serially by comparing two 32 bit data...

Page 308: ... S1 S2 1 S2 9 1 1 ANF Connects a Form A normally open contact serially by comparing two 32 bit data in the comparative condition S1 1 S1 S2 1 S2 or S1 1 S1 S2 1 S2 9 1 1 ANF Connects a Form A normally open contact serially by comparing two 32 bit data in the comparative condition S1 1 S1 S2 1 S2 9 1 1 ANF Connects a Form A normally open contact serially by comparing two 32 bit data in the comparat...

Page 309: ...Two 32 bit data move DMV2 PDMV2 S1 S2 D S1 1 S1 D 1 D S2 1 S2 D 3 D 2 11 F10 P10 Block move BKMV PBKMV S1 S2 D The data between S1 and S2 is transferred to the area starting at D 7 F11 P11 Block copy COPY PCOPY S D1 D2 The data of S is transferred to the all area between D1 and D2 7 F12 Data read from EEP ROM ICRD S1 S2 D The data stored in the expansion memory of the EEP ROM specified by S1 and S...

Page 310: ... PD S1 S2 D S1 1 S1 S2 1 S2 D 1 D 11 F25 P25 16 bit data subtraction P S D D S D 5 F26 P26 32 bit data subtraction D PD S D D 1 D S 1 S D 1 D 7 F27 P27 16 bit data subtraction P S1 S2 D S1 S2 D 7 F28 P28 32 bit data subtraction D PD S1 S2 D S1 1 S1 S2 1 S2 D 1 D 11 F30 P30 16 bit data multiplication P S1 S2 D S1 X S2 D 1 D 7 F31 P31 32 bit data multiplication D PD S1 S2 D S1 1 S1 X S2 1 S2 D 3 D 2...

Page 311: ...51 8 digit BCD data multiplication DB PDB S1 S2 D S1 1 S1 X S2 1 S2 D 3 D 2 D 1 D 11 F52 P52 4 digit BCD data division B PB S1 S2 D S1 S2 quotient D remainder DT9015 7 F53 P53 8 digit BCD data division DB PDB S1 S2 D S1 1 S1 S2 1 S2 quotient D 1 D remainder DT9016 DT9015 11 F55 P55 4 digit BCD data increment B 1 PB 1 D D 1 D 3 F56 P56 8 digit BCD data increment DB 1 PDB 1 D D 1 D 1 D 1 D 3 F57 P57...

Page 312: ...ecking the data specified by S2 and S3 and stores it in D The calculation method is specified by S1 9 F71 P71 Hexadecima l data ASCII code HEXA PHEXA S1 S2 D Converts the hexadecimal data specified by S1 and S2 to ASCII code and stores it in D Example HABCD H 42 41 44 43 7 B A D C F72 P72 ASCII code Hexadeci mal data AHEX PAHEX S1 S2 D Converts the ASCII code specified by S1 and S2 to hexadecimal ...

Page 313: ... in D 1 D 7 F83 P83 8 digit BCD data 32 bit binary data DBIN PDBIN S D Converts the eight digits of BCD data specified by S 1 S to 32 bits of binary data and stores it in D 1 D 7 F84 P84 16 bit data invert com plement of 1 INV PINV D Inverts each bit of data of D 3 F85 P85 16 bit data complement of 2 NEG PNEG D Inverts each bit of data of D and adds 1 inverts the sign 3 F86 P86 32 bit data complem...

Page 314: ...he n bits of D to the right 5 F101 P101 Left shift of multiple bits n bits in a 16 bit data SHL PSHL D n Shifts the n bits of D to the left 5 F102 P102 Right shift of n bits in a 32 bit data DSHR PDSHR D n Shifts the n bits of the 32 bit data area specified by D 1 D to the right 5 F103 P103 Left shift of n bits in a 32 bit data DSHL PDSHL D n Shifts the n bits of the 32 bit data area specified by ...

Page 315: ...5 P125 32 bit data right rotate DROR PDROR D n Rotates the number of bits specified by n of the double words data 32 bits specified by D 1 D to the right 5 F126 P126 32 bit data left rotate DROL PDROL D n Rotates the number of bits specified by n of the double words data 32 bits specified by D 1 D to the left 5 F127 P127 32 bit data right rotate with carry flag R9009 data DRCR PDRCR D n Rotates th...

Page 316: ...ta receive RECV PRECV S1 S2 N D Receives the data to another station in the network MEWNET via link unit 9 F145 P145 Data send SEND S1 S2 D N Sends the data to the slave station as the MOD bus master via COM port 9 3 F146 P146 Data receive RECV S1 S2 N D Receives the data from the slave station as the MOD bus master via COM port 9 3 F145 P145 Data send SEND S1 S2 D N Sends the data to the slave st...

Page 317: ...PU COM port or MCU COM port 7 2 2 F161 P161 MCU serial port reception MRCV PMRCV S D1 D2 Data is received from external equipment via the COM port of the specified MCU 7 2 2 BIN arithmetic instruction F160 P160 Double word 32 bit data square root DSQR PDSQR S D S D 7 High speed counter Pulse output instruction for FP0 FP e F0 High speed counter and Pulse output controls MV S DT9052 Performs high s...

Page 318: ...ransfers S 1 S to high speed counter and Pulse output elapsed value area DT90045 DT90044 7 DT90300 D Transfers value in high speed counter and Pulse output elapsed value area DT90045 DT90044 to D 1 D 7 F165 Cam control CAM0 S Controls cam operation on off patterns of each cam output according to the elapsed value of the high speed counter 3 F166 Target value much on with channel specification High...

Page 319: ...gnated data table so that the path to the target position forms a straight line 5 F176 Pulse output Circular interpolation SPCH S n Pulses are output from channel in accordance with the designated data table so that the path to the target position forms an arc 5 F177 Pulse output Home return HOME S n Performs the home return according to the specified data table 7 F178 Input pulse measurement No o...

Page 320: ...cification Trapezoidal control and home return SPDH S n Positioning pulses are output from the specified channel in accordance with the contents of the data table that starts with S 5 F172 Pulse output with channel specification JOG operation PLSH S n Pulse strings are output from the specified output in accordance with the contents of the data table that starts with S 5 F173 PWM output with chann...

Page 321: ... S1 1 S1 OR S2 1 S2 D 1 D 12 F217 P217 32 bit data XOR DXOR PDXOR S1 S2 D S1 1 S1 12 AND S2 1 S2 OR S1 1 S1 AND S2 1 S2 D 1 D F218 P218 32 bit data XNR DXNR PDXNR S1 S2 D S1 1 S1 12 AND S2 1 S2 OR S1 1 S1 AND S2 1 S2 D 1 D F219 P219 Double word 32 bit data unites DUNI PDUNI S1 S2 S3 D S1 1 S1 AND S3 1 S3 16 OR S2 1 S2 AND S3 1 S3 D 1 D Data conversion instructions F230 P230 Time data second conver...

Page 322: ...ed character strings and output the judgment results to a special internal relay 10 F258 P258 Character string coupling SADD S1 S2 D These instructions couple one character string with another 12 F259 P259 Number of characters in a character string LEN S D These instructions determine the number of characters in a character string 6 F260 P260 Search for character string SSRC S1 S2 D The specified ...

Page 323: ... data 32 bit DMEAN PDMEAN S1 S2 D The total value and the mean value of the double word data with sign from the area selected with S1 to S2 are obtained and stored in the D 8 1 F277 P277 Sort word data 16 bit SORT PSORT S1 S2 S3 The word data with sign from the area specified by S1 to S2 are sorted in ascending order the smallest word is first or descending order the largest word is first 8 1 F278...

Page 324: ...on instructions F300 P300 BCD type sine operation BSIN PBSIN S D SIN S1 1 S1 D 1 D 6 F301 P301 BCD type cosine operation BCOS PBCOS S D COS S1 1 S1 D 1 D 6 F302 P302 BCD type tangent operation BTAN PBTAN S D TAN S1 1 S1 D 1 D 6 F303 P303 BCD type arcsine operation BASIN PBASIN S D SIN 1 S1 1 S1 D 1 D 6 F304 P304 BCD type arccosine operation BACOS PBACOS S D COS 1 S1 1 S1 D 1 D 6 F305 P305 BCD type...

Page 325: ... S D S 1 S D 1 D 10 1 F325 P325 16 bit integer data to floating point type data conversion FLT PFLT S D Converts the 16 bit integer data with sign specified by S to real number data and the converted data is stored in D 6 1 F326 P326 32 bit integer data to floating point type data conversion DFLT PDFLT S D Converts the 32 bit integer data with sign specified by S 1 S to real number data and the co...

Page 326: ... FINT PFINT S D The decimal part of the real number data specified in S 1 S is rounded down and the result is stored in D 1 D 8 1 F334 P334 Floating point type data round ding the first decimal point off FRINT PFRINT S D 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 8 1 F335 P335 Floating point type data sign changes F PF S D The real num...

Page 327: ...loating point type data mini mum value FMIN PFMIN S1 S2 D Searches the minimum value in the real number data table between the area selected with S1 and S2 and stores it in the D 1 D The address relative to S1 is stored in D 2 8 F352 P352 Floating point type data total and mean values FMEAN PFMEAN S1 S2 D The total value and the mean value of the real number data from the area selected with S1 to ...

Page 328: ...tion 6 Index register bank processing instructions F410 P410 Setting the index register bank number SETB PSETB n Index register I0 to ID bank number change over 4 F411 P411 Changing the index register bank number CHGB PCHGB n Index register I0 to ID bank number change over with remembering preceding bank number 4 F412 P412 Restoring the index register bank number POPB PPOPB Changes index register ...

Page 329: ... 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 ...

Page 330: ... 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 ...

Page 331: ...P and LBL one instruction is either missing or in an incorrect position Change to PROG mode and enter the two instructions which must be used in a pair in the correct positions A A A A A A A A E4 Parameter mismatch error Stops An instruction has been written which does not agree with system register settings For example the number setting in a program does not agree with the timer counter range se...

Page 332: ... the same trigger continuously Correct the program so that the high level instructions executed in every scan and only at the leading edge are triggered separately A A A A A A E8 High level instruction operand combina tion error Stops 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 co...

Page 333: ... 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 contact your dealer 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 ...

Page 334: ...U system Manual A A E34 I O status error Stops An abnormal unit is installed FPΣ FP0R FP0R 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 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 n...

Page 335: ...d that has the program properly recorded and execute the read once again A A E40 I O error Sele ctable Abnormal I O unit FPΣ 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 operat...

Page 336: ... 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 possible in FPWIN GR Pro at I O error in the status display function A A A A A E42 I O unit verify error Selec table I O unit Expansion unit wiring condition has changed compared to that at time of power up Check the...

Page 337: ... station connection exceeds the setting of the system register 35 Selection of operation status using system register25 to continue operation set 1 to stop operation set 0 A A A E45 Operation error Selec table 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 K0 The address...

Page 338: ...nue operation set K1 to stop operation set K0 A A A E47 MEW NET F attribute error Selec table 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 regi...

Page 339: ...on Charge or replace the backup battery of IC memory card The contents of the IC memory card cannot be guaranteed A A E55 IC memory card back up battery error Cont inues The voltage of the backup battery for IC memory card lowers 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 A A E56 Incompati ble IC memo...

Page 340: ...t supported 43 Multiple frames procedure error A different command was received when processing multiple frames 50 Link setting error A route number that does not exist was specified Verify the route number by designating the transmission station 51 Transmission time out error Transmission to another device not possible because transmission buffer is congested 52 Transmit disable error Transmissio...

Page 341: ...error There was an error in the code format of the address data Also when exceeded or insufficient of address data there was a mistake in the range designation 67 No program error and No data error 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 68 Rewrite during RUN error When inputting with pr...

Page 342: ...ds the timer counter elapsed value Write timer counter elapsed value area WK Writes the timer counter elapsed value Register or Reset contacts monitored MC Registers the contact to be monitored Register or Reset data monitored MD Registers the data to be monitored Monitoring start MG Monitors a registered contact or data using the code MC or MD Preset contact area fill command SC Embeds the area o...

Page 343: ...000 0001 0010 0000 0000 0001 0011 0000 0000 0001 0100 0000 0000 0001 0101 16 17 18 19 20 21 22 23 0010 0011 0012 0013 0014 0015 0016 0017 00000000 00010000 00000000 00010001 00000000 00010010 00000000 00010011 00000000 00010100 00000000 00010101 00000000 00010110 00000000 00010111 0000 0000 0001 0110 0000 0000 0001 0111 0000 0000 0001 1000 0000 0000 0001 1001 0000 0000 0010 0000 0000 0000 0010 000...

Page 344: ...15 82 15 7 ASCII Codes ...

Page 345: ... Desceiption of changes ARCT1F475E ARCT1F475E 1 ARCT1F475E 2 ARCT1F475E 3 May 2009 Sep 2009 Aug 2011 Jul 2013 First Edition 2nd Edition 3rd Edition Addition FP0R Control Unit RS485 Type FP0R Expansion Unit Error correction 4th Edition ...

Page 346: ......

Page 347: ......

Page 348: ......

Reviews: