NAiS FP1 Hardware Manual

Fp series programmable controller
Table of Contents

Advertisement

PROGRAMMABLE CONTROLLER
FP1
Hardware
is a global brand name of Matsushita Electric Works.

Advertisement

Table of Contents
loading

Summary of Contents for NAiS FP1

  • Page 1 PROGRAMMABLE CONTROLLER Hardware is a global brand name of Matsushita Electric Works.
  • Page 2: Limited Warranty

    BEFORE BEGINNING This manual and everything described in it are copyrighted. You may not copy this manual, in whole or part, without written consent of Matsushita Electric Works, Ltd. Matsushita Electric Works, Ltd. pursues a policy of continuous improvement of the design and performance of its products, therefore, we reserve the right to change the manual/product without notice.
  • Page 3: Table Of Contents

    FEATURES 1-1. Features ........................ 2 1. Advanced Control Functions ................2 2. Communication Functions ................5 1-2. Table of FP1 Units ....................8 1. Control Units ....................8 2. Expansion Units .................... 10 3. Intelligent Units .................... 11 4. Link Units ..................... 11 1-3.
  • Page 4 1. Basic Configuration..................58 2. Basic Operation ....................60 4-2. How to Program the Programmable Controller ...........62 1. Making a Ladder Diagram................62 2. Relays and Timer/Counter Contacts in the FP1 ..........63 3. I/O Allocation in the FP1................65 4-3. Programming with NPST-GR Software...............67...
  • Page 5 CONTENTS 1. System Configuration ..................67 2. Features of NPST-GR Software Ver. 3 ............68 3. NPST-GR Configuration ................69 1) Overview of the Programming Screen.............69 2) Overview of the Menu Window ..............71 4. NPST-GR Installation and Configuration ............72 1) Preparing for Installation .................72 2) NPST-GR Installation................73 3) How to Use NPST-GR Effectively............75 4) NPST-GR Startup ..................75...
  • Page 6 CONTENTS No operation..............114 0.01s units timer ..............115 0.1s units timer ..............115 1s units timer ..............115 Counter................119 Shift register ..............122 Master control relay ............124 Master control relay end..........124 End ..................126 Word compare: Start equal..........127 ST<> Word compare: Start equal not ........127 ST>...
  • Page 7 CONTENTS 3) Enabling Duplicated Output..............141 4) Output State in One Scan ..............141 CHAPTER 6: HIGH-LEVEL INSTRUCTIONS 6-1. Configuration of High-level Instructions ............144 1. Types of High-level Instructions ..............144 2. Configuration of High-level Instructions .............144 3. Operands for High-level Instructions ............146 6-2.
  • Page 8 2) How to Replace Backup Battery............217 3. Removable Terminal ...................217 CHAPTER 8: APPENDIX 8-1. FP1 I/O Allocation Table ...................220 8-2. Table of Memory Areas ..................221 8-3. Table of Special Internal Relays ................223 8-4. Table of Special Data Registers .................226 8-5. System Registers ....................230 1.
  • Page 9 CHAPTER 1 FEATURES 1-1. Features ..................2 1. Advanced Control Functions ..........2 2. Communication Functions ..........5 1-2. Table of FP1 Units ..............8 1. Control Units ..............8 2. Expansion Units ...............10 3. Intelligent Units ...............11 4. Link Units ................11 1-3. Expansion and Configurations ..........12 1.
  • Page 10: Features

    Pulse output function (transistor output type) This function allows the output of a direct pulse (45 Hz to 4.9 k Hz) from the FP1. In combination with a drive, a motor can be controlled. As direct pulse is possible, an additional positioning controller is not necessary. As the C56 and C72 series have two pulse outputs, they also support motor drives with one input for forward and the other input for reverse driving.
  • Page 11 0.2 ms) occurs, regardless of the input timing. It enables high-speed processing at a fixed timing and is not affected by scan time. Therefore, it is useful when performing control which would be disrupted by variations in processing time due to such factors as timing synchronization. FP1 Control Unit Timing control on a board inspection line BATTERY...
  • Page 12 ERR. ALRAM min. max. min. max. FP1-C24 24V DC (+) - (+) - Password protection function (all series) This function forbids reading and writing of the program and system registers. It can be used for program protection and when secrecy is required.
  • Page 13: Communication Functions

    Communication between one computer and 32 FP1 Control Units Using a C-NET Adapter, a maximum of 32 FP1 units can be connected with one personal computer. If a bar code reader is connected via the RS232C port, this system can be used for collection of various production control information.
  • Page 14 Modem communication (C24, C40, C56, and C72 series) Using a modem, data transfer and long-distance communication between a personal computer and an FP1 unit can be performed. This can be done even when using NPST-GR Software. Select a cable in accordance with the specifications of the modem used.
  • Page 15 1-1. Features MEWNET-F (Remote I/O Control) system Using a FP1 I/O link unit, this function allows the exchange of I/O information with the host FP series programmable controller through a two-conductor cable. Master Unit POWER Master National station FP3 or FP5...
  • Page 16: Table Of Fp1 Units

    1-2. Table of FP1 Units 1-2. Table of FP1 Units 1. Control Units Description Series Built-in I/O point Operating Input type Output type Part number memory voltage Sink/source Standard EEPROM 24 V DC Relay AFP12313B types Input: 8 Transistor (NPN open collector)
  • Page 17 1-2. Table of FP1 Units Description Series Built-in I/O point Operating Input type Output type Part number memory voltage Sink/source Standard 24 V DC Relay AFP12413B types Input: 24 Transistor (NPN open collector) AFP12443B Output: 16 Transistor (PNP open collector)
  • Page 18: Expansion Units

    1-2. Table of FP1 Units 2. Expansion Units Description Series I/O point Operating Input type Output type Part number voltage Source AFP13802 Sink/source Input: 8 AFP13803 Source Relay AFP13812 Input: 4 Transistor (NPN open collector) AFP13842 Sink/source Output: 4 Relay...
  • Page 19: Intelligent Units

    32 outputs can be controlled per unit. FP1 I/O Link Unit 24 V DC AFP1732 The FP1 I/O Link Unit is the interface unit for exchanging I/O information between an FP3/FP5 and an FP1. 100 V to AFP1736...
  • Page 20: Expansion And Configurations

    Intelligent Unit and Link Unit Expansion Unit Expansion Unit C14 or C16 series E8 series E16 series E24 series E40 series FP1 Transmitter Master Unit C24, C40, C56 or E8 series E24 series C72 series E40 series Transmitter Master Unit...
  • Page 21: Intelligent Units And Link Unit

    2) Intelligent Units and Link Unit • Number of expandable units together: FP1 A/D Converter Unit: 1 unit; FP1 D/A Converter Unit: 2 units; FP1 Transmitter Master Unit and FP1 I/O Link Unit: 1 of each unit; FP1 I/O Link Unit: 1 unit •...
  • Page 22 1-3. Expansion and Configurations Requested I/O point Control Unit Primary Expansion Unit Secondary Expansion Unit Total Input Output Series Input Output Series Input Output Series Input Output...
  • Page 23 1-3. Expansion and Configurations Requested I/O point Control Unit Primary Expansion Unit Secondary Expansion Unit Total Input Output Series Input Output Series Input Output Series Input Output...
  • Page 24: Programming Tools

    • The .EXE files in NPST-GR Software are compressed in the system disks. When installing NPST-GR, you will have to expand them. • RS232C cable (3 m / 9.843 ft.): AFB85833/AFB85853 • RS422/232C Adapter: AFP8550 • FP1 Peripheral Cable: 0.5 m / 1.640 ft.: AFP15205 3 m / 9.843 ft.: AFP1523...
  • Page 25: Fp Programmer Ii

    FP Programmer II. 2. How to Program ROM • Using an FP ROM Writer or a commercially available ROM programmer, the contents of the FP1’s internal RAM can be written to ROM (memory). • The following types of ROM (memory) are available: - Memory (EPROM): AFP1201 Memory for storing programs.
  • Page 26 1-4. Programming Tools Writing a program to the memory (EPROM) via the master memory (EEPROM) with a commercially available ROM programmer [Program in FP1’s internal RAM → Master memory (EEPROM) → commercially available ROM programmer’s internal memory → memory (EPROM)] Commercially available...
  • Page 27 1-4. Programming Tools Writing a program to the memory (EPROM) with NPST-GR Software and a commercially available ROM programmer [Program with NPST-GR Software → Commercially available ROM programmer’s internal memory → memory (EPROM)] Procedure: Commercially available 1 Transfer the program from the personal computer to personal computer NPST-GR Software (IBM PC-AT or 100% compatible)
  • Page 29: Specifications

    3. Intelligent Unit..............25 1) FP1 A/D Converter Unit........25 2) FP1 D/A Converter Unit........25 4. Link Unit ................26 1) FP1 Transmitter Master Unit .........26 2) FP1 I/O Link Unit..........27 3) C-NET Adapter S1 Type ........28 2-2. Specifications ................29 1. General Specifications............29 2.
  • Page 30: Parts Terminology And Functions

    Expansion Connector: Connects to the FP1 Expansion Unit or FP1 Intelligent Unit (FP1 A/D Converter Unit or FP1 D/A Converter Unit) or FP1 I/O Link Unit. 24V DC See page 12 and 42. DIN Rail Attachment Lever FP1-001-93-B...
  • Page 31: C24/40/56/72

    Programming Tools Connector (RS422 port): Use this connector to connect the programming tools (e.g., FP Programmer II or personal computer with NPST-GR Software) using the FP1 Peripheral Cable. Baud Rate Selector: Selects the baud rate for communication with a peripheral device (FP Programmer, FP Programmer II or personal computer with NPST-GR Software).
  • Page 32: Expansion Unit

    Built-in DC Power Output Terminals for Inputs (AC type only): DIN Rail DC power for inputs can be supplied from these terminals. Attachment Lever See page 45. Expansion Connector (left side): Connects to the FP1 Control Unit or FP1 Expansion Unit. See page 12 and 42.
  • Page 33: Intelligent Unit

    F.G. FP1-003-93-B.a DIN Rail Attachment Lever Channel 0 Channel 1 Channel 2 Expansion Connector (left side) Connects to the FP1 Control Unit or FP1 Expansion Unit. 2) FP1 D/A Converter Unit (Illustration: DC type) Unit Number Power Supply Terminals Selector •...
  • Page 34: Link Unit

    COM. ALARM Expansion A B C D E Expansion Connector MONITOR SW. MODE SW. Connects to the FP1 MEWNET-TR master unit Connector INPUT UNIT using expansion cable OUTPUT UNIT 1 2 3 4 5 6 Connected to the Matsushita Electric Works, Ltd.
  • Page 35: Fp1 I/O Link Unit

    2-1. Parts Terminology and Functions 2-1. Parts Terminology and Functions 2) FP1 I/O Link Unit Expansion Connector (left side) Connects to the FP1 Control Unit or FP1 Expansion Unit. ower Supply Terminals (AC type/DC type) RS485 Interface For connecting a communication cable.
  • Page 36: C-Net Adapter S1 Type

    OFF: TERMINATE Switch Turn this switch ON when the adapter is installed at terminal station. RS422 port DIN Rail Attachment Lever Cable Connects the cable to the programming tools connector (RS422 port) of FP1 Control Unit.
  • Page 37: Specifications

    AC type: 100 V to 240 V AC Rated (all series) DC type: 24 V DC operating voltage Expansion Unit (E24 and E40 series only) FP1 A/D Converter Unit FP1 D/A Converter Unit FP1 Transmitter Master Unit FP1 I/O Link Unit Control Unit...
  • Page 38 E24 series: 0.4 A or less (at 24 V DC) E40 series: 0.5 A or less (at 24 V DC) FP1 A/D AC type 0.2 A or less (at 100 V AC) Converter Unit 0.2 A or less (at 200 V AC)
  • Page 39: Performance Specifications Of Control Unit And Expansion Unit

    2-2. Specifications 2. Performance Specifications of Control Unit and Expansion Unit 1) Control Specifications Item C14 Series C16 Series C24 Series C40 Series C56 Series C72 Series Programming method Relay symbol Control method Cyclic operation Program memory Built in EEPROM Built in RAM (lithium battery backup) (without battery) EEPROM (master memory unit)/EPROM (memory unit)
  • Page 40: Input Specifications Of Control Unit And Expansion Unit

    Connection method Terminal block (M3.5 screw) Insulation method Optical coupler Wiring diagram examples • (+) common input version • (+)/(–) common input version FP1 Control/Expansion Unit FP1 Control/Expansion Unit (±) 12 V to 12 V to – – 3 kΩ"...
  • Page 41: Output Specifications Of Control Unit And Expansion Unit

    Electrical life time operations or more Surge absorber None Operating mode indicator Connection method Terminal block (M3.5 screw) • Wiring diagram (FP1 Control/Expansion Unit) L: Load Output terminals Transistor output type (PNP or NPN open collector) Notes: Item Description Insulation method Optical coupler 1.
  • Page 42 Response time OFF → ON 1 ms or less ON → OFF 0.5 cycle + 1 ms or less Surge absorber Varister Operating mode indicator Connection method Terminal block (M3.5 screw) • Wiring diagram (FP1 Expansion Unit) L: Load Output terminals...
  • Page 43: Performance Specifications Of Intelligent Unit

    2-2. Specifications 3. Performance Specifications of Intelligent Unit 1) FP1 A/D Converter Unit Item Description 4 channels/unit Analog input points 0 to 5 V and 0 to 10 V Analog input range 0 to 20 mA 1/1000 Resolution ±1 % of full scale Overall accuracy 2.5 ms/channel...
  • Page 44: Performance Specifications Of Link Unit

    1000 1000 1000 Digital input Digital input Digital input 4. Performance Specifications of Link Unit 1) FP1 Transmitter Master Unit Item Description RS485 Interface Data Transmission velocity 0.5 M bps 64 points (Input: 32, Output: 32, setting when shipped)
  • Page 45: Dimensions

    C14 and C16 Series AC type DC type 100-240V F.G. REMOTE PROG. PROG. ERR. ALRAM min. max. FP1-C16 24V DC 45/1.772 74/2.913 120/4.724 FP1-016-93-B C24, C40, C56, and C72 Series AC type DC type Item W (mm/in.) H (mm/in.) C24 Series 190/7.480...
  • Page 46: Intelligent Unit

    2-2. Specifications 3) Intelligent Unit FP1 A/D Converter Unit, FP1 D/A Converter Unit AC type DC type 45/1.772 74/2.913 120/4.724 FP1-016-93-B 4) Link Unit FP1 Transmitter Master Unit AC type DC type F.G. F.G. 24V DC RS485 TRNET POWER COM.
  • Page 47: Installation And Wiring

    1) Wiring Example for Output Terminals ....49 2) Description ............49 3) Output Wiring Examples ........50 4) Output Terminal Layouts ........51 5. Wiring the FP1 A/D Converter Unit.........53 1) Wiring for Voltage Input........53 2) Wiring for Current Input ........53 6. Wiring the FP1 D/A Converter Unit.........54 1) Wiring for Voltage Output ........54...
  • Page 48: Installation

    3-1. Installation 3-1. Installation 1. Panel Mounting Mount the Control Unit, Expansion Unit, FP1 A/D Converter Unit, FP1 D/A Converter Unit, and FP1 I/O Link Unit on the mounting panel with M4 size screws. Mounting Hole Dimensions Control Units (C14 and C16 series)
  • Page 49: Cautions

    (+) - (+) - 50 mm/1.969 in. or more Wiring duct FP1-022-93-B • The FP1 unit is wrapped in a protective sheet to prevent scraps and wire debris from getting inside. Please remove this sheet when installation and wiring is finished.
  • Page 50: Expansion

    • Connect the Control Unit to the Expansion Unit, Intelligent unit (FP1 A/D Converter Unit, FP1 D/A Converter Unit) or FP1 I/O Link Unit using Expansion Cable that folds out of sight and out of the way. In addition, concealing the Expansion Cable helps avoid the potentially adverse effects of electrical noise.
  • Page 51: Wiring

    Grounding • The FP1 has sufficient noise resistance under low noise level conditions. However, ground the FP1 unit for safety. • When grounding, an earth-ground resistance of 100 Ω or less is recommended to limit the effect of noise due to electromagnetic interference.
  • Page 52: Power Supply Lines

    • Design the power supply lines for the Control Unit, Expansion Unit, and Intelligent units (FP1 A/D Converter Unit and FP1 D/A Converter Unit) and FP1 I/O Link Unit so that the power for each can be turned ON and OFF at the same time.
  • Page 53: Input Terminals Of Control Unit And Expansion Unit

    3-3. Wiring 3. Input Terminals of Control Unit and Expansion Unit 1) Wiring Example for Input Terminals (Illustration: FP1 Control Unit) FP1-C24 Unit – 24V DC (±) (±) FP1-026-93-B Input terminals Push button Push button Built-in DC power output switches...
  • Page 54: Input Wiring Examples

    Wiring the LED-equipped Limit Switch • If the input of the FP1 is not turned OFF because of • If the input of the FP1 is not turned OFF or if the leakage current from the sensor, the use of a bleeder LED of the limit switch is kept ON because of resistor is recommended, as shown below.
  • Page 55: Input Terminal Layouts

    • When a LED is connected in serial to an input Input contact such as the LED-equipped reed switch, terminal make the voltage applied to the FP1 input circuit 10 V DC LED-equipped greater than 10 V. In particular, take care when...
  • Page 56 3-3. Wiring • 8 A C E • • C40, E40 series: AC type (–) (±) (±) (±) • • 8 A C E • DC type • (±) (±) (±) • 8 A C E • 8 A C E •...
  • Page 57: Output Terminals Of Control Unit And Expansion Unit

    3-3. Wiring 4. Output Terminals of Control Unit and Expansion Unit 1) Wiring Example for Output Terminals (Illustration: FP1 Control Unit) Output devices Output terminals BATTERY Unit 100 240 V AC F.G. REMOTE PROG. PROG. ERR. ALARM min. max. min.
  • Page 58: Output Wiring Examples

    Inductive load Inductive load Varister FP1-041-93-B Output terminal Inductive load • When there is a low current load with the triac output type, the load may not go off because of the leakage current. If this type of trouble should arise, connect a resistor in parallel with the load, as shown in the diagram below.
  • Page 59: Output Terminal Layouts

    3-3. Wiring 4) Output Terminal Layouts • C14 series: AC type AC AC F.G. DC type F.G. (–) • C16 series: AC type AC AC F.G. DC type F.G. (–) • COM COM COM COM COM COM COM COM • C24, E24 series: AC type •...
  • Page 60 3-3. Wiring • E8 series: Output only type (O: 8-point) I/O type (O: 4-point) • E16 series: Output only type (O: 16-point) I/O type • • (O: 8-point) Notes: • Do not connect output devices to the output terminals indicated with a “•” symbol. •...
  • Page 61: Wiring The Fp1 A/D Converter Unit

    3-3. Wiring 5. Wiring the FP1 A/D Converter Unit 1) Wiring for Voltage Input Wiring diagram Connect the input device to the analog voltage input Power Supply Terminal terminal (V). Switch the input range with the voltage Voltage Range range selection terminal (RANGE), as shown below.
  • Page 62: Wiring The Fp1 D/A Converter Unit

    • It is recommended that the shielded cable is grounded at the load device side. However, depending on the external noise situation, you may get better results by leaving the shield open or grounding it to the minus input terminal of the FP1 D/A Converter Unit.
  • Page 63: Wiring The Fp1 Transmitter Master Unit

    7. Wiring the FP1 Transmitter Master Unit Connect the RS485 interfaces on the FP1 Transmitter Master Unit and on the other Programmable Controller with a communication cable. When connecting the communication cable, be sure to connect positive (+) to positive, and negative (-) to negative of the RS485 interface.
  • Page 64 3-3. Wiring Twisted Pair Cable: 1-pair • Conductor Size: Min. 0.5 mm (AWG20 or lager) Conductors • Cable Insulation material: Polyethylene Insulation Insulation thickness: Max. 0.5 mm/0.20 in. Jacket thickness: Approx. 1.5 mm/0.59 in. Jacket Notes: 1. Three or more parts of cable should not be connected to one RS485 port. 2.
  • Page 65: Before Programming

    2. Basic Operation ..............60 4-2. How to Program the Programmable Controller ....62 1. Making a Ladder Diagram..........62 2. Relays and Timer/Counter Contacts in the FP1 ....63 3. I/O Allocation in the FP1 ..........65 4-3. Programming with NPST-GR Software ........67 1. System Configuration ............67 2.
  • Page 66: Operating Principles Of The Programmable Controller

    4-1. Operating Principles of the Programmable Controller 4-1. Operating Principles of the Programmable Controller 1. Basic Configuration A programmable controller is composed of four basic sections: 1 CPU, 2 memory, 3 input interface, and 4 output interface. An inside look at these sections will help you understand their functions and operation of the programmable controller.
  • Page 67 4-1. Operating Principles of the Programmable Controller 4-1. Operating Principles of the Programmable Controller Functions of the Four Sections 1 1 CPU (Central Processing Unit) Controls the operation of the programmable controller including the I/Os according to the program 2 2 Memory Memory areas where the program and information needed for operation of the programmable controller are stored.
  • Page 68: Basic Operation

    4-1. Operating Principles of the Programmable Controller 4-1. Operating Principles of the Programmable Controller 2. Basic Operation The basic operation of the programmable controller is: - To read data from all the input field devices - To execute the program according to the logic programmed - To turn the output field devices ON or OFF The process of reading inputs, executing the program, and updating the outputs is cyclicly repeated in the same manner.
  • Page 69 4-1. Operating Principles of the Programmable Controller 4-1. Operating Principles of the Programmable Controller Scan Time of the Programmable Controller scan • The process of input update, program execution, and output update is referred to as a and the process cyclic execution method repeated over and over in the same manner is referred to as the •...
  • Page 70: How To Program The Programmable Controller

    4-2. How to Program the Programmable Controller 4-2. How to Program the Programmable Controller 1. Making a Ladder Diagram Originally, programmable controllers were designed as a replacement for relay-controlled systems. Therefore, programs can be easily created with a relay sequence circuit as shown below. Relay sequence circuit Ladder diagram on screen of NPST-GR Software...
  • Page 71: Relays And Timer/Counter Contacts In The Fp1

    4-2. How to Program the Programmable Controller 4-2. How to Program the Programmable Controller 2. Relays and Timer/Counter Contacts in the FP1 The FP1 programmable controller contains many relays and timer/counter contacts as follows. Input terminals External input relay (X) This relay feeds signals to the programmable controller from an external input device such as a limit switch or photoelectric sensor.
  • Page 72 4-2. How to Program the Programmable Controller Memory area Numbering Item C14 and C24, C40, C56, C16 series and C72 series 208 points External input relay (X) (X0 to X12F) 208 points External output relay (Y) (Y0 to Y12F) Relay 256 points 1,008 points Internal relay (R)
  • Page 73: I/O Allocation In The Fp1

    (WY8) Notes: • X50 to X67 and Y50 to Y5F are allocated for the FP1 Transmitter Master Unit when it is used instead of an expansion unit for FP1 C24, C40, C52 and C72 series, which have expansion units. • The maximum number of expansion units that can be connected to the control unit is as follows:...
  • Page 74 - FP1 C14 and C16 series: 1 expansion unit (including FP1 Transmitter Master Unit) - FP1 C24, C40, C56 and C72 series: 2 expansion units (including FP1 Transmitter Master Unit) • Number of expandable units together: - FP1 I/O Link Unit: Max.
  • Page 75: Programming With Npst-Gr Software

    • Set the baud rate selector of the FP1 to 19200 or 9600. Note: • If the microprocessor of your computer works at 8 M Hz or 16 M Hz, set the baud rate selector of the FP1 to 9600 bps.
  • Page 76: Features Of Npst-Gr Software Ver. 3

    4-3. Programming with NPST-GR Software 2. Features of NPST-GR Software Ver. 3 NPST-GR Software is a programming support tool for the FP1 programmable controller. The things you can do with the NPST-GR are briefly introduced in the following: • Programming NPST-GR provides three programming modes.
  • Page 77: Npst-Gr Configuration

    4-3. Programming with NPST-GR Software 3. NPST-GR Configuration The NPST-GR Software is configured as follows. Menu window Using the Esc key you can open/close the Programming screen menu window. Some menu functions can be selected from the programming screen using the function keys.
  • Page 78 4-3. Programming with NPST-GR Software When you are in the ONLINE mode, it indicates whether you are monitoring the program or not, and which mode the programmable controller is currently in. When you are in the OFFLINE mode OFFLINE PROGRAMMING SEARCH LD SYMBOL 1 Indicates which mode you are in: the OFFLINE mode or the ONLINE mode.
  • Page 79: Overview Of The Menu Window

    IC CARD PROGRAM MANAGER 6.DELETE ALL NOPS selected in the EXIT NPST-GR 7.TOGGLE a/b CONTACTS NPST menu. 8.CHANGE RELAYS PLC TYPE [ FP1/FP-M 5k ] 9.CLEAR A PROGRAM PLC MODE OFFLINE PROGRAM NAME Programmable USE/MAX (STEP) [ 0/ 7679]...
  • Page 80: Npst-Gr Installation And Configuration

    4-3. Programming with NPST-GR Software • Programmable controller information area PLC TYPE Indicates the type of programmable controller currently specified. PLC TYPE: FP1 0.9 k FP1/FP-M 2.7 k FP1/FP-M 10 k FP3/FP-C 16 k 16 k FP10/FP10S 30 k FP10...
  • Page 81: Npst-Gr Installation

    4-3. Programming with NPST-GR Software 2) NPST-GR Installation This section describes how to install NPST-GR. Make a backup disk of the software and use it for installation. Procedure 1. If the current drive is other than drive A, change to drive A by typing “A:” at the DOS prompt. 2.
  • Page 82 4-3. Programming with NPST-GR Software 5. Make sure that the source drive and the target drive are specified correctly. The “source drive” shows the drive which the NPST-GR system disk is in. The “target drive” shows the drive onto which you want to install NPST-GR.
  • Page 83: How To Use Npst-Gr Effectively

    4-3. Programming with NPST-GR Software 3) How to Use NPST-GR Effectively The flowchart shown below is an example of how you can use NPST-GR before you run a program in the field. Except for the settings for NPST-GR and programmable controller configuration, you can freely change the order of the flowchart.
  • Page 84: Configuring Npst-Gr

    RELAYS/REGISTERS 1.NPST CONFIGURATION CHECK A PROGRAM NPST CONFIGURATION PLC CONFIGURATION PROGRAM MANAGER IC CARD PROGRAM MANAGER EXIT NPST-GR PLC TYPE [ FP1/FP-M 5k ] PLC MODE OFFLINE PROGRAM NAME USE/MAX (STEP) [ 0/ 7679] **= NOT AVAILABLE 2. Press Enter or the right arrow key.
  • Page 85 You can select from; 0.9 k: FP1 C14/C16 series FP1/FP-M 2.7 k: FP1 C24/C40 series and FP-M (2.7 k) FP1/FP-M 5 k: FP1 C56/C72 series and FP-M (5 k) 10 k: FP3 (10 k)
  • Page 86: Exiting Npst-Gr

    4-3. Programming with NPST-GR Software Logging or Saving the Parameters After you set the parameters in [1.NPST CONFIGURATION], you must log the settings so that NPST-GR will be reconfigured according to the parameters you set. If you go to the programming screen or use other functions without logging the parameters you set, they will be aborted.
  • Page 87: Basic Key Operation For Programs

    4-3. Programming with NPST-GR Software 6. Basic Key Operation for Programs Input the following program using the ladder symbol mode. ( ED ) Boolean Non-ladder Key operation Address Instruction Enter Enter AN/ X Enter Enter Enter Enter Enter Enter Enter Ctrl + F3 Enter When you first start NPST-GR, you will be in the ladder symbol mode.
  • Page 88: Downloading A Program To The Programmable Controller

    4-3. Programming with NPST-GR Software 7. Downloading a Program to the Programmable Controller The [4.LOAD A PROGRAM TO PLC] option downloads the program and/or the I/O comments which are on the screen of the programmable controller. After you complete the program, you must download the program so that the programmable controller executes it.
  • Page 89: Saving A Program To Disk

    4-3. Programming with NPST-GR Software 8. Saving a Program to Disk The [2.SAVE A PROGRAM TO DISK] option saves the program and/or the I/O comments which exist on the screen to the disk of your personal computer. Procedure 1. Select the [PROGRAM MANAGER] option from the NPST menu. 2.
  • Page 90: Printing

    4-3. Programming with NPST-GR Software 9. Printing The [A.PRINT OUT] option prints out: the program displayed on the screen, as a ladder diagram or in Boolean. the list of the relays, registers or control instructions used in the program. the parameters set with the [NPST CONFIGURATION] menu the parameters set for system registers 0 to 418, the I/O map, and the remote I/O map When you select the [A.PRINT OUT] option, the [PRINT OUT] window will open.
  • Page 91: Programming With The Fp Programmer Ii

    INST Connection between a Programmable Controller and an FP Programmer II • An FP1 Peripheral Cable (for FP Programmer II) is required to connect an FP1 to an FP Programmer II. Setting of FP1 • Set the baud rate selector of the FP1 to 19200.
  • Page 92: Downloading A Program To The Programmable Controller

    SHIFT Procedure 1. Connect FP Programmer II and the FP1 programmable controller using the FP1 Peripheral Cable. 2. Set the mode selector of the FP1 to PROG. 3. Press the keys on the FP Programmer II, as shown on the right, to clear all (–)
  • Page 93 4-4. Programming with the FP Programmer II Key Operations for Correcting Input Errors • Correcting the contents of the program Procedure example 1. Read the contents of address 3. READ ACLR 2. Clear the display for address 3. (HELP) 3. Rewrite with the correct instructions. L-WL R-WR •...
  • Page 94: Memory Unit Creation And Rom Operation

    RAM, the existing contents of the memory and system registers will be overwritten. Note: • The contents of memory for operand, such as internal relays and data registers are not overwritten. Connector for FP1 Memory (EPROM) and FP1 Master Memory (EEPROM) Unit BATTERY 24V DC F.G.
  • Page 95: How To Program Rom

    4-5. Memory Unit Creation and ROM Operation 2. How to Program ROM • Using an FP ROM Writer or a commercially available ROM programmer, the contents of the FP1’s internal RAM can be written to the memory (ROM). • The following types of memory (ROM) are available:...
  • Page 96 4-5. Memory Unit Creation and ROM Operation Writing a program to the memory (EPROM) via the master memory (EEPROM) with a commercially available ROM programmer [FP1’s internal RAM → master memory unit (EEPROM) → ROM programmer memory → memory (EPROM)] Procedure: 1 Attach master memory unit...
  • Page 97: Operation With Installed Memory Unit (Rom Operation)

    ON. Note that the previous contents of the RAM will be erased. Notes: • If you want to save the contents of the FP1 internal RAM onto a Master Memory Unit, be sure to set the Mode Selector to PROG. before turning ON the power.
  • Page 99: Basic Instructions

    CHAPTER 5 BASIC INSTRUCTIONS 5-1. Configuration of Basic Instructions ........92 1. Types of Basic Instructions..........92 2. Configuration of Basic Instructions........92 3. Operands for Basic Instructions ........93 1) Description of Operands ........93 5-2. Table of Basic Instructions ............95 1. Basic Sequence Instructions ..........95 2.
  • Page 100: Configuration Of Basic Instructions

    5-1. Configuration of Basic Instructions 5-1. Configuration of Basic Instructions 1. Types of Basic Instructions Basic Sequence Instructions: These basic instructions perform bit unit logic operations and are the basis of the relay sequence circuit. Basic Function Instructions: These are the timer, counter and shift register instructions. Control Instructions: These instructions determine the order and flow of program execution.
  • Page 101: Operands For Basic Instructions

    0, 1, 2, 3 ..9, A, B, ..F Notes: • Refer to page 65, “3. I/O Allocation in the FP1”, for details about relay numbers. • Any external output relay (Y) which is not used as an external output can be assigned as an internal relay...
  • Page 102 • In C56 and C72 series, the timer functions can be increased beyond this using the auxiliary timer instruction. Refer to “FP-M/FP1 Programming Manual” for details about the auxiliary timer instruction. Hold type and non-hold type of the internal relay (R), timer contact (T), and counter contact (C) •...
  • Page 103: Table Of Basic Instructions

    5-2. Table of Basic Instructions 5-2. Table of Basic Instructions 1. Basic Sequence Instructions Name Boolean Description Step Availability Page C14/ C24/ C56/ 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.
  • Page 104: Basic Function Instructions

    • A: Available, N/A: Not available • Details about the instructions with a * mark are described in this manual. Refer to the pages in the far right column of the above tables. For other instructions without a * mark, refer to “FP-M/FP1 Programming Manual”.
  • Page 105: Compare Instructions

    • A: Available, N/A: Not available • Details about the instructions with a * mark are described in this manual. Refer to the pages in the far right column of the above tables. For other instructions without a * mark, refer to “FP-M/FP1 Programming Manual”.
  • Page 106 5-2. Table of Basic Instructions Name Boolean Operand Description Step Availability Page C14/ C24/ C56/ Word compare: ST <> S1, S2 Performs Start, AND or OR operation Start equal not by comparing two word data in the Word compare: AN <> following conditions.
  • Page 107 5-2. Table of Basic Instructions Page Name Boolean Operand Description Step Availability C14/ C24/ C56/ Double word compare: STD > S1, S2 Performs Start, AND or OR operation Start larger by comparing two double word data in Double word compare: AND >...
  • Page 108: Description Of Basic Instructions

    • Some input devices such as emergency stop switch usually have the Form B (normally closed) contact. When an emergency stop switch with the Form B contact is programmed as input to the FP1, use the instruction instead of the instruction.
  • Page 109: St St/ Ot

    • Some input devices such as emergency stop switch usually have the Form B (normally closed) contact. When an emergency stop switch with the Form B contact is programmed as input to the FP1, use the instruction instead of the instruction.
  • Page 110: Not

    5-3. Description of Basic Instructions Step Availability All series Outline Inverts the operated result up to this instruction. Program example Boolean Non-ladder Ladder Diagram FP Programmer II key operations Address Instruction X-WX X-WX Y-WY X-WX L-WL Y-WY DT/Ld L-WL Y-WY Explanation of example Time chart •...
  • Page 111: An And

    5-3. Description of Basic Instructions Step Availability All series AND Not Outline AN: Connects a Form A (normally open) contact serially. AN/: Connects a Form B (normally closed) contact serially. Program example Boolean Non-ladder Ladder Diagram FP Programmer II key operations Address Instruction X-WX X-WX...
  • Page 112: Or Or

    5-3. Description of Basic Instructions Step Availability All series OR Not Outline OR: Connects a Form A (normally open) contact in parallel. OR/: Connects a Form B (normally closed) contact in parallel. Program example Boolean Non-ladder Ladder Diagram FP Programmer II key operations Address Instruction X-WX X-WX...
  • Page 113: Ans And Stack

    5-3. Description of Basic Instructions Step Availability AND stack All series Outline Performs an AND operation on multiple instruction blocks. Program example Boolean Non-ladder Ladder Diagram FP Programmer II key operations Address Instruction X-WX X-WX R-WR X-WX X-WX X-WX R-WR X-WX Instruction blocks Y-WY...
  • Page 114: Ors Or Stack

    5-3. Description of Basic Instructions Step Availability OR stack All series Outline Performs an OR operation on multiple instruction blocks. Program example Boolean Non-ladder Ladder Diagram FP Programmer II key operations Address Instruction X-WX X-WX Instruction blocks Y-WY X-WX X-WX X-WX Y-WY X-WX...
  • Page 115: Pshs Push Stack

    5-3. Description of Basic Instructions Step Availability PSHS Push stack Read stack All series POPS Pop stack Outline PSHS: Stores the operated result up to this instruction. PSHS RDS: Reads the operated result stored by the instruction. PSHS POPS: Reads and clears the operated result stored by the instruction.
  • Page 116 5-3. Description of Basic Instructions Description PSHS: • You can continue to use the same operation • Stores the operated result up to result several times by successively using this instruction and executes operation from instruction. When you are the next step. POPS RDS: finished, be sure to issue the...
  • Page 117: Df Leading Edge Differential

    ON/OFF state of the contact comparing the state in the scan before. Therefore, if its trigger is already set to ON at the first scan of the FP1’s operation, there will be no execution of the instruction.
  • Page 118 5-3. Description of Basic Instructions Notes: • Trigger to the instructions between the • If the same trigger is set for the and for the instruction set are ignored while the instruction, there will be no output. Place the execution condition is OFF. instruction outside the instruction set when output is required.
  • Page 119: Set Set

    5-3. Description of Basic Instructions Step Availability All series Reset Outline SET: Holds the contact (in bit) ON. RST: Holds the contact (in bit) OFF. Program example Boolean Non-ladder Ladder Diagram FP Programmer II key operations Address Instruction X-WX X-WX SET Y SHIFT SHIFT...
  • Page 120 5-3. Description of Basic Instructions • When the instructions are used, the contents of the output changes with each step during the processing of the operation. Example: When X0, X1, and X2 are turned ON 〈 S 〉! This portion of the program is processed as if Y0 were ON.
  • Page 121: Kp Keep

    5-3. Description of Basic Instructions Step Availability Keep All series Outline Turns ON the output and maintains its condition. Program example Boolean Non-ladder Ladder Diagram FP Programmer II key operations Address Instruction X-WX X-WX Set trigger X-WX X-WX KP Y 0 SHIFT SHIFT Y-WY...
  • Page 122: No Operation

    5-3. Description of Basic Instructions Step Availability No operation All series Outline No operation Program example FP1-Programmer II key Boolean Non-ladder Ladder Diagram operations Address Instruction X-WX X-WX SHIFT SHIFT (DELT) INST • L-WL Y-WY Explanation of example • Y0 outputs when X1 turns ON.
  • Page 123: S Units Timer

    5-3. Description of Basic Instructions Step Availability 0.01s units timer 0.1s units timer All series 1s units timer Outline TMR: Sets the ON-delay timer for 0.01 s units (0 to 327.67 s) TMX: Sets the ON-delay timer for 0.1 s units (0 to 3276.7 s) TMY: Sets the ON-delay timer for 1 s units (0 to 32767 s) Program example Boolean Non-ladder...
  • Page 124 5-3. Description of Basic Instructions Description • The instruction is a down type preset timer. • If there are not enough instruction numbers, you can increase the number by changing the setting of system register 5. Refer to page 230, “8-5. System Registers”, for details on how to change the number of timer instructions.
  • Page 125 5-3. Description of Basic Instructions Changing the value in the Set Value Area (SV) All control units can change the value in the set value area (SV), even during RUN mode, using the high-level F0 (MV) instruction or the programming tool (FP Programmer II or NPST-GR). The range of values that can be specified in the set value area (SV) are: C14 and C16 series: SV0 to SV127...
  • Page 126 5-3. Description of Basic Instructions Application example When using two timer instructions Program example 1 Program example 2 PSHS POPS...
  • Page 127 5-3. Description of Basic Instructions Step Availability Counter All series Subtracts the preset counter. Outline Program example Boolean Non-ladder Ladder Diagram FP Programmer II key operations Address Instruction Set value X-WX X-WX Count trigger X-WX X-WX Reset trigger C-EV (BIN) Counter instruction number C 100 C 100...
  • Page 128 5-3. Description of Basic Instructions Description • The instruction is a down type preset counter. • If there are not enough instruction numbers, you can increase the number by changing the setting of system register 5. Refer to page 230, “8-5. System Registers”, for details on how to change the number of contact numbers.
  • Page 129 5-3. Description of Basic Instructions Notes: • For each instruction, one SV and EV set and one contact C are supported as follows: Counter Set value Elapsed value Counter instruction number area SV area EV contact C CT100 SV100 EV100 C100 •...
  • Page 130: Shift Register

    5-3. Description of Basic Instructions Step Availability Shift register All series Outline Shifts one bit of 16-bit [word internal relay (WR)] data to the left. Program example Boolean Non-ladder Ladder Diagram FP Programmer II key operations Address Instruction Data area X-WX X-WX Data input...
  • Page 131 5-3. Description of Basic Instructions When shift trigger (X1) is turned ON: ....Bit position Data 0 0 0 0 1 0 0 0 1 0 0 0 1 1 0 0 Shifts one bit to the left.
  • Page 132 5-3. Description of Basic Instructions Step Availability Master control relay All series Master control relay end Outline Executes the instructions from when the predetermined trigger (I/O) turns ON. Program example Boolean Non-ladder Ladder Diagram FP Programmer II key operations Address Instruction Predetermined trigger X-WX X-WX...
  • Page 133 5-3. Description of Basic Instructions • Another master control instruction ( ( MC 0 )! set can be programmed between one master control instruction set as shown on the right. This construction is called “nesting”. ( MC 1 )! ( MCE 1 )! ( MCE 0 )! Notes: 1.
  • Page 134 • Use the instruction if end processing is necessary within the main program. CNDE Refer to FP-M/FP1 Programming Manual, for details about the instruction. • Refer to page 139, “5-4. Hints for Programming Basic Instructions”, for details about basic instructions, such as the instruction, which are not displayed on the FP Programmer II keys.
  • Page 135 5-3. Description of Basic Instructions Step Availability ST = Word compare: Start equal ST <> Word compare: Start equal not ST > C24, C40, C56, and Word compare: Start larger C72 series CPU version 2.7 or ST >= Word compare: Start equal or larger later ST <...
  • Page 136 5-3. Description of Basic Instructions Time chart ON (DT0 = K50) ST = OFF (DT0 K50) = K50 Description • Compares the word data specified by S1 with the word data specified by S2 according to the comparative conditions. The contact goes ON/OFF depending on the result of the comparison. •...
  • Page 137: Word Compare: And Equal

    5-3. Description of Basic Instructions Step Availability AN = Word compare: AND equal AN <> Word compare: AND equal not AN > C24, C40, C56, and Word compare: AND larger C72 series CPU version 2.7 or AN >= Word compare: AND equal or larger later AN <...
  • Page 138 5-3. Description of Basic Instructions Time chart ON (DT0 < K70) ST < DT0 < K70 OFF (DT0 K70) ON (DT1 K50) AN <> OFF (DT1 = K50) Description • Compares the word data specified by S1 with the word data specified by S2 according to the comparative conditions.
  • Page 139: Word Compare: Or Equal

    5-3. Description of Basic Instructions Step Availability OR = Word compare: OR equal OR <> Word compare: OR equal not OR > C24, C40, C56, and Word compare: OR larger C72 series CPU version 2.7 or OR >= Word compare: OR equal or larger later OR <...
  • Page 140 5-3. Description of Basic Instructions Time chart ON (DT0 = K50) ST = DT0 = K50 OFF (DT0 K50) ON (DT1 > K40) OR > OFF (DT1 K40) Description • The contact goes ON/OFF depending on the result of the comparison. The contacts are connected in parallel.
  • Page 141 5-3. Description of Basic Instructions Step Availability Double word compare: STD = Start equal Double word compare: STD <> Start equal not Double word compare: STD > C24, C40, C56, and Start larger C72 series CPU version 2.7 or STD >= Double word compare: later Start equal or larger...
  • Page 142 5-3. Description of Basic Instructions Time chart (DT1, DT0) ON [(DT1, DT0) = K50] STD = OFF [(DT1, DT0) K50] Description • Compares the double word data specified by S1 and S1+1, with the double word data specified by S2 and S2+1, according to the comparative conditions. The contact goes ON/OFF depending on the result of the comparison.
  • Page 143 5-3. Description of Basic Instructions Step Availability Double word compare: AND = AND equal Double word compare: AND <> AND equal not Double word compare: AND > C24, C40, C56, and AND larger C72 series CPU version 2.7 or AND >= Double word compare: later AND equal or larger...
  • Page 144 5-3. Description of Basic Instructions Time chart (DT11, DT10) ON [(DT1, DT0) < K70] STD < (DT1, DT0) < K70 (DT1, DT0) OFF [(DT1, DT0) K70] ON [(DT11, DT10) K50] AND <> OFF [(DT11, DT10) = K50] Description • Compares the double word data specified by S1 and S1+1, with the double word data specified by S2 and S2+1, according to the comparative conditions.
  • Page 145 5-3. Description of Basic Instructions Step Availability Double word compare: ORD = OR equal Double word compare: ORD <> OR equal not Double word compare: ORD > C24, C40, C56, and OR larger C72 series CPU version 2.7 or ORD >= Double word compare: later OR equal or larger...
  • Page 146 5-3. Description of Basic Instructions Time chart (DT11, DT10) ON [(DT1, DT0) = K50] STD = (DT1, DT0) = K50 (DT1, DT0) OFF [(DT1, DT0) K50] ON [(DT11, DT10) > K40] ORD > OFF [(DT11, DT10) K40] Description • Compares the double word data specified by S1 and S1+1, with the double word data specified by S2 and S2+1, according to the comparative conditions.
  • Page 147: Hints For Programming Basic Instructions

    5-4. Hints for Programming Basic Instructions 5-4. Hints for Programming Basic Instructions 1. Basic Circuit with Basic Instructions Item Ladder Diagram Time Chart AND & AND Not operation OR & OR Not operation Self-hold circuit Interlock circuit TMX 30 ON-delay timer circuit One shot circuit...
  • Page 148: Basic Instructions Not Displayed On The Keys Of Fp Programmer Ii

    5-4. Hints for Programming Basic Instructions 2. Basic Instructions not Displayed on the Keys of FP Programmer II 1) When You do not Know the Basic Instruction Codes for the FP Programmer II Procedure: 1. The instruction code list is appeared on the screen when SHIFT (HELP) SHIFT...
  • Page 149: Duplicated Use Of Outputs

    5-4. Hints for Programming Basic Instructions 3. Duplicated Use of Outputs 1) Duplicated Output • Duplicate use of same number designation in the KP and OT instructions is prohibited. Even if the same output is used for multiple application instructions, such as the SET or RST instruction, or a data transfer instruction, it is not regarded as duplicated output.
  • Page 151: High-Level Instructions

    CHAPTER 6 HIGH-LEVEL INSTRUCTIONS 6-1. Configuration of High-level Instructions ......144 1. Types of High-level Instructions ........144 2. Configuration of High-level Instructions ......144 3. Operands for High-level Instructions......146 6-2. Table of High-level Instructions..........150 1. Data Transfer Instructions ..........150 2. BIN Arithmetic Instructions..........150 3.
  • Page 152: Configuration Of High-Level Instructions

    6-1. Configuration of High-level Instructions 6-1. Configuration of High-level Instructions 1. Types of High-level Instructions • In the FP1 Control Unit, the following high-level instructions are available: Data Transfer Instructions: These instructions copy or exchange the 16-bit or 32-bit data.
  • Page 153 6-1. Configuration of High-level Instructions Screen of NPST-GR Software in Boolean ladder mode Key operation of FP Programmer II Trigger Operand Address X-WX X-WX FN/P F1 DMV, R-WR DT/Ld Destination: Destination data area (memory) Source: Source data area (16-bit equivalent constant or data area) Boolean Instruction number (function number) Notes:...
  • Page 154: Operands For High-Level Instructions

    6-1. Configuration of High-level Instructions 3. Operands for High-level Instructions Numbering Item Function C14/C16 C24/C40 C56/C72 Word external “WX” expresses an external input relay “X”. input relay “WX” handles the external input relays “X” in units WX0 to WX12 of words (1 word = 16 bits). (WX) (= X0 to X12F) Therefore, “WX0”...
  • Page 155 6-1. Configuration of High-level Instructions Data Handled in the FP1 Programmable Controller • The FP1 Programmable Controller can handle data in 16-bit units (word) or 32-bit units (double word). <16-bit data> 0 0 0 0 0 1 1 1 0 1 0 0 1 1 0 0 Weight of each bit position when MSB = 0.
  • Page 156 Some data such as the timer/counter set (preset) value should be programmed using this decimal constant. The decimal constant is expressed by adding the prefix “K” to the data. • The decimal constant input to the FP1 is converted internally to binary and then processed. Example: When K1868 (decimal) is input to the FP1.
  • Page 157 • The hexadecimal constant is used to represent binary numbers with fewer digits. The hexadecimal number system uses one digit to represent four binary digits (bits). The hexadecimal constant is expressed by adding the prefix “H” to the data. Example: When H18A6 (hexadecimal) is input to the FP1. Hexadecimal data H 18A6...
  • Page 158: Table Of High-Level Instructions

    [ ](blank) The flag (special relay) not available for the instruction (keeps the state regardless of the instruction). • Details about the instructions with a * mark are described in this manual. Refer to the pages in the far right column of the above tables. For high-level instructions without a * mark, refer to “FP-M/FP1 Programming Manual”.
  • Page 159: Bcd Arithmetic Instructions

    [ ](blank) The flag (special relay) not available for the instruction (keeps the state regardless of the instruction). • Details about the instructions with a * mark are described in this manual. Refer to the pages in the far right column of the above tables. For high-level instructions without a * mark, refer to “FP-M/FP1 Programming Manual”.
  • Page 160: Data Comparison Instructions

    [ ](blank) The flag (special relay) not available for the instruction (keeps the state regardless of the instruction). • Details about the instructions with a * mark are described in this manual. Refer to the pages in the far right column of the above tables. For high-level instructions without a * mark, refer to “FP-M/FP1 Programming Manual”.
  • Page 161: Logic Operation Instructions

    [ ](blank) The flag (special relay) not available for the instruction (keeps the state regardless of the instruction). • Details about the instructions with a * mark are described in this manual. Refer to the pages in the far right column of the above tables. For high-level instructions without a * mark, refer to “FP-M/FP1 Programming Manual”.
  • Page 162: Data Shift Instructions

    The flag (special relay) available for the instruction (turns ON/OFF according to the condition). [ ](blank) The flag (special relay) not available for the instruction (keeps the state regardless of the instruction). • For above mentioned instructions, refer to “FP-M/FP1 Programming Manual”.
  • Page 163: Up/Down Counter And Left/Right Shift Register Instructions

    The flag (special relay) available for the instruction (turns ON/OFF according to the condition). [ ](blank) The flag (special relay) not available for the instruction (keeps the state regardless of the instruction). • For above mentioned instructions, refer to “FP-M/FP1 Programming Manual”.
  • Page 164: Special Instructions

    The flag (special relay) available for the instruction (turns ON/OFF according to the condition). [ ](blank) The flag (special relay) not available for the instruction (keeps the state regardless of the instruction). • For above mentioned instructions, refer to “FP-M/FP1 Programming Manual”.
  • Page 165: Description Of High-Level Instructions

    6-3. Description of High-level Instructions 6-3. Description of High-level Instructions High-level Instruction Reference Instruction number Available unit type Number of steps for instructions 6-3. Description of High-level Instructions Boolean (non-ladder) Step Availability with NPST-GR (MV) 16-bit data move All series Software Outline Copies the 16-bit data to the specified 16-bit area.
  • Page 166 6-3. Description of High-level Instructions Step Availability (MV) 16-bit data move All series Outline Copies the 16-bit data to the specified 16-bit area. Program example Boolean Non-ladder Ladder Diagram Address Instruction Trigger 0 (MV ) F0 MV , WX0 , 16-bit equivalent constant or 16-bit area (source) 16-bit area (destination) Operands...
  • Page 167: Application Example

    6-3. Description of High-level Instructions Description • The 16-bit data or 16-bit equivalent constant specified by S is copied to the area specified by D when the trigger turns ON. Source Destination Bit position Bit position • • • • •...
  • Page 168 6-3. Description of High-level Instructions Step Availability (DMV) 32-bit data move All series Outline Copies the 32-bit data to the specified 32-bit area. Program example Boolean Non-ladder Ladder Diagram Address Instruction Trigger 1 (DMV) F1 DMV , WR0 , DT 0 32-bit equivalent constant or lower 16-bit area of 32-bit data (source) Lower 16-bit area for 32-bit data (destination) Operands...
  • Page 169 6-3. Description of High-level Instructions Description • The 32-bit data or the 32-bit equivalent constant specified by S is copied to the 32-bit area specified by D when the trigger turns ON. Source Destination Bit position Bit position • • •...
  • Page 170: Hexadecimal Digit Move

    6-3. Description of High-level Instructions Step Availability (DGT) Hexadecimal digit move All series Outline Copies the hexadecimal digits in one 16-bit area to the specified digit in another 16-bit area. Program example Boolean Non-ladder Ladder Diagram Address Instruction Trigger 6 (DGT) F6 DGT , DT100 , H0 ,...
  • Page 171 6-3. Description of High-level Instructions Description • The hexadecimal digits in the 16-bit data or in the 16-bit equivalent constant specified by S are copied to the 16-bit area specified by D according to content specified by n when the trigger turns ON.
  • Page 172 6-3. Description of High-level Instructions Examples of hexadecimal digit copy (1) When hexadecimal digit 1 of the source is copied to hexadecimal digit 1 of the destination: n: H 1 0 1 Source: Starting hexadecimal digit 1 Copies 1 hexadecimal digit (4 bits) Destination: Starting hexadecimal digit 1 (2) When hexadecimal digit 3 of the source is copied to hexadecimal digit 0 of the destination:...
  • Page 173 6-3. Description of High-level Instructions Step Availability 16-bit data [S1 + S2 → D] All series Outline Adds two 16-bit data and stores the result in the specified area. Program example Boolean Non-ladder Ladder Diagram Address Instruction Trigger (+ ) DT0 , DT1 , 16-bit equivalent constant or 16-bit area (for augend)
  • Page 174 6-3. Description of High-level Instructions Description • The 16-bit data or 16-bit equivalent constant specified by S1 and S2 are added together when the trigger turns ON. The added result is stored in D. Augend data Addend data Trigger turns ON Result Flag condition •...
  • Page 175 6-3. Description of High-level Instructions Step Availability 32-bit data (D+) All series [(S1+1, S1) + (S2+1, S2) → (D+1, D)] Outline Adds two 32-bit data and stores the result in the specified area. Program example Boolean Non-ladder Ladder Diagram Address Instruction Trigger 23 (D+ ) F23 D...
  • Page 176 6-3. Description of High-level Instructions Note: • When processing 32-bit data, the higher 16-bit areas (S1+1, S2+1, D+1) are automatically decided if the lower 16-bit areas (S1, S2, D) are specified. e.g., S1+1 (higher) = DT1, S1 (lower) = DT0 S2+1 (higher) = DT101, S2 (lower) = DT100 D+1 (higher) = DT201, D (lower) = DT200 Description...
  • Page 177 6-3. Description of High-level Instructions Step Availability (–) 16-bit data [S1 – S2 → D] All series Outline Subtracts the 16-bit data from the minuend and stores the result in the specified area. Program example Boolean Non-ladder Ladder Diagram Address Instruction Trigger 27 (–...
  • Page 178 6-3. Description of High-level Instructions Description • Subtracts the 16-bit data or 16-bit equivalent constant specified by S2 from the 16-bit data or 16-bit equivalent constant specified by S1 when the trigger turns ON. The subtracted result is stored in D. Minuend data Subtrahend data Trigger turns ON...
  • Page 179 6-3. Description of High-level Instructions Step Availability 32-bit data (D–) All series [(S1+1, S1) – (S2+1, S2) → (D+1, D)] Outline Subtracts the 32-bit data from the minuend and stores the result in the specified area. Program example Boolean Non-ladder Ladder Diagram Address Instruction Trigger...
  • Page 180 6-3. Description of High-level Instructions Note: • When processing 32-bit data, the higher 16-bit areas (S1+1, S2+1, D+1) are automatically decided if the lower 16-bit areas (S1, S2, D) are specified. e.g., S1+1 (higher) = DT101, S1 (lower) = DT100 S2+1 (higher) = DT201, S2 (lower) = DT200 D+1 (higher) = DT1, D (lower) = DT0 Description...
  • Page 181 6-3. Description of High-level Instructions Step Availability 16-bit data All series [S1 × S2 → (D+1, D)] Outline Multiplies two 16-bit data and stores the result in the specified 32-bit area. Program example Boolean Non-ladder Ladder Diagram Address Instruction Trigger WX0 , K 100 , DT 0...
  • Page 182 6-3. Description of High-level Instructions Note: • The multiplied result is stored in the 32-bit area. The higher 16-bit area (D+1) is automatically decided when the lower 16-bit area (D) is specified. e.g., D+1 (higher) = DT1, D (lower) = DT0 Description •...
  • Page 183 6-3. Description of High-level Instructions Step Availability 32-bit data [(S1+1, S1) × (S2+1, S2) C24, C40, C56, (D ) and C72 series → (D+3, D+2, D+1, D)] Outline Multiplies two 32-bit data and stores the result in the specified 64-bit area. Program example Boolean Non-ladder Ladder Diagram...
  • Page 184 6-3. Description of High-level Instructions Notes: • When processing 32-bit data, the higher 16-bit areas (S1+1, S2+1) are automatically decided if the lower 16-bit areas (S1, S2) are specified. e.g., S1+1 (higher) = DT1, S1 (lower) = DT0 S2+1 (higher) = DT101, S2 (lower) = DT100 •...
  • Page 185 6-3. Description of High-level Instructions Step Availability 16-bit data All series [S1/S2 → D... (DT9015)] Outline Divides the 16-bit data by the divisor and stores the result in the specified area and the remainder in special data register DT9015. Program example Boolean Non-ladder Ladder Diagram Address Instruction...
  • Page 186 6-3. Description of High-level Instructions Description • The 16-bit data or 16-bit equivalent constant specified by S1 is divided by the 16-bit data or 16- bit equivalent constant specified by S2 when the trigger turns ON. The quotient is stored in D and the remainder is stored in the special data register DT9015. Dividend data Divisor Trigger turns ON...
  • Page 187 6-3. Description of High-level Instructions Step Availability 32-bit data [(S1+1, S1)/(S2+1, S2) C24, C40, C56, (D%) and C72 series → (D+1, D) ... (DT9016, DT9015)] Outline Divides the 32-bit data by the divisor and stores the result in the specified area and the remainder in special data registers DT9016 and DT9015.
  • Page 188 6-3. Description of High-level Instructions Note: • When processing 32-bit data, the higher 16-bit areas S1+1, S2+1, D+1 are automatically decided if the lower 16-bit areas S1, S2, D are specified. e.g., S1+1 (higher) = DT201, S1 (lower) = DT200 S2+1 (higher) = DT101, S2 (lower) = DT100 D+1 (higher) = DT1, D (lower) = DT0 Description...
  • Page 189: Bit Data Compare

    6-3. Description of High-level Instructions Step Availability (CMP) 16-bit data compare All series Outline Compares one 16-bit data with another. Program example Boolean Non-ladder Ladder Diagram Address Instruction Trigger F 60 (CMP) F60 CMP , DT 0 K100 R900A R 900A R900B R 900B R900C...
  • Page 190 6-3. Description of High-level Instructions Description • Compares the 16-bit data specified by S1 with one specified by S2 when the trigger turns ON. The compared result is stored in special internal relays R9009, and R900A to R900C. Flag condition •...
  • Page 191 6-3. Description of High-level Instructions Notes: F60 (CMP) • If you program the instruction using R9010 special internal relay R9010 (ON all the time), the F60 CMP, DT0, K100 same trigger as the instruction need not be R9010 R900A programmed. R900B R9010 R900C...
  • Page 192: Bit Data Compare

    6-3. Description of High-level Instructions Step Availability (DCMP) 32-bit data compare All series Outline Compares one 32-bit data with another. Program example Boolean Non-ladder Ladder Diagram Address Instruction Trigger F 61 (DCMP) F61 DCMP , DT 0 , DT100 R900A R 900A R900B R 900B...
  • Page 193 6-3. Description of High-level Instructions Description • Compares the 32-bit data or 32-bit equivalent constant specified by S1 with one specified by S2 when the trigger turns ON. The compared result is stored in special internal relays R9009, and R900A to R900C. Flag condition •...
  • Page 194 6-3. Description of High-level Instructions Notes: F61 (DCMP) • If you program the instruction using R9010 special internal relay R9010 (ON all the time), the F61 DCMP, DT0, DT100 same trigger as the instruction need not be R9010 R900A programmed. R9010 R900B R9010...
  • Page 195: Bit Data → 4-Digit Bcd Data

    6-3. Description of High-level Instructions Step Availability (BCD) 16-bit data → 4-digit BCD data All series Outline Converts 16-bit binary data to BCD code that expresses 4-digit decimals. Program example Boolean Non-ladder Ladder Diagram Address Instruction Trigger F 80 (BCD) F80 BCD , EV0 , WY0 16-bit equivalent constant or 16-bit area for storing binary data (source)
  • Page 196 6-3. Description of High-level Instructions Description • Converts the 16-bit binary data specified by S to the BCD code that expresses 4-digit decimal when the trigger turns ON. The converted data is stored in D. • The binary data that can be converted to BCD code are in the range of K0 (H0) to K9,999 (H270F).
  • Page 197: Digit Bcd Data → 16-Bit Data

    6-3. Description of High-level Instructions Step Availability (BIN) 4-digit BCD data → 16-bit data All series Outline Converts BCD code that expresses 4-digit decimals to 16-bit binary data. Program example Boolean Non-ladder Ladder Diagram Address Instruction Trigger F 81 (BIN) F81 BIN , WX0 , DT 0 4-digit BCD equivalent constant or 16-bit area for 4-digit BCD data (source)
  • Page 198 6-3. Description of High-level Instructions Description • Converts the BCD code that expresses 4-digit decimals specified by S to 16-bit binary data when the trigger turns ON. The converted data is stored in D. Flag condition • Error flag (R9007): Turns ON and keeps the ON state, - when the area specified using the index modifier exceeds the limit.
  • Page 199: Hints For Programming High-Level Instructions

    6-4. Hints for Programming High-level Instructions 6-4. Hints for Programming High-level Instructions 1. How to Use BCD Data 1) BCD Data BCD stands for Binary Coded Decimal and is one of the codes represented in binary. It was introduced as convenient way to handle numbers which had to be input to digital machines, and to interpret numbers output from the machine.
  • Page 200: Processing Bcd Data In The Programmable Controllers

    6-4. Hints for Programming High-level Instructions 2) Processing BCD Data in the Programmable Controllers • Since the data in the programmable controllers are basically processed in standard binary, it is recommended that data in the programmable controllers be proceeded by the binary form using the F80 (BCD), F81 (BIN), F82 (DBCD), and F83 (DBIN) instructions.
  • Page 201: How To Use Index Registers (Ix, Iy)

    2. How to Use Index Registers (IX, IY) 1) Index Registers (IX, IY) • Each FP1 has two index registers available (IX and IY). • The functions of index registers are classified into two types as follows: - modifier of other operands...
  • Page 202: Application Examples Of Index Registers (Ix, Iy)

    6-4. Hints for Programming High-level Instructions 2) Application Examples of Index Registers (IX, IY) Saving/Outputting data in the same order that it is received/stored Example 1: When saving the data in the same order in which it is received • The data input from WX1 is transferred to the data registers starting from DT0 in the same order in which it is received.
  • Page 203 Example 1: When setting the timer set (preset) values input from the digital switch • The selection of the timer instruction number is performed using the input from the digital switches (WX1). The timer preset (set) value can be input from the digit switches (WX0). FP1 Programmable Controller 0 7 9 4...
  • Page 204: Operation Errors

    6-4. Hints for Programming High-level Instructions 3. Operation Errors 1) Operation Errors • An operation error is one of the errors in the programmable controllers. These errors occur when an instcruction [one of high-level/some basic (e.g., ST =) instructions] is executed abnormally. •...
  • Page 205: Steps To Take When An Operation Error Occurs

    • FP1s with the error address storage function (the DT9017 and the DT9018 are available) have CPU version 2.7 or later (all FP1s with the suffix “B” on the part number have this function). If your FP1’s CPU version is eariler than 2.7, use the following procedure.
  • Page 206: Overflow And Underflow

    6-4. Hints for Programming High-level Instructions 4. Overflow and Underflow 1) Overflow and Underflow • When performing some instructions, the operation result may exceed the maximum overflow or go below the minimum underflow in the range of 16-bit or 32-bit data. When an overflow or underflow occurs, the carry flag (R9009) turns ON.
  • Page 207: Overflow And Underflow In Bcd Operations (4-Digit Or 8-Digit)

    6-4. Hints for Programming High-level Instructions 3) Overflow and Underflow in BCD Operations (4-digit or 8-digit) In BCD data, only positive numbers can be handled in the FP1. 4-digit BCD Operation • Overflow: The result becomes a minimum value Overflow (H0000) if K1 is added to the maximum value (H9999).
  • Page 209 CHAPTER 7 TROUBLESHOOTING 7-1. Self-diagnostic Function .............202 1. Operation Monitor LEDs When an Error Occurs...202 2. Operation Status When an Error Occurs ......203 1) Duplicated Output Error (Total-check Error) ..203 2) Battery Error (Self-diagnostic Error)....203 3) Operation Error (Self-diagnostic Error)....203 7-2.
  • Page 210: Self-Diagnostic Function

    7-1. Self-diagnostic Function 7-1. Self-diagnostic Function FP1 programmable controllers use the self-diagnostic function when something goes wrong with the FP1. The abnormalities detected by the self-diagnostic function are divided into three categories: • Self-diagnostic error This type of error is detected when the following occurs: - Hardware problem in CPU or ROM, and backup battery problem.
  • Page 211: Operation Status When An Error Occurs

    However, when you change system register 26 settings using the FP Programmer II or NPST-GR Software (Ver.3.1 or later), the FP1 continues to operate. In this case, even if the FP1 continues to operate, this is regarded as an error and the ERR.
  • Page 212: Troubleshooting

    7-2. Troubleshooting 7-2. Troubleshooting 1. Points to be Checked When an Error Occurs When an abnormality is detected, check the following points. • If the ERR. LED is turned ON, refer to page 205, When an ERR. LED is ON. •...
  • Page 213: When An Err. Led Is On

    7-2. Troubleshooting When an ERR. LED is ON <Condition: an error is detected by the self-diagnostic function> Set the mode selector of the programmable controller from RUN to PROG. NO (ERR. LED ON) Go to page 207. Is ERR. LED on the programmable controller turned OFF? YES (ERR.
  • Page 214 7-2. Troubleshooting Correct the program according to the following table. Total-check error code Error Name of error Description Steps to take code Syntax error Instruction is incorrectly Input the instruction correctly, (SYNTAX) programmed. referring to the description for that instruction. Duplicated Two or more OT Correct the program so that...
  • Page 215 7-2. Troubleshooting From page 205 Probably a self-diagnostic error. Check the program using the programming tool. • Using NPST-GR Software Ver. 3.1 <If you are using MENU 1 screen type> <If you are using MENU 2 screen type> Open [NPST MENU] by pressing Open [ONLINE MONITOR Esc , and then select “MONITOR”...
  • Page 216 7-2. Troubleshooting Cancel error status and start operation again. • You can cancel the error status in the following ways: - Turn the power OFF and then ON. - Cancel the error status using the NPST-GR Software Ver. 3.1 or the FP Programmer II (See notes).
  • Page 217: When An Alarm Led Is On

    RUN to PROG. and turn the power OFF and then ON. • If the ALARM LED is turned ON again, there is probably an abnormality in the FP1. Please contact your dealer. • If the ERR. LED is turned ON, go to page 205, When an ERR.
  • Page 218: When All Leds Are Off

    7-2. Troubleshooting When all LEDs are OFF Check the power supply wiring. Check if the power supplied to the programmable controller is in the range of the rating. • Be sure to check the fluctuation in the power supply. Disconnect the wiring connected to the built-in DC power output terminals for inputs.
  • Page 219: Diagnosing Output Malfunction

    • If the power is properly supplied to the load, there is probably an abnormality in the load. Check the load again. • If the power is not supplied to the load, there is probably an abnormality in the FP1’s output.
  • Page 220 Check if the output indicator is ON. • If the output indicator is turned ON, go to input condition check. • If the output indicator remains OFF, there is probably an abnormality in the FP1’s output circuit. Please contact your dealer.
  • Page 221 • If the power is properly supplied to the input terminal, there is probably an abnormality in the FP1’s internal circuit. Please contact your dealer. • If the power is not properly supplied to the input terminal, there is probably an abnormality in the input device or input power supply.
  • Page 222: When "Plc=Comm. Err" Is Displayed On The Npst-Gr Screen

    Baud rate selector Note: • Even when both the NPST-GR and FP1 are set to 19200 bps, sometimes a computer cannot communicate with the FP1 properly at 19200 bps. If this happens, change both of their settings to 9,600 bps and try again.
  • Page 223: When "Protect Error" Is Displayed

    7-2. Troubleshooting When “PROTECT ERROR” is displayed 1 1 When memory unit (EPROM) or master memory unit (EEPROM) is installed in the programmable controller If memory unit (EPROM) or master memory unit (EEPROM) is installed on the programmable controller, the program cannot be modified.
  • Page 224: Maintenance

    7-3. Maintenance 7-3. Maintenance Although programmable controllers have been designed in such a way to minimize maintenance and offer trouble- free operation, several maintenance aspects should be taken into consideration. If preventive maintenance is performed periodically, you will minimize the possibility of system malfunctions. 1.
  • Page 225: How To Replace Backup Battery

    ALRAM min. max. min. max. removed, as shown in the figure on the right. FP1-C24 24V DC (+) - (+) - Unit cover 4 Take out the battery by pulling up the lead wire.
  • Page 227 CHAPTER 8 APPENDIX 8-1. FP1 I/O Allocation Table ............220 8-2. Table of Memory Areas............221 8-3. Table of Special Internal Relays..........223 8-4. Table of Special Data Registers...........226 8-5. System Registers ..............230 1. What are System Registers ..........230 2. Table of System Registers ..........232 8-6.
  • Page 228: Fp1 I/O Allocation Table

    Y12F (WY12) Notes: • X50 to X67 and Y50 to Y5F are allocated for the FP1 Transmitter Master Unit when it is used instead of an expansion unit for FP1 C24, C40, C52 and C72 series, which have expansion units.
  • Page 229: Table Of Memory Areas

    8-2. Table of Memory Areas 8-2. Table of Memory Areas Numbering Item Name and Function Symbol C14/C16 C24/C40 C56/C72 208 points External External input relay X (bit) I/O relays (X0 to X12F) This relay feeds signals to the programmable controller 13 words from an external device such as a limit switch or WX (word)
  • Page 230 8-2. Table of Memory Areas Numbering Item Name and Function Symbol C14/C16 C24/C40 C56/C72 1,660 6,144 Data area Data register words words words The data register is a memory area for data processed DT (word) within the programmable controllers and each data register consists of 1 word (1 word = 16 bits).
  • Page 231: Table Of Special Internal Relays

    (All FP1s with a suffix “B”on the part number have this function.) F137 (STMR) • The is available for FP1 C56 and C72 series with CPU version 2.7 or later. (All FP1 C56 and C72 series with a suffix “B” on the part number have this function.)
  • Page 232 8-3. Table of Special Internal Relays Availability Name Description Address C14/ C24/ C56/ Scan pulse relay R9012 Turns ON and OFF alternately at each scan. Initial ON relay R9013 Turns ON only at the first scan in the operation. Turns OFF from the second scan and maintains the OFF state.
  • Page 233 8-3. Table of Special Internal Relays Availability Name Description Address C14/ C24/ C56/ Print-out flag F147 (PR) R9033 ON while a instruction is executed. F147 (PR) Refer to the description for the instruction. R9036 I/O Link error flag Turns ON when an I/O Link error occurs. RS232C error flag R9037 Turns ON when an RS232C error occurs.
  • Page 234: Table Of Special Data Registers

    8-4. Table of Special Data Registers 8-4. Table of Special Data Registers Each special data register is prepared for the specific application. Availability Name Description Address C14/ C24/ C56/ Self-diagnostic • The self-diagnostic error code is stored in DT9000 DT9000 error code register when a self-diagnostic error occurs.
  • Page 235 DT9041 V0 → DT9040 - FP1 C24 series and FP-M: register (V1) V1 → DT9041 Manual dial-set DT9042 - FP1 C40, C56, and C72 series: V0 → DT9040 register (V2) V1 → DT9041 (C40 V2 → DT9042 series Manual dial-set DT9043 V3 →...
  • Page 236 8-4. Table of Special Data Registers Availability Name Description Address C14/ C24/ C56/ • Lower 16-bit of high-speed counter elapsed value DT9044 High-speed counter elapsed value area is stored in DT9044. (lower 16-bit) • Higher 16-bit of high-speed counter elapsed value DT9045 High-speed counter elapsed value area...
  • Page 237 8-4. Table of Special Data Registers Availability Name Description Address C14/ C24/ C56/ DT9058 Clock/calendar • The clock/calendar is adjusted as follows when the adjustment register least significant bit of DT9058 is set to “1”. - When second data is H00 to H29 (BCD), the second data is cut off to H00 (BCD).
  • Page 238: System Registers

    • The FP series programmable controller is configured by setting certain parameters. The parameters, which configure the system and special functions, are called system registers. • Like other registers in the FP1, each system register consists of 16 bits. System register addresses are also assigned to each of the system registers.
  • Page 239 8-5. System Registers How to set system registers The system registers can be set by a programming tool. • Using NPST-GR Software Ver. 3.1 1 Set the mode of the programmable controller to PROG. 2 Open the [SYSTEM REGISTER] window using the following procedure: <If you are using MENU 1 screen type>...
  • Page 240: Table Of System Registers

    C56/C72 series (5,000 steps): K5 The value in this system register is fixed. Operation without backup This register specifies the ERR. LED status of the FP1 battery* when the voltage of the backup battery lowers or when the backup battery disconnects.
  • Page 241 K0: Hold K1: Non-hold Operation settings for This register specifies the operation of the FP1 when a duplicated use of output duplicated use of output is programmed. K0: a duplicated use of output is regarded as a total-check error.
  • Page 242 8-5. System Registers Default Address Name of system register Description value Constant value settings This register specifies the constant scan time. for scan time • Setting range the constant scan function is not used K1 to K64: 2.5 ms to 160 ms •...
  • Page 243 0 0 0 0 0 0 1 1 1 0 0 0 Interrupt trigger settings This register specifies inputs of the FP1 as interrupt triggers. • Settings 0: standard input mode 1: interrupt input mode Input the specific value in an order so that the bit corresponding to each input becomes “1”...
  • Page 244 No. 404 = H X0 to X7 " " X8 to XF " X10 to X17 FP-M Control Board " X18 to X1F FP1 Control Unit " No. 405 = H " X20 to X27  " Fixed " X30 to X37 "...
  • Page 245 8-5. System Registers Default Address Name of system register Description value Station number setting for This register specifies the station number when the programming tool port computer link communication is performed through the (RS422 port) programming tool port (RS422 port). •...
  • Page 246 8-5. System Registers Default Address Name of system register Description value Communication format This register specifies the communication settings for the setting for RS232C serial RS232C serial port. port • Settings Bit position • • • • • • • • * Header (Bit position 6) 0: without STX code 1: with STX code...
  • Page 247 • Settings modem communication disabled H8000: modem communication enabled When modem communication is enabled, set system registers 412, 413, 415. Refer to page 246, “8-8. FP1 Modem Communication”. Starting address setting This register specifies the starting address of data registers...
  • Page 248 8-5. System Registers Default Address Name of system register Description value Buffer capacity setting K1660 This register specifies the number of words to be used as for data received a buffer. (Refer to system register 417 on page 239 for from RS232C serial port details about the starting address settings.) •...
  • Page 249: Versions Of Programming Tools

    1. Differences Between NPST-GR Ver. 2.4 and 3.1 NPST-GR Software Ver. 3.1 is designed to support all the functions of the FP1 programmable controllers described in this manual. However, compared with previous NPST-GR Software, version 3.1 requires an additional system. For this reason, NPST-GR Ver.
  • Page 250 FP10 or FP10S, are not included in the table. • ** The availability of the functions depends on the type of programmable controller and the CPU version. For details about functions available for the FP1 CPU version 2.7, refer to page 245, “8-7. FP1 CPU Version 2.7”.
  • Page 251: Differences Between The Fp Programmer And Fp Programmer Ii

    2. Differences Between the FP Programmer and FP Programmer II The FP Programmer II is designed to support all the functions of the FP1 programmable controllers described in this manual. Differences in functions between the FP Programmer and the FP Programmer II are explained in the table.
  • Page 252 • * The availability of instructions and functions depends on the type of the programmable controller and the CPU version. For details about functions available for FP1 CPU version 2.7, refer to page 245, “8- 7. FP1 CPU Version 2.7”.
  • Page 253: Fp1 Cpu Version 2.7

    In this chapter, differences between CPU version 2.7 and earlier version are clarified. Note: • The CPU version is printed on the identification label of each FP1. The identification label is located on the back of the Control Unit. FP1 CPU Ver. 2.7 Additional Functions...
  • Page 254: Fp1 Modem Communication

    • Modem initialization is performed only when the mode of the programmable controller is set from PROG. to RUN or when the power turns ON in the RUN mode by an FP1 whose UNIT NO. (system register 410) is set to K1. Therefore, be sure to apply power to the modem, before the FP1 is turned ON.
  • Page 255 8-8. FP1 Modem Communication • System configuration: one computer, one programmable controller Personal computer RS422/232C FP1 C24, C40, C56, RS232C cable Adapter or C72 series (Refer to cables 1 or 2, below.) RS232C RS422 BATTERY 24V DC F.G. Modem Modem REMOTE PROG.
  • Page 256: Using The Rs232C Port

    • Modem initialization is performed only when the mode of the programmable controller set to RUN from PROG., or when the power is turned ON in the RUN mode by an FP1 whose UNIT NO. (system register 415) is set to K1. Therefore, be sure to apply power to the modem, before the FP1 is turned ON.
  • Page 257 8-8. FP1 Modem Communication How to Set System Registers 412, 413, 416, and 415 • Using NPST-GR Software version 3.1 <If you are using MENU 1 screen type> <If you are using MENU 2 screen type> Open [NPST MENU] by pressing...
  • Page 258: Rs232C Cable

    CD (DCD) CD (DCD) RI (CI) ER (DTR) ER (DTR) ER (DTR) RI (CI) RI (CI) Cable 3: RS232C cable between a modem and FP1 Connected to Connected to modem FP1 RS232C port (25 pins male) (9 pins male) Pin No.
  • Page 259: System Configuration: One Computer And Two Or More Programmable Controllers

    8-8. FP1 Modem Communication 3. System Configuration: One Computer and Two or More Programmable Controllers Personal computer Transmission cable (shielded twisted pair or 2-conductor cable) RS232C cable (Refer to cables 1 or 2, below.) BATTERY BATTERY ABCD 24V DC 24V DC F.G.
  • Page 260: Npst-Gr Settings

    8-8. FP1 Modem Communication 4. NPST-GR Settings When modem communication is performed between an FP1 and a personal computer installed with NPST-GR Software, you need to set the NPST-GR Software as follows. 1 Select “NPST CONFIGURATION” from the “NPST MENU” and then select “1. NPST CONFIGURATION” to open the <SCREEN 1>...
  • Page 261 8-8. FP1 Modem Communication 4 Set the parameters in the <MODEM> window as follows: By pressing the F7 key, you can open the <MODEM> window. AUTO DIAL .....select YES or NO REGISTRATION NO..if you select “YES” for AUTO DIAL, set the registered phone number in the <PHONE>...
  • Page 262: Terminology

    A battery or set of batteries that will provide power to the processor memory only when system power is lost. C24, C40, C56, and C72 series FP1 programmable controllers have a battery backup system. battery low: A condition that exists when the backup battery voltage drops low enough to require battery replacement.
  • Page 263 8-9. Terminology binary: In general, programmable controllers work with binary numbers in one form or another to represent various codes or quantities. The binary number system uses the number 2 as the base and the only allowable symbols are “0” and “1”.
  • Page 264 8-9. Terminology Block Check Code (BCC): This code is used to detect errors in message transmissions. It is created by Exclusive ORing all of the codes from the header though the last text character, then translating the result (8-bit) data into two ASCII characters. buffer: A group of registers used for temporary data storage.
  • Page 265 8-9. Terminology full-duplex: A communication link in which data can be transmitted and received at the same time. half-duplex: A communication link in which transmission is limited to one direction at a time. The hexadecimal number system uses 16 as the base. The allowable symbols hexadecimal: are numbers 0 through 9 and letters A through F.
  • Page 266 PLC: Abbreviation for Programmable Logic Controller. See programmable controller. potentiometer: A simple transducer which works based on resistance change. The FP1 manual-set registers work according to the potentiometers named “V0”, “V1”, “V2”, or “V3”. programmable controller: A control device which can be programmed to control process or machine operations.
  • Page 267: Serial Communication

    8-9. Terminology register: A unit of memory for various types of data. A register is usually 16 bits wide. Read Only Memory. See EEPROM and EPROM. ROM: RS232C: An EIA communication standard for data transmission media that is less than 15 m.
  • Page 268: 8-10.Product Types

    8-10. Product Types 8-10. Product Types 1. Control Units Built-in Operating Input Part number Series I/O point Output type memory voltage type Relay AFP12313B Sink/ AFP12343B 24 V DC Transistor (NPN open collector) source AFP12353B Standard Transistor (PNP open collector) EEPROM Input: 8 types...
  • Page 269 8-10. Product Types Built-in Operating Input Series I/O point Output type Part number memory voltage type AFP12413B Relay Sink/ AFP12443B Transistor (NPN open collector) source 24 V DC Transistor (PNP open collector) AFP12453B AFP12412B Relay Source AFP12442B Standard Transistor (NPN open collector) Input: 24 types Output: 16...
  • Page 270: Expansion Units

    8-10. Product Types 2. Expansion Units Operating Input Part number Series I/O point Output type voltage type Source AFP13802 Input: 8 Sink/source AFP13803 AFP13812 Relay Source AFP13842 Transistor (NPN open collector) Input: 4 Relay AFP13813 Output: 4 Sink/source AFP13843 Transistor (NPN open collector) AFP13853 Transistor (PNP open collector) AFP13810...
  • Page 271: Intelligent Units

    AFP1756 port): Twisted pair cable up to 32 inputs and 32 outputs can be controlled per unit. FP1 I/O Link Unit The FP1 I/O Link Unit is the interface unit for exchanging I/O information between an 24 V DC AFP1732 FP3/FP5 and an FP1.
  • Page 272 RS422/RS232C Adapter AFP8550 RS422 RS232C signal converter. Used for connection between the computer’s RS232C port and the FP1 Control Unit’s RS422 port when programming with NPST-GR. RS232C Cable Needs to be Cable needed for connection between the made to match RS422/232C Adapter’s RS232C port and your...
  • Page 273: Maintenance Parts

    AFP1801 (C24, C40, C56, and C72 series) Used to short the COM terminals when loads FP1 Short-Circuit Bar AFP1803 of the same voltage are connected to the FP1’s outputs. 7 cm/0.230 ft. AFP15101 Cable needed for connection between the 30 cm/0.984 ft.
  • Page 274 144, 152 BIN arithmetic instructions 144, 150 data conversion instructions 144, 153 Bit manipulation instructions 144, 155 data handled in the FP1 Boolean ladder mode programmable controller Boolean non-ladder mode DATA LENGTH built-in DC power output for inputs data rotate instructions...
  • Page 275: F1 (Dmv) 32-Bit Data Move

    FP Programmer II 17, 83 duplicated output (total-check error) 141, 203 FP1 A/D Converter Unit 11, 25, 35, 38, 53 duplicated use of output FP1 CPU version 2.7 FP1 D/A Converter Unit 11, 25, 35, 38, 54...
  • Page 276 INDEX installation NPST-GR configuration Intelligent Unit 11, 25, 38 NPST-GR installation interlock circuit NPST-GR Software 16, 67 interrupt input function NPST-GR startup I/O allocation 65, 66 I/O name board 22 to 24 ON-delay timer circuit I/O state indicators 22 to 24 one shot circuit I/O update 1s units timer (TMY)
  • Page 277 95 to 99 push stack (PSHS) table of FP1 units 8 to 11 table of high-level instructions 150 to 156 rated operating voltage 29, 43...
  • Page 278 INDEX versions of programming tools voltage range selection terminal When an ALARM LED is ON When all LEDs are OFF When an ERR. LED is ON When “PLC=COMM. ERR” is displayed on the NPST-GR screen When “PROTECT ERROR” is displayed wiring 43 to 56 wiring power supply...
  • Page 279: Record Of Changes

    RECORD OF CHANGES RECORD OF CHANGES ACG No. Date Description of Changes ACG-M0051-1 DEC.1993 First edition ACG-M0051-2 FEB. 1995 2nd edition The descriptions of MEWNET-TR are added.

Table of Contents