background image

 

 

 

 

 

FP7 CPU Unit 

Ver 4.20 

Additional Functions 

Manual 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

12.21.2015      

 

   

 

 

Summary of Contents for FP7 Series

Page 1: ...FP7 CPU Unit Ver 4 20 Additional Functions Manual 12 21 2015...

Page 2: ...t Data to 16 bit Data 3 5 3 4 DIVFP2 Division FP2 Compatible 3 7 3 5 BTS 16 bit Data Specified Bit Set 3 9 3 6 BTR 16 bit Data Specified Bit Reset 3 11 4 FP2 FP2SH Program Conversion Function 4 1 4 1...

Page 3: ...1 Introduction of Ver 4 20...

Page 4: ...el instructions BKEXT BKMV16 DIVFP2 BTS BTR For details refer to Chapter 3 High level Instructions MEWTOCOL COM RS WS RK WK For details refer to Chapter 5 MEWTOCOL COM 2 The following functions have b...

Page 5: ...Ver 4 20 How to confirm the production lot The date of the production lot can be confirmed from the lot number of FP7 The number is indicated on the side face of the FP7 CPU unit on which a unit is in...

Page 6: ......

Page 7: ...2 Basic Instructions...

Page 8: ...2 2 1 List of Instructions The following instructions have been added List of new instructions Instruction Overview TM16 Subtraction timer of 16 bit setting value CT16 Subtraction preset counter of 1...

Page 9: ...er constants can be modified Real number constants and character constants cannot be specified Outline of operation This instruction is different from TIM instruction The range settable by the setting...

Page 10: ...1 second Difference between TIM and TM16 instructions When specifying a 16 bit device DT0 U1 DT1 U2 TM instruction TMX0 DT0 R0 T0 Y111 DT0 DT1 U1 U2 TE0 U131073 DT0 is treated as 32 bit data U131073 H...

Page 11: ...ue is written into the setting value area TS the timer operates with the written 32 bit value Precautions during programming Both the timer setting value area TS and the timer elapsed value area TE oc...

Page 12: ...tion The range settable by the setting value S is U0 to U65535 All counters are subtraction preset counters When the reset input is switched from ON to OFF the value of the setting value area CS is pr...

Page 13: ...31073 is set in the elapsed value area CE0 when the input of X101 falls CT16 instruction CT16 0 DT0 X100 C0 Y131 X101 Count Reset DT0 U1 CE0 U1 DT0 is treated as 16 bit data U1 H1 U1 is set in the ela...

Page 14: ...ut of X101 falls The setting range of a constant is U0 to U65535 Note When a 32 bit value is written into the elapsed value area CE while the counter is being operated using an instruction such as MV...

Page 15: ...Example 2 TMX16X0 activates when X101 turns on regardless of whether X0 is on or off TM16X 0 U30 X100 Y100 ANS X101 X102 Example 3 When X102 is ON prior to X100 Y101 does not turn on even when X100 t...

Page 16: ...is rewritten X100 Y100 X101 X102 DF X100 Program in which the example 2 is rewritten TM16X 0 U30 X100 Y100 X101 X102 X100 Program in which the example 3 is rewritten X100 Y101 X101 X102 DF X103 Y100 X...

Page 17: ...3 High level Instructions...

Page 18: ...have been added List of new instructions Instruction Overview BKEXT Transfers 16 bit data sign extended blocks BKMV16 Transfers blocks 32 bit data to 16 bit DIVFP2 Performs division FP2 compatible BT...

Page 19: ...ring the data that sign extension is performed D Destination starting device address Available devices Available Operand 16 bit device 32 bit device Integer Real number String Index modifier 1 WX WY W...

Page 20: ...0000000h DT3 1 0001h TS3 1 00000001h DT4 TS4 Precautions during programming In the case of a direct address and index modification address specify the same type of device for S1 and S2 Besides specify...

Page 21: ...sfer data Available devices Available Operand 16 bit device 32 bit device Integer Real number String Index modifier WX WY WR WL WS SD DT LD UM WI WO TS CS TE CE IX K U H SF DF S1 S2 D Outline of opera...

Page 22: ...678h Precautions during programming In the case of a direct address and index modification address specify the same type of device for S1 and S2 Besides specify S2 to be equal to or larger than S1 Fla...

Page 23: ...tants cannot be specified 3 Index registers I0 to IE 4 Can be specified only when the operation unit is signed integer SS SL 5 Can be specified only when the operation unit is unsigned integer US UL 6...

Page 24: ...10 5 Quotient TS1 9 TS11 0 TS2 25 TS12 0 TS3 49 TS13 0 SD15 0 SD15 4 Remainder SD16 0 SD16 0 Precautions during programming When a division overflow occurs the data is output as follows When the negat...

Page 25: ...D DT LD UM WI WO TS CS TE CE IX K U H SF DF D n 1 Only 16 bit deivces 32 bit devices and integer constants can be modified Real number constants and character constants cannot be specified Outline of...

Page 26: ...g programming Difference between the FP7 and conventional models such as FP2 or FP2SH The conventional models operate with only the lower four bits as valid even when the specified n is out of the set...

Page 27: ...1 WX WY WR WL WS SD DT LD UM WI WO TS CS TE CE IX K U H SF DF D n 1 Only 16 bit deivces 32 bit devices and integer constants can be modified Real number constants and character constants cannot be spe...

Page 28: ...g programming Difference between the FP7 and conventional models such as FP2 or FP2SH The conventional models operate with only the lower four bits as valid even when the specified n is out of the set...

Page 29: ...4 FP2 FP2SH Program Conversion Function...

Page 30: ...to FP7 is not performed and the result is output to the block comment Example Before converting an FP2SH program Example After converting the program to FP7 program Basic instructions FP2 FP2SH instru...

Page 31: ...MV16 Block move 32 bit data to 16 bit data F7 MV2 When specifying a 16 bit device only WX WY WR WL DT LD MV2 2 data move SS When specifying SV EV IX device for operand Cannot be converted F8 DMV2 When...

Page 32: ...and Cannot be converted F131 BTR When specifying a 16 bit device only WX WY WR WL DT LD BTR Bit reset US When specifying SV EV IX device for operand Cannot be converted F132 BTI When specifying a 16 b...

Page 33: ...ple the device addresses R9001 to R9003 and R9005 are the output results of inconvertible items List of convertible special relays Convertible special relays are as follows All other special relays ca...

Page 34: ...clock relay R901A 0 1 sec clock relay SR1A 0 1 sec clock relay R901B 0 2 sec clock relay SR1B 0 2 sec clock relay R901C 1 sec clock relay SR1C 1 sec clock relay R901D 2 sec clock relay SR1D 2 sec cloc...

Page 35: ...g inconvertible device numbers unchanged and sets network to be excluded from execution Example Before converting an FP2SH program Example After converting the program to FP7 program In the above exam...

Page 36: ......

Page 37: ...5 MEWTOCOL COM...

Page 38: ...area RK Reads the timer elapsed value lower 16 bits of TE Write timer elapsed value area WK Writes to the timer elapsed value lower 16 bits of TE Note 3 Note 1 Some devices cannot be accessed due to...

Page 39: ...6 Multi Connection Server Function...

Page 40: ...l number may be less than the above receivable number 6 1 1 Setting Conditions and Operating Conditions Note the following when using this function 1 This function is available only when Specify IPv4...

Page 41: ...rpose communication a unit error occurs Operating mode setting MEWTOCOL COM MEWTOCOL7 COM MEWTOCOL DAT MODBUS TCP MC protocol QnA compatible 3E frame binary 9 Made the same setting for all the connect...

Page 42: ...e have been already connected it cannot be connected to the target server port When connecting an additional client to the multi connection server to which the maximum number of clients have been alre...

Page 43: ...tion which uses the multi connection server setting Make this setting considering the contents of 6 1 1 Setting Conditions and Operating Conditions We recommend to specify Server connection any destin...

Page 44: ...dragging or using Shift or Ctrl clicking 3 Select Paste without checking Select Target for Automatic Serial No Select Paste without checking the boxes for automatic serial numbers as the same settings...

Page 45: ...1 Ushiyama cho Kasugai shi Aichi 486 0901 Japan Telephone 81 568 33 7861 Facsimile 81 568 33 8591 panasonic net id pidsx global For our sale network please visit our website Panasonic Industrial Devi...

Reviews: