background image

PROGRAMMABLE CONTROLLER

FP1

is a global brand name of Matsushita Electric Works.

Hardware

Summary of Contents for FP1

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

Page 2: ...uct or its documentation even if advised of the possibility of such damages LIMITED WARRANTY All implied warranties on the product including merchantability and fitness are limited to one year from the date of purchase If physical defects caused by distribution are found Matsushita Electric Works Ltd will replace repair the product free of charge Exceptions include When physical defects are due to...

Page 3: ...and C16 Series 22 2 C24 C40 C56 and C72 Series 23 2 Expansion Unit 24 1 E8 and E16 Series 24 2 E24 and E40 Series 24 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 Performance Specifications of Control Unit and Expansio...

Page 4: ...al Layouts 47 4 Output Terminals of Control Unit and Expansion Unit 49 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 2 Wiring for Current Output 54 7 Wiring the F...

Page 5: ...ory Unit Creation and ROM Operation 86 1 Memory Unit 86 2 How to Program ROM 87 3 Operation with Installed Memory Unit ROM Operation 89 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 ...

Page 6: ...Start larger 133 STD Double word compare Start equal or larger 133 STD Double word compare Start smaller 133 STD Double word compare Start equal or smaller 133 AND Double word compare AND equal 135 AND Double word compare AND equal not 135 AND Double word compare AND larger 135 AND Double word compare AND equal or larger 135 AND Double word compare AND smaller 135 AND Double word compare AND equal...

Page 7: ...8 F1 DMV 32 bit data move 160 F6 DGT Hexadecimal digit move 162 F22 16 bit data S1 S2 D 165 F23 D 32 bit data S1 1 S1 S2 1 S2 D 1 D 167 F27 16 bit data S1 S2 D 169 F28 D 32 bit data S1 1 S1 S2 1 S2 D 1 D 171 F30 16 bit data S1 S2 D 1 D 173 F31 D 32 bit data S1 1 S1 S2 1 S2 D 3 D 2 D 1 D 175 F32 16 bit data S1 S2 D DT9015 177 F33 D 32 bit data S1 1 S1 S2 1 S2 D 1 D DT9016 DT9015 179 F60 CMP 16 bit ...

Page 8: ...nt of Backup Battery 216 1 Battery Life 216 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 What are System Registers 230 2 Table of System Registers 232 8 6 Versions of Programming Tools 241 1 Dif...

Page 9: ... Units 8 2 Expansion Units 10 3 Intelligent Units 11 4 Link Units 11 1 3 Expansion and Configurations 12 1 Expansion of Units 12 1 Expansion Units 12 2 Intelligent Units and Link Unit 13 2 Combination of Units 13 1 4 Programming Tools 16 1 Programming Tools 16 1 NPST GR Software 16 2 FP Programmer II 17 2 How to Program ROM 17 ...

Page 10: ...the FP1 Position control C56 and C72 series These also support drives with two pulse inputs In addition it is not necessary to connect the pulse output to the high speed counter Y7 to X0 C14 C16 C24 and C40 series These support drives with one pulse input and one direction switching input When using a drive with two pulse inputs a switching circuit based on an external relay is necessary Pulse Fre...

Page 11: ...rdance with the input device connected This prevents input errors due to such causes as limit switch chattering noise For E8 and E16 series input response time is fixed as 2 ms Manual dial set register control function all series This function makes it possible to change the values of special data registers DT9040 to 9043 within a range of 0 to 255 using the potentiometers on the front face of the...

Page 12: ...ion and when secrecy is required Constant length scan setting function all series The duration of one scan is fixed by setting it to units of 2 5 ms eliminating variation in the scan time Clock Calendar control function C24C C40C C56C and C72C types By means of year month day hour minute second and day of the week settings this function makes it possible to change temporal elements of control It c...

Page 13: ...COM 3 COM 4 COM 5 COM 6 COM 7 24V DC F G COM F 8 9 E A B C D COM 7 0 1 6 2 3 4 5 RUN REMOTE PROG V0 max min RUN PROG ERR ALRAM V1 max 24V DC min PC C NET ADAPTER ON OFF ON ON ABCDEF ABCDEFGHI AB ABC DEF GHI AB CD EF GH I ABC DEF GHI ABC DE FG HI AB Bar code reader Personal computer C NET Adapter standard type FP1 Control Unit C NET Adapter S1 type C NET Adapter S1 type A maximum of 32 FP1s can be ...

Page 14: ...ol Unit F G F G 24V DC RS485 POWER COM ALARM TRNET MODE SW ON OFF 1 2 3 4 5 6 Matsushita Electric Works Ltd MONITOR SW INPUT UNIT OUTPUT UNIT 0 7 1 2 3 4 5 6 8 F 9 A B C D E FP1 Transmitter Master Unit Master B Twisted pair cable or 2 conductor cable COM 0 COM 1 COM 2 COM 3 COM 4 COM 5 COM 6 COM 7 24V DC F G COM F 8 9 E A B C D COM 7 0 1 6 2 3 4 5 RUN REMOTE PROG V0 max min RUN PROG ERR ALRAM BATT...

Page 15: ...de reader Printer Image checker This function allows data input and output when connected to a device having an RS232C port Data reading from a bar code reader data output to a printer and bilateral data exchange with the image checker are all possible ABCDE AB ABC ABCDE AB AB AB PC FP I O LINK ABC AB National FP I O TERMINAL BOARD ABCDEFGHIJ ABCDEFGHIJ ABCDEFGHIJ ABCDEFGHIJ ABCDEFGHIJ National ab...

Page 16: ...ay Transistor NPN open collector Transistor PNP open collector Relay Transistor NPN open collector Relay Transistor NPN open collector Transistor PNP open collector Relay Transistor NPN open collector Relay Transistor NPN open collector Transistor PNP open collector Relay Transistor NPN open collector Part number AFP12313B AFP12343B AFP12353B AFP12317B AFP12347B AFP12357B AFP12113B AFP12143B AFP12...

Page 17: ...lector Relay Transistor NPN open collector Transistor PNP open collector Relay Transistor NPN open collector Transistor PNP open collector Relay Transistor NPN open collector Transistor PNP open collector Relay Transistor NPN open collector Transistor PNP open collector AFP12413B AFP12443B AFP12453B AFP12412B AFP12442B AFP12417B AFP12447B AFP12457B AFP12416B AFP12446B AFP12413CB AFP12443CB AFP1245...

Page 18: ...or NPN open collector Relay Transistor NPN open collector Transistor PNP open collector Relay Transistor NPN open collector Relay Transistor NPN open collector Transistor PNP open collector Relay Transistor NPN open collector Relay Transistor NPN open collector Transistor PNP open collector AFP13802 AFP13803 AFP13812 AFP13842 AFP13813 AFP13843 AFP13853 AFP13810 AFP13840 AFP13850 AFP13870 AFP13103 ...

Page 19: ...for exchanging I O information between an FP3 FP5 and an FP1 When the FP1 is connected to the FP3 FP5 Remote I O System via the FP1 I O Link Unit you can exchange I O information serially using a 2 conductor cable RS485 RS422 RS232C signal converter Used for communication between the Programmable Controller and your computer Communication medium RS485 port 2 conductor cable or twisted pair cable R...

Page 20: ...152 points Control Units C14 and C16 series Number of expandable units 1 unit Total number of I O points C14 series Max 54 points C16 series Max 56 points C14 or C16 series E8 series E16 series E24 series E40 series E8 series E16 series E24 series E40 series E24 series E40 series E24 series E40 series E8 series E16 series E24 series E40 series E8 series E16 series E24 series E40 series FP1 D A Con...

Page 21: ... 6 8 16 12 8 22 14 6 24 16 8 16 12 8 14 16 16 24 16 8 16 24 20 16 22 24 24 24 20 16 32 24 16 C14 C16 C14 C24 C16 C14 C16 C24 C14 C40 C16 C24 C24 C40 C14 C56 C16 C24 C40 8 8 8 8 8 16 8 8 8 8 8 8 8 8 8 16 16 16 8 24 8 16 16 16 16 24 24 24 8 32 8 16 16 16 24 24 24 6 8 6 6 6 8 8 8 8 6 6 6 8 8 8 8 8 8 6 16 8 8 8 8 8 16 16 16 6 24 8 8 8 8 16 16 16 E8 E8 E16 E16 E8 E24 E24 E16 E24 E8 E40 E40 E24 E16 0 4 ...

Page 22: ... 8 8 16 24 24 24 32 8 8 8 8 16 16 16 24 24 24 8 8 8 16 16 16 16 24 32 32 32 8 16 16 16 16 24 24 24 32 32 32 E40 E24 E24 E8 E24 E40 E24 E16 E40 E40 E24 E24 E8 E40 E24 E40 E24 E16 24 16 16 16 16 0 4 8 16 24 24 24 16 16 16 0 8 16 24 24 24 24 16 16 16 16 0 4 8 24 16 24 24 24 16 16 16 0 8 16 16 8 8 8 8 8 4 0 8 16 16 16 8 8 8 16 8 0 16 16 16 16 8 8 8 8 8 4 0 16 8 16 16 16 8 8 8 16 8 0 Total Input Output...

Page 23: ...32 32 32 32 16 24 32 32 32 32 32 32 32 24 32 32 E40 E40 E24 E24 E40 E40 E24 E40 E24 E40 E40 E24 E40 E40 E24 E40 E40 E40 E40 E40 24 24 24 24 16 16 16 16 24 24 16 24 24 24 16 16 16 24 24 24 24 16 16 16 24 24 16 24 24 24 24 24 24 24 24 24 16 16 16 16 8 8 8 8 16 16 8 16 16 16 8 8 8 16 16 16 16 8 8 8 16 16 8 16 16 16 16 16 16 16 16 16 Total Input Output Series Input Output Series Input Output Series In...

Page 24: ...d in the system disks When installing NPST GR you will have to expand them COM 0 COM 1 COM 2 COM 3 COM 4 COM 5 COM 6 COM 7 24V DC F G COM F 8 9 E A B C D COM 7 0 1 6 2 3 4 5 RUN REMOTE PROG V0 max min RUN PROG ERR ALRAM BATTERY V1 max PC FP1 C24 24V DC min FP1 Control Unit NPST GR Software FP Programmer II Commercially available personal computer IBM PC AT or 100 compatible FP1 MEMORY UNIT MATUSIT...

Page 25: ...g the FP Programmer II Refer to page 86 4 5 Memory Unit Creation and ROM Operation and NPST GR Manual for details about writing programs using the NPST GR Software Refer to page 260 8 10 Product Types for details about RS232C cable wiring When using NPST GR Software Ver 2 refer to page 241 1 Differences Between NPST GR Ver 2 4 and Ver 3 1 COM 0 COM 1 COM 2 COM 3 COM 4 COM 5 COM 6 COM 7 24V DC F G ...

Page 26: ... for FP ROM Writer AFP1810 Master Memory EEPROM AFP1202 for C24 and C40 series AFP1203 for C56 and C72 series Memory EPROM AFP1201 Commercially available ROM programmer We recommend Aval Data Corporation s PECKER 11 Note When using NPST GR Software Ver 2 refer to page 241 1 Differences Between NPST GR Ver 2 4 and 3 1 The EXE files are compressed in the system disks When installing the NPST GR you ...

Page 27: ... Hard disk space 2 MB or more Operating System MS DOS Ver 3 30 or later Video mode Display mode EGA or VGA NPST GR Software Ver 3 AFP266538 Note RS232C cable Select in accordance with the specifications of the commercially available ROM programmer Commercially available ROM programmer We recommend Aval Data Corporation s PECKER 11 Socket adapter for FP ROM Writer AFP1810 Memory EPROM AFP1201 The E...

Page 28: ...20 ...

Page 29: ...ecifications 29 1 General Specifications 29 2 Performance Specifications of Control Unit and Expansion Unit 31 1 Control Specifications 31 2 Input Specifications of Control Unit and Expansion Unit 32 3 Output Specifications of Control Unit and Expansion Unit 33 3 Performance Specifications of Intelligent Unit 35 1 FP1 A D Converter Unit 35 2 FP1 D A Converter Unit 35 4 Performance Specifications o...

Page 30: ...value ranging from 0 to 255 The set value is stored in the manual dial set register DT9040 Operation Monitor LEDs RUN LED ON when program is executed Flashes when forcing input output is executed in RUN mode PROG LED ON when the Control Unit halts program execution ERR LED ON when a self diagnostic error occurs ALARM LED ON when an abnormality is detected or watchdog timer error occurs Mode Select...

Page 31: ...or FP1 I O Link Unit See page 12 and 42 DIN Rail Attachment Lever Input Terminals C24 series 16 points C40 series 24 points C56 series 32 points C72 series 40 points Input voltage range 12V DC to 24 V DC This terminal block is removable with screws at both ends Terminals marked with cannot be used as input terminals Built in DC Power Output Terminals for Inputs AC type only DC power for inputs can...

Page 32: ... Input 8 points Output only type E8 series Output 4 points E16 series Output 8 points DIN Rail Attachment Lever Expansion Connector left side Connects to the FP1 Control Unit or FP1 Expansion Unit See page 12 and 42 Expansion Connector left side Connects to the FP1 Control Unit or FP1 Expansion Unit See page 12 and 42 Power Supply Terminals AC type Control Unit power supply terminals for 100 V AC ...

Page 33: ... Converter Unit or FP1 I O Link Unit Terminals for Channel 1 and Channel 2 V V RANGE I I Analog voltage output terminals Voltage range selection terminals Analog current output terminals F G V3 I3 C3 F G C0 F G FP1 4A D Matsushita Erectric Works Ltd FP1 003 93 B a Power NAIS 24V DC CH 3 RANGE V0 I0 C1 F G V1 I1 C2 V2 I2 CH 2 CH 1 CH 0 Power Supply Terminals DIN Rail Attachment Lever Channel 3 Volt...

Page 34: ...pansion board Operation mode selector setting Descriptions Power is supplied Power is not supplied Normal communication status Flash in approx 0 2 s intervals Not communicating A communication error occurred at the slave station The normal slave station continues I O control operation Flash in approx 1 s intervals A communication error with a slave station Station number setting error Error on FP ...

Page 35: ... Unit Switch Number 1 2 3 Specification OFF OFF ON ON Switch position 1 2 3 4 Not a terminal station Terminal station Stop Start maintains its output condition Terminal station setting Slave station output condition during a communication error OFF ON Mode Selector Switches Power POWER Communication COM Alarm ALARM Descriptions When power is supplied When power is not supplied Not communicating Co...

Page 36: ...eive Data Monitor LED green ON OFF TERMINATE Switch Turn this switch ON when the adapter is installed at terminal station DIN Rail Attachment Lever Cable Connects the cable to the programming tools connector RS422 port of FP1 Control Unit RS422 port when receiving power when not receiving power when sending when not sending when receiving when not receiving C NET ADAPTER S1 TYPE ON OFF RD SD POWER...

Page 37: ...th a 500 V DC megger Between AC terminal and Frame ground terminal Between DC terminal and Frame ground terminal 10 Hz to 55 Hz 1 cycle min double amplitude of 0 75 mm 0 030 in 10 min on 3 axes Shock of 98 m s2 or more 4 times on 3 axes 1 000 Vp p with pulse widths 50 ns and 1 µs based on in house measurements Free from corrosive gases and excessive dust AC type 100 V to 240 V AC DC type 24 V DC A...

Page 38: ...4 V DC AC type 0 12 A or less at 100 V AC 0 08 A or less at 200 V AC DC type 0 2 A or less at 24 V DC C14 C16 series C24 C40 series C56 C72 series E24 E40 series Min 10 ms Control Unit all series 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 AC type only Expansion Unit AC type only 0 3 A or less at 10...

Page 39: ...ages 8 subroutines Not available 1 point Count input X0 X1 Reset input X2 1 potentiometer 4 points X0 to X3 Not available Not available Not available Not available 32 inputs 32 outputs 1 point Y7 pulse output frequency 45 Hz to 4 9 k Hz 2 5 ms set value 160 ms or less Built in RAM lithium battery backup EEPROM master memory unit EPROM memory unit 2 720 steps 80 111 1 008 points 144 points 1 660 wo...

Page 40: ...etting interrupt input 500 µs or less in setting pulse catch LED Terminal block M3 5 screw Optical coupler ON OFF Item Description 1 The actual number of points that can be used is the total number of I O points of the Control Unit and the Expansion Unit 2 The two pulse outputs Y6 and Y7 are not available at the same time 3 For C14 and C16 series the hold type data are backed up by the internal ca...

Page 41: ... voltage range Operating load voltage range Max load current Max surge current OFF state leakage current ON state voltage drop Response time See note 2 Surge absorber Operating mode indicator Connection method Optical coupler Transistor PNP or NPN open collector 5 V to 24 V DC 4 75 V to 26 4 V DC 0 5 A point at 24 V DC See note 1 3A 100 µA or less 1 5 V or less 1 ms or less 1 ms or less Zener diod...

Page 42: ...nt Max surge current OFF state leakage current ON state voltage drop Response time Surge absorber Operating mode indicator Connection method Optical coupler Triac 100 V to 240 V AC 85 V to 250 V AC 1 A point 1 A common 30 mA 15 A 100 ms or less 4 mA or less at 240 V AC 1 5 V or less at 0 3 A to 1 A load 5 V or less at 0 3 A or less load 1 ms or less 0 5 cycle 1 ms or less Varister LED Terminal blo...

Page 43: ...it Not insulated between channels Terminal block M 3 5 screw Description Item 1000 500 2 5 5 0 Digital output Analog input K V 0 to 5 V range 1000 500 5 10 Digital output Analog input K V 0 to 10 V range 1000 500 10 20 Digital output Analog input K mA 0 to 20 mA range 0 0 0 Analog input points Analog input range Resolution Overall accuracy Response time Input impedance Absolute input range Digital...

Page 44: ...Unit Description Item Interface Data Transmission velocity Number of controllable I O points Transmission distance RS485 0 5 M bps 64 points Input 32 Output 32 setting when shipped When 2 transmitter master units are connected the I O points are as follows 104 points Input 56 Output 48 C14 C16 series 144 points Input 80 Output 64 C24 C40 C56 and C72 series Max 700 m with twisted pair cable Descrip...

Page 45: ...P1 E8 E8 Series except E8 Triac Output type 80 3 150 81 3 189 45 1 772 24V DC FP1 018 93 B C24 Series C40 Series C56 Series C72 series W mm in 190 7 480 260 10 236 300 11 811 H mm in 96 3 780 120 4 724 unit mm in Item COM 0 COM 1 COM 2 COM 3 COM 4 COM 5 COM 6 COM 7 24V DC F G COM F 8 9 E A B C D COM 7 0 1 6 2 3 4 5 RUN REMOTE PROG V0 max min RUN PROG ERR ALRAM BATTERY V1 max C24 C40 C56 and C72 Se...

Page 46: ... 0 1 2 3 4 5 6 789 STATION NO POWER COM ALARM PC FP1 I O LINK MODE SW ON OFF 1 2 3 4 FP1 Transmitter Master Unit 120 4 724 74 2 913 81 3 189 45 1 772 AC type DC type FP1 021 93 H POWER COM ALARM F G F G 24V DC RS485 TRNET MODE SW ON OFF 1 2 3 4 5 6 Matsushita Electric Works Ltd MONITOR SW INPUT UNIT OUTPUT UNIT 0 7 1 2 3 4 5 6 8 F 9 A B C D E FP1 A D Converter Unit FP1 D A Converter Unit 120 4 724...

Page 47: ...45 1 Wiring Example for Input Terminals 45 2 Description 45 3 Input Wiring Examples 46 4 Input Terminal Layouts 47 4 Output Terminals of Control Unit and Expansion Unit 49 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 F...

Page 48: ...6 110 4 331 110 4 331 180 7 087 250 9 843 110 4 331 110 4 331 110 4 331 110 4 331 40 1 575 C14 series C16 series C24 series C40 series C56 series C72 series E8 series E16 series E24 series E40 series FP1 A D Converter Unit FP1 D A Converter Unit FP1 Transmitter Master Unit FP1 I O Link Unit C NET Adapter S1 Type H mm in 71 2 795 71 2 795 86 3 386 86 3 386 110 4 331 110 4 331 71 2 795 71 2 795 71 2...

Page 49: ...nit and duct as shown in the figure Illustration FP1 Control Unit 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 COM 0 COM 1 COM 2 COM 3 COM 4 COM 5 COM 6 COM 7 24V DC F G COM F 8 9 E A B C D COM 7 0 1 6 2 3 4 5 RUN REMOTE PROG V0 max min RUN PROG ERR ALRAM BATTERY V1 max PC FP1 C...

Page 50: ...ies Expansion Unit cannot be connected in succession Refer to page 11 1 3 Expansion and Configurations for details about combination of units Control Unit Expansion Unit Expansion Unit Control Unit Expansion Unit Expansion Unit Left Left Right Right Expansion Cable Expansion Cable Right CORRECT INCORRECT Left Left Expansion Cable Right Example Example Units must be connected left to right of each ...

Page 51: ... an earth ground resistance of 100 Ω or less is recommended to limit the effect of noise due to electromagnetic interference Do not use a grounding wire that is shared with other devices FP1 unit Other device Correct FP1 unit Other device Incorrect Rated operating voltage Operating voltage range 100 V to 240 V AC 85 V to 264 V AC 24 V DC 20 4 V to 26 4 V DC Item AC type DC type F G 100 240 V AC 10...

Page 52: ... power supply circuit or other devices In order to prevent malfunction from resulting in system shutdown the following special attention is required Start up sequence The FP1 should be operated after all of the outside devices are energized To keep this sequence the following measures are recommended Set the Mode selector from PROG mode to RUN mode after power is supplied to all of the outside dev...

Page 53: ... Specifications of Control Unit and Expansion Unit 0 2 4 6 1 3 5 7 24 V DC COM 8 A C E 9 B D F COM Using the external input supply FP1 028 93 B Switch Sensor Internal circuit Output V 0 V External power supply 12 V to 24 V DC 0 2 4 6 1 3 5 7 24 V DC COM 8 A C E 9 B D F COM Using the built in DC power output for inputs FP1 027 93 B Switch Sensor Internal circuit Output V 0 V If the capacity of the ...

Page 54: ...minal Power supply for input FP1 033 93 B COM Sensor Internal circuit FP1 Input terminal Power supply for input FP1 032 93 B COM Sensor Internal circuit FP1 Input terminal Power supply for input FP1 030 93 B Vcc 0V COM Sensor Internal circuit FP1 Input terminal Power supply for input FP1 031 93 B Vcc 0V COM Sensor Internal circuit FP1 Input terminal Power supply for input FP1 029 93 B Sensor power...

Page 55: ...s do not allow for this type of use therefore check the specifications of the sensor before wiring When connecting a device with a power supply voltage different from the FP1 input voltage such as a 5 V sensor connect in common to the side of the built in DC power output terminal as shown in the diagram COM LED equipped reed switch FP1 Input terminal 10 V DC or more FP1 036 93 B When a LED is conn...

Page 56: ... 5 1 3 7 8 A C E 0 2 4 6 5 1 3 7 COM 0 2 4 6 COM D 9 B F COM 5 1 3 7 8 A C E 0 2 4 6 0 2 4 6 24V 8 A C E 0 2 4 6 8 A C E 5 1 3 7 COM 24V COM D 9 B F COM 5 1 3 7 COM D 9 B F 0 2 4 6 8 A C E 0 2 4 6 8 A C E 5 1 3 7 COM COM D 9 B F COM 5 1 3 7 COM D 9 B F 0 2 4 6 24V 8 A C E 0 2 4 6 8 A C E 0 2 4 6 5 1 3 7 COM 24V COM D 9 B F COM 5 1 3 7 COM D 9 B F COM 5 1 3 7 8 A C E 0 2 4 6 5 1 3 7 COM COM D 9 B F...

Page 57: ... and Expansion Unit for details about output specifications 0 100 240 V AC COM 1 COM 2 COM 3 COM 4 COM 5 COM 6 COM 7 COM F G L L L L FP1 040 93 B Short circuit bar 0 100 240 V AC COM 1 COM 2 COM 3 COM 4 COM 5 COM 6 COM 7 COM F G AC power supply DC power supply FP1 039 93 B L L Do not connect output devices to the output terminals indicated with a symbol COM 0 COM 1 COM 2 COM 3 COM 4 COM 5 COM 6 CO...

Page 58: ...cm 19 685 in Resistive load Solenoid load Motor load Incandescent lamp load Mercury lamp load Sodium vapor lamp load Capacitive load Transformer load Steady state current 10 to 20 times the steady state current 5 to 10 times the steady state current 10 to 15 times the steady state current Approx 3 times the steady state current 1 to 3 times the steady state current 20 to 40 times the steady state ...

Page 59: ...2 7 AC AC F G COM 0 1 3 5 2 7 F G COM 24V 24V 4 6 4 6 C40 E40 series AC type B D F 5 7 3 C56 series AC type DC type C72 series AC type DC type DC type 5 1 3 7 0 2 4 8 9 A B D E F COM COM COM COM COM COM COM COM COM F G 6 C 24V 24V 5 1 3 7 AC AC COM COM COM COM COM COM COM COM COM 0 2 4 8 9 A B D E F F G 6 C 0 1 2 3 5 6 7 B D 1 3 9 5 AC COM COM COM COM COM COM COM COM AC COM COM F COM 7 F G 4 A C 0...

Page 60: ...tor PNP open collector and triac output therefore take care when selecting the type of load to be connected E8 series Output only type O 8 point I O type O 4 point Output only type O 16 point I O type O 8 point E16 series 6 4 5 7 COM 2 0 1 3 COM 2 0 1 3 COM 8 9 B C D E A F COM COM COM 0 1 3 4 5 6 2 7 COM COM COM 0 1 3 4 5 6 2 7 COM 52 3 3 Wiring ...

Page 61: ...ltage range selection terminal RANGE shorts be sure to short it at the terminal block Also do not pull on its lead wire Keep the main circuit wiring away from high voltage lines Make sure that the power is supplied to the Control Unit and the A D Converter Unit from the same power supply line Analog input range 0 to 5 V 0 to 10 V Voltage range selection terminal Between terminals Not short circuit...

Page 62: ...tage output and current output is not possible on the same channel Also keep unused output terminals open Keep the main circuit wiring away from high voltage line Make sure that the power is supplied to the Control Unit and the D A Converter Unit from the same power supply line It is recommended that the shielded cable is grounded at the load device side However depending on the external noise sit...

Page 63: ... the interface 1 Cable Specifications Vinyl Cabtyre Cable VCTF 2 conductor Conductors Insulation Molding jacket Conductor Size Min 0 75 mm2 AWG18 or lager Resistance Max 25 1 Ω km at 20 C 68 F Cable Insulation thickness Max 0 6 mm 0 24 in Molding jacket diameter Approx 6 6 mm 2 60 in F G F G RS485 Interface of an FP1 I O Link Unit RS485 Interface of the other Programmable Controller Communication ...

Page 64: ...tion thickness Max 0 5 mm 0 20 in Jacket thickness Approx 1 5 mm 0 59 in F G RS485 Interface Ground Control box Communication cable Frame ground F G RS485 Interface Ground Control box Frame ground Communication cable Communication cable When the control box is grounded F G RS485 Interface Control box Communication cable Frame ground F G RS485 Interface Control box Communication cable Communication...

Page 65: ...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 5 Configuring NPST GR 76 5 Exiting NPST GR 78 6 Basic Key Operation for Programs 79 7 Downloading a Program to the Programmable Controller 80 8 Saving a Program to Disk 81 9 Printing 82 4 4 Programm...

Page 66: ...ogramming tools Output field devices Inverter variable speed drive Segment indicators Indicators Buzzers Programmable Controller Input field devices Limit switches Manual operating switches Photoelectric sensors Inductive proximity switches Encoders Digital switches Power supply Relays Solenoids 3 Input inter face 4 Output inter face 2 a Memory for operand 1 CPU Central Processing Unit 2 b System ...

Page 67: ... Refer to page 93 for details about operands 2 2 b System register The memory area for storing the system settings of programmable controllers Information in this area decides the operand characteristics advanced control function availabilities and so on The system registers can be set using an FP Programmer II or personal computer using NPST GR Software 2 2 c Memory for program The memory area to...

Page 68: ...r Y0 Y1 Y2 Memory for operands for output Output interface Output field device Programmable Controller Cyclicly repeated process 4 1 Operating Principles of the Programmable Controller 1 1 Input update stage The programmable controller reads information ON or OFF at the input interface and stores it in the memory for operands 2 2 Program execution stage The CPU of the programmable controller execu...

Page 69: ...tion to program execution and I O update the programmable controller also performs a variety of error checking self diagnostic function and also communicates with the programming tools These operations are referred to as a whole as tool services and are performed after program execution Since the scan time is defined as the time required for one scan the cyclic operation of a scan I O update progr...

Page 70: ...X0 X1 Y0 Y1 R0 T0 Push button switch A 3s Lamp Timer contact Motor Push button switch B Relay contacts 1 When push button switch A is pressed the coil of relay R0 is energized and its contacts turn ON 2 Since contact 1 of relay R0 supplies power to the coil of relay R0 the coil stays energized even if switch A is turned OFF self hold circuit 3 Contact 2 of relay R0 supplies power to lamp Y0 and ti...

Page 71: ...ontroller and activates an external output device such as a solenoid or motor Internal relay R This relay does not provide an external output and can be used only within the programmable controller Counter contact C This contact is the output of the counter instruction CT If a counter instruction counts up the contact with same number turns ON Timer contact T This contact is the output of the time...

Page 72: ... 100 101 143 R Decimal 1 2 3 12 Hexadecimal 0 1 2 3 9 A B F Y X C14 and C16 series 256 points R0 to R15F 28 points C100 to C127 C24 C40 C56 and C72 series 1 008 points R0 to R62F 44 points C100 to C143 Numbering 208 points X0 to X12F 208 points Y0 to Y12F 64 points R900 to R903F 100 points T0 to T99 External input relay X External output relay Y Internal relay R Special internal relay R Timer cont...

Page 73: ...ut type Input type I O type Output type I O type I O type Input type I O type Output type Input type I O type Output type I O type I O type Control Unit Primary Expansion Unit Secondary Expansion Unit I O Link Unit Transmitter Master Unit Input allocation X0 X0 X0 X0 X10 X0 X10 X0 X10 X20 X30 X30 X30 X30 X30 X30 X40 X50 X50 X50 X50 X50 X50 X60 X30 X50 X30 X50 See notes below X70 X70 WX7 X80 WX8 to...

Page 74: ...its are connected COM 0 COM 1 COM 2 COM 3 COM 4 COM 5 COM 6 COM 7 24V DC F G COM F 8 9 E A B C D COM 7 0 1 6 2 3 4 5 RUN REMOTE PROG V0 max min RUN PROG ERR ALRAM BATTERY V1 max C40 Series PC FP1 C24 24V DC min COM 0 COM 1 COM 2 COM 3 COM 4 COM 5 COM 6 COM 7 24V DC F G COM F 8 9 E A B C D COM 7 0 1 6 2 3 4 5 PC FP1 E24 24V DC Y0 YF E24 Series Y30 Y37 Output allocation X0 XF X10 X17 X30 Y3F Input a...

Page 75: ...er s RS232C parameter to asynchronous Refer to the manuals that came with your computer 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 FP1 Peripheral Cable AFP15205 50 cm COM 0 COM 1 COM 2 COM 3 COM 4 COM 5 COM 6 COM 7 24V DC F G COM F 8 9 E A B C D COM 7 0 1 6 2 3 4 5 RUN REMOTE PROG V0 max min RUN PROG ERR ALRAM BATTERY V1 max ...

Page 76: ...art of the program Comment function You can enter comments for relays and output instructions These comments show you which device the relay corresponds to or for what application the relay is used Program check With the program checking function you can check the created program for grammatical errors Monitoring To support programming capability NPST GR Software can monitor the program you create...

Page 77: ...amming screen consists of a menu bar a programming area and function key labels as shown below The display varies depending on the programming mode you are in The following figure shows the programming screen when you are in the ladder symbol mode Menu bar The uppermost line on the screen is called the menu bar The menu bar indicates which mode what function and which programming mode you are curr...

Page 78: ...rogramming style you are currently in The software provides three programming styles Ladder symbol mode Boolean ladder mode and Boolean non ladder mode Ladder symbol mode The ladder symbol mode allows you to create a program by entering ladder symbols Ladder symbols are graphic symbols which show logical elements such as The program will be displayed as a logic diagram on the screen This diagram i...

Page 79: ...dow is being displayed NPST menu On the NPST menu the submenu names are listed From the NPST menu select a submenu that the menu function you want to use belongs to Submenu In the submenu the menu functions are listed NPST MENU EDIT A PROGRAM COMMENTS SEARCH EDIT A PROGRAM MONITOR RELAYS REGISTERS 1 PROGRAMMING STYLE A CHECK A PROGRAM 2 EDIT A PROGRAM BY BLOCK NPST CONFIGURATION 3 DISPLAY 1 BLOCK ...

Page 80: ...stallation program The installation program is included in the NPST GR system disk The installation program cannot start if the device driver ANSI SYS provided with the MS DOS system disk has been installed in the disk on which you want to install NPST GR If ANSI SYS has not been installed install ANSI SYS first and then install NPST GR Procedure 1 If the ANSI SYS file does not exist on the disk o...

Page 81: ...ng at the DOS prompt INSI A C Enter This shows that the backup disk of the NPST GR system disk is in drive A and that you are going to install NPST GR onto drive C The following screen will appear NPST GR Installation Program Ver 3 1 The source drive a The target drive c OK Y E S N O NPST GR Installation Program Ver 3 1 To install the NPST GR type INSI and specify the source drive and the target d...

Page 82: ...ar 6 Check the message To install select YES and press The installation will start If you do not want to install select NO and press You will return to the previous screen When the installation is complete C NPST3 will appear Note When NPST GR is installed successfully the following files are stored in the NPST3 directory NPST EXE Contains a program which starts NPST GR NPSTE EXE Contains the syst...

Page 83: ...ram Adjusting the program in field No change Specification change Design a program according to your system What type of programmable controller do you use What relays and registers do you use for the program etc Customize NPST GR Set the communication conditions for communicating with peripheral devices Select the type of programmable controller for the program you created or system registers you...

Page 84: ...EEN MODE MONO COLOR PLC TYPE FP1 FP M 5k ENTER OPENS SELECTION WINDOW WINDOW OF PLC TYPE COM PORT 1 2 3 TRANS RATE bps 19200 9600 4800 2400 1200 600 300 DATA LENGTH 8 7 bits LOGGED DRICVE DIRECTORY DRIVE A B C D E DIRECTORY NOTE DISPLAY ON OFF PROGRAMMING MODE LADDER B LADDER BOOLN NOTE SPECIFY TRANS RATE TO 9600 or 19200bps TO CONNECT WITH PLC DIRECTLY Enter NPST MENU EDIT A PROGRAM COMMENTS SEAR...

Page 85: ...with the programmable controller or modem Select between 19200 9600 4800 2400 1200 600 or 300 For communication with the programmable controller specify either 19200 or 9600 If the clock frequency is a multiple of five you must select 19200 If you do not select 19200 NPST GR will not communicate with the programmable controller DATA LENGTH Specify the data length for communication with the program...

Page 86: ... displayed The SAVE window will be displayed at the lower left of the screen 2 Select YES or NO for the message SAVE DISK YES N O Select YES to save the parameters in the disk 3 Type or for the message LOG PARAMETERS Y N Type to execute the operation After execution the window will close If you selected YES for SAVE DISK YES N O the message SAVING TO THE DISK COMPLETED will be displayed at the bot...

Page 87: ...put field at the bottom of the screen It will be interpreted and displayed as an element on the ladder diagram when you press the key Input Deletions When deleting from the input field Press When deleting from the ladder diagram display area Move the cursor to the location containing the mistake and press Refer to the NPST GR Software manual for details Del BS Enter Enter T0 Y1 TMX 30 0 R0 Y0 R0 X...

Page 88: ...ad only the program Select I O CMT to download only the I O comments Select PROG I O CMT to download both the program and the I O comments 6 Specify whether or not to verify the programs Select YES at VERIFY with the arrow keys when you want to verify the transferred program with the one displayed on the screen after downloading Select NO if you do not want to verify the program 7 Press to start d...

Page 89: ...Select Ver 3 to save in the version 3 style Select Ver 2 to save in the version 2 style 9 When you select Ver 3 select whether you want to verify the programs Select YES at VERIFY with the arrow keys to verify the saved program with the program on the screen after saving Select NO if you do not want to verify the program 10 Press When you select Ver 3 saving will start Enter F8 F6 DRIVE A B C D E ...

Page 90: ...4 Specify what you want to print out in the STYLE window Select Y for the item which you want to print Select N not to print it 5 Press to log the settings in each window and to return to the previous window You must press on every window on which you made any change When pressing you will be asked SURE Type to log the changes you made To cancel them type 6 Select PRINT from the PRINT OUT window 7...

Page 91: ...e baud rate selector of the FP1 to 19200 COM 0 COM 1 COM 2 COM 3 COM 4 COM 5 COM 6 COM 7 24V DC F G COM F 8 9 E A B C D COM 7 0 1 6 2 3 4 5 RUN REMOTE PROG V0 max min RUN PROG ERR ALRAM BATTERY V1 max 24V DC min FP1 Programmable Controller FP1 Peripheral Cable for FP Programmer II AFP15205 0 5 m 1 640 ft AFP1523 3 m 9 843 ft FP Programmer II AFP1114 RUN REMOTE PROG Mode selector Baud rate selector...

Page 92: ...e controller Notes An alarm will sound if you try to download a program while in RUN mode or if you press the wrong keys If an alarm sounds press the key and redo the download operation from the beginning The first time you input a program be sure to execute the program clear procedure step 3 above before starting input ACLR READ 0 R0 Y0 X0 TMX 30 0 R0 T0 Y1 R0 ED 0 4 1 9 11 X1 FP Programmer IIkey...

Page 93: ...te Inputting Instructions That Are Not on the Key Display There are two ways to input instructions such as the ED END instruction and the DF Leading edge differential instruction which are not on the key display Using the HELP function Procedure example 1 Press the keys shown on the right 2 Next press to look for the desired instruction 3 Input the number for the instruction Example The ED instruc...

Page 94: ...cially available ROM programmer or FP ROM Writer FP1 Control Unit A ROM programmer is not required Description Suitable for program storage or ROM based operation when installed in the Control Unit You can write data without using a ROM programmer Suitable for copying and transmitting the master program COM 0 COM 1 COM 2 COM 3 COM 4 COM 5 COM 6 COM 7 24V DC F G COM F 8 9 E A B C D COM 7 0 1 6 2 3 ...

Page 95: ...t EPROM to the ROM programmer and write the program Necessary tools Computer Commercially available personal computer IBM PC AT or 100 compatible machine Main Memory 550 KB or more free EMS 800 KB or more free Hard disk space 2 MB or more required Operating System MS DOS Ver 3 30 or later Video mode display mode EGA or VGA NPST GR Software Ver 3 AFP266538 Note RS232C cable Select in accordance wit...

Page 96: ...523 FP Programmer II AFP1114 Socket adapter for FP ROM Writer AFP1810 Master Memory Unit EEPROM AFP1202 for C24 and C40 series AFP1203 for C56 and C72 series Memory Unit EPROM AFP1201 Commercially available ROM programmer We recommend Aval Data Corporation s PECKER 11 FP1 Peripheral Cable COM 0 COM 1 COM 2 COM 3 COM 4 COM 5 COM 6 COM 7 24V DC F G COM F 8 9 E A B C D COM 7 0 1 6 2 3 4 5 RUN REMOTE ...

Page 97: ...us 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 Turn OFF the power to the FP1 before installing or removing the memory unit Even when using ROM based operation be sure the battery is connected for backup and retaining the data The battery backs up reta...

Page 98: ...90 ...

Page 99: ...Description of Basic Instructions 100 5 4 Hints for Programming Basic Instructions 139 1 Basic Circuit with Basic Instructions 139 2 Basic Instructions not Displayed on the Keys of FP Programmer II 140 1 When You do not Know the Basic Instruction Codes for the FP Programmer II 140 2 When You Know the Basic Instruction Codes for the FP Programmer II 140 3 Table of Instruction Codes for the FP Progr...

Page 100: ...tructions form the basis of the relay sequence circuit they are expressed as relay coils and contacts as shown below Example Self hold circuit by basic sequence instructions Relay types are given on the following page Note that the relays that can be specified depend upon the instruction Refer to each instruction for details X0 R0 R0 Y0 R0 X1 External input contact Internal coil Address External o...

Page 101: ... C143 256 points R0 to R15F 28 points C100 to C127 Item Function Number of points This relay does not provide an external output and can be used only within the Programmable Controller This relay outputs the program execution result of the Programmable Controller and activates an external device such as a solenoid or motor This relay feeds signals to the Programmable Controller from an external de...

Page 102: ...tem Registers for details about selection of hold and non hold types The default value of hold and non hold areas is organized as follows Internal relay R R0 to R9F Non hold area After R100 Hold area Timer contact T and counter contact C 0 to 99 Non hold area After 100 Hold area When the number of timers or counters is insufficient the number can be changed by setting the system register Refer to ...

Page 103: ...y closed contact in parallel Performs an AND operation on multiple instruction blocks Performs an OR operation on multiple instruction blocks Stores the operated result up to this instruction Reads the operated result stored by the PSHS instruction Reads and clears the operated result stored by the PSHS instruction Turns ON the contact for only one scan when the leading edge of the trigger is dete...

Page 104: ...igger turns ON 2 2 2 1 4 1 1 A A A A A A A A A A A A A A 124 124 126 C56 C72 Availability C24 C40 C14 C16 Description Boolean Name Step Page Master control relay Master control relay end Jump Label Loop End Conditional end A A A A A A A 0 01 s units timer 0 1 s units timer 1 s units timer Auxiliary timer Counter UP DOWN counter Shift register Left right shift register TMR TMX TMY F137 STMR CT F118...

Page 105: ...SSTP NSTP NSTL CSTP STPE CALL SUB RET ICTL INT IRET Indicates the start of the step ladder process Opens the process of the step ladder and resets the process including the instruction itself NSTP is executed when the leading edge of its trigger is detected Opens the process of the step ladder and resets the process including the instruction itself NSTL is executed every scan if its trigger is ON ...

Page 106: ...rforms Start AND or OR operation by comparing two word data in the following conditions ON when S1 S2 OFF when S1 S2 Performs Start AND or OR operation by comparing two word data in the following conditions ON when S1 S2 OFF when S1 S2 Performs Start AND or OR operation by comparing two word data in the following conditions ON when S1 S2 OFF when S1 S2 Performs Start AND or OR operation by compari...

Page 107: ...word data in the following conditions ON when S1 1 S1 S2 1 S2 OFF when S1 1 S1 S2 1 S2 Performs Start AND or OR operation by comparing two double word data in the following conditions ON when S1 1 S1 S2 1 S2 OFF when S1 1 S1 S2 1 S2 9 9 9 9 9 9 9 9 9 9 9 9 N A N A N A N A N A N A N A N A N A N A N A N A A A A A A A A A A A A A A A A A A A A A A A A A S1 S2 S1 S2 S1 S2 S1 S2 S1 S2 S1 S2 S1 S2 S1 S2...

Page 108: ... from the bus line 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 ST instruction instead of the ST instruction The OT instruction cannot start directly from the bus line The OT instruction can be used consecutively Refer to page 141 3 Duplicated Use of O...

Page 109: ...e 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 ST instruction instead of the ST instruction The OT instruction cannot start directly from the bus line The OT instruction can be used consecutively Refer to page 141 3 Duplicated Use of Outputs for detail...

Page 110: ...X1 turns OFF Description The instruction inverts the operated result up to this instruction Not Availability Step 1 All series Ladder Diagram FP Programmer IIkey operations Boolean Non ladder Address Instruction 0 X0 Y0 X1 Y1 Not ST X WX ST X WX ST X WX 0 WRT AN Y WY WRT 1 OT L WL AN Y WY 0 WRT WRT OT L WL AN Y WY 1 WRT NOT DT Ld WRT 0 1 2 3 4 ST X 0 AN X 1 OT Y 0 OT Y 1 ON OFF X0 ON OFF X1 ON OFF...

Page 111: ...ct Form A contact is serially connected Use the AN instruction when the normally closed contact Form B contact is serially connected The AN and AN instructions can be used consecutively ON OFF X0 ON OFF X1 ON OFF X2 ON OFF Y0 Timer Counter Contact C Relay T R Y X Instruction AN AN A A A A A A N A Not Available Available AN AND AN AND Not Availability Step 1 1 All series Ladder Diagram FP Programme...

Page 112: ...m A contact is connected in parallel Use the OR instruction when the normally closed contact Form B contact is connected in parallel The OR instruction starts from the bus line The OR and OR instructions can be used consecutively ON OFF X0 ON OFF X1 ON OFF X2 ON OFF Y0 Timer Counter Contact C Relay T R Y X Instruction OR OR A A A A A A N A Not Available Available OR OR OR OR Not Ladder Diagram FP ...

Page 113: ... X3 X4 X5 Y0 block 4 block 5 block 1 block 2 block 3 1 2 ST OR ST OR ANS 1 ST OR ANS 2 OUT X X X X X X Y block 1 block 2 block 4 block 3 block 5 0 1 2 3 4 5 0 X0 OR X1 AND X2 OR X3 Y0 block 1 block 2 ANS AND stack Ladder Diagram FP Programmer IIkey operations Boolean Non ladder Address Instruction 0 X0 Y0 X1 Instruction blocks X2 X3 ST X WX OR R WR WRT 1 WRT ST X WX ST X WX 0 WRT AN Y WY STK IX IY...

Page 114: ...0 X1 X2 X3 Y0 block 4 block 5 block 1 block 2 block 3 1 2 ST AN ST AN ORS 1 ST AN ORS 2 OUT X X X X X X Y block 1 block 2 block 4 block 3 block 5 X4 X5 0 1 2 3 4 5 0 X0 AND X1 OR X2 AND X3 Y0 block 1 block 2 ORS OR stack Availability Step 1 All series Ladder Diagram FP Programmer IIkey operations Boolean Non ladder Address Instruction 0 X0 Y0 X2 Instruction blocks X1 X3 ST X WX AN Y WY WRT 1 WRT S...

Page 115: ...es ON when X2 turns ON 3 Reads the stored result by the POPS instruction and Y2 goes ON when X3 turns OFF Also clears the stored result by the PSHS instruction Ladder Diagram FP Programmer IIkey operations Boolean Non ladder Address Instruction 0 X0 Y0 Push Stack X1 X2 X3 Read Stack Pop Stack Y1 Y2 RDS Read stack POPS Pop stack PSHS Push stack Availability Step 1 1 1 All series SHIFT SC WRT WRT ST...

Page 116: ... RDS Reads the operated result stored by the PSHS instruction and using its contents continues operation from the next step POPS Reads the operated result stored by the PSHS instruction and using its contents continues operation from the next step Also clears the operated result stored by the PSHS instruction You can continue to use the same operation result several times by successively using the...

Page 117: ...igger is already set to ON at the first scan of the FP1 s operation there will be no execution of the DF instruction And if its trigger is set to OFF there will be no execution of the DF instruction With a circuit such as the one in the figure below operation will be as follows 1 When X1 is OFF even if X0 rises Y0 remains OFF 2 Even if X1 rises when X0 is ON Y0 remains OFF 3 If X0 rises when X1 is...

Page 118: ...ng input signal Trigger to the DF instructions between the MC and MCE instruction set are ignored while the MC execution condition is OFF If in the example above output is required at point A place the DF instruction outside the MC and MCE instruction set If the same trigger is set for the MC and for the DF instruction there will be no output Place the DF instruction outside the MC and MCE instruc...

Page 119: ...gger is turned ON Output turns OFF and holds the contact in bit OFF regardless of the trigger s state changes You can use the same number for relays Y and R with the SET and RST instructions as many times as you like X0 Y0 S X1 Y0 R X2 Y0 S X3 Y0 R ON OFF X0 ON OFF X1 ON OFF Y0 Timer Counter Contact C Relay T R Y X Instruction SET RST N A A A N A N A A N A Not Available Available Ladder Diagram FP...

Page 120: ...the operation Place a DF instruction before the SET and RST instructions to make program development and refinement easier Note Refer to page 139 5 4 Hints for Programming Basic Instructions for details about basic instructions such as the SET RST instructions which are not displayed on the FP Programmer II keys This portion of the program is processed as if Y0 were ON This portion is processed as...

Page 121: ...n the mode of the programmable controller is switched from RUN to PROG or when the power is turned OFF Use the hold type internal relay if you want to also maintain the output state when the mode of the programmable controller is switched from RUN to PROG or when turning OFF the power Refer to page 139 5 4 Hints for Programming Basic Instructions for details about basic instructions such as the KP...

Page 122: ...e the programming tools NPST GR DELETE ALL NOPS FP Programmer II OP1 Operation procedure of FP Programmer II Refer to page 139 5 4 Hints for Programming Basic Instructions for details about basic instructions such as the NOP instruction which are not displayed on the FP Programmer II keys ST OR OT ST AN OT ST DF ST X0 X1 Y1 X2 X3 R20 R2 X3 ST OR OT NOP ST AN OT ST DF ST X0 X1 Y1 X2 X3 R20 R2 X3 In...

Page 123: ...ess Instruction 0 X0 T5 Set value Timer instruction number 5 Y0 TM X 30 4 ST X WX TM T SV ENT 5 ST X WX ST X WX 0 WRT OT L WL AN Y WY 0 WRT BIN K H 0 WRT TM T SV ST X WX WRT 5 WRT 3 0 1 4 5 ST X 0 TM X 5 K 30 ST T 5 OT Y 0 Availability Step 3 3 4 All series Timer instruction number C14 and C16 series up to 128 C24 C40 C56 and C72 series up to 144 The number of the TM instructions is shared with th...

Page 124: ...rigger X0 is in the ON state 3 When the data in elapsed value area EV5 becomes 0 timer contact T5 turns ON and then Y0 goes ON Notes If you turn OFF timer operation trigger X0 in the middle of an operation the operation will be interrupted and the elapsed time will be reset to 0 Timer set value area SV is a memory area for the timer s time setting The timer contact goes ON when the value in timer ...

Page 125: ...nt of the main unit R9010 Always ON relay DT9040 Manual dial set register for V0 Even if the SV value is changed the setting in the program will not be rewritten The setting from the program is sent to the SV and changed only when the mode is changed back to RUN mode or the next time the power is turned ON When the SV value is rewritten the currently operating timer will continue operating as is T...

Page 126: ...0 Y1 3s 2s ST PSHS TM K POPS TM K ST OT ST OT X X X T Y T Y 0 0 30 1 20 0 0 1 1 T1 Y1 TMX 20 1 Program example 2 T0 T1 Y1 TMX 30 X0 Y0 TMX 20 0 1 ON OFF X0 ON OFF T0 ON OFF ON OFF ON OFF T1 Y0 Y1 3s 2s ST TM K TM K ST OT ST OT X X X T Y T Y 0 0 30 1 20 0 0 1 1 Program example 1 118 5 3 Description of Basic Instructions ...

Page 127: ...rigger Counter instruction number 100 Set value 1 5 ST X WX ST X WX 1 WRT ST X WX ST X WX 0 WRT CT C EV OT L WL AN Y WY 0 WRT CT C EV ST X WX 1 1 0 0 ENT BIN K H 0 1 WRT 0 0 WRT 0 1 2 5 6 ST X 0 ST X 1 CT 100 K 10 ST C 100 OT Y 0 5 3 Description of Basic Instructions 119 Counter instruction number C14 and C16 series up to 128 C24 C40 C56 and C72 series up to 144 The number of the CT instructions i...

Page 128: ... value area EV100 becomes 0 counter contact C100 turns ON and then Y0 goes ON When the SVn is specified as a preset value Procedure 1 When reset trigger X1 turns ON elapsed value area EV100 is reset The value in SV100 is transferred to the EV100 when the trailing edge of X1 is detected ON OFF 2 Each time the leading edge of count trigger X0 is detected one count is subtracted from the value in the...

Page 129: ...etained The value in the elapsed value area EV can be changed in the same way TM T SV 0 OP ENT BIN K H 0 WRT HELP CLR 2 8 1 0 READ Key operations Example Change the value of SV100 from K50 to K20 Steps 1 Monitor the status of the word data 2 Search for SV100 3 Clear the contents of SV100 4 Write the new value Refer to the FP Programmer II Operation Manual for details X1 X0 C3 Y0 F0 MV K20 SV100 CT...

Page 130: ...eset trigger X2 turns ON leading edge the contents of WR3 are cleared all bits in the WR3 become 0 Timer Counter area EV Relay SV WR WY WX Operand SR N A N A A N A A N A Not Available Register DT N A IY IX N A N A H K N A N A Constant Index modifier N A Index register Available N A SR Shift register Availability Step 1 All series Ladder Diagram FP Programmer IIkey operations Boolean Non ladder Add...

Page 131: ... hold type the data in the area is not reset become 0 when the mode is set to the RUN mode If you need to reset the data turn ON the reset trigger before use or change the settings of the system register 7 Refer to page 232 2 Table of System Registers for details about system registers F119 LRSR F100 SHR F101 SHL F120 ROR F121 ROL F122 RCR and F123 RCL can also be used as shift register instructio...

Page 132: ...trigger turns OFF Reset Holds the elapsed value at the time just before the trigger turns OFF Not executed ON OFF X0 ON OFF X1 ON OFF ON OFF ON OFF Y0 X2 Y1 Executes the programs from the MC instruction to the MCE instruction when predetermined trigger X0 turns ON The example program executes in the same way as the program below Ladder Diagram FP Programmer IIkey operations Boolean Non ladder Addr...

Page 133: ...ed in the following conditions The trigger of the MC instruction is missing There are two or more master control instruction sets with the same number The order of the MC and MCE instructions are reversed Trigger to the DF or DF instruction between the MC and MCE instruction set is ignored while the MC trigger is OFF If in the example above output is required at point A place the DF or DF instruct...

Page 134: ...the main program Refer to FP M FP1 Programming Manual for details about the CNDE instruction Refer to page 139 5 4 Hints for Programming Basic Instructions for details about basic instructions such as the ED instruction which are not displayed on the FP Programmer II keys ED End Availability Step 1 All series Ladder Diagram FP Programmer IIkey operations Boolean Non ladder Address Instruction X0 E...

Page 135: ...ailable A S2 A A A A A A A A A A A S1 S2 16 bit equivalent constant 16 bit area to be compared 16 bit equivalent constant or 16 bit area to be compared Ladder Diagram FP Programmer IIkey operations Boolean Non ladder Address Instruction 0 Y0 DT0 K50 S2 S1 ST X WX ENT NOT DT Ld ENT 0 BIN K H 0 WRT OT L WL AN Y WY 0 WRT 5 C 0 5 ST DT 0 K 50 OT Y 0 Availability Step 5 5 5 5 5 5 C24 C40 C56 and C72 se...

Page 136: ...ine This instruction can be input only with FP Programmer II or NPST GR version 3 1 or later Special data registers DT9017 and DT9018 are available only for FP1s with CPU version 2 7 or later All FP1s with a suffix B on the part number have this function When using special internal relay R9008 as the flag for this instruction be sure to program the flag at the address immediately after the instruc...

Page 137: ...Index register Available A S2 A A A A A A A A A A A Availability Step 5 5 5 5 5 5 C24 C40 C56 and C72 series CPU version 2 7 or later AN Word compare AND equal AN Word compare AND equal not Word compare AND smaller AN Word compare AND larger AN Word compare AND equal or larger AN AN Word compare AND equal or smaller 5 3 Description of Basic Instructions 129 S1 S2 16 bit equivalent constant or 16 b...

Page 138: ...secutively This instruction can be input only with FP Programmer II or NPST GR version 3 1 or later Special data registers DT9017 and DT9018 are available only for FP1s with CPU version 2 7 or later All FP1s with a suffix B on the part number have this function When using special internal relay R9008 as the flag for this instruction be sure to program the flag at the address immediately after the ...

Page 139: ...S1 A A A A A N A Not Available Register DT A IY IX A A H K A A Constant Index modifier A Index register Available A S2 A A A A A A A A A A A OR Word compare OR equal OR Word compare OR equal not Word compare OR smaller OR Word compare OR larger OR Word compare OR equal or larger OR OR Word compare OR equal or smaller 5 3 Description of Basic Instructions 131 S1 S2 16 bit equivalent constant or 16 ...

Page 140: ... instruction can be input only with FP Programmer II or NPST GR version 3 1 or later Special data registers DT9017 and DT9018 are available only for FP1s with CPU version 2 7 or later All FP1s with a suffix B on the part number have this function When using special internal relay R9008 as the flag for this instruction be sure to program the flag at the address immediately after the instruction Ref...

Page 141: ...stant Index modifier A Index register Available A S2 A A A A A A N A A A A A STD Double word compare Start equal STD Double word compare Start equal not Double word compare Start smaller Double word compare Start larger STD Double word compare Start equal or larger STD STD Double word compare Start equal or smaller 5 3 Description of Basic Instructions 133 STD S1 S2 32 bit equivalent constant or l...

Page 142: ... higher 16 bit areas S1 1 S2 1 are automatically decided if the lower 16 bit areas S1 S2 are specified Special data registers DT9017 and DT9018 are available only for FP1s with CPU version 2 7 or later All FP1s with a suffix B on the part number have this function When using special internal relay R9008 as the flag for this instruction be sure to program the flag at the address immediately after t...

Page 143: ...IX A N A H K A A Constant Index modifier A Index register Available A S2 A A A A A A N A A A A A AND Double word compare AND equal AND Double word compare AND equal not Double word compare AND smaller AND Double word compare AND larger AND Double word compare AND equal or larger AND AND Double word compare AND equal or smaller 5 3 Description of Basic Instructions 135 S1 S2 32 bit equivalent const...

Page 144: ...reas S1 1 S2 1 are automatically decided if the lower 16 bit areas S1 S2 are specified Special data registers DT9017 and DT9018 are available only for FP1s with CPU version 2 7 or later All FP1s with a suffix B on the part number have this function When using special internal relay R9008 as the flag for this instruction be sure to program the flag at the address immediately after the instruction R...

Page 145: ...T A IY IX A N A H K A A Constant Index modifier A Index register Available A S2 A A A A A A N A A A A A ORD Double word compare OR equal ORD Double word compare OR equal not Double word compare OR smaller ORD Double word compare OR larger ORD Double word compare OR equal or larger ORD ORD Double word compare OR equal or smaller 5 3 Description of Basic Instructions 137 S1 S2 32 bit equivalent cons...

Page 146: ...essing 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 Special data registers DT9017 and DT9018 are available only for FP1s with CPU version 2 7 or later All FP1s with a suffix B on the part number have this function When using special internal relay R9008 as the flag for this instruction be sure to program the flag at the addre...

Page 147: ...t Interlock circuit ON delay timer circuit One shot circuit X0 ON OFF X1 ON OFF Y0 ON OFF X0 ON OFF X1 ON OFF Y0 ON OFF X0 ON OFF X1 ON OFF X0 ON OFF X1 ON OFF R0 ON OFF X0 ON OFF T0 ON OFF Y0 ON OFF X0 ON OFF R0 ON OFF T0 ON OFF X0 Y0 X1 X0 R0 X1 R0 X0 R0 R1 X1 R1 R0 X0 TMX 30 T0 Y0 0 X0 R0 R0 TMX 50 0 T0 ON OFF R0 ON OFF R1 1 s 3 s 5 s 5 s 5 4 Hints for Programming Basic Instructions ...

Page 148: ...e of Instruction Codes for the FP Programmer II Boolean DF NOP KP SR MC MCE JP LBL LOOP PSHS RDS POPS SSTP 0 1 2 3 4 5 6 7 8 9 A B C Instruction Code Instruction Name No operation Keep Shift register Jump Label Loop Push stack Read stack Pop stack Start step Leading edge differential Leading edge differential Leading edge differential Boolean NSTP CSTP STPE ED CNDE CALL SUB RET ICTL INT IRET BRK S...

Page 149: ...e any duplicated outputs an error message DUPLICATE USE ERROR and the address numbers will be displayed If you execute SRCH ERROR ADRS the error message will be displayed and the first address number will be displayed Refer to NPST GR Manual for details about program check 3 Enabling Duplicated Output If the duplicate output is set to enable K1 in system register 20 the error does not occur Refer ...

Page 150: ...142 ...

Page 151: ...55 11 Auxiliary Timer Instruction 155 12 Special Instructions 156 13 High speed Counter Special Instructions 156 6 3 Description of High level Instructions 157 6 4 Hints for Programming High level Instructions 191 1 How to Use BCD Data 191 1 BCD Data 191 2 Processing BCD Data in the Programmable Controllers 192 2 How to Use Index Registers IX IY 193 1 Index Registers IX IY 193 2 Application Exampl...

Page 152: ...e the up down counter and left right shift register instructions Data Rotate Instructions These instructions rotate the data to right or left Bit Manipulation Instructions These instructions handle the data in units of bits Auxiliary Timer Instruction This is the auxiliary timer instruction 0 01 s unit ON delay timer Special Instructions These instructions perform the special functions to control ...

Page 153: ...ion should be executed once at the leading edge of the trigger ST X WX ST X WX 0 WRT FN P FL ENT 1 OR R WR NOT DT Ld 0 WRT ENT 0 0 X0 Trigger F1 DMV WR0 DT0 S D Address Operand Destination Destination data area memory Source Source data area 16 bit equivalent constant or data area Boolean Instruction number function number Screen of NPST GR Software in Boolean ladder mode Key operation of FP Progr...

Page 154: ...n internal relay R WR handles the internal relays in units of words 1 word 16 bits Therefore WR2 means 16 bits from R20 to R2F SV is a memory area where the preset set value of the TM CT instructions is stored Each SV consists of 16 bits The address of this memory area corresponds to the TM CT instruction number EV is a memory area where the count elapsed value of the TM CT instructions is stored ...

Page 155: ...1 0 1 0 1 0 1 0 1 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 073 741 824 536 870 912 268 435 456 134 217 728 4 194 304 2 097 152 1 048 576 524 288 262 144 131 072 65 536 32 768 16 384 8 192 4 096 2 048 1 024 512 256 128 64 32 16 8 4 2 1 MSB Most Significant Bit 0 positive or zero 1 negative 67 108 864 33 554 432 16 777 216 8 388 608 higher 16 bit area lower 16 bit area 32 bit data 0 1 1 1 1 1 1 1 1 1 1 1 1...

Page 156: ...ystem Registers for details about the settings of hold type and non hold types The default value in system register 8 is 0 and all the data registers DT are set as hold type Constant Decimal and Hexadecimal Decimal constant K constant Use of the decimal constant is most common and it is mainly used to input data to the programmable controllers Some data such as the timer counter set preset value s...

Page 157: ...hexadecimal is input to the FP1 The data processed in the programmable controllers can be monitored as binary B decimals K hexadecimals H or ASCII A using the FP Programmer IIor NPST GR Software Refer to the programming tool manual of the FP Programmer IIor NPST GR Software for details about the data monitoring method 0 0 0 1 1 0 0 0 1 0 1 0 0 1 1 0 Hexadecimal data 16 bit binary data within FP1 P...

Page 158: ... bit data D 1 D S 1 S D 1 D 16 bit data S1 S2 D 32 bit data S1 1 S1 S2 1 S2 D 1 D 16 bit data D S D D D 5 7 7 11 5 A A A A A A A A A A A A A A A 165 167 Step Page Flag operation Description Operand Boolean Number ER R9007 R9008 CY R9009 R900C R900B R900A Availability C56 C72 C24 C40 C14 C16 5 7 5 7 7 7 7 7 5 5 3 A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A F0 F1 F2 F3 F5 F6 F1...

Page 159: ...8 digit BCD data D 1 D S 1 S D 1 D B DB B DB B DB 5 7 7 11 5 7 A A A A A A A A A A A A A A A A A A Step Page Flag operation Description Operand Boolean Number ER R9007 R9008 CY R9009 R900C R900B R900A Availability C56 C72 C24 C40 C14 C16 F26 F27 F28 F30 F31 F32 F33 F35 F36 F37 F38 S D S1 S2 D S1 S2 D S1 S2 D S1 S2 D S1 S2 D S1 S2 D D D D D 32 bit data D 1 D S 1 S D 1 D 16 bit data S1 S2 D 32 bit d...

Page 160: ...CMP DCMP WIN DWIN BCMP 5 9 7 13 7 A A A A A A A A A A A A A A N A 181 184 Step Page Flag operation Description Operand Boolean Number ER R9007 R9008 CY R9009 R900C R900B R900A Availability C56 C72 C24 C40 C14 C16 F47 F48 F50 F51 F52 F53 F55 F56 F57 F58 S1 S2 D S1 S2 D S1 S2 D S1 S2 D S1 S2 D S1 S2 D D D D D 4 digit BCD data S1 S2 D 8 digit BCD data S1 1 S1 S2 1 S2 D 1 D 4 digit BCD data S1 S2 D 1 ...

Page 161: ...e Hexadecimal data BCD data ASCII code ASCII code BCD data 16 bit data ASCII code ASCII code 16 bit data 32 bit data ASCII code ASCII code 32 bit data 16 bit data 4 digit BCD data 4 digit BCD data 16 bit data 32 bit data 8 digit BCD data 8 digit BCD data 32 bit data 16 bit data invert 16 bit data two s complement 32 bit data two s complement BCC HEXA AHEX BCDA ABCD BINA ABIN DBIA DABI BCD BIN DBCD...

Page 162: ... of one word 16 bits of 16 bit data range Right shift of one hexadecimal digit 4 bits of 16 bit data range Left shift of one hexadecimal digit 4 bits of 16 bit data range SHR SHL BSR BSL WSHR WSHL WBSR WBSL 5 5 3 3 5 5 5 5 A A A A A A A A A A A A A A A A A A A A A A A A Step Page Flag operation Description Operand Boolean Number ER R9007 R9008 CY R9009 R900C R900B R900A Availability C56 C72 C24 C4...

Page 163: ...n D n D n S D S D 16 bit data bit set 16 bit data bit reset 16 bit data bit invert 16 bit data test Number of ON bits in 16 bit data Number of ON bits in 32 bit fata BTS BTR BTI BTT BCU DBCU 5 5 5 5 5 7 A A A A A A A A A A A A A A A A A A Step Page Flag operation Description Operand Boolean Number ER R9007 R9008 CY R9009 R900C R900B R900A Availability C56 C72 C24 C40 C14 C16 F120 F121 F122 F123 D ...

Page 164: ... SPD0 CAM0 5 7 7 7 3 3 A A A A A A A A A A A A A A A A A A Step Page Flag operation Description Operand Boolean Number ER R9007 R9008 CY R9009 R900C R900B R900A Availability C56 C72 C24 C40 C14 C16 F138 F139 F140 F141 F143 F144 F147 F148 F149 F157 F158 S D S D D1 D2 S n S D n S S1 S2 D S1 S2 D Hours minutes and seconds data to seconds data Seconds data to hours minutes and seconds data Carry flag ...

Page 165: ...0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 S Bit position WR0 WR1 WR2 WR3 WR4 11 8 1 0 1 0 1 1 0 0 1 0 1 0 1 1 1 0 3 0 Destination 15 12 7 4 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 D Boolean non ladder with NPST GR Software 6 3 Descripti...

Page 166: ...E X0 ON 15 12 7 4 Bit position WR0 1 0 1 0 1 1 0 0 11 8 1 0 1 0 1 1 1 0 3 0 Destination D HACAE 15 12 7 4 Timer Counter EV Relay SV WR WY WX Operand S A A A A A N A Not Available Register DT A IY IX A A H K A A Constant Index modifier A Index register Available A D N A A A A A A A N A N A A A F0 MV 16 bit data move Availability Step 5 All series 16 bit equivalent constant or 16 bit area source 16 ...

Page 167: ...x B on the part number have this function When using special internal relay R9008 as the flag for this instruction be sure to program the flag at the address immediately after the instruction Refer to page 223 8 3 Table of Special Internal Relays for details about error flags Bit position WX0 WX1 WX2 WX3 WX4 11 8 1 0 1 0 1 1 0 0 1 0 1 0 1 1 1 0 3 0 Source Trigger X0 ON 15 12 7 4 0 0 0 0 0 0 0 0 0 ...

Page 168: ...on DT1 1 0 1 0 1 1 0 0 11 8 1 0 1 0 1 1 1 0 3 0 Destination D 1 D HACAEE486 15 12 7 4 Bit position WR0 1 1 1 0 0 1 0 0 11 8 1 0 0 0 0 1 1 0 3 0 15 12 7 4 Bit position DT0 1 1 1 0 0 1 0 0 11 8 1 0 0 0 0 1 1 0 3 0 15 12 7 4 higher 16 bit area higher 16 bit area lower 16 bit area lower 16 bit area Timer Counter EV Relay SV WR WY WX Operand S A A A A A N A Not Available Register DT A IY IX A N A H K A...

Page 169: ...s immediately after the instruction Refer to page 223 8 3 Table of Special Internal Relays for details about error flags Bit position WR0 WR1 WR2 WR3 WR4 11 8 1 1 1 0 0 1 0 0 1 0 0 0 0 1 1 0 3 0 Source Trigger X0 ON 15 12 7 4 1 0 1 0 1 1 0 0 1 0 1 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 S Bit position DT0 DT1 DT2 DT3 DT4 11 8 0 0 0 ...

Page 170: ...tion D H8A9 15 12 7 4 Hexadecimal digit position 3 2 1 0 In this case only the lower 4 bits of WY0 change value Timer Counter EV Relay SV WR WY WX Operand S A A A A A N A Not Available Register DT A IY IX A A H K A A Constant Index modifier A Index register Available A n A A A A A A A A A A A N A A A A A A A N A N A A A D F6 DGT Hexadecimal digit move Availability Step 7 All series S n D 16 bit eq...

Page 171: ...e available only for FP1s with CPU version 2 7 or later All FP1s with a suffix B on the part number have this function When using special internal relay R9008 as the flag for this instruction be sure to program the flag at the address immediately after the instruction Refer to page 223 8 3 Table of Special Internal Relays for details about error flags If the value for 1 2 and 3 is 0 such as H0000 ...

Page 172: ...e hexadecimal digits hexadecimal digits 2 and 3 of the destination S D n H 1 3 0 5 When 4 hexadecimal digits hexadecimal digits 0 to 3 of the source are copied to 4 hexadecimal digits hexadecimal digits 0 to 3 of the destination Source Starting hexadecimal digit 1 Copies 1 hexadecimal digit 4 bits Destination Starting hexadecimal digit 1 Source Starting hexadecimal digit 3 Copies 1 hexadecimal dig...

Page 173: ...2 7 4 Bit position WY0 0 0 0 0 0 0 0 0 11 8 1 0 1 0 1 0 0 0 3 0 Result D K168 15 12 7 4 Bit position DT0 0 0 0 0 0 0 0 0 11 8 0 1 1 1 1 0 1 1 3 0 Augend S1 K123 15 12 7 4 Timer Counter EV Relay SV WR WY WX Operand S1 A A A A A N A Not Available Register DT A IY IX A A H K A A Constant Index modifier A Index register Available A S2 A A A A A A A A A A A N A A A A A A A N A N A A A D 16 bit equivale...

Page 174: ... or underflows Range of 16 bit data K 32768 to K32767 H8000 to H7FFF Notes Special data registers DT9017 and DT9018 are available only for FP1s with CPU version 2 7 or later All FP1s with a suffix B on the part number have this function When using special internal relays R9008 R9009 and R900B as the flags for this instruction be sure to program the flags at the address immediately after the instru...

Page 175: ...bit area lower 16 bit area Bit position DT1 0 0 0 0 0 0 0 0 11 8 0 0 0 1 0 1 0 0 3 0 Augend S1 1 S1 K1312896 15 12 7 4 Bit position DT0 0 0 0 0 1 0 0 0 11 8 1 0 0 0 0 0 0 0 3 0 15 12 7 4 higher 16 bit area lower 16 bit area Timer Counter EV Relay SV WR WY WX Operand S1 A A A A A N A Not Available Register DT A IY IX A N A H K A A Constant Index modifier A Index register Available A S2 A A A A A A ...

Page 176: ...s Range of 32 bit data K 2147483648 to K2147483647 H80000000 to H7FFFFFFF Notes Special data registers DT9017 and DT9018 are available only for FP1s with CPU version 2 7 or later All FP1s with a suffix B on the part number have this function When using special internal relays R9008 R9009 and R900B as the flags for this instruction be sure to program the flags at the address immediately after the i...

Page 177: ...D K441 15 12 7 4 Bit position DT0 0 0 0 0 0 0 1 1 11 8 0 1 1 1 1 1 0 1 3 0 Minuend S1 K893 15 12 7 4 Timer Counter EV Relay SV WR WY WX Operand S1 A A A A A N A Not Available Register DT A IY IX A A H K A A Constant Index modifier A Index register Available A S2 A A A A A A A A A A A N A A A A A A A N A N A A A D F27 16 bit data S1 S2 D Availability Step 7 All series 6 3 Description of High level ...

Page 178: ... 16 bit data overflows or underflows Range of 16 bit data K 32768 to K32767 H8000 to H7FFF Notes Special data registers DT9017 and DT9018 are available only for FP1s with CPU version 2 7 or later All FP1s with a suffix B on the part number have this function When using special internal relays R9008 R9009 and R900B as the flags for this instruction be sure to program the flags at the address immedi...

Page 179: ...ower 16 bit area lower 16 bit area Bit position DT101 0 0 0 0 0 0 0 1 11 8 0 0 0 0 0 0 0 0 3 0 Minuend S1 1 S1 K16809984 15 12 7 4 Bit position DT100 1 0 0 0 0 0 0 0 11 8 0 0 0 0 0 0 0 0 3 0 15 12 7 4 higher 16 bit area lower 16 bit area Timer Counter EV Relay SV WR WY WX Operand S1 A A A A A N A Not Available Register DT A IY IX A N A H K A A Constant Index modifier A Index register Available A S...

Page 180: ...ata overflows or underflows Range of 32 bit data K 2147483648 to K2147483647 H80000000 to H7FFFFFFF Notes Special data registers DT9017 and DT9018 are available only for FP1s with CPU version 2 7 or later All FP1s with a suffix B on the part number have this function When using special internal relays R9008 R9009 and R900B as the flags for this instruction be sure to program the flags at the addre...

Page 181: ... 15 12 7 4 Bit position DT1 0 0 0 0 0 0 0 0 11 8 0 0 0 0 0 0 0 0 3 0 Result D 1 D K2500 15 12 7 4 higher 16 bit area lower 16 bit area Timer Counter EV Relay SV WR WY WX Operand S1 A A A A A N A Not Available Register DT A IY IX A A H K A A Constant Index modifier A Index register Available A S2 A A A A A A A A A A A N A A A A A A N A N A N A A A D F30 16 bit data S1 S2 D 1 D Availability Step 7 A...

Page 182: ...R900B Turns ON for an instant when the calculated result is recognized as 0 Notes Special data registers DT9017 and DT9018 are available only for FP1s with CPU version 2 7 or later All FP1s with a suffix B on the part number have this function When using special internal relays R9008 and R900B as the flags for this instruction be sure to program the flags at the address immediately after the instr...

Page 183: ...rea lower 16 bit area Timer Counter EV Relay SV WR WY WX Operand S1 A A A A A N A Not Available Register DT A IY IX A N A H K A A Constant Index modifier A Index register Available A S2 A A A A A A N A A A A A N A A A A A N A N A N A N A A A D 6 3 Description of High level Instructions F31 D 32 bit data S1 1 S1 S2 1 S2 D 3 D 2 D 1 D Availability Step 11 C24 C40 C56 and C72 series 32 bit equivalent...

Page 184: ...rsion 2 7 or later All FP1s with a suffix B on the part number have this function When using special internal relays R9008 and R900B as the flags for this instruction be sure to program the flags at the address immediately after the instruction Refer to page 223 8 3 Table of Special Internal Relays for details about error flags and flag Multiplicand data Multiplier data Trigger turns ON Result 64 ...

Page 185: ...0 0 0 0 0 11 8 1 0 1 1 0 1 1 1 3 0 Dividend S1 K183 15 12 7 4 Bit position DT9015 0 0 0 0 0 0 0 0 11 8 0 0 0 0 0 0 1 1 3 0 Remainder K3 15 12 7 4 Timer Counter EV Relay SV WR WY WX Operand S1 A A A A A N A Not Available Register DT A IY IX A A H K A A Constant Index modifier A Index register Available A S2 A A A A A A A A A A A N A A A A A A A N A N A A A D F32 16 bit data S1 S2 D DT9015 Availabil...

Page 186: ...s ON for an instant when the calculated result is recognized as 0 Carry flag R9009 Turns ON for an instant when negative minimum value K 32768 H8000 is divided by K 1 HFFFF Notes Special data registers DT9017 and DT9018 are available only for FP1s with CPU version 2 7 or later All FP1s with a suffix B on the part number have this function When using special internal relays R9008 R9009 and R900B as...

Page 187: ...d S1 1 S1 K16908416 15 12 7 4 Bit position DT200 0 0 0 0 0 0 0 0 11 8 1 0 0 0 0 0 0 0 3 0 15 12 7 4 higher 16 bit area lower 16 bit area Bit position DT9016 0 0 0 0 0 0 0 0 11 8 0 0 0 0 0 1 1 0 3 0 Remainder K393232 15 12 7 4 Bit position DT9015 0 0 0 0 0 0 0 0 11 8 0 0 0 1 0 0 0 0 3 0 15 12 7 4 higher 16 bit area lower 16 bit area X0 ON Timer Counter EV Relay SV WR WY WX Operand S1 A A A A A N A ...

Page 188: ...nstant when the calculated result is recognized as 0 Carry flag R9009 Turns ON for an instant when negative minimum value K 2147483648 H80000000 is divided by K 1 HFFFFFFFF Notes Special data registers DT9017 and DT9018 are available only for FP1s with CPU version 2 7 or later All FP1s with a suffix B on the part number have this function When using special internal relays R9008 R9009 and R900B as...

Page 189: ...Counter EV Relay SV WR WY WX Operand S1 A A A A A N A Not Available Register DT A IY IX A A H K A A Constant Index modifier A Index register Available A S2 A A A A A A A A A A A 6 3 Description of High level Instructions S1 S2 16 bit equivalent constant or 16 bit area to be compared 16 bit equivalent constant or 16 bit area to be compared Ladder Diagram Boolean Non ladder Address Instruction 20 X0...

Page 190: ...esult of the other instruction from affecting them You can also program the above using the PSHS RDS and POPS instructions Special data registers DT9017 and DT9018 are available only for FP1s with CPU version 2 7 or later All FP1s with a suffix B on the part number have this function When using special internal relays R9008 R9009 R900A R900B and R900C as the flags for this instruction be sure to p...

Page 191: ...9009 R900A R900B and R900C move as shown in the table below In this case construct your program as shown in the program example below using special internal relays R900B and R9009 Program example Compares two BCD data in DT0 and DT1 1 When DT0 DT1 internal relay R0 turns ON 2 When DT0 DT1 internal relay R1 turns ON 3 When DT0 DT1 internal relay R2 turns ON X0 F60 CMP DT0 K100 X0 Y0 R900A X0 Y1 R90...

Page 192: ...ally 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 Timer Counter EV Relay SV WR WY WX Operand S1 A A A A A N A Not Available Register DT A IY IX A N A H K A A Constant Index modifier A Index register Available A S2 A A A A A A N A A A A A F61 DCMP 32 bit data compare Availability Step 9 All series 6 3 Description of High lev...

Page 193: ...the other instruction from affecting them You can also program the above using the PSHS RDS and POPS instructions Continued Special data registers DT9017 and DT9018 are available only for FP1s with CPU version 2 7 or later All FP1s with a suffix B on the part number have this function When using special internal relays R9008 R9009 R900A R900B and R900C as the flags for this instruction be sure to ...

Page 194: ... in the table below In this case construct your program as shown in the program example below using special internal relays R900B and R9009 Program example Compares two BCD data in DT1 DT0 and DT3 DT2 1 When DT1 DT0 DT3 DT2 internal relay R0 turns ON 2 When DT1 DT0 DT3 DT2 internal relay R1 turns ON 3 When DT1 DT0 DT3 DT2 internal relay R2 turns ON X0 F61 DCMP DT0 DT100 X0 Y0 R900A X0 Y1 R900B X0 ...

Page 195: ...11 8 0 0 0 1 0 1 1 0 3 0 15 12 7 4 0 0 1 6 X0 ON Source S K16 Destination D H16 BCD Timer Counter EV Relay SV WR WY WX Operand S A A A A A N A Not Available Register DT A IY IX A A H K A A Constant Index modifier A Index register Available A D N A A A A A A A N A N A A A 6 3 Description of High level Instructions F80 BCD 16 bit data 4 digit BCD data Availability Step 5 All series S D 16 bit equiva...

Page 196: ...and held See notes below Error flag R9008 Turns ON for an instant when the area specified using the index modifier exceeds the limit when the 16 bit binary data outside the range of K0 H0 to K9 999 H270F is converted The error address is transferred to DT9018 See notes below Notes Special data registers DT9017 and DT9018 are available only for FP1s with CPU version 2 7 or later All FP1s with a suf...

Page 197: ...1 1 1 1 3 0 15 12 7 4 K15 X0 ON Source S H15 BCD Destination D K15 Bit position WX0 BCD H code 0 0 0 0 0 0 0 0 11 8 0 0 0 1 0 1 0 1 3 0 15 12 7 4 0 0 1 5 Timer Counter EV Relay SV WR WY WX Operand S A A A A A N A Not Available Register DT A IY IX A A H K A A Constant Index modifier A Index register Available A D N A A A A A A A N A N A A A 6 3 Description of High level Instructions F81 BIN 4 digit...

Page 198: ... ON for an instant when the area specified using the index modifier exceeds the limit when the data specified by S is not BCD data The error address is transferred to DT9018 See notes below Notes Special data registers DT9017 and DT9018 are available only for FP1s with CPU version 2 7 or later All FP1s with a suffix B on the part number have this function When using special internal relay R9008 as...

Page 199: ... data are output to 7 segment indicators Example When K1993 decimal is expressed in BCD Notes Table of Decimal and BCD 0000 0000 0000 0000 0000 0000 0000 0001 0000 0000 0000 0010 0000 0000 0000 0011 0000 0000 0000 0100 0000 0000 0000 0101 0000 0000 0000 0110 0000 0000 0000 0111 0000 0000 1001 1001 1001 1001 1001 1001 0 1 2 3 4 5 6 7 99 9999 Decimal BCD Binary Coded Decimal In decimal we have the n...

Page 200: ...Bit position Binary data 0 0 0 0 0 1 1 1 11 8 1 1 0 0 1 0 0 1 3 0 15 12 7 4 Decimal BCD data 0 0 0 1 1 0 0 1 9 1 0 0 1 0 0 1 1 3 1 9 Decimal BCD data 0 0 0 1 1 0 0 1 9 1 0 0 1 0 0 1 1 3 1 9 High level instruction F80 16 bit data 4 digit BCD data FP1 Programmable Controller Digital switches 7 segment indicator BCD BIN BIN BCD 1 9 9 3 Input device Output device FP1 F81 F83 F80 F82 BCD data BCD data ...

Page 201: ...as a constant modifier pay attention to the following in the 16 bit instruction IX and IY can be used independently in the 32 bit instruction IX is regarded as lower 16 bit and IY as higher 16 bit only IX can be specified Example The added result of K100 and the data in IY and IX is written to DT0 Notes When used as memory area When the index registers are used as a 16 bit memory area IX and IY wo...

Page 202: ...n the same order in which it is stored The contents of IY and the source data register address are changed as shown in the following table 0 1 1 2 2 3 1st 2nd 3rd Input times of X1 DT0 DT1 DT2 Contents of IY Source data register address X1 F0 MV IYDT0 WY0 DF F35 1 IY When X1 is turned ON the data is output to WY1 from the data register specified by DT0 and IY X0 F0 MV K0 IY When X0 is ON K0 is wri...

Page 203: ...troller Timer number WX1 WY0 Digital switch R1 F81 BIN WX1 IX DF F80 BCD IXEV0 WY0 The timer instruction number input from WX1 BCD is converted to binary and stored in IX The timer elapsed count value at the address specified by IX and EV0 is converted to BCD and output to WY0 Timer elapsed value data 7 segment indicator 2 0 7 9 4 FP1 Programmable Controller Timer set value data Timer number WX1 W...

Page 204: ...r when you set system register 26 to 1 start the programmable controller operates even if an operation error occurs Refer to page 230 8 5 System Registers for details about how to change the system register number Item Address error BCD data error Parameter error Over area error Description This error occurs when the address modified by the index register exceeds its last address in the instructio...

Page 205: ...perform this function use OP 112 of the FP Programmer II or STATUS DISPLAY of the NPST GR Ver 3 1 Software This function is not available with a conventional FP Programmer or with NPST GR Ver 3 0 or earlier 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...

Page 206: ...7FFFFFFF K 1 H 00000001 K 0 H 00000000 K 1 H FFFFFFFF K 2147483647 The maximum value links with the minimum value Max value H 80000000 K 2147483648 Min value Overflow The result becomes a negative minimum value K 2147483648 H80000000 if K1 is added to the positive maximum value K2147483647 H7FFFFFFF Underflow The result becomes a positive maximum value K2147483647 H7FFFFFFF if K1 is subtracted fro...

Page 207: ...T1 DT100 Underflow Overflow H 99999999 H 0 The maximum value links with the minimum value Max value Min value Overflow The result becomes a minimum value H00000000 if K1 is added to the maximum value H99999999 Underflow The result becomes a maximum value H99999999 if K1 is subtracted from the minimum value H00000000 Underflow Overflow H 9999 H 0 The maximum value links with the minimum value Max v...

Page 208: ...200 ...

Page 209: ...f diagnostic Error 203 7 2 Troubleshooting 204 1 Points to be Checked When an Error Occurs 204 When an ERR LED is ON 205 When an ALARM LED is ON 209 When all LEDs are OFF 210 Diagnosing output malfunction 211 When PLC COMM ERR is displayed on the NPST GR screen 214 When PROTECT ERROR is displayed 215 7 3 Maintenance 216 1 Preventive Maintenance 216 2 Replacement of Backup Battery 216 1 Battery Lif...

Page 210: ...ram area error operand error The total check operation can also be performed by using the FP Programmer II OP9 function or the NPST GR Software 1 TOTALLY CHECK A PROGRAM menu 1 or V TOTALLY CHECK menu 2 System watchdog timer error This type of error is detected when the following occurs program scan time is extraordinarily long hardware abnormality is detected 1 Operation Monitor LEDs When an Erro...

Page 211: ...y disconnects the ERR LED turns ON Battery error system register 4 K1 or NO FP Programmer II K0 stops operation K1 continues operation NPST GR Ver 3 1 YES stops operation NO continues operation Notes 3 Operation Error Self diagnostic Error When an instruction high level and some basic e g ST instructions executes abnormally an operation error occurs When an operation error occurs operation of the ...

Page 212: ... detected by the NPST GR Software refer to page 214 When PLC COMM ERR is displayed on the NPST GR screen If the protect error is detected by the programming tool refer to page 215 When PROTECT ERROR is displayed Note Check the entire system including peripheral devices referring the following Observe what is happening Check for error repetition Check the status of indicators Check that power is pr...

Page 213: ...AM subwindow In the CHECK A PROGRAM subwindow select 1 TOTALLY CHECK A PROGRAM In the TOTALLY CHK window press F1 to execute the program check You can get the address and program where a total check error occurs The type of errors can also be displayed Using FP Programmer II Press the keys on the FP Programmer II as shown on the right When a total check error occurs the screen shown on the right i...

Page 214: ... been programmed in the incorrect position e g INT and IRET instructions are programmed at the address before the ED instruction Incorrect operand has been entered for the instruction Steps to take Input the instruction correctly referring to the description for that instruction Correct the program so that one relay is not used for two or more OT instructions Program the missing instruction Progra...

Page 215: ...ter error Interrupt error Operation error Battery error Description C14 and C16 series Probably an abnormality in the internal EEPROM C24 C40 C56 and C72 series Probably an abnormality in the Memory Unit or Master Memory Unit Probably an abnormality in the system register Probably a hardware abnormality or an abnormality caused by noise Probably an abnormality was detected when an instruction a hi...

Page 216: ...ction use OP 112 of the FP Programmer II or STATUS DISPLAY of NPST GR Software Ver 3 1 This function is not available with a conventional FP Programmer or with NPST GR Software Ver 3 0 or earlier 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 Prog...

Page 217: ... LED is turned ON the program execution time is too long Check the program referring the following Check if instructions such as JP or LOOP are programmed in such a way that a scan can never finish Check that interrupt instructions are executed in succession Set the mode selector of the programmable controller from PROG to RUN Set the mode selector of the programmable controller from RUN to PROG a...

Page 218: ...s moment the capacity of the power supply is not enough to control other devices as well Prepare another power supply for other devices or increase the capacity of the power supply Disconnect the power supply wiring to the other devices if the power supplied to the programmable controller is shared with them Disconnect the wiring connected to the built in DC power output terminals for inputs Check...

Page 219: ... ENT ENT AN Y WY 0 READ Press the keys on the FP Programmer II as shown on the right If the output monitored is turned ON there is probably a duplicated output error Refer to page 141 for details about the duplicated output error If you are using MENU 1 screen type Open NPST MENU by pressing then select MONITOR to skip to the MONITOR subwindow In the MONITOR subwindow select 3 MONITOR LISTED RELAY...

Page 220: ...OR subwindow select 3 MONITOR LISTED RELAYS If you are using MENU 2 screen type Open the ONLINE MONITOR FUNCTION MENU by pressing and together then select I LISTED RELAYS F10 Ctrl Esc Monitor the input condition using a programming tool 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 P...

Page 221: ...n 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 Check the wiring again Check that the power is properly supplied to the input terminals Check the wiring of the input devices 213 7 2 Troubleshooting ...

Page 222: ...CS CTS RI CI Connected to IBM PC AT 9 pins female RS422 232C Adapter IBM PC AT 9 pins Pin No 1 2 3 4 5 6 7 8 20 Abbreviation FG SD TXD RD RXD RS RTS CS CTS DR DSR SG CD DCD ER DTR Connected to RS422 232C Adapter 25 pins male Pin No 1 2 3 4 5 6 7 8 20 Abbreviation FG SD TXD RD RXD RS RTS CS CTS DR DSR SG CD DCD ER DTR Connected to Personal Computer 25 pins male RS422 232C Adapter Personal Computer ...

Page 223: ...as shown on the right Enter If you are using MENU 1 screen type Open NPST MENU by pressing the key and then select PLC CONFIGURATION to skip to the PLC CONFIGURATION subwindow In the PLC CONFIGURATION subwindow select 5 SET PLC PASSWORD If you are using MENU 2 screen type Open NPST FUNCTION MENU by pressing the key in the ONLINE mode and then select SET PLC PASSWORD Esc Esc Change the setting of t...

Page 224: ...C56C and C72C types Battery life at 25 C 77 F ambient temperature Approx 53 000 hours approx 6 years Approx 27 000 hours approx 3 years Item Power supply voltage Environment I O power supply voltage Mounting condition Backup battery Check point Check the power supply condition by measuring it at the power supply terminals of the programmable controller Ambient temperature e g temperature in the co...

Page 225: ... 7 24V DC F G COM F 8 9 E A B C D COM 7 0 1 6 2 3 4 5 RUN REMOTE PROG V0 max min RUN PROG ERR ALRAM BATTERY V1 max PC FP1 C24 24V DC min Battery cover Backup battery Connector Screw Terminal block Screw Screw Terminal block Screw Unit cover Pull 1 Turn OFF the power of the programmable controller 2 Remove the memory unit cover 3 Disconnect the connector of the backup battery and pull it up so that...

Page 226: ...218 ...

Page 227: ...tween NPST GR Ver 2 4 and 3 1 241 2 Differences Between the FP Programmer and FP Programmer II 243 8 7 FP1 CPU Version 2 7 245 8 8 FP1 Modem Communication 246 1 Using the Programming Tool Port RS422 246 2 Using the RS232C Port 248 3 System Configuration One Computer and Two or More Programmable Controllers 251 4 NPST GR Settings 252 8 9 Terminology 254 8 10 Product Types 260 1 Control Units 260 2 ...

Page 228: ...used as an I O Link unit Input type I O type Output type Input type I O type Output type I O type I O type Input type I O type Output type Input type I O type Output type I O type I O type Control Unit Primary Expansion Unit Secondary Expansion Unit I O Link Unit Channel 0 Channel 1 Channel 2 Channel 3 Channel 0 Channel 1 Channel 0 Channel 1 FP1 A D Converter Unit FP1 D A Converter Unit Unit numbe...

Page 229: ...mer instruction If a TM instruction has timed out the contact with the same number turns ON Counter contact This contact is the output of a CT Counter instruction If a CT instruction has counted up the contact with the same number turns ON Timer Counter set value The timer counter set value area is a memory area where the set value of the TM CT Timer Counter instructions is stored Each timer count...

Page 230: ...660 words DT0 to DT1659 6 144 words DT0 to DT6143 Data register The data register is a memory area for data processed within the programmable controllers and each data register consists of 1 word 1 word 16 bits Special data register The special data register is a memory area that has special applications Refer to page 226 8 4 Table of Special Data Registers for details about the special data regis...

Page 231: ...ways OFF relay Description Turns ON when a self diagnostic error occurs The self diagnostic error code is stored in DT9000 Turns ON for an instant when a battery error occurs Turns ON and keeps the ON state when a battery error occurs Turns ON and keeps the ON state when an operation error occurs The error address is set in DT9017 See note Turns ON for an instant when an operation error occurs The...

Page 232: ...only in the first scan of the process the moment step ladder process is opened Repeats ON OFF operations in 0 01 s cycles ON OFF 0 005 s 0 005 s Repeats ON OFF operations in 0 02 s cycles ON OFF 0 01 s 0 01 s Repeats ON OFF operations in 0 1 s cycles ON OFF 0 05 s 0 05 s Repeats ON OFF operations in 0 2 s cycles ON OFF 0 1 s 0 1 s Repeats ON OFF operations in 1 s cycles ON OFF 0 5 s 0 5 s Repeats ...

Page 233: ...er using the F144 TRNS instruction Refer to the description for the F144 TRNS instruction ON while data is not been sent by the F144 TRNS instruction OFF while data is being sent by the F144 TRNS instruction Refer to the description for the F144 TRNS instruction ON while a high speed counter is controlled using the F162 HC0S F163 HC0R F164 SPD0 and F165 CAM0 instructions Refer to the description f...

Page 234: ... BSL instruction is executed Refer to the description for the F105 BSR and F106 BSL instructions Divided remainder is stored in DT9015 when an F32 or F52 B instruction is executed Lower 16 bit of divided remainder is stored in DT9015 when an F33 D or F53 DB instruction is executed Refer to the description for the F32 F52 B F33 D and F53 DB instructions Higher 16 bit of divided remainder is stored ...

Page 235: ...val is stored in DT9027 This register is available for monitoring the time interrupt interval The interval is calculated using the formula Interval ms data 10 ms Refer to the description for the ICTL instruction The contents of the specified message are stored in DT9030 DT9031 DT9032 DT9033 DT9034 and DT9035 when an F149 MSG instruction is executed Refer to the description for the F149 MSG instruc...

Page 236: ...ing the clock calendar by using F0 MV instructions the revised setting becomes effective from the time when the most significant bit of DT9058 becomes 1 The data is stored in BCD as Higher 8 bits Lower 8 bits Hour data H00 to H23 BCD Minute data H00 to H59 BCD Higher 8 bits Lower 8 bits Minute H00 to H59 BCD Day H01 to H31 BCD Year H00 to H99 BCD Second H00 to H59 BCD Hour H00 to H23 BCD Month H01...

Page 237: ...significant bit of DT9058 is set to 1 An RS232C port communication error code is stored in the higher 8 bit area of DT9059 A programming tools port communication error code is stored in the lower 8 bit area of DT9059 These registers monitor the condition of step ladder programs Execution of the step ladder program is monitored as follows Executing Not executing EXAMPLE Each bit in the registers co...

Page 238: ...em registers 4 20 and 26 Operation settings when abnormality is detected Sets whether the duplicated use of output and battery errors are to be regarded as errors or whether the programmable controller should execute a program when an operation error occurs 4 System registers 31 and 34 Processing time settings Sets the scan time of the programmable controller and the waiting time of computer link ...

Page 239: ...address referring to the example and read the current settings EXAMPLE When reading system register 400 press the keys as shown on the right 4 Input new settings referring to the example EXAMPLE To input K1 press the keys as shown on the right You can also input new settings in hexadecimals by pressing before inputting the setting value Note The revised settings of the system register become effec...

Page 240: ...e voltage of the backup battery lowers or when the backup battery disconnects K0 the conditions above are regarded as errors K1 the conditions above are not regarded as errors Starting number for counter instructions is specified Setting range C14 C16 series C24 C40 C56 C72 series Setting the same value as system register 6 is recommended If the maximum value of the setting range is input all of t...

Page 241: ...144 If the maximum value of the setting range is input all of the areas are used as non hold areas EXAMPLE If the system register 8 of C14 series is set to K10 Non hold area Hold area Hold non hold setting for step ladder operation is specified K0 Hold K1 Non hold This register specifies the operation of the FP1 when a duplicated use of output is programmed K0 a duplicated use of output is regarde...

Page 242: ...rnal connection setting Available for transistor output type C56 and C72 series If you are using is the transistor output type C56 or C72 series the pulses from Y6 and Y7 can be directly input to X0 and X1 without external wiring However if X0 and X1 are used as inputs for pulses from Y6 and Y7 they cannot be used as other input terminals Set value H107 H108 Operation mode Pulse output Y7 Up input...

Page 243: ...P1 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 when you use interrupt programs Setting range C14 C16 series Not available C24 C40 C56 C72 series 8 inputs X0 to X7 H0 to HFF EXAMPLE If the interrupt input function is used for inputs X1 and X2 of the C24 series input H6 as follo...

Page 244: ...s 2 ms and for X18 to X1F as 2 ms input H1130 to system register 404 Bit position 11 8 3 0 15 12 7 4 Data input 0 0 0 1 0 0 0 1 0 0 1 1 0 0 0 0 1 X18 to X1F 2 ms 1 X10 to X17 2 ms 3 X8 to XF 8 ms 0 X0 to X7 1 ms H System register 404 H1111 all 2 ms H1111 all 2 ms H0011 all 2 ms Input time filtering setting X20 to X3F Input time filtering setting X40 to X5F Input time filtering setting X60 to X6F 4...

Page 245: ...er when the computer link communication is performed through the programming tool port RS422 port Setting range K1 to K32 Communication format settings and the settings for modem communication compatibility are performed when the programming tool port RS422 port is used Setting Modem communication 0 Disabled 1 Enabled Communication format character bits 0 8 bits 1 7 bits Selects the functions for ...

Page 246: ... the RS232C serial port Settings Bit position 11 8 3 0 15 12 7 4 Bit position 11 8 3 0 15 12 7 4 Data input 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 2 H System register 413 EXAMPLE If you want to set the RS232C serial port as follows input H2 to system register 413 Header Terminator Stop bit Parity Character bits without STX CR 1 bit odd 7 bits Header Bit position 6 0 without STX code 1 with STX code Ter...

Page 247: ... on pages 237 and 238 for details about the computer link communication settings Setting range K1 to K32 The setting for modem communication compatibility is performed when the RS232C serial port is used Settings H0 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 This r...

Page 248: ... the number of words to be used as a buffer Refer to system register 417 on page 239 for details about the starting address settings Setting range C24C C40C types K0 to K1660 C56C C72C types K0 to K6144 EXAMPLE If K0 is input to system register 417 and K100 to system register 418 the number of data received is stored to DT0 and the data received are stored starting from DT1 to DT99 ...

Page 249: ...EMS Video Mode RS232C port Operating System NPST GR Ver 2 4 AFP266528 i80286 i80386 or i80486 2 MB or more if installed in your hard disk drive If your computer has two floppy disk drives including RAM drive no hard disk drive is required One disk drive for 3 5 inch 2HD floppies formatted at 1 44 MB or one for 5 25 inch 2HD floppies formatted at 1 2 MB Not required EGA or VGA CGA type can also be ...

Page 250: ... AN etc not available Not available Modem communication parameters cannot be set System register 416 for the RS232C port and 411 for the RS422 port cannot be set using NPST GR Ver 2 4 Not available Operation without backup battery cannot be selected System register 4 cannot be set using NPST GR Ver 2 4 NPST GR Ver 3 1 AFP266538 FP1 FP1 FP M FP1 FP M FP3 FP3 FP C FP5 FP10 FP10S FP10 All the instruc...

Page 251: ...uctions F64 BCMP P64 PBCMP F98 CMPR P98 PCMPR F99 CMPW P99 PCMPW F157 CADD P157 PCADD F158 CSUB P158 PCSUB instructions FP Programmer AFP1112 FP1 FP3 FP5 Fixed as Baud rate Character bits Parity Stop bit Not available Not available Not available Not available These instructions cannot be programmed However you can monitor the instructions with it FP Programmer AFP1112A FP1 FP3 FP5 The parameters a...

Page 252: ...ram system register read write function OP 92 system register read write function OP 99 EEPROM write function OP 112 Error cancellation function FP Programmer AFP1112 Available Only routes 1 to 3 can be selected Not available Not available Not available Not available Not available Available However BCC ERR is displayed on the LCD if a program with more than 11 k steps is written to EEPROM Not avai...

Page 253: ...on Timer Counter instruction SV setting Pulse output frequency range selection Error address recognition function DT9017 and DT9018 Error clearance from the programming tool Error clearance by the F148 instruction 36 comparison instructions ST AN etc Modem control function system registers 411 and 416 Operation without backup battery enabled C24 C40 series 2 7 or later 2 7 or later 2 7 or later 2 ...

Page 254: ... is available for C24 C40 C56 and C72 series with CPU Ver 2 7 or later All C24 C40 C56 and C72 series FP1s with a suffix B on the part number have this function With NPST GR Software version 3 0 or higher you cannot set system register 411 to the modem enable mode The baud rate is fixed at 2 400 bps and the setting in system register 414 is ignored The same station number UNIT NO cannot be assigne...

Page 255: ...m and RS422 232C adapter Cable 4 RS232C cable between a modem and RS422 232C adapter Connected to IBM PC AT 9 pins female Pin No 1 2 3 4 5 6 7 8 20 Abbreviation FG SD TXD RD RXD RS RTS CS CTS DR DSR SG CD DCD ER DTR Pin No 1 2 3 4 5 6 7 8 9 Abbreviation CD DCD RD RXD SD TXD ER DTR SG DR DSR RS RTS CS CTS RI CI Connected to modem 25 pins male Connected to personal computer 25 pins female Connected ...

Page 256: ...municates with one FP1 system register 415 should be set to K1 when one computer communicates with two or more FP1s no two FP1s can have same station number UNIT NO and one of the FP1s in the network must be assigned as station number 1 UNIT NO 1 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 b...

Page 257: ...when the modem connection is selected 416 RS232C MODEM CONNECTION ENAB DISA Select ENAB Open the SYSTEM REGISTER COMPUTER LIN window by pressing together and the following is displayed 415 UNIT NO 1 Select K1 though K32 After setting save the status of the system registers by pressing Note Set the character length parity check and stop bit so that the total number of bits used to send a character ...

Page 258: ...CS CTS RI CI Connected to modem 25 pins male Connected to personal computer 25 pins female Connected to modem 25 pins male Pin No 1 2 3 4 5 6 7 8 20 22 Abbreviation FG SD TXD RD RXD RS RTS CS CTS DR DSR SG CD DCD ER DTR RI CI Pin No 1 2 3 4 5 6 7 8 20 22 Abbreviation FG SD TXD RD RXD RS RTS CS CTS DR DSR SG CD DCD ER DTR RI CI Cable 1 RS232C cable between a personal computer IBM PC AT and a modem ...

Page 259: ...TS CS CTS DR DSR SG CD DCD ER DTR RI CI Pin No 1 2 3 4 5 6 7 8 20 22 Abbreviation FG SD TXD RD RXD RS RTS CS CTS DR DSR SG CD DCD ER DTR RI CI Cable 1 RS232C cable between a personal computer IBM PC AT and a modem Cable 2 RS232C cable between a personal computer and a modem RS232C cable Refer to cables 1 or 2 below Personal computer RS232C cable Refer to cable 3 below Telephone line Modem Modem CO...

Page 260: ...K 20 char 12 40 ENTER EVEN VALUE NUMBER OF COMMENT I O CMT 14034 CURRENT REG 0 REGISTER 1001 word 50 word or more REMARK 700 22 byte remark REST 33543 byte MENU TYPE MENU 1 MENU 2 DISPLAY LANGUAGE ENGLISH ENTER OPENS WINDOW C NET USE YES NO STATION UNIT NO 1 0 64 UNIT NO 0 HOME MEWNET H USE NONE USE RS422 USE RS232C SAVE INIT LOAD SCRN 2 MODEM INST RELAY FUN 1 OFFLINE NPST CONFG SCREEN 1 ADDR 0 SI...

Page 261: ...n the Ctrl key FUN 2 FUN 3 PRINT ROM PHONE CONNCT DISCON NPST CONFIGURATION AUTO DIAL YES NO REGISTRATION NO 1 1 5 DATA LENGTH 8 7 PARITY CHECK NO EV OD NO 0bit OD EV 1bit STOP BIT 1 2 MODEM COMMAND HAYES CCITT V 25 bis PULSE TONE PULSE10pps PULSE20pps TONE NOTE START BIT 1 bit DATA LENGTH 8 bit 7 bit PARITY CHECK 0 bit 1 bit STOP BIT 1 bit 2 bit 10 bit CTRL DIRECT OFFLINE NPST CONFG SET MODEM ADD...

Page 262: ... operations that take place in patterns unrelated over time See American Wire Gauge AWG A printed circuit board located in the back of a chassis that contains a data bus power bus and mating connectors for units For FP3 FP5 FP10S and FP10 programmable controllers two types of backplanes are available Master Backplane Expansion Backplane A device that is kept available to replace something that may...

Page 263: ...itions have a weighted value of 1 2 4 and 8 respectively starting with the least significant bit A thumbwheel switch is specified as a BCD device and when connected to a programmable controller each decimal digit requires four inputs EXAMPLE A number system that uses two symbols 0 and 1 Each digit position has a weighted value of 1 2 4 8 16 32 64 and so on begining with the least significant right...

Page 264: ...ollers communication between a computer and programmable controllers is performed using MEWTOCOL COM a half duplex communication protocol From the computer you can read write or monitor data stored in the memory of a programmable controller See Central Processing Unit Abbreviation for cathode ray tube Removing errors from a program The decimal number system uses the number 10 as the base and the a...

Page 265: ...ave three types of interrupts as follows input initiated interrupt high speed counter initiated interrupt time initiated interrupt Abbreviation of Input Output Taking the input data at the input interface into the memory for program execution and outputting the result of program execution to the output interface A standard for representing relay logic systems Abbreviation for Liquid Crystal Displa...

Page 266: ...the relay is not activated Not being in continuous communication with another processor Being in continuous communication with another processor The act of exceeding the maximum limit in a registers capacity A check method for the number of 1s in a character when data communication is performed The parity check is performed by calculating the number of ones in a character Devices that are connecte...

Page 267: ... device or the environment The registers used only for system settings of the programmable controller A programming technique to operate a bit only for one scan at the moment its input condition turns OFF from the ON state A number system used to express positive and negative numbers in binary In this system the number becomes negative if the most significant bit of the data is 1 In FP series prog...

Page 268: ...r NPN open collector Relay Transistor NPN open collector Transistor PNP open collector Relay Transistor NPN open collector Relay Transistor NPN open collector Transistor PNP open collector Relay Transistor NPN open collector Relay Transistor NPN open collector Transistor PNP open collector Relay Transistor NPN open collector Relay Transistor NPN open collector Transistor PNP open collector Relay T...

Page 269: ...stor NPN open collector Relay Transistor NPN open collector Transistor PNP open collector Relay Transistor NPN open collector Transistor PNP open collector Relay Transistor NPN open collector Transistor PNP open collector Relay Transistor NPN open collector Transistor PNP open collector Relay Transistor NPN open collector Transistor PNP open collector Relay Transistor NPN open collector Transistor...

Page 270: ...lector Transistor PNP open collector Relay Transistor NPN open collector Relay Transistor NPN open collector Transistor PNP open collector Relay Transistor NPN open collector Relay Transistor NPN open collector Transistor PNP open collector Relay Transistor NPN open collector Relay Transistor NPN open collector Transistor PNP open collector Part number AFP13802 AFP13803 AFP13812 AFP13842 AFP13813 ...

Page 271: ...n exchange I O information with another FP1 Communication medium RS485 port Twisted pair cable up to 32 inputs and 32 outputs can be controlled per unit The FP1 I O Link Unit is the interface unit for exchanging I O information between an FP3 FP5 and an FP1 When the FP1 is connected to the FP3 FP5 Remote I O System via the FP1 I O Link Unit you can exchange I O information using a 2 conductor cabl...

Page 272: ...R Software Ver 3 NPST GR Software Ver 2 FP1 Peripheral Cable RS422 RS232C Adapter RS232C Cable Part number AFP266538 AFP266528 AFP15205 AFP1523 AFP8550 Needs to be made to match your computer Description Program editing software for use with commercially available computers System required IBM PC AT or 100 compatible with 4MB or more EMS 2MB or more hard disk space MS DOS Ver 5 0 or later and EGA ...

Page 273: ...1 Peripheral Cable FP1 ROM Writer Socket Adapter Part number AFP5651 AFP15205 AFP1523 AFP1810 0 5 m 1 640 ft 3 m 9 843 ft Description ROM programmer for FP series Programmable Controllers EEPROM 28C256 or equivalent cannot be programmed Cable needed for connection between the Control Unit s RS422 port and the RS422 232C Adapter s RS422 port Adapter needed to program the FP1 Memory Unit AFP1201 and...

Page 274: ... 22 to 24 C C NET Adapter 11 C NET Adapter S1 type 11 28 36 38 C14 series 8 22 37 47 51 C16 series 8 22 37 47 51 C24 series 8 23 37 47 51 C40 series 9 23 37 48 51 C56 series 9 23 37 48 51 C72 series 9 23 37 48 51 cautions for installation 41 Central Processing Unit CPU 58 channel 25 clock calendar control function 4 combination of units 13 communication functions 5 to 7 compare instructions 92 97 ...

Page 275: ...60 CMP 16 bit data compare 181 F61 DCMP 32 bit data compare 184 F80 BCD 16 bit data 4 digit BCD data 187 F81 BIN 4 digit BCD data 16 bit data 189 features 2 to 7 forced ON OFF control function 4 FP Programmer II 17 83 FP1 A D Converter Unit 11 25 35 38 53 FP1 CPU version 2 7 245 FP1 D A Converter Unit 11 25 35 38 54 FP1 I O allocation table 220 FP1 I O Link Unit 11 27 36 38 55 FP1 Transmitter Mast...

Page 276: ...NPST menu 71 NPST GR configuration 69 NPST GR installation 72 NPST GR Software 16 67 NPST GR startup 75 O ON delay timer circuit 139 one shot circuit 139 1s units timer TMY 115 operands for basic instructions 93 operands for high level instructions 146 operating principles 58 operation error 196 203 operation monitor LEDs 22 23 26 27 202 operation status when an error occurs 203 OR OR 104 OR OR no...

Page 277: ...lf hold circuit 139 send data monitor LED 28 set SET 111 shift register SR 122 special instructions 144 156 specifications 29 to 38 start ST 101 start equal ST STD 127 133 start equal not ST STD 127 133 start equal or larger ST STD 127 133 start equal or smaller ST STD 127 133 start larger ST STD 127 133 start not ST 101 start smaller ST STD 127 133 station number selector 27 submenu 71 system reg...

Page 278: ...OFF 210 When an ERR LED is ON 205 When PLC COMM ERR is displayed on the NPST GR screen 214 When PROTECT ERROR is displayed 215 wiring 43 to 56 wiring power supply 43 word external input relay WX 148 word external output relay WY 148 word internal relay WR 148 Z 0 1s units timer TMX 115 0 01s units timer TMR 115 INDEX 270 ...

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

Page 280: ...272 ...

Reviews: