Table of Contents

Advertisement

Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com

Advertisement

Table of Contents
loading

Summary of Contents for Panasonic FP-X0 L14R

  • Page 1 Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 2 It could lead to an electric shock. Copyright / Trademarks -This manual and its contents are copyrighted. Panasonic Electric -You may not copy this manual, in whole or part, without written consent of Works SUNX Co., Ltd.
  • Page 3: Table Of Contents

    Table of Contents Difference in Specifications Between FP-X0 Models Before You Start Programming Tool Restrictions Unit Types and Restrictions ................ 1-1 1.1 Unit Types ....................1-2 1.2 Restrictions on Unit Combinations ............1-4 1.3 Programming Tools .................. 1-7 Specifications and Functions of Control Unit ..........2-1 2.1 Parts and Functions .................
  • Page 4 High-speed Counter, Pulse Output and PWM Output Functions ....7-1 7.1 Overview of Each Functions ..............7-2 7.2 Function Specifications and Restricted Items ........... 7-4 7.3 High-speed Counter Function ..............7-6 7.4 Pulse Output Function ................7-14 7.5 PWM Output Function ................7-35 Security Functions ..................
  • Page 5 Difference in Specifications Between FP-X0 Models The following tables show the main differences between each FP-X0 models. Check those differences thoroughly before use. Comparison of hardware specifications Item Service power supply for None 24V DC 0.3 A 24V DC 0.3 A 24V DC 0.3 A input 14 points...
  • Page 6 Comparison of high-speed counter and pulse output specifications Item L14 / L30 L40 / L60 Single-phase 4 chs or Single-phase 4 chs or 2-phase 2 chs 2-phase 2 chs High-speed counter Single-phase: Max. 20 kHz Single-phase: Max. 50 kHz 2-phase: Max. 20 kHz 2-phase: Max.
  • Page 7: Before You Start

    Before You Start Operating environment (Use the unit within the range of the general specifications when installing) *Ambient temperatures:0 ~ +55 ℃ *Ambient humidity: 10% to 95% RH (at 25°C, non-condensing) *Keep the height below 2000m. *For use in pollution Degree 2 environment. *Do not use it in the following environments.
  • Page 8 Before entering a program Be sure to perform a program clear operation before entering a program. Operation procedure when using FPWIN GR Ver.2 Select “Online Edit Mode” on the FPWIN GR “On line” menu. Select “Clear Program” on the “Edit” menu. When the confirmation dialog box is displayed, click on “Yes”...
  • Page 9: Programming Tool Restrictions

    Programming Tool Restrictions Restrictions on usable programming tools depending on the units Type of unit Type of programming tool AFPX0 Used FPWIN GR Ver.2 (Ver. 2.91 or later) Windows software FPWIN GR Ver.1 Not used Windows software Used FPWIN Pro Ver.6 Conforms to IEC61131-3 (Ver.
  • Page 10 Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 11: Unit Types And Restrictions

    Chapter 1 Unit Types and Restrictions Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 12: Unit Types

    1.1 Unit Types 1.1.1 FP-X0 Control Units A: Available N/A: Not available Specifications Transistor COM port Product No. Relay Analog Clock/ (NPN) Expansion (RS485 input output input calender output port) AFPX0L14R 2 points 4 points points AFPX0L30R 4 points points points AFPX0L40R 4 points...
  • Page 13 1.1.3 FP-X Expansion FP0 Adapter (Can be added to L40/L60 only) Appearance Name Specifications Product No. FP-X Expansion FP0 adapter (with 8 For connecting FP0 expansion unit to cm expansion AFPX-EFP0 control unit cable, power supply cable) 1.1.4 Related Parts Appearance Name Description...
  • Page 14: Restrictions On Unit Combinations

    1.2 Restrictions on Unit Combinations 1.2.1 Restrictions on FP-X Expansion Unit (For L40/L60 only) Restrictions on type of FP-X0 control units Up to three FP-X expansion units can be connected to FP-X0 L40 or L60 control unit. The maximum number of points when installing expansion units is as below. Controllable I/O points Number of I/O points when Number of I/O points when...
  • Page 15 Note: Restrictions on installing AFPX-E16/E14: Target models: FP-X E14YR expansion unit, FP-X E16R expansion unit, Fp-X 16X expansion unit (Ver.2 or older), FP-X E16T expansion unit (Ver.2 or older), FP-X E16P expansion unit (Ver.2 or older) Restriction on the length of FP-X expansion cable When using an expansion cable AFPX-EC30 (30 cm type) or AFPX-EC80 (80 cm type) sold separately, the total length of the expansion cables should be within 160 cm.
  • Page 16 Restrictions on Using Expansion FP0 Adapter (For L40/L60 only) 1.2.2 Restrictions on type of FP-X0 control units Only one expansion FP0 adapter can be connected to FP-X0 L40 or L60 control unit. Restrictions on installation positions of Expansion FP0 adapter When connecting the expansion FP0 adapter to FP-X0 L40 or L60 control unit, only one unit can be connected at the last position of the expansion bus.
  • Page 17: Programming Tools

    1.3 Programming Tools 1.3.1 Software Environment and Suitable Cable Standard ladder diagram tool software FPWIN-GR Ver.2 Hard disk Type of software OS (Operating system) Product No. capacity Windows98 Full type AFPS10520 WindowsMe FPWIN GR Ver.2 40MB or Windows2000 English- WindowsXP more Upgrade language menu...
  • Page 18 Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 19: Specifications And Functions Of Control Unit

    Chapter 2 Specifications and Functions of Control Unit Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 20: Parts And Functions

    2.1 Parts and Functions 2.1.1 Parts and Functions ○ Status indicator LEDs These LEDs display the current mode of operation or the occurrence of an error. LED and operation status Lights when in the RUN mode and indicates that the program is being executed.
  • Page 21 ○ RUN/PROG. mode switch This switch is used to change the operation mode of the PLC. Switch position Operation mode This sets the RUN mode. The program is executed is executed and operation RUN (upward) begins. PROG. (downword) This sets the PROG. mode. The operation stops. •...
  • Page 22: Power Supply Specifications

    2.2 Power Supply Specifications 2.2.1 AC Power Supply Item Specifications Rated voltage 100 to 240 V AC Voltage regulation range 85 to 264 V AC L14: 35A or less (at 240 V AC, 25 C) Inrush current L30/L40/L60: 40A or less (at 240 V AC, 25 C) Momentary power off time 10 ms (when using 100 V AC) Frequency...
  • Page 23: Input/Output Specifications

    2.3 Input/Output Specifications 2.3.1 Input Specifications Item Description Insulation method Optical coupler Rated input voltage 24V DC Operating voltage range 21.6 to 26.4V DC X0 to X3 Approx. 3.5 mA Rated input current From X4 Approx. 4.3 mA 8 points/common (L14R), 16 points/common (L30R) 24 points/common (L40R), 16 points/common x 2 (L60R) Input points per common (Either the positive or negative of the input power supply...
  • Page 24 2.3.2 Output Specifications (L14: Y0 to Y1, L30/L40/L60: Y0 to Y3) Transistor (NPN) output Item Description Insulation method Optical coupler Output type Open collector Rated load voltage 5 to 24 V DC Allowable load voltage range 4.75 to 26.4 V DC Max.
  • Page 25 2.3.3 Output Specifications (L14: From Y2, L30/L40/L60: From Y4) Item Description Insulation method Relay insulation Output type 1a output (Relay cannot be replaced) Rated control capacity 2 A 250 V AC, 2 A 30 V DC (per point) Note) (Resistance load) 1 point/common x 2, 2 points/common x 1 (L14) 2 points/common x 1, 4 points/common x 2 (L30) Output points per common...
  • Page 26: Analog Input Specifications (For L40 And L60 Types)

    2.4 Analog Input Specifications (For L40 and L60 types) 2.4.1 Common Specifications to Analog Input Overview Two-channel analog inputs are available for FP-X0. You can select potentiometer (volume) input, thermister input or voltage input for each channel. Converted digital values are stored in special data registers. Total accuracy Input Specifications...
  • Page 27 2.4.2 Connection of Analog Input Cable Precautions on wiring Note the following points, and make connection using the cable supplied with the unit. The wiring should be shorther than 3 m. When removing the wire's insulation, be careful not to scratch the core wire. Make sure stress is not applied to the cable.
  • Page 28 2.4.4 Thermister Input Connect a thermister and resistor to the analog input connector externally to load the change in the resistance values of thermistor as analog input values. Circuit diagram Do not connect anything with the 5/6 and 7/8 pins. It is recommended to use approx.
  • Page 29 Conversion program using Scaling instruction (F282) Appropriately interpolated data can be obtained from nonlinear data by creating the data table of digital values after conversion and temperature and executing the scaling instruction (F282). DT90044 : Special data register (Digital value after thermister input conversion) : Beginning of data table DT100...
  • Page 30: Terminal Layout

    2.5 Terminal Layout AFPX0L14R AFPX0L30R Note) Do not connect the service power supply terminals for input and other DC power supply in parallel. Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 31 AFPX0L40R Note1) Do not connect anything to the unused teminals NC. Note2) Do not connect the service power supply terminals for input and other DC power supply in parallel. AFPX0L40MR Note) Do not connect the service power supply terminals for input and other DC power supply in parallel. Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 32 AFPX0L60R Note1) Do not connect anything to the unused teminals NC. Note2) Do not connect the service power supply terminals for input and other DC power supply in parallel. AFPX0L60MR Note) Do not connect the service power supply terminals for input and other DC power supply in parallel. Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 33: Specifications Of Expansion Units And Expansion Fp0 Adapter

    Chapter 3 Specifications of Expansion Units and Expansion FP0 Adapter Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 34: Fp-X Expansion Units

    3.1 FP-X Expansion Units 3.1.1 Parts Names and Functions FP-X E16 exapansion I/O unit FP-X E30 exapansion I/O unit ○ Input and Output indicator LEDs Indicates the on/off status of the input and output. ○ Input terminal block This is the input terminal. A solderless terminal for M3 can be used. ○...
  • Page 35 3.1.2 Power Supply Specifications AC Power Supply Specifications Item Rated voltage 100 to 240 V AC Voltage regulation range 85 to 264 V AC 40 A or less (at 240 V AC, 25 C) Inrush current Momentary power off time 10 ms (when using 100 V AC) Frequency 50/60 Hz (47 to 63 Hz)
  • Page 36 3.1.3 Input and output specifications Input specifications Description Item Insulation method Optical coupler Rated input voltage 24 V DC Operating voltage range 21.6 to 26.4 V DC Rated input current Approx. 4.3 mA 8 points/common 16 points/common Input points per common (Either the positive or negative of input power supply can be connected to common terminal.) Min.
  • Page 37 Transistor type (NPN) Description Item Insulation method Optical coupler Output type Open collector Rated load voltage 5 to 24 V DC Allowable load voltage range 4.75 to 26.4 V DC Max. load current 0.5 A Max. inrush current 1.5 A 8 points/Common, Input points per common 8 points/Common...
  • Page 38 Transistor type (PNP) Description Item Insulation method Optical coupler Output type Open collector Rated load voltage 24 V DC Allowable load voltage range 21.6 to 26.4 V DC Max. load current 0.5 A Max. inrush current 1.5 A 8 points/Common, Input points per common 8 points/Common 6 points/Common...
  • Page 39 3.1.4 Terminal layout AFPX-E16R AFPX-E16T AFPX-E16P AFPX-E16X AFPX-E14YR Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 40 AFPX-E30R AFPX-E30RD AFPX-E30T Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 41 AFPX-E30P AFPX-E30TD AFPX-E30PD Input terminal: Each COM terminal in the same terminal block is connected within the unit. Output terminal: Each COM terminal(CO, C1 …) of Ry type is separate. Each power supply terminal of Tr type is separate. Use them in the range surrounded by the bold black lines.
  • Page 42: Fp-X Expansion Fp0 Adapter

    3.2 FP-X Expansion FP0 Adapter 3.2.1 Parts Names, Functions and Specifications FP-X expansion FP0 adapter (AFPX-EFP0) ○ Status indicator LEDs LED and operation status POWER Green When the power of 24 V DC is supplied and the communication starts with the control unit, the LED lights.
  • Page 43: I/O Allocation

    Chapter 4 I/O Allocation Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 44: I/O Allocation

    4.1 I/O Allocation Allocation of I/O Numbers I/O number Unit type Input Output Control unit X0 to X9F (WX0 to WX9) Y0 to Y9F (WY0 to WY9) Expansion 1st unit X300 to X39F (WX30 to WX39) Y300 to Y39F (WY30 to WY39) Expansion 2nd unit X400 to X49F (WX40 to WX49) Y400 to Y49F (WY40 to WY49)
  • Page 45: I/O Allocation Of Fp-X0 Control Unit

    I/O numbers Type of control unit Number of allocation I/O number Input (8 points) X0 to X7 FP-X0 L14R control unit Output (6 points) Y0 to Y5 Input (16 points) X0 to XF FP-X0 L30R control unit Output (14 points)
  • Page 46: Allocation Of Fp0/Fp0R Expansion Unit

    4.4 Allocation of FP0/FP0R Expansion Unit 4.4.1 I/O Allocation The FP0/FP0R expansion unit is installed on the right side of the FP0 expansion adapter. The I/O numbers are allocated from the unit nearest to the expansion FP0 adapter in ascending order. 4.4.2 Number of Expansion Units and I/O Allocation Only one expansion FP0 adapter can be connected at the last position of the FP-X expansion bus.
  • Page 47 4.4.3 I/O Allocation of FP0/FP0R Expansion Unit I/O do not need to be set as I/O allocation is performed automatically when an expansion unit is added. The I/O allocation of expansion unit is determined by the installation location. I/O numbers (when installed as the first expansion unit) Carry the digit of hundreds place one by one since the second expansion unit.
  • Page 48 Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 49: Installation And Wiring

    Chapter 5 Installation and Wiring Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 50: Installation

    5.1 Installation 5.1.1 Installation Environment and Space Be thoroughly familiar with the following contents before using the units to eliminate the causes which occur the failure or malfunction of each unit. Operating environment (Use the unit within the range of the general specifications when installing) *Ambient temperatures:0 ~ +55 ℃...
  • Page 51 Installation space • Leave at least 50mm of space between the wiring ducts of the unit and other devices to allow heat radiation and unit replacement. • Maintain at least 100mm of space between devices to avoid adverse affects from noise and heat when installing a device or panel door to the front of the PLC unit.
  • Page 52 5.1.2 Installation and Removal Attachment to DIN rail and removal from DIN rail Can be simply attached to DIN rail. Procedure of installation method (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.
  • Page 53: Expansion Method

    5.2 Expansion Method 5.2.1 How to Connect With FP-X Expansion Unit The expansion unit is connected to the control unit with an exclusive expansion cable. The expansion cable (AFPX-EC08) is packaged with the expansion unit and expansion FP0 adapter. The expansion cables (AFPX-EC30, AFPX-EC80) are sold separately. How to connect The procedure is as follows.
  • Page 54: Power Supply

    5.3 Power Supply 5.3.1 AC Power Supply Wiring of power supply Allowable voltage Allowable frequency Rated input voltage Rated frequnecy amplitude range range 100 to 240 V AC 85 to 264 V AC 50/60 Hz 47 to 63 Hz Note: Using the power supply of the outlying voltage and frequency, or using inappropriate wires may cause the fault of the power supply of the PLC.
  • Page 55 To avoid the influence of noises Use the power supply causing less noise. The inherent noise resistance is sufficient for the noise superimposed on the power wires, however, the noise can be attenuated further by using the isolation transformer. Also, twist the power supply cables to minimize adverse effects from noise. Grounding Ground the instrument to increase noise suppression.
  • Page 56: Wiring Of Input And Output

    5.4 Wiring of Input and Output 5.4.1 Input Wiring Connection of photoelectric sensor and proximity sensor Relay output type NPN open collector output type Voltage output type Two-wire output type Precaution when using LED-equipped lead switch When a LED is connected in series to an input contact such as LED-equipped lead switch, make sure that the on voltage applied to the PLC input terminal is greater than 21.6V DC.
  • Page 57 Precaution when using LED-equipped limit switch If the input of PLC does not turn off because of the leakage current from the LED-equipped limit switch, the use of a bleeder resistor is recommended, as shown below. 5.4.2 Output Wiring Do not connect a load that exceeds the maximum swiching ability to the output terminal. Protective circuit for inductive loads •...
  • Page 58 Precautions when using capacitive loads When connecting loads with large in-rush currents, to minimize their effect, connect a protection circuit as shown below. 5.4.3 Precautions Regarding Input and Output Wirings Isolate input/output/power lines • Be sure to select the thickness (dia.) of the input and output wires while taking into consideration the required current capacity.
  • Page 59: Wiring Of Terminal Block

    5.5 Wiring of Terminal Block Suitable terminals/Suitable wire M3 terminal screws are used for the terminal. The following suitable solderless terminals are recommended for the wiring to the terminals Suitable solderless terminals Manufacturer Shape Part No. Suitable wires (mm Round type 1.25-MS3 0.25 to 1.65 Fork type...
  • Page 60: Setting And Wiring Of Com Port (Rs485)

    5.6 Setting and Wiring of COM Port (RS485) 5.6.1 Connection of COM Port Wiring should extend from one unit to the next, between "+" terminals, and "-" terminals as below. Never run two wires from a single unit to two other units. In the unit that serves as the terminal station, connect the "E"...
  • Page 61: Handling Of Backup Battery (For L40 And L60 Types)

    5.7 Handling of Backup Battery (For L40 and L60 types) 5.7.1 What Backup Battery Does Install an optional backup battery when the hold area is insufficient in the initial state or for using the clock/calender function. Areas backed up with the battery Hold area when battery Hold area when battery Classification...
  • Page 62 5.7.2 Settings of Battery Error Alarm and Hold Area Setting of the battery error alarm Setting the battery error alarm enables you to monitor the remaining backup battery level. By default, the battery error alarm is set to off in the system register settings. For using the battery, check the box of the system register No.4 "Alarm Battery Error"...
  • Page 63 5.7.3 Replacement of Backup Battery The procedure for replacing the backup battery is as follows. Procedure 1. Supply power to the control unit for more than five minutes. Charge the built-in capacitor to retain the contents of the memory during the replacement of the battery. 2.
  • Page 64: Safety Measures

    5.8 Safety Measures 5.8.1 Safety Measures Precautions regarding system design In certain applications, malfunction may occur for the following reasons: • Power on timing differences between the PLC system and input/output or mechanical power apparatus. • Response time lag when a momentary power drop occurs. •...
  • Page 65: Communication Functions

    Chapter 6 Communication Functions Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 66: Functions And Types

    6.1 Functions and Types 6.1.1 Communication Modes and Communication Ports On the FP-X0, four different communication modes are available. According to the communication mode to be used, the usable communication ports vary. Usable communication port and model Communication mode Port Model MEWTOCOL slave Tool port...
  • Page 67 6.1.4 PC(PLC) Link The FP-X0 supports the link system that connects the PC(PLC) link corresponding to the MEWNET-W0 (max. 16 units) with the twisted pair cables. In a PC(PLC) link, data is shared with all PLCs connected via MEWNET using dedicated internal relays called link relays (L) and data registers called link registers (LD).
  • Page 68: Communicaton Port Type

    6.2 Communicaton Port Type 6.2.1 Tool Port This connector is used to connect a programming tool. A commercial mini-DIN 5-pin connector is used for the tool port on the control unit. Pin No. Signal name Abbreviation Signal direction Signal Ground Unit →...
  • Page 69: Communication Specifications

    6.3 Communication Specifications Tool Port (Common to FP-X0) Item Description Interface RS232C Communication mode 1:1 communication Transmission distance 15 m Baud rate 300, 600, 1200, 2400, 4800, 9600, 19200, 38400. 57600, Note3) (to be set by system register) 115200 bps Communication method Half-duplex communication Synchronous method...
  • Page 70 COM port (For L40MR and L60MR types) Item Description Interface RS485 Communication mode 1:N communication Note1) 2) Transmission distance Max. 1200 m Note2) 3)) Baud rate 19200, 115200 bps Communication method Two-wire, half-duplex transmission Synchronous method Start stop synchronous system Transmission line Shielded twisted-pair cable or VCTF Computer link...
  • Page 71: Computer Link

    6.4 Computer Link 6.4.1 Overview Computer link is used for communication with a computer connected to the PLC. Instructions (command messages) are transmitted to the PLC, and the PLC responds (sends response messages) based on the instructions received. A proprietary MEWNET protocol called MEWTOCOL-COM is used to exchange data between the computer and the PLC.
  • Page 72 6.4.2 MEWTOCOL Slave Function Outline of operation Command and response Instructions issued by the computer to the PLC are called commands. Messages sent back to the computer from the PLC are called responses. When the PLC receives a command, it processes the command regardless of the sequence program, and sends a response back to the computer.
  • Page 73 Format of command and response Command message All command-related items should be noted in the text segment. The unit number must be specified before sending the command. 1. Header (Start code) Commands must always have a "%" (ASCII code: H25) or a "<" (ASCII code: H3C) at the beginning of a message.
  • Page 74 Response message The PLC that received the command in the example above sends the processing results to the computer. 1. Header (Start code) A "%" (ASCII code: H25) or a "<" (ASCII code: H3C) must be at the beginning of a message. The response must start with the same header that was at the beginning of the command.
  • Page 75 Commands to be used Command name Code Description Reads the on and off status of contacts. ・Specifies only one point. (RCS) Read contact area ・Specifies multiple contacts. (RCP) ・Specifies a range in word units. (RCC) Turns contacts on or off. ・Specifies only one point.
  • Page 76 6.4.3 Communication Parameter Settings Tool port (RS232C)/COM port (RS485) The settings for baud rate and communication format are entered using a programming tool. Setting with FPWIN GR Select "Options" in the menu bar, and then select "PLC Configuration". Click "Tool Port" or "COM Port" from the left list.
  • Page 77 6.4.4 MEWTOCOL Slave Function (1:1 Communication) Overview For a 1:1 computer link between the FP0R and a computer, and RS232C cable is needed. Communication is performed via commands from the computer and responses from the PLC. Note) A commercial RS485 conversion adapter is required for connecting to the COM port of FP-X0 L40MR or L60MR.
  • Page 78 6.4.5 MEWTOCOL Slave Function (1:N Communication) The computer and the PLC communicate via commands and responses: The computer sends a command specifying the unit number, and the PLC with that unit number sends a response back to the computer. As for the FP-X0 L40MR and L60MR, connect to the COM port terminals (RS485). Note) It is recommended to use a commercial RS232C/RS485 converter, SI-35 manufactured by Lineeye Co., Ltd.
  • Page 79 6.4.6 MEWTOCOL Master (For L40MR and L60MR types) Use the F145 (SEND) "Data send" or F146 (RECV) "Data receive" instruction to use the MEWTOCOL master function. The MEWTOCOL master is not available for the tool port. It is available for the COM port (RS485 port) only.
  • Page 80 Flowchart With the above program, the procedures 1 to 3 are executed repeatedly. 1. Updates the write data if the write data (DT50 and DT51) and the read data (DT60 and DT61) are matched. 2. Writes the DT50 and DT51 of the local unit into the data DT0 and DT1 in the unit number 1 from the COM port.
  • Page 81: General-Purpose Serial Communication

    6.5 General-purpose Serial Communication 6.5.1 Overview In general-purpose serial communication, data is sent and received over the communication port to and from an external device such as an image processing device or a bar code reader. Data is read from and written to an external device connected to the communication port by means of PLC programs and data registers.
  • Page 82 6.5.2 Programming Example of General-purpose Serial Communication The F159(MTRN) instruction is used to send and receive data via the specified communication port. F159 (MTRN) instruction Data is sent and received via the specified COM port . Devices that can be specified for S: Only data registers (DT) can be specified as the send buffer.
  • Page 83 Data to be sent/received with PLC Remember the following when accessing data in the send and receive buffers: If a header has been chosen in the communication format settings, the code STX (H02) will automatically be added at the beginning of the data begin sent. The data without the code STX at the reception is stored in the receive buffer, and the “reception done”...
  • Page 84 6.5.3 Sending Data Communication with external devices is handled through the data registers. Data to be output is stored in the data register used as the send buffer (DT), and when the F159 (MTRN) instruction is executed, the data is output from the communication port. Data table for transmission (send buffer) Sample program for sending data The following program transmits the characters “ABCDEFGH (Hex)”...
  • Page 85 Explanation of data table The data table for transmission starts at the data register specified in S. Use an F0 (MV) or F95 (ASC) instruction to write the data to be transmitted to the transmission data storage area specified in S. Operation when sending data When the execution condition of the F159 (MTRN) instruction turns on and the “transmission done”...
  • Page 86 6.5.4 Receiving Data Data input from the communication port is stored in the receive buffer specified by the system register, and the “reception done” flag goes on. If the “reception done” flag is off, data can be received at any time. Data table for reception (receive buffer) DT200 to DT204 are used as the receive buffer.
  • Page 87 Data table Data sent from an external device connected to the communication port is stored in the data registers that have been set as the receive buffer. Data registers are used as the receive buffer. Specify the data registers in system register 416 to 419. The number of bytes of data received is stored in the starting address of the receive buffer.
  • Page 88 6.5.5 Flag Operation in Serial Communication Header: No-STX, Terminator: CR Receiving data: The “reception done” flag, the “transmission done” flag, and the F159 (MTRN) instruction are related as follows: For general-purpose serial communication, half-duplex transmission must be used. Reception is disabled when the “reception done” flag R9038 is on. When F159 (MTRN) is executed, the number of bytes received is cleared, and the address (write pointer) in the receive buffer is reset to the initial address.
  • Page 89 Header: STX, Terminator: ETX Receiving data: The “reception done” flag, the “transmission done” flag, and the F159 (MTRN) instruction are related as follows: The data is stored in the receive buffer in sequential order. When the header is received, the number of bytes received is cleared, and the address (write pointer) in the receive buffer is reset to the initial address.
  • Page 90 Sending data: The “reception done” flag, the “transmission done” flag, and the F159 (MTRN) instruction are related as follows: Header (STX) and terminator (ETX) are automatically added to the data being transmitted. The data is transmitted to an external device. When the F159 (MTRN) instruction is executed, the “transmission done”...
  • Page 91 6.5.6 Changing Communication Mode Using F159(MTRN) Instruction An F159 (MTRN) instruction can be executed to change between general-purpose serial communication mode and computer link mode. To do so, specify H8000 for n (the number of transmission bytes) and execute the instruction. Changing from “general-purpose”...
  • Page 92 6.5.7 Setting Communication Parameters Tool port (RS232C)/COM port (RS485) The settings for baud rate and communication format of the tool port are entered using a programming tool. Setting with FPWIN GR Select "Options" in the menu bar, and then select "PLC Configuration". Click "Tool Port" or "COM Port" from the left list.
  • Page 93 6.5.8 Connection with 1:1 Communication (General-purpose Serial Communication) System register settings Name Set Value No. 412 Selection of communication mode General-purpose serial communication No. 413 Communication format Char. bit: …… 7 bits/8 bits Parity: ….. None/Odd/Even Stop bit: ………… 1 bit/2 bits Terminator: ……..
  • Page 94 6.5.9 1:N Communication (General-purpose Serial Communication) The FP-X0 and the external units are connected using an RS485 cable. Using the protocol that matches the external units, the F159 (MTRN) instruction is used to send and receive data. As for the FP-X0 L40MR and L60MR, connect to the COM port terminals (RS485). System register settings Name Set Value...
  • Page 95: Pc(Plc) Link Function (For L40Mr And L60Mr Types)

    6.6 PC(PLC) link Function (For L40MR and L60MR types) 6.6.1 Overview PC(PLC) link function The FP-X0 supports the link system that connects the PC(PLC) link corresponding to the MEWNET-W0 (max. 16 units) with the twisted pair cables. In a PC(PLC) link, data is shared with all PLCs connected via MEWNET using dedicated internal relays called link relays (L) and data registers called link registers (LD).
  • Page 96 Operation of PLC link Turning on a link relay contact in one PLC turns on the same link relay in all other Link relay PLCs on the same network. Changing the contents of a link register in one PLC changes the values of the Link register same link register in all other PLCs on the same network.
  • Page 97 6.6.2 Setting of Unit Numbers By default, the unit number for the communication port is set to 1 in the system registers. In a PC(PLC) link that connects multiple PLCs on the same transmission line, the unit number must be set in order to identify the different PLCs.
  • Page 98 6.6.3 Setting Communication Parameters: PC(PLC) Link Settings for baud rate and communication format The settings for baud rate and communication format of the COM port are entered using a programming tool. Setting with FPWIN GR Select "Options" in the menu bar, and then select "PLC Configuration". Click the "COM Port" tab. Dialog box of PLC system register setting No.
  • Page 99 6.6.4 Link Area Allocation The link relays and link registers to be used in the PC(PLC) link are allocated in the link area of the CPU unit. Link area allocations are specified by setting the system registers of the CPU unit. System registers Default Name...
  • Page 100 Example of allocation The areas for PC(PLC) link are divided into send areas and receive areas. The link relays and link registers are sent from the send area to the receive area of a different PLC. Link relays and link registers with the same numbers as those on the transmission side must exist in the receive area on the receiving side.
  • Page 101 For PC(PLC) link 1 Link relay allocation System registers Setting for various units Name No. 1 No. 2 No. 3 No. 4 Range of link relays used Starting No. of word for link relay transmission Link relay transmission size Note) No.50 (range of link relays used) must be set to the same range for all the units. Link register allocation System registers Setting for various units...
  • Page 102 Partial use of link areas In the link areas available for PC(PLC) link, link relays with a total of 1024 points (64 words) and link registers with a total of 128 words can be used. This does not mean, however, that it is necessary to reserve the entire area.
  • Page 103 Note: Precautions When Allocating Link Areas If a mistake is made when allocating a link area, be aware that an error will result, and communication will be disabled. Avoid overlapping send areas When sending data from a send area to the receive area of another PLC, there must be a link relay and link register with the same number in the receive area on the receiving side.
  • Page 104 6.6.5 Setting the Largest Unit Number for PC(PLC) Link The largest unit number can be set using system register no.47 (using system register no.57 for PC(PLC) link 1). [Sample setting] No. of units linked Setting contents 1st unit: Unit no. 1 is set 2nd unit: Unit no.
  • Page 105 6.6.6 Monitoring When Using PC(PLC) Link When using a PC(PLC) link, the operation status of the links can be monitored using the following relays. Transmission assurance relays For PC(PLC) link 0: R9060 to R906F (correspond to unit no. 1 to 16) For PC(PLC) link 1: R9080 to R908F (correspond to unit no.
  • Page 106 6.6.7 PC(PLC) Link Response Time The maximum value for the transmission time (T) of one cycle can be calculated using the following formula. The various items in the formula are calculated as described below. ○ Ts (transmission time per station) Ts = scan time + Tpc (PC(PLC) link sending time) Tpc = Ttx (sending time per byte) x Pcm (PLC link sending size) Ttx = 1/(baud rate x 1000) x 11 ms ….
  • Page 107 Calculation example 3 When all but one station have been added to a 16-unit link, the largest station number is 16, relays and registers have been allocated evenly, and the scan time for each PLC is 5 ms. Ttx = 0.096 Each Ts = 5 + 6.82 = 11.82 ms Tlt = 0.096 x (13 + 2 x 15) ≒...
  • Page 108 Reducing the transmission cycle time when there are stations that have not been added If there are stations that have not been added to the link, the Tlk time (link addition processing time) and with this the transmission cycle time will be longer. With the SYS1 instruction, the link addition waiting time Twt in the above formula can be reduced.
  • Page 109 Error detection time for transmission assurance relays The power supply of any given PLC fails or is turned off, it takes (as a default value) 6.4 seconds for the transmission assurance relay of the PLC to be turned off at the other stations. This time period can be shortened using the SYS1 instruction.
  • Page 110: Modbus Rtu Communication (For L40Mr And L60Mr Types)

    6.7 MODBUS RTU Communication (For L40MR and L60MR types) 6.7.1 Overview of Functions The MODBUS RTU protocol enables the communication between the FP-X0 and other devices (including our FP-X, FP-e, Programmable display GT series and KT temperature control). Enables to have conversations if the master unit sends instructions (command messages) to slave units and the slave units respond (response messages) according to the instructions.
  • Page 111 MODBUS RTU command message frame START ADDRESS FUNCTION DATA CRC CHECK 3.5-character time 8 bits 8 bits n*8 bits 16 bits 3.5-character time ADDRESS (Unit No.) 8 bits, 0 to 99 (decimal) Note1) 0= Broadcast address Note2) Slave unit No. is 1 to 99 (decimal) Note3) For MODBUS, 0 to 247 (decimal) FUNCTION 8 bits...
  • Page 112 Supported commands Executable Code Name (MODBUS Remarks instructions for Name for FP0R (decimal) original) (Reference No.) master F146 (RECV) Read Coil Status Read Y and R Coils F146 (RECV) Read Input Status Read X Input F146 (RECV) Read Holding Registers Read DT F146 (RECV) Read Input Registers...
  • Page 113 6.7.2 Setting Communication Parameters Settings for baud rate and communication format The settings for baud rate and communication format of the COM port are entered using a programming tool. Setting with FPWIN GR Select "Options" in the menu bar, and then select "PLC Configuration". Click the "COM Port" tab. Dialog box of PLC system register setting No.
  • Page 114 6.7.3 MODBUS Master Use the F145 (SEND) “Data send” or F146 (RECV) “Data receive” instruction to use the MODBUS master function. Sample program Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 115 Flow chart The above program executes the operation 1 to 3 repeatedly. 1. Updates the write data if the write data (DT50 and DT51) and the read data (DT60 and DT61) are matched. 2. Writes the DT50 and DT51 of the local unit into the data DT0 and DT1 in the unit number 1 from the COM port.
  • Page 116 Sample program (For Type II) Use a program as below to directly specify a MODBUS address. Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 117 Flow chart (For Type II) The above program executes the operation 1 to 3 repeatedly. 1. Updates the write data if the write data (DT50 and DT51) and the read data (DT60 and DT61) are matched. 2. Writes the DT50 and DT51 of the local unit into the data No. H7788 in the unit number 07 from the COM port.
  • Page 118 Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 119: High-Speed Counter, Pulse Output And Pwm Output Functions

    Chapter 7 High-speed Counter, Pulse Output and PWM Output Functions Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 120: Overview Of Each Functions

    7.1 Overview of Each Functions 7.1.1 Three Pulse Input/Output Functions There are three pulse I/O functions built into the FP-X0. High-speed counter function The high-speed counter function counts external inputs such as those from sensors or encoders. When the count reaches the target value, this function turns on/off the desired output.
  • Page 121 7.1.2 Performance of Built-in High-speed Counter Number of Channel There are four channels for the built-in high-speed counter. The channel number allocated for the high-speed counter will 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.
  • Page 122: Function Specifications And Restricted Items

    7.2 Function Specifications and Restricted Items 7.2.1 Specifications High-speed counter function Input contact Memory area being used Performance specifications number used Minimum Maximum Channel No. (value in Control Elapsed Target input pulse counting parenthesis is flag value area value area Note2) width speed...
  • Page 123 7.2.2 Functions Used and Restrictions The maximum counting speed and pulse output frequency of the high-speed counter vary according to the number of channels to be used or the combination of used functions. Use the chart below as a guide. Simplified chart - Maximum counting speed of High-speed counter (For L14 and L30 types) A: Available Max.
  • Page 124: High-Speed Counter Function

    7.3 High-speed Counter Function 7.3.1 Overview of High-speed Counter Function Instructions used and the contents of the controls Type of control Instruction Description number Reset/disabling of Performs controls such as resetting the high-speed counter of counter the specified channel or disabling the count. Read/Write of Reads and writes the elapsed value of the high-speed counter.
  • Page 125 Count for reset input (Incremental input mode) The reset input is executed by the interruption at (1) on (edge) and (2) off (edge). (1) on (edge) … Count disable, Elapsed value clear (2) off (edge) … Count enable DT90052 (bit2): “able/disable” setting of the input can be set by the reset input.
  • Page 126 7.3.4 I/O Allocation As shown in the table in the previous section “7.2.1”, the inputs and outputs used will differ depending on the channel number being used. The output turned on and off can be specified from Y0 to Y7 as desired with instructions F166 (HC1S) and F167 (HC1R).
  • Page 127 High-speed counter/pulse output control flag area of FP-X0 The area DT90052 for writing channels and control codes is allocated as shown in the left figure. Control codes written with an F0 (MV) instruction are stored by channel in special data registers DT90370 to DT90373.
  • Page 128 Elapsed value write and read instruction (F1) This instruction writes or reads the elapsed value of the high-speed counter. Specify this instruction together with the elapsed value area of high-speed counter after the special data register DT90300. If the F1 (DMV) instruction is executed specifying DT90300, the elapsed value will be stored as 32-bit data in the combined area of special data registers DT90300 and DT90301.
  • Page 129 Input pulse measurement instruction (F178): For L40 and L60 types only This instruction is used to measure the pulse number and cycle of a specified high-speed counter channel when using the high-speed counter function. The pulse number to be measured is counted in a specified counting cycle. The one pulse (on-off cycle) right after the execution of the instruction is measured as the pulse cycle.
  • Page 130 Sample program (F178) 7.3.6 High-speed counter control flag Note that there are the following restrictions on using each function of the high-speed counter. Allocation and role of high-speed counter control flag When a high-speed counter instructions (F166/F167/F178) is executed, the high-speed counter control flag of the corresponding channel is ON.
  • Page 131 Sample Program Positioning operations with a single speed inverter Wiring example Operation chart I/O allocation I/O No. Description Encoder input Operation start signal 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.
  • Page 132: Pulse Output Function

    7.4 Pulse Output Function 7.4.1 Overview of Pulse Output Function Instructions used and the contents of the controls Type of control Instruction Description number Forced stop, Controls to stop a specified channel. deceleration stop Read/Write of Reads and writes the elapsed value of the built-in high-speed elapsed value counter during the pulse output control.
  • Page 133 Operation mode Incremental <Relative value control> Outputs the pulses set with the target value. Selected Pulse and direction Pulse and direction Mode HSC counting CW/CCW forward OFF/ forward ON/ Target Method reverse ON reverse OFF value Pulse output when Pulse output when Pulse output Positive direction output is...
  • Page 134 7.4.3 I/O Allocation Double pulse input driver (CW pulse input and CCW pulse input method) Two output contacts are used as a pulse output for “CW, CCW”. The I/O allocation of pulse 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>...
  • Page 135 Wiring example Note) When the stepping motor input is a 5 V optical coupler type, connect a resister of 2 kΩ (1/2 W) to R1, and connect a resistor of 2 kΩ (1/2 W) − 470 Ω (2 W) to R2. Table of I/O allocation I/O No.
  • Page 136 7.4.4 Pulse output control instructions (F0) Pulse output control instruction (F0) • This instruction is used for resetting the built-in high-speed counter, stopping the pulse output, and setting and resetting the near home input. • Specify this F0 (MV) instruction together with special data register DT90052. •...
  • Page 137 7.4.5 Forced Stop, Deceleration Stop (F0) Instruction Pulse output control instruction (F0) Forced stop and deceleration stop is executed by F0(MV) instruction in combination with the special data register DT90052. Once this instruction is executed, the settings will remain until this instruction is executed again.
  • Page 138 7.4.6 Elapsed Value Read and Write (F1) Instruction Elapsed value read and write instruction (F1) This instruction is used to read and write the pulse number counted by the pulse output control. Specify this F1 (DMV) instruction in combination with the pulse output elapsed area after the special data register DT90400.
  • Page 139 7.4.7 JOG Operation Instruction (F172) This instruction is used to output pulses according to a specified parameter when the trigger (execution condition) is on. When the trigger (execution condition) turns off, deceleration is performed within a specified deceleration time. However, if the trigger turns on again, acceleration is performed up to the target speed again.
  • Page 140 The explanation below shows the case that pulses are output from Y0 when using forward rotation and Y1 when using reverse rotation with the following conditions; Initial speed: 1 kHz, Target speed: 7kHz, Acceleraiton time: 100 ms, Deceleration time: 100 ms. Example of timing chart Data table Data...
  • Page 141 Sample program Control code Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 142 7.4.8 Home Return Instruction (F177) When the trigger (execution condition) turns on, the home return is performed according to a specified data table. On the completion of the home return, the elapsed value area is reset to "0". When the deceleration stop is requested by the F0 instruction during the pulse output, the deceleration stop is performed.
  • Page 143 The explanation below shows the case that home return is performed with the following conditions; Initial speed: 1 kHz, Target speed: 5 kHz, Creep speed: 500Hz, Acceleration time: 300 ms, Deceleration time: 500 ms. Example of timing chart Data table Data Example of sample Setting item (Unit)
  • Page 144 Sample program Control code Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 145 7.4.9 Trapezoidal Control Instruction (F171) This instruction automatically performs trapezoidal control according to the specified data table while the trigger (execution condition) is on. When the deceleration stop is requested by the F0 instruction during the pulse output, the deceleration stop is performed.
  • Page 146 Sample program Control code Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 147 7.4.10 Data Table Control Instruction (F174) Pulses are output from the specified channel according to the specified data table. Positioning is performed sequentially according to the values of data tables, and stops at the data table that the value of pulse output stop (K0) is written. When the deceleration stop is requested by the F0 instruction during the pulse output, the deceleration stop is performed.
  • Page 148 Sample program Control code Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 149 7.4.11 Linear Interpolation Control Instruction (F175) (For L40 and L60 types) The linear interpolation controls positioning with two axes according to the specified data table. Specify the number (K0) corresponding to the channel (CH0) assinged to the X axis to execute the F175 instruction.
  • Page 150 Sample program Control code 7-32 Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 151 Precautions during programming Specify the composite speed to make the component speed of each axis be 6Hz or more. Set the composite speed (Initial speed) to be 30 Hz or less. For the linear interpolation instruction (F175), specify the same value for the acceleration time and deceleration time.
  • Page 152 7.4.12 Pulse Output Instruction Flag Note that there are the following restrictions on using each function of the pulse output Allocation and role of pulse output instruction flag When a pulse output instruction (F171/F172/F174/F175/F177) or PWM output instruction (F173) is executed and pulses are being output, the pulse output instruction flag of the corresponding channel is ON.
  • Page 153: Pwm Output Function

    7.5 PWM Output Function 7.5.1 Overview PWM output function With the F173 (PWMH) instruction, the pulse width modulation output of the specified duty ratio is obtained. 7.5.2 Instruction to be Used for PWM Output Function PWM Output Instruction F173 In the program below, while X6 is on, a pulse with a period of 1 ms and duty ratio of 50% is output from Y0 of specified channel CH0.
  • Page 154 Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 155: Security Functions

    Chapter 8 Security Functions Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 156: Password Protect Function

    8.1 Password Protect Function 8.1.1 Password Protect Function This function is used to prohibit reading and writing programs and system registers by setting a password on the FP0R. There are two ways to set a password as below. 1. Sets using the programming tool. 2.
  • Page 157 Confirmation of the password settings Current status Indicates the current status of the password setting. There 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.
  • Page 158 How to prohibit access with password 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”...
  • Page 159 How to permit access with password 1. Select "Tool" > "Set PLC Password" in the menu bar. The "Set PLC Password" dialog box is displayed. Set the items in the table below, and click on the “Settings” button. Item Settings Digit number Select “4 digits”...
  • Page 160 How to cancel the password protection Following two methods are available to cancel the password setting. Description Program Unprotect Cancels the registered password to be specified. All programs are retained. All programs are deleted. Erases all programs and security information to Force cancel (The upload protection cancel the setting forcibly.
  • Page 161 How to force cancel (Programs and security information are all deleted.) 1. Select "Tool" > "Set PLC Password" in the menu bar. The "Set PLC Password" dialog box is displayed. 2. Click the "Force Cancel" button. A confirmation message is displayed. 3.
  • Page 162: Upload Protection

    8.2 Upload Protection 8.2.1 Upload Protection Overview of program upload protection function This function is to prohibit reading programs and system registers by setting to disable program uploading. If the upload protection is set, note that the ladder programs and system registers will be disabled to be uploaded after that.
  • Page 163: Setting Function For Fp Memory Loader

    8.3 Setting Function for FP Memory Loader 8.3.1 Setting Function for FP Memory Loader The following two functions of the FP memory loader (AFP8670/AFP8671) (*) can be set. Limited distribution function (Programs can be downloaded only to the units which the same password has been set.) When downloading a program from the memory loader, the program can be downloaded only when the program stored in the memory loader matches the password set for the PLC with this function enabled.
  • Page 164 8.3.2 Setting Method Setting with FPWIN GR 1. Select "Online" > "Online Edit Mode" in the menu bar, and press the CTRL and F2 keys. The screen is switched to "Online Monitor". 2. Select "Tool" > "Set PLC Password" in the menu bar. The "Set PLC Password"...
  • Page 165 8.3.3 Table of Corresponding Operations of FP Memory Loader Security Function Note that the operation differs according to the combination of the program stored in the FP memory loader and the status of the PLC to which is written. Version check list Status of destination PLC Password 4-digit password...
  • Page 166: Table Of Security Settings/Cancel

    8.4 Table of Security Settings/Cancel For the settings on the FP0R control unit Status of security Security not Upload 4-digit 8-digit protection password password Upload protection Sets/ 4-digit password Cancels 8-digit password A: Available N/A: Not available Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 167: Other Functions

    Chapter 9 Other Functions Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 168: Clock/Calendar Function (For L40 And L60 Types)

    9.1 Clock/Calendar Function (For L40 and L60 types) 9.1.1 Clock/Calendar Function The clock/calendar function can be used when an optional backup battery is attached in the FP-X0 L40 or L60 type control unit. Note that this function cannot be used without the backup battery. Specifications Item Specifications...
  • Page 169 Setting and changing using program 1. The values written to the special data registers DT90054 to DT90057, which are allocated as the clock/calendar setting area, are sent.. 2. A value of H8000 is written to DT90058. Note) The value can be sent using the differential instruction “DF”, or by changing H8000 to H0000. Do not always write H8000.
  • Page 170: Sampling Trance Function (For L40 And L60 Types)

    9.2 Sampling Trance Function (For L40 and L60 types) 9.2.1 Overview The sampling trace function is available for the FP0R. Using this function enables to take samplings and record (accumulate) the state of arbitrary data of 16 bits + 3 data registered in the PLC at an arbitrary timing, and to examine the changes in the bit and data in details after stopping sampling at an arbitrary timing.
  • Page 171 Operation image of sampling trace 9.2.3 How to Use Sampling 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 172 2. Sampling by instruction 1) Register the bit/word device to be monitored by the time chart monitor function of FPWIN GR. 2) Specify the sampling configurations. Set the mode of the sampling configurations to " TRACE ". Set the sampling rate (time) to 0. 3.
  • Page 173: Time Constant Processing

    9.3 Time Constant Processing The input time constants for 16 points of the CPU input X0 to XF can be set by the system registers 430 to 437. If this setting is specified, an operation like the equivalent circuit below will be performed. By the setting, the noises or chattering of input will be removed.
  • Page 174: P13 (Picwt) Instruction

    9.4 P13 (PICWT) Instruction Data registers of 32765 words can be stored and used in the built-in ROM (F-ROM data area) control unit using the P13 (PICWT) instruction. Note the followings for the use: 1. Restrictions on the number of writing Writing can be performed within 10000 times.
  • Page 175: Self-Diagnostic And Troubleshooting

    Chapter 10 Self-Diagnostic and Troubleshooting Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 176: Self-Diagnostic Function

    10.1 Self-Diagnostic function 10.1.1 LED Display for Status Condition How to read status indicator LEDs on control unit LED status Operation Description PROG. ERR. status Light (on) Normal operation Operation PROG. Mode Light (on) Stop LED does not flash even if the forcing Normal condition output is performed in program mode.
  • Page 177: Troubleshooting

    10.2 Troubleshooting 10.2.1 If ERROR LED is Flashing Condition: The self-diagnostic error occurs Procedure 1 Check the error contents (error code) using the programming tool. With the FPWIN GR, if a PLC error occurs during programming or debugging and the RUN mode is changed to the PROG.
  • Page 178 <For error code is 42 (2)> - Condition A temporary blackout such as a momentary power off occurred and the power supply of the expansion unit was turned off. - Operation 1 Once the power supply of the expansion unit is restored, the control unit will be automatically reset and restarted.
  • Page 179 10.2.4 Diagnosing Output Malfunction Proceed from the check of the output side to the check of the input side. Check of output condition 1: Output indicator LEDs are on Procedure 1 Check the wiring of the loads. Procedure 2 Check if the power is properly supplied to the loads. If the power is properly supplied to the load, there is probably an abnormality in the load.
  • Page 180 10.2.5 A Protect Error Message Appears When a password function is used Procedure Enter a password in the “Set PLC Password” menu in the programming tool and turn on the “Access” radio button. (1)Select “Set PLC Password” under “Tool” on the menu bar. (2)The PLC password setting dialog box shown below is displayed.
  • Page 181: Operation Errors

    10.3 Operation Errors 10.3.1 Outline of Operation Errors An operation error is a condition in which operation is impossible when a high-level instruction is executed. When an operation error occurs, the ERROR/ALARM LED on the control unit will blink and the operation error flags (R9007 and R9008) will turn on.
  • Page 182 10.3.3 Dealing with Operation Errors <Procedure> 1. Check the location of the error. Check the address where the error occurred, which is stored in DT90017 and DT90018, and make sure the high-level instruction for that address is correct and appropriate. 2.
  • Page 183: Precautions During Programming

    Chapter 11 Precautions During Programming Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 184: Use Of Duplicated Output (Double Coil)

    11.1 Use of Duplicated Output (Double Coil) 11.1.1 Duplicated Output (Double Coil) What is duplicated output (double coil)? Duplicated output refers to repeatedly specifying the same output in a sequence program. If the same output is specified for the "OT" and "KP" instructions, it is considered to be duplicated output.
  • Page 185 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>...
  • Page 186: Instructions Of Leading Edge Detection Method

    11.2 Instructions of Leading Edge Detection Method 11.2.1 Instructions of Leading Edge Detection Method Instructions using the leading edge detection operation 1. DF (leading edge differential) instruction 2. Count input for CT (counter) instruction 3. Count input for F118 (UCD up-down counter) instruction 4.
  • Page 187 11.2.2 Operation and Precautions When RUN starts Operation of first scan after RUN begins The leading edge detection instruction is not executed when the mode has been switched to the RUN mode, or when the power supply is booted in the RUN mode, if the trigger (execution condition) is already on.
  • Page 188 11.2.3 Precautions When Using a Control Instruction If a leading edge detection instruction is in a control instruction, it will be executed only under the following condition: The leading edge detection instruction was off when the execution condition of the previous control instruction was reset, and the leading edge detection instruction is on when the execution condition of the current control instruction becomes on.
  • Page 189: Precautions For Programming

    11.3 Precautions for Programming Programs which are not executed correctly 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.
  • Page 190: Rewrite Function During Run

    11.4 Rewrite Function During RUN 11.4.1 Operation of Rewrite During RUN How operation of rewrite during RUN is performed Rewriting programs can be executed even in RUN mode. When a rewrite is attempted during RUN, the tool service time is temporarily extended, program rewriting is performed, and operation is resumed without the need to change the mode.
  • Page 191 11.4.2 Cases Where Rewriting During Run is Not Possible When the timeout error message is indicated: Even if the timeout error message is indicated, it is highly possible that the program in PLC has been already rewritten. Carry out the following operations. 1.
  • Page 192 Cases where rewriting is not possible during RUN 1. When the result of rewriting is a syntax error. <Example> When executing the rewriting which does not form the following pair of instructions. 1. Step ladder instructions (SSTP/STPE) 2. Subroutine instructions (SUB/RET) 3.
  • Page 193 11.4.3 Procedures and Operation of Rewrite During RUN FPWIN GR FPWIN GR Item Ladder symbol mode Boolean mode Maximum of 128 steps. Changes are performed by block. When PG conversion is executed Rewriting performed by step. online, the program will be Caution is required as rewriting rewritten.
  • Page 194 FPWIN GR FPWIN GR Item Ladder symbol mode Boolean mode Writing and deletion of a single instruction is not possible for a program with no step ladder area. A distance with the same number Write or delete both instructions SSTP/ cannot be defined twice.
  • Page 195: Processing During Forced Input And Output

    11.5 Processing During Forced Input and Output 11.5.1 Processing When Forced Input/Output is Initiated During RUN 1. Processing of external input (X) Regardless of the state of the input from the input device, forced on/off operation will take precedence at a contact specified for forced input/output in the above procedure B. At this time, the input LED will not blink, however, the area of input X in the operation memory will be rewritten.
  • Page 196 Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 197: Specifications

    Chapter 12 Specifications Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 198: Table Of Specifications

    12.1 Table of Specifications 12.1.1 General Specifications Item Description 0 to +55 C Ambient temperature 40 to +70C Storage temperature Ambient humidity 10 to 95%RH (at25C non-condensing) Storage humidity 10 to 95%RH (at25C non-condensing) Between input terminal and output terminal Between transistor output terminals and relay output terminals Between input terminals and power supply/earth...
  • Page 199 Power supply specifications Item Specifications Rated voltage 100 to 240 V AC Voltage regulation range 85 to 264 V AC L14: 35A or less (at 240 V AC, 25 C) Inrush current L30/L40/L60: 40A or less (at 240 V AC, 25 C) Momentary power off time 10 ms (when using 100 V AC) Frequency...
  • Page 200 12.1.2 Performance Specifications Descriptions Item 14 points 30 points 40 points 60 points DC input: 8, DC input: 16, DC input: 24, DC input: 32, Control unit No. of Ry output: 4 Ry output: 10 Ry output: 12 Ry output: 24 contro- Tr output: 2 Tr output: 4...
  • Page 201 Descriptions Item No. of interrupt programs Input 8 programs, periodical interrupt 1 program Sampling trace Not available Available All comments including I/O comments, explanatory notes, interlinear comments Comment storage can be stored. (Backup battery is not necessary. 328 kbytes) PLC link function Not available Available Constant scan...
  • Page 202 12.1.3 Communication Specifications Tool port Item Specifications Interface RS232C Communication mode 1:1 communication Transmission distance 15 m Baud rate (to be set by system register) 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200 bps Note3) Communication method Half-duplex communication Synchronous method Start stop synchronous system Transmission line...
  • Page 203 COM port (For L40MR and L60MR types) Item Specifications Interface RS485 Communication mode 1:N communication Note1) 2) Transmission distance Max. 1200 m Note2) Note3) Baud rate 19200, 115200 bps Two-wire, half-duplex transmission Communication method Synchronous method Start stop synchronous system Transmission line Multicore shielded line Computer link...
  • Page 204 12.1.4 I/O Allocation of FP-X0 Control Unit The I/O allocation of the FP-X0 control unit is fixed. I/O numbers Type of control unit Number of allocation I/O number Input (8 points) X0 to X7 FP-X0 C14R control unit Output (6 points) Y0 to Y5 Input (16 points) X0 to XF...
  • Page 205: Relays, Memory Areas And Constants

    12.2 Relays, Memory Areas and Constants Number of points and range of Item memory area available for use Function L14/L30 L40/L60 External input 960 points 1760 points Turns on or off based on external Note1) (X0 to X59F) (X0 to X109F) input.
  • Page 206 Number of points and range of memory area available for use Item Function L14/L30 L40/L60 Master control L14/L30: 32 points relay points L40/L60: 256 points (MCR) (MC) No. of labels L14/L30: 100 points (JP+LOOP) L40/L60: 256 points (LBL) No. of step L14/L30: 128 stages ladders (SSTP) L40/L60: 1000 stages...
  • Page 207: Dimensions And Cable Specifications

    Chapter 13 Dimensions and Cable Specifications Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 208: Dimensions

    13.1 Dimensions 13.1.1 Dimensions 13.1.2 Installation Dimensions Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 209: Cable/Adapter Specifications

    13.2 Cable/Adapter Specifications 13.2.1 AFC8503/AFC8503S (PC connection cable) (Unit: mm) 13.2.2 AFC85305/AFC8531/AFC8532 (For extending for the tool port) (Unit: mm) Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 210 Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 211: Appendix

    Chapter 14 Appendix Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 212: System Registers / Special Internal Relays / Special Data Registers

    14.1 System Registers / Special Internal Relays / Special Data Registers 14.1.1 System Registers Precaution for System Registers What is the system register area • System registers are used to set values (parameters) which determine operation ranges and functions used. Set values based on the use and specifications of your program. •...
  • Page 213 Checking and changing the set value of system register If you are going to use a value which is already set(the value which appears when read), there is no need write it again. Using programming tool software Produce: 1. Set the control unit in the PROG mode. 2.Option ->PLC Configuration 3.When the function for which setting are to be entered is selected in the PLC Configuration dialog box, the value and setting status for the selected system register are displayed.
  • Page 214 14.1.2 Table of System Registers for FP-X0 L14 / L30 / L40 / L60 Default Add- Item Name Description value ress L14/L30:250 L14/L30 : 0 to 256 Starting number setting for counter L40/l60:1008 L40/L60 : 0 to 1024 Hold type area starting number setting for timer and counter 1008 0 to 1024...
  • Page 215 Default Add- Item Name Description value ress For FP-X0 L40/L60 Range of link relays used for 0 to 64 words PC(PLC) link Range of link data registers used for 0 to 128 words PC(PLC) link Starting number for link relay 0 to 63 transmission Link relay transmission size...
  • Page 216 Add- Item Name Default value Description ress Do not set input X0 as high-speed counter. Two-phase input (X0, X1) Two-phase input (X0, X1) Reset input (X4) Incremental input (X0) Incremental input (X0) Reset input (X4) CH0: High-speed Decremental input (X0) Do not set input Decremental input (X0) Reset input (X4) counter...
  • Page 217 Add- Item Name Default value Description ress Pulse/ PWM output Normal output (Y0, Y1) settings CH0: Pulse output (Y0, Y1) Pulse output (Y0, Y1) / Home inputX5 (Y0, Y1) Normal output PWM output (Y0), Normal output (Y1) (X5) ►For L14 Normal output (Y0, Y1) Pulse/ CH0:...
  • Page 218 Add- Default Item Name Description value ress Unit No. setting 1 to 99 Communication Computer link Computer link Note2) mode setting General-purpose communications Selection of modem Disabled Enabled/Disabled connection Enter the settings for the various items. Data length bit: 7 bits/8 bits Parity check: none/with odd/with even Data length Stop bit: 1 bit/2 bits...
  • Page 219 Default Add- Item Name Description value ress Unit No. setting 1 to 99 Computer link Communication General-purpose serial communication Computer link mode setting PC(PLC) link MODBUS RTU Selection of modem Disabled Enabled/Disabled connection Enter the settings for the various items. Data length bit: 7 bits / 8 bits Parity check: none/with odd/with even Data length...
  • Page 220 Default Add- Item Name Description value ress Controller input time constant setting 1 X0 to X3 ►For L14/L30/L40/L60 Controller input time constant setting 1 X4 to X7 ►For L14/L30/L40/L60 Controller input time constant setting 2 X8 to XB None ►For L30/L40/L60 0.1ms Controller input time 0.5ms...
  • Page 221 14.1.3 Table of Special Internal Relays for FP-X L14 / L30 / L40 / L60 WR900 FP-X0 Address Name Description Self-diagnostic error Turns on when a self-diagnostic error occurs. R9000 ⇒ The content of self-diagnostic error is stored in DT90000. flag R9001 Not used...
  • Page 222 WR901 FP-X0 Address Name Description R9010 Always on relay Always on. R9011 Always off relay Always off. R9012 Scan pulse relay Turns on and off alternately at each scan. Goes on for only the first scan after operation (RUN) has Initial (on type) pulse R9013 been started, and goes off for the second and subsequent...
  • Page 223 WR902 FP-X0 Address Name Description Turns off while the mode selector is set to PROG. R9020 RUN mode flag Turns on while the mode selector is set to RUN. R9021 Not used R9022 Not used R9023 Not used R9024 Not used R9025 Not used R9026...
  • Page 224 WR903 FP-X0 Address Name Description R9030 Not used R9031 Not used Turns on when the general-purpose communication function is being used R9032 COM1 port mode flag Goes off when any function other than the general- purpose communication function is being used. Off: Printing is not executed.
  • Page 225 WR904 FP-X0 Address Name Description Goes on when the general-purpose serial R9040 TOOL port mode flag communication is used. Goes off when the MEWTOCOL is used. R9041 COM1 port PC(PLC) link flag Turn on while the PC(PLC) link function is used. R9042 Not used R9043...
  • Page 226 WR906 FP-X0 Address Name Description Turns on when Unit No. 1 is communicating properly in Unit R9060 PC(PLC) link mode. Turns off when operation is stopped, No.1 when an error occurs, or when not in the PC(PLC) link mode. Turns on when Unit No. 2 is communicating properly in Unit R9061 PC(PLC) link mode.
  • Page 227 WR907 FP-X0 Address Name Description Unit Turns on when Unit No. 1 is in the RUN mode. R9070 No.1 Turns off when Unit No. 1 is in the PROG. mode. Unit Turns on when Unit No. 2 is in the RUN mode. R9071 No.2 Turns off when Unit No.
  • Page 228 WR908 FP-X0 Address Name Description Turns on when Unit No. 1 is communicating properly in Unit R9080 PC(PLC) link mode. Turns off when operation is stopped, No.1 when an error occurs, or when not in the PC(PLC) link mode. Turns on when Unit No. 2 is communicating properly in Unit R9081 PC(PLC) link mode.
  • Page 229 WR909 FP-X0 Address Name Description Unit Turns on when Unit No. 1 is in the RUN mode. R9090 No.1 Turns off when Unit No. 1 is in the PROG. mode. Unit Turns on when Unit No. 2 is in the RUN mode. R9091 No.2 Turns off when Unit No.
  • Page 230 WR911 to WR913 FP-X0 Address Name Description R9110 High- HSC-CH0 Turns on high-speed counter channels by F166 (HC1S) speed R9111 HSC-CH1 or F167 (HC1R) instruction during control. counter R9112 HSC-CH2 Turns off when clearing the control or on the completion control of this instruction.
  • Page 231 14.1.4 Table of Special Data Registers for FP-X0 L14 / L30 / L40 / L60 (A: Available, N/A: Not available) Read Writ- Address Name Description -ing Self-diagnostic error The self-diagnostic error code is stored here DT90000 code when a self-diagnostic error occurs. DT90001 Not used DT90002...
  • Page 232 (A: Available, N/A: Not available) Read- Writ Address Name Description -ing The data stored here is increased by one every 2.5 ms. (H0 to HFFFF) 2.5 ms ring DT90019 Difference between the values of the two points Note2) counter (absolute value) x 2.5 ms = Elapsed time between the two points.
  • Page 233 (A: Available, N/A: Not available) Read- Writ- Address Name Description DT90030 DT90031 The contents of the specified message (Data DT90032 Character storage by length) are stored in these special data DT90033 F149 MSG instruction registers when F149 (MSG) instruction is executed.
  • Page 234 (A: Available, N/A: Not available) Read Writ- Address Name Description -ing Hour and minute data of the clock/calendar are stored here. This data is read-only data. It cannot be Clock/calendar overwritten. monitor DT90053 (hour/minute) ►For L40/L60 The year, month, day, hour, minute, second Clock/calendar and day-of-the-week data for the monitor...
  • Page 235 (A: Available, N/A: Not available) Read- Writ- Address Name Description It is used to adjust the time of the built-in clock/calendar. When setting the clock/calendar by program By setting the highest bit of DT90058 to 1, the time becomes that written to DT90054 to DT90057 by F0 (MV) instruction.
  • Page 236 (A: Available, N/A: Not available) Read- Writ- Address Name Description Step ladder process DT90060 (0 to 15) Step ladder process DT90061 (16 to 31) Step ladder process DT90062 (32 to 47) Step ladder process DT90063 (48 to 63) Step ladder process DT90064 (64 to 79) Step ladder process...
  • Page 237 (A: Available, N/A: Not available) Read- Writ- Address Name Description Step ladder process DT90082 (352 to 367) Step ladder process DT90083 (368 to 383) Step ladder process DT90084 (384 to 399) Step ladder process DT90085 (400 to 415) Step ladder process DT90086 (416 to 431) Indicates the startup condition of the step...
  • Page 238 (A: Available, N/A: Not available) Read- Writ- Address Name Description Step ladder process DT90098 (608 to 623) Step ladder process DT90099 (624 to 639) Step ladder process DT90100 (640 to 655) Step ladder process DT90101 (656 to 671) Step ladder process DT90102 (672 to 687) Step ladder process...
  • Page 239 (A: Available, N/A: Not available) Read Writ Address Name Description -ing -ing DT90123 Not used COM1 SEND/RECV For details, refer to Programming Manual DT90124 instruction end code (F145 and F146). DT90125 Not used Forced ON/OFF DT90126 Used by the system operating station display DT90127 Not used...
  • Page 240 (A: Available, N/A: Not available) Read- Writ- Address Name Description Area used for measurement of receiving DT90158 interval. MEWNET-W0 PC(PLC) link 1 status Area used for measurement of sending DT90159 interval. MEWNET-W0 DT90160 Stores the unit No. of PC(PLC) link 0. PC(PLC) link 0 unit No.
  • Page 241 (A: Available, N/A: Not available) Read- Writ- Address Name Description Unit No. (Station No.) 0: Unit No. (Station No.) 1 to 8, DT90219 selection for DT90220 to 1: Unit No. (Station No.) 9 to 16 DT90251 System regis- DT90220 ter 40 and 41 PC(PLC) System regis- DT90221...
  • Page 242 (A: Available, N/A: Not available) Read- Writ- Address Name Description System regis- The contents of the system register DT90240 ter 40 and 41 settings partaining to the PLC inter-link function for the various unit numbers are PC(PLC) System regis- DT90241 stored as shown below.
  • Page 243 (A: Available, N/A: Not available) Read- Writ- Address Name Description Counting area for input (X0) or DT90300 Elapsed Lower words Note1) (X0, X1) of the main unit. value DT90301 area Higher words Note1) HSC-CH0 The target value is set when DT90302 Lower words Target...
  • Page 244 (A: Available, N/A: Not available) Read- Writ- Address Name Description When HSC control is executed DT90370 HSC-CH0 by F0 (MV)S, DT90052 DT90371 HSC-CH1 Control flag monitor instruction, the setting value for area DT90372 HSC-CH2 the target CH is stored in each DT90373 HSC-CH3 DT90374...
  • Page 245: Table Of Basic Instructions

    14.2 Table of Basic Instructions Name Boolean Symbol Description Sequence basic instructions Start Begins a logic operation with a Form A (normally open) contact. Start Not Begins a logic operation with a Form B (normally closed) contact. Outputs the operated result to the specified output.
  • Page 246 Name Boolean Symbol Description Stores the operated result up to this Push stack PSHS instruction. *2 Reads the operated result stored by Read stack the PSHS instruction. *2 Reads and clears the operated result Pop stack POPS stored by the PSHS instruction Leading edge Turns on the contact for only one...
  • Page 247 Name Boolean Symbol Description UP/DOWN F118 Increments or decrements from the counter (UDC) preset value “S” based on up/down input. Shift register SR Shifts one bit of 16-bit [word internal relay (WR)] data to the left. Left/right F119 Shifts one bit of 16-bit data range shift register (LRSR) specified by “D1”...
  • Page 248 Name Boolean Symbol Description The operation of program is ended. Indicates the end of a main program. Conditional CNDE The operation of program is ended when the trigger turns on. Eject EJECT Adds page break for use when printing. Step ladder instructions Start step SSTP The start of program “n”...
  • Page 249 Name Boolean Symbol Description Special setting instructions Communica- SYS1 Change the communication conditions tion condi- for the COM port or tool port based on tions setting the contents specified by the character constant. Password Change the password specified by the setting PLC based on the contents specified by the character constant.
  • Page 250 Name Boolean Symbol Description Data compare instructions Begins a logic operation by comparing two 16- 16-bit data bit data in the comparative condition “S1=S2”. compare Begins a logic operation by comparing two 16- ST<> (Start) bit data in the comparative condition “S1<S2” or “S1>S2”.
  • Page 251 Name Boolean Symbol Description Begins a logic operation by comparing two 32- 32-bit data STD= bit data in the comparative condition “(S1+1, compare S1)=(S2+1, S2)”. Begins a logic operation by comparing two 32- (Start) STD<> bit data in the comparative condition “(S1+1, S1)<(S2+1, S2)”...
  • Page 252 Name Boolean Symbol Description Begins a logic operation by comparing two 32- Floating STF= bit data in the comparative condition “(S1+1, point type S1)=(S2+1, S2)”. Begins a logic operation by comparing two 32- real STF<> bit data in the comparative condition “(S1+1, number S1)<(S2+1, S2)”...
  • Page 253: Table Of High-Level Instructions

    14.3 Table of High-level Instructions The high-level instructions are expressed by the prefixes “F” or “P” with numbers. For most of the high-level instructions, “F” and “P” types are available. The differences between the two types are explained as follows: - Instructions with the prefix “F”...
  • Page 254 Ope- Num- Name Boo-lean Description rand 16-bit data D1, D2 (D1)→(D2), (D2)→(D1) exchange PXCH 32-bit data DXCH D1, D2 (D1+1, D1)→(D2+1, D2) exchange PDXCH (D2+1, D2)→(D1+1, D1) Higher/lower SWAP The higher byte and lower byte of “D” byte in 16-bit PSWAP are exchanged.
  • Page 255 Num- Name Boo-lean Description Operand BCD arithmetic instructions 4-digit BCD data S, D (D)+(S)→(D) addition 8-digit BCD data S, D (D+1, D)+(S+1, S)→(D+1, D) addition PDB+ 4-digit BCD data S1, S2, D (S1)+(S2)→(D) addition 8-digit BCD data S1, S2, D (S1+1, S1)+(S2+1, S2)→(D+1, D) addition PDB+...
  • Page 256 Num- Name Boo-lean Ope-rand Description 32-bit data DWIN S1, S2, S3 (S1+1, S1)>(S3+1, S3)→R900A: on band PDWIN (S2+1, S2)< or=(S1+1, S1)< or=(S3+1, compare S3)→R900B: on (S1+1, S1)<(S2+1, S2)→R900C: on Block data BCMP S1, S2, S3 Compares the two blocks beginning with compare PBCMP “S2”...
  • Page 257 Ope- Num- Name Boolean Description rand ASCII code → ABIN S1, S2, D Converts the ASCII code specified by “S1” 16-bit binary PABIN and “S2” to 16 bits of binary data and data stores it in “D”. → K-100 Example: H 30 30 31 2D 20 20 0 0 1 - 32-bit binary DBIA...
  • Page 258 Ope- Num- Name Boolean Description rand 16-bit data distribute DIST S, n, D Each of the digits of the data of “S” are PDIST stored in (distributed to) the least significant digits of the areas beginning at “D”. Character→ ASCII S, D Twelve characters of the character code...
  • Page 259 Ope- Num- Name Boolean Description rand FIFO instructions F115 FIFO buffer define FIFT n, D The “n” words beginning from “D” are P115 PFIFT defined in the buffer. F116 Data read from FIFR S, D The oldest data beginning from “S” P116 FIFO buffer PFIFR...
  • Page 260 Num- Name Boo-lean Ope-rand Description Basic function instruction F137 Auxiliary timer STMR S, D Turns on the specified output and R900D after 0.01 s × set value. (16-bit) Special instructions F138 Hours, min- HMSS S, D Converts the hour, minute and second P138 utes and sec- PHMSS...
  • Page 261 Num- Name Boolean Ope-rand Description F150 Data read from READ S1, S2, n, Reads the data from the P150 intelligent unit PREAD intelligent unit. F151 Data write into S1, S2, n, Writes the data into the intelligent P151 intelligent unit PWRT unit.
  • Page 262 Num- Name Boo-lean Description Operand F167 Target value much HC1R n, S, Yn Turns output Yn off when the elapsed value of the built-in high- speed counter reaches the target value of (S+1, S). F168 Positioning control SPD1 S, n Outputs a positioning pulse from (Trapezoidal the specified output (Y0 or Y1)
  • Page 263 Num- Name Boolean Description Operand F174 Pulse output SP0H S, n Outputs the pulses from the (Selectable data specified channel according to the table control data table specified by S. operation ) F175 Pulse output SPSH S, n Pulses are output from channel, (Linear in accordance with the designated interpolation)
  • Page 264 Num- Name Boo-lean Description Operand High speed counter/Pulse output instruction for FPΣ/FP-X High-speed S, DT90052 Performs high-speed counter counter and and Pulse output controls Pulse output according to the control code controls specified by “S”. The control code is stored in DT90052. Change and read FPΣ: Transfers (S+1, S) to high-speed...
  • Page 265 Num- Ope- Name Boolean Description rand Screen display instructions F180 FP-e screen S1, S2, Register the screen displayed on display S3, S4 the FP-e. registration F181 FP-e screen Specify the screen to be displayed display on the FP-e. switching Basic function instruction F182 Time constant FILTR...
  • Page 266 Num- Ope- Name Boolean Description rand F235 16-bit binary data S, D Converts the 16-bit binary data of → Gray code P235 PGRY “S” to gray codes, and the conversion converted result is stored in the “D”. F236 32-bit binary data DGRY S, D Converts the 32-bit binary data of...
  • Page 267 Ope- Num- Name Boolean Description rand Integer type data processing instructions F270 Maximum value Searches the maximum value in the P270 (word data (16- PMAX S2, D word data table between the “S1” and bit)) “S2”, and stores it in the “D”. The address relative to “S1”...
  • Page 268 Ope- Num- Name Boolean Description rand F286 Upper and DLIMT S1, S2, When (S1+1, S1)>(S3+1, S3), (S1+1, P286 lower limit PDLIMT S3, D S1)→(D+1, D) control When (S2+1, S2)<(S3+1, S3), (S2+1, (32-bit data) S2)→(D+1, D) When (S1+1, S1)<or = (S3+1, S3)<or = (S2+1, S2), (S3+1, S3)→(D+1, D) F287 Deadband...
  • Page 269 Ope- Num- Name Boo-lean Description rand F314 Floating-point type S, D SIN(S+1, S)→(D+1, D) P314 data sine operation PSIN F315 Floating-point type S, D COS(S+1, S)→(D+1, D) P315 data cosine PCOS operation F316 Floating-point type S, D TAN(S+1, S)→(D+1, D) P316 data tangent PTAN...
  • Page 270 Ope- Num- Name Boolean Description rand F329 Floating-point type S, D Converts real number data specified P329 data to 16-bit PFIX by (S+1, S) to the 16-bit integer data integer con-version with sign (rounding the first decimal (rounding the first point down), and the converted data decimal point down is stored in “D”.
  • Page 271 Num- Ope- Name Boolean Description rand F347 Floating-point FLIMT S1, S2, When (S1+1, S1)>(S3+1, S3), (S1+1, S1) →(D+1, D) P347 type data PFLIMT S3, D upper and When (S2+1, S2)<(S3+1, S3), (S2+1, S2) → (D+1, D) lower limit control When (S1+1, S1)<or = (S3+1, S3)<or =(S2+1, S2), (S3+1, S3)→(D+1, D) F348...
  • Page 272 Ope- Num- Name Boolean Description rand Time series processing instruction F355 PID processing PID PID processing is performed depending on the control value (mode and parameter) specified by (S to S+2) and (S+4 to S+10), and the result is stored in the (S+3).
  • Page 273: Table Of Error Codes

    14.4 Table of Error codes  Difference in ERROR display There are differences in the way errors are displayed depending on the model. Model Display Display method FP2,FP2SH ERROR Continually lit FPΣ,FP0, FP0R, FP-X ERROR/ALARM Flashes/continually lit FP-e Screen display ERR.
  • Page 274 -Self-diagnostic Error This error occurs when the control unit (CPU unit) self-diagnostic function detects the occurrence of an abnormality in the system. The self-diagnostic function monitors the memory abnormal detection, I/O abnormal detection, and other devices. When a self-diagnostic error occurs - The ERROR turns on or flashes.
  • Page 275 14.4.1 Table of Syntax Check Error Opera- Error Name tion Description and steps to take code status A program with a syntax error has been Syntax written. Stops ⇒ Change to PROG. mode and correct the error error. Two or more OT(Out) instructions and KP(Keep) instructions are programmed using the same relay.
  • Page 276 Opera- Error Name tion Description and steps to take code status The program is too large to compile in the program memory. ⇒ Change to PROG. mode and reduce the Compile total number of steps for the program. memory full Stops -FP10SH error...
  • Page 277 14.4.2 Table of Self-Diagnostic Error Opera- Error Name tion Description and steps to take code status Probably a hardware abnormality E20 CPU error Stops ⇒Please contact your dealer. E21 RAM error1 E22 RAM error2 Probably an abnormality in the internal RAM. E23 RAM error3 Stops ⇒Please contact your dealer.
  • Page 278 Opera- Error Name tion Description and steps to take code status Configu- A parameter error was detected in the ration Stops MEWNET-W2 configuration area. Set a parameter correct parameter. error Interrupt Probably a hardware abnormality. Stops ⇒ Please contact your dealer. error 0 An interrupt occurred without an interrupt request .
  • Page 279 Opera- Error Name tion Description and steps to take code status I/O mapping for remote I/O terminal MEWNET-F boards, remote I/O terminal units and I/O link slave I/O is not correct. terminal Stops ⇒Re-configure the I/O map for slave stations mapping according to the I/O points of the slave error...
  • Page 280 Opera- Error Name tion Description and steps to take code status An abnormality in an intelligent unit. FPΣ, FP-X: Check the contents of special data register “DT90006” and locate the abnormal FP intelligent unit (application cassette for FP-X). FP2,FP2SH, and FP10SH: Check the contents of special data registers Intelligent Selec-...
  • Page 281 Opera- Error Name tion Description and steps to take code status Scan time required for program execution exceeds the setting of the system watching dog timer. System ⇒ Check the program and modify it so that watching Selec- the program can execute a scan within the specified time.
  • Page 282 Opera- Error Name tion Description and steps to take code status S-LINK error Occurs only in FP0-SL1 When one of the S-LINK errors (ERR1, 3 or 4) has been detected, error code E46 (remote I/O (S-LINK) communication error) is Selec- stored.
  • Page 283 Opera- Error Name tion Description and steps to take code status Terminal station setting was not properly MEWNET-F performed. terminal Conti- Check stations at both ends of the station nues communication path, and set them in the error terminal station using the dip switches. Set the INITIALIZE/TEST MEWNET-F selecto1inmjvbgycfrde892 r to the...
  • Page 284 14.4.3 Table of MEWTOCOL-COM Communication Error Error Name Description code NACK error Link system error WACK error Link system error Unit No. overlap Link system error Transmission format Link system error error Link unit hardware Link system error error Unit No. setting error Link system error No support error Link system error...
  • Page 285 Error Name Description code An abnormality occurred when loading RAM to ROM/IC memory card. There may be a problem with the ROM or IC memory card. -When loading, the specified contents exceeded the capacity. External memory -Write error occurs. error -ROM or IC memory card is not installed.
  • Page 286: Mewtocol-Com Communication Commands

    14.5 MEWTOCOL-COM Communication Commands Table of MEWTOCOL-COM commands Command name Code Description Reads the on and off status of contact. (RCS) - Specifies only one point. Read contact area - Specifies multiple contacts. (RCP) - Specifies a range in word units. (RCC) Turns contacts on and off.
  • Page 287: Hexadecimal/Binary/Bcd

    14.6 Hexadecimal/Binary/BCD BCD data Decimal Hexadecimal Binary data (Binary Coded Decimal) 0000 00000000 00000000 0000 0000 0000 0000 0001 00000000 00000001 0000 0000 0000 0001 0002 00000000 00000010 0000 0000 0000 0010 0003 00000000 00000011 0000 0000 0000 0011 0004 00000000 00000100 0000 0000 0000 0100 0005...
  • Page 288: Ascii Codes

    14.7 ASCII Codes Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 289 Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 290 Record of changes Manual No. Date Desceiption of changes ARCT1F505E Dec. 2011 First Edition Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...

This manual is also suitable for:

Fp-x0 l40mrFp-x0 l60rFp-x0 l30rFp-x0 l60mr

Table of Contents