background image

FP

Σ

Communication Cassette

7 - 4

General-purpose serial communication

General-purpose serial communication enables data to be sent back and forth

between an image processing device connected to the COM. port and an external

device such as a bar code reader.

Reading and writing of data is done using a ladder program in the FP

Σ

, while reading

and writing of data from an external device connected to the COM. port is handled

through the FP

Σ

data registers.

Data transmission using

F159(MTRN)

instruction

Data received in reception buffer

Received data

Data register (DT)

Transmitted data

Data is sent to and received

from external devices through

the data registers.

FP

Σ

Image processing device

Bar code reader

Figure 128: FP

Σ

General-purpose serial communication function

Applicable communication cassette

For 1:1 communication

1-channel RS232C type (Part No. FPG-COM1)

. . . .

2-channel RS232C type (Part No. FPG-COM2)

For 1:N communication

1-channel RS485 type (Part No. FPG-COM3)

. . .

Содержание FP Series

Страница 1: ...R User s Manual FP http www naisplc com Applicable PLC FP Control units FPG C32T FPG C32T2 FPG C24R2 This manual was created using Adobe Acrobat Adobe the Adobe logo and Acrobat are trademarks of Adob...

Страница 2: ...xpansion unit 1 7 1 3 2 Restrictions on the Number of Units for Expansion for FP expansion unit 1 8 1 4 Programming Tools 1 9 1 4 1 Tools Needed for Programming 1 9 1 4 2 Software Environment and Suit...

Страница 3: ...of FP0 I O Link Unit for right side expansion 4 6 Chapter 5 Installation and Wiring 5 1 Installation 5 3 5 1 1 Installation Environment and Space 5 3 5 1 2 Installation and Removal 5 6 5 2 Wiring of...

Страница 4: ...tion 6 13 6 3 6 Sample Program 6 16 6 4 Pulse Output Function 6 20 6 4 1 Overview of Pulse Output Function 6 20 6 4 2 Types of Pulse Output Method 6 21 6 4 3 I O Allocation 6 22 6 4 4 Control Mode 6 2...

Страница 5: ...onnection Example with External Device 1 1 communication with computer 8 11 8 2 2 Connection Example with External Device 1 1 communication with programmable display GT10 GT30 8 14 8 3 Computer Link 1...

Страница 6: ...d Code 9 35 9 7 Changing the Communication Mode of COM Port 9 37 Chapter 10 Communication Function 3 PLC Link Function 10 1 PLC Link 10 3 10 1 1 Overview of Function 10 3 10 2 Communication Parameter...

Страница 7: ...peration on Error 12 4 12 2 Troubleshooting 12 5 12 2 1 If the ERROR ALARM LED Flashes 12 5 12 2 2 If the ERROR ALARM LED Lights 12 7 12 2 3 If None of the LEDs Light 12 7 12 2 4 If Outputting does no...

Страница 8: ...42 13 7 2 Table of Self Diagnostic Error 13 43 13 8 Table of Instructions 13 44 13 9 MEWTOCOL COM Communication Commands 13 66 13 10 Hexadecimal Binary BCD 13 67 13 11 ASCII Codes 13 68 13 12Dimension...

Страница 9: ...mission lines high voltage equipment power cables power equipment radio transmitters or any other equipment that would generate high switching surges Static electricity Before touching the unit always...

Страница 10: ...ns given below When performing installation check to make sure that there are no scraps of wiring particularly conductive fragments adhering to the unit Verify that the power supply wiring I O wiring...

Страница 11: ...documents should be printed out and then saved Specifying the password carefully The password setting is designed to avoid programs being accidentally overwritten If the password is forgotten however...

Страница 12: ...Ver 1 Not used MS DOS software NPST GR Ver 4 Not used MS DOS software NPST GR Ver 3 Not used AFP1114V2 Handy programming unit FP AFP1114 Not used y p g g FP programmer AFP1112A AFP1112 Not used Notes...

Страница 13: ...75 SPSH Circular interpolation control None F176 SPCH PWM output F170 PWM F173 PWMH Linear and circular interpolation control can be used only with the FP Control Unit C32T2 Serial data communication...

Страница 14: ...Chapter 1 Functions and Restrictions of the Unit 1 1 Features and Functions of the Unit 1 3 1 2 Unit Types 1 6 1 3 Restrictions on Unit Combinations 1 7 1 4 Programming Tools 1 9...

Страница 15: ...FP Functions and Restrictions of the Unit 1 2...

Страница 16: ...tion cassettes with RS232C and RS485 interfaces are available as an option Installing a 2 channel RS232C type communication cassette in the FP makes it possible to connect two devices with RS232C port...

Страница 17: ...res The pulse output function supports frequencies of up to 100 kHz enabling positioning control using a stepping motor or servo motor Measurement using high speed counter supported Encoder Single pha...

Страница 18: ...5 Analog control supported An analog potentiometer volume dial is provided as a standard feature This can be used in applications such as analog timers without using the programming tools An analog un...

Страница 19: ...gent unit 1 2 4 Communication Cassette A detachable communication cassette optional should be used when using the various functions such as the computer link serial data communication and PLC link fun...

Страница 20: ...ns Up to three expansion units can be added at the right of the FP these expansion units being either expansion units or intelligent units from the earlier FP0 series or a combination of the two There...

Страница 21: ...ts type expansion unit consist of 32 input points and 32 transistor output points Controllable I O Points Type of control unit Number of I O points when using control unit Number of I O points when us...

Страница 22: ...itable Cable Standard ladder diagram tool software FPWIN GR Ver 2 Type of software OS Operating system Hard disk capacity Part No Product No FPWIN GR Ver 2 English language software Windows 95 98 FPWI...

Страница 23: ...1 10 Type of computer and suitable cable Type of computer Cable Cable specification IBM PC AT or Part No AFC8503 D Sub 9 pin female Mini DIN 5 pin male IBM PC AT or its compatible machine Part No AFC8...

Страница 24: ...Chapter 2 Specifications and Functions of Control Unit 2 1 Parts and Functions 2 3 2 2 Input and Output Specifications 2 7 2 3 Terminal Layout Diagram 2 12...

Страница 25: ...FP Specifications and Functions of Control Unit 2 2...

Страница 26: ...functions of FP control unit 2 1 1 Parts and Functions EXPANSION CONNECTOR FPG C32T FPG C32T2 FPG C24R2 Front view Left side view Right side view DIN standard rail attachment For all type control uni...

Страница 27: ...begins PROG downward This sets the PROG mode The operation stops In this mode programming can be done using tools When performing remote switching from the programming tool the position of the mode sw...

Страница 28: ...using the communication functions provided on the optional communication cassettes The unit No station No setting switch is located under the cover on the back of the unit Specify the unit station num...

Страница 29: ...ity check Odd parity Stop bit length 1 bit 2 1 3 Communication Cassette The detachable communication cassette optional can be selected from among the three types shown below Type Applicable communicat...

Страница 30: ...V DC 6 mA For X2 X5 to XF 19 2 V DC 3 mA Max off voltage Max off current 2 4 V DC 1 3 mA Input impedance For X0 X1 X3 X4 3 k For X2 X5 to X7 5 6 k For X8 to XF 6 8 k Response time off on For input X0...

Страница 31: ...6 55 124 Ambient temperature C F Number of points per common which are si multaneous on 46 107 8 48 118 4 55 124 Ambient temperature C F Number of points per common which are si multaneous on Figure...

Страница 32: ...ore 2 s or less For Y2 Y5 to YF 0 2 ms or less on off For Y0 Y1 Y3 Y4 at 15 mA or more 8 s or less For Y2 Y5 to YF 0 5 ms or less External power supply for d i i i l Voltage 21 6 to 26 4 V DC supply f...

Страница 33: ...supply 5 to 24 V DC Output circuit External power supply 24 V DC Y0 Y1 Y3 Y4 Figure 15 FP Internal circuit diagram output 1 Y2 Y5 to YF Internal circuit Output indicator LED Output circuit Output Load...

Страница 34: ...nical lifetime Min 20 000 000 operations Electrical lifetime Min 100 000 operations Surge absorber Operating mode indicator LED display Limitations on number of simultaneous output on points Keep the...

Страница 35: ...L L L L YD YF Y9 YB YC YE Y8 YA L L L L L L L L Y0 Y1 Y9 Y8 Y0 7 Y8 F Connector front view Figure 17 FP Terminal layout diagram I O connector Notes The two terminals of output circuit are connected in...

Страница 36: ...Chapter 3 Expansion 3 1 Type of Expansion Unit 3 3 3 2 Expansion Method of Units for FP0 and FP 3 4 3 3 Expansion Method of FP Expansion Unit 3 5 3 4 Specifications of FP Expansion Unit 3 6...

Страница 37: ...FP Expansion 3 2...

Страница 38: ...y for the FP Expansion units used for the earlier FP0 series are connected on the right side of the control unit just as they were with the FP0 Dedicated expansion units for the FP are connected to th...

Страница 39: ...of the unit so that the internal right side connector for FP0 expansion is exposed Peel the seal Figure 18 Expansion method procedure 1 2 Raise the expansion hooks on the top and bottom sides of the...

Страница 40: ...n the side of the unit no expansion cable is needed 1 Remove the cover on the left side of the unit so that the internal left side connector for FP expansion is exposed 2 Raise the expansion hooks on...

Страница 41: ...ints of the LED display 2 Input connector 40 pins 3 Output connector 40 pins 4 Input and Output indicator LEDs 5 FP expansion connector This expansion connector is used to connect the dedicated unit f...

Страница 42: ...or less on off 0 3 ms or less Operating mode indicator LED display Transistor output specifications Item Description Insulation method Optical coupler Output type Open collector Rated load voltage 5 t...

Страница 43: ...2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 L L L L L L L L L L L L L L L L L L L L L L L L L L L L L L L L 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 COM 9 9...

Страница 44: ...Chapter 4 I O Allocation 4 1 I O Allocation 4 3...

Страница 45: ...FP I O Allocation 4 2...

Страница 46: ...ansion Third expansion First expansion Second expansion Third expansion Fourth expansion Control unit FP0 expansion unit side FP expansion unit side Figure 22 FP I O allocation 4 1 1 I O Number of FP...

Страница 47: ...40 to Y35F Note The FP expansion unit nearest the control unit has the lowest I O number so that the unit closest to the control unit is the first unit the one next to that the second and so on Conseq...

Страница 48: ...ts Y20 to Y2F Y40 to Y4F Y60 to Y6F 4 1 4 I O Number of FP0 Analog I O Unit for right side expansion The I O allocation of FP0 analog I O unit FP0 A21 is determined by the installation location Unit F...

Страница 49: ...32 points Y20 to Y3F Y40 to Y5F Y60 to Y7F Specifying X and Y numbers On the FP and the FP0 the same numbers are used for input and output Example The same number X20 and Y20 can be used for input an...

Страница 50: ...nd Wiring 5 1 Installation 5 3 5 2 Wiring of Power Supply 5 9 5 3 Wiring of Input and Output 5 12 5 4 Wiring of MIL Connector Type 5 17 5 5 Wiring of Terminal Block Type 5 20 5 6 Safety Measures 5 22...

Страница 51: ...FP Installation and Wiring 5 2...

Страница 52: ...orne dust metal particles or salts Benzine paint thinner alcohol or other organic solvents or strong alkaline solutions such as ammonia or caustic soda Excessive vibration or shock Direct sunlight Wat...

Страница 53: ...lation heat discharge Do not install the FP control unit as shown below Upside down Installation which blocks the air duct Installations such that the input and output connectors face down Input and o...

Страница 54: ...25 FP Installation space 1 Maintain a minimum of 100 mm 3 937 in between devices to avoid adverse affects from noise and heat when installing a device or panel door to the front of the PLC unit 100 m...

Страница 55: ...method 1 Fit the upper hook of the unit onto the DIN rail 2 Without moving the upper hook press on the lower hook to fit the unit into position 1 2 Figure 27 Installation method Procedure of removal m...

Страница 56: ...mm 0 39 in Figure 29 FP Installation optional slim 30 type mounting plate The rest of the procedure is the same as that for attaching the unit to the DIN rails Removal Installation 1 4 1 2 3 Figure 3...

Страница 57: ...nsion hooks with the mounting plate and press the hooks on the top and bottom Removal Installation Figure 33 FP Installation using flat type mounting plate An unit with an attached flat type mounting...

Страница 58: ...t to connect the power supply Brown 24 V DC Blue 0 V Green Function earth Power supply wire To minimize adverse effects from noise twist the brown and blue wires of the power supply cable Power supply...

Страница 59: ...arding power supply sequence start up sequence The power supply sequence should be set up so that power to the control unit is turned off before the input output power supplies If the input output pow...

Страница 60: ...ce an adverse effect Always use an exclusive ground for each device Other device Inverter etc CORRECT INCORRECT Other device Inverter etc Figure 37 FP Grounding Note Depending on the surroundings in w...

Страница 61: ...ure 39 FP Relay output type sensor COM Output Vcc 0 V NPN open collector output type Internal circuit Input terminal FP Power supply for input Sensor Figure 40 FP NPN open collector output type sensor...

Страница 62: ...pe sensor photoelectric sensor or proximity sensor the use of a bleeder resistor is recommended as shown below Two wire type sensor Bleeder resistor COM Input terminal Internal circuit R FP Figure 44...

Страница 63: ...Bleeder resistor COM Input terminal Internal circuit R Power supply for input r FP Figure 45 FP Precaution when using LED equipped limit switch The off voltage of input is 2 4 V therefore when the po...

Страница 64: ...ed forward current I0 Load current or more Diode COM Output terminal Diode Load Precautions when using capacitive loads When connecting loads with large in rush currents to minimize their effect conne...

Страница 65: ...king into consideration the required current capacity Arrange the wiring so that the input and output wiring are separated and these wirings are separated from the power wiring as much as possible Do...

Страница 66: ...en below Also use the required pressure connection tools for connecting the wires Figure 47 FP Supplied MIL connector Supplied connector AFP0807 Type and Product No Housing 10 pin type only Semi cover...

Страница 67: ...sure connection tool Figure 49 FP MIL connector assembly procedure 1 2 Insert the wire without removing its insulation until it stops and lightly grip the tool Figure 50 FP MIL connector assembly proc...

Страница 68: ...uller pin comes in contact with this section If there is a wiring mistake or the cable is incorrectly pressure connected the contact puller pin provided with the fitting can be used to remove the cont...

Страница 69: ...eve If a pole terminal is being used the following models are marketed by Phoenix Contact Co Manufacturer Cross sectional area mm2 Size Part No Phoenix Contact Co 0 25 AWG 24 AI 0 25 6YE 0 50 AWG 20 A...

Страница 70: ...Notes When removing the wire s insulation be careful not to scratch the core wire Do not twist the wires to connect them Do not solder the wires to connect them The solder may break due to vibration...

Страница 71: ...se operation is controlled provide an interlock circuit externally Emergency stop circuit Add an emergency stop circuit externally to controlled devices in order to prevent a system shutdown or an irr...

Страница 72: ...ut Sections Power supply An insulated power supply with an internal protective circuit should be used The power supply for the control unit operation is a non insulated circuit so if an incorrect volt...

Страница 73: ...cess clock calendar functions for use in addition to backing up data registers and other data 1 Using a screwdriver or similar tool open the battery cover Figure 54 FP Backup battery installation proc...

Страница 74: ...sing FPWIN GR 1 Select PLC Configuration on the Option menu and click on Action on Error tab 2 Turn on No 4 Alarm Battery Error check box PLC Configuration setting dialog box Figure 57 FPWIN GR PLC Co...

Страница 75: ...nterval 1 year Value when no power at all is supplied Maintenance battery Name Part No Battery for FP AFPG804 Notes If system register No 4 Alarm Battery Error is set to ON special internal relays R90...

Страница 76: ...Counter and Pulse Output Functions 6 1 Overview of Each Functions 6 3 6 2 Function Specifications and Restricted Items 6 5 6 3 High speed Counter Function 6 10 6 4 Pulse Output Function 6 20 6 5 PWM...

Страница 77: ...FP High speed Counter and Pulse Output Functions 6 2...

Страница 78: ...rs or encoders When the count reaches the target value this function turns on off the desired output Figure 58 FP High speed counter function Y0 Y1 Y3 Y4 Pulse output function Combined with a commerci...

Страница 79: ...ue it returns to the minimum value Similarly if the counted value drops below the minimum value it goes back to the maximum value and continues counting from there Max value Min value 2 147 483 647 2...

Страница 80: ...5 DT90046 to DT90047 10 s Using one channel Max 50 kHz 1 channel p from Y0 to Y7 using instruc tion input X1 X2 CH1 R903B DT90048 to DT90049 DT90050 to DT90051 Using two channels Max 30 kHz 2 channel...

Страница 81: ...channels Max 60 kHz F0 MV F1 DMV F171 SPDH F172 PLSH CH2 Y3 Y4 Y5 X5 DT90052 bit4 R903C DT90200 to DT90201 DT90202 to DT90203 Max 60 kHz 2 channel Using linear interpolation Max 100 kHz Using circular...

Страница 82: ...ted to the various functions cannot be allocated as normal inputs and outputs Cases in which inputs and outputs can be used as exceptions Example 1 If no reset input is used in the high speed counter...

Страница 83: ...le 2 When using two channels CH0 and CH2 up to 60 kHz may be used for each channel Example 3 When linear interpolation control is being carried out on CH0 and CH2 a composite speed of up to 100 kHz ma...

Страница 84: ...400 s with 60 steps setting If Pulse Sign is set approx 500 s with 30 steps setting approx 700 s with 60 steps setting Pulse output instruction F172 PLSH JOG operation If CW CCW is set approx 20 s If...

Страница 85: ...tched use the target value match on instruction F166 HC1S To turn off an output use the target value match off instruction F167 HC1R Preset the output to be turned on and off with the SET RET instruct...

Страница 86: ...e 64 FP High speed counter function two phase input mode X0 on off 1 2 3 2 3 4 3 0 3 2 4 1 on off X1 Increasing Decreasing Increasing Decreasing Count One input mode Addition and subtraction input mod...

Страница 87: ...channel number being used The output turned on and off can be specified from Y0 to Y7 as desired with instructions F166 HC1S and F167 HC1R X0 X2 Yn Count input Reset input On and off output When usin...

Страница 88: ...software reset X7 F0 MV H 1 DT90052 1 2 F0 MV H 0 DT90052 DF Figure 71 FP Program of high speed counter control instruction F0 In the above program the reset is performed in step 1 and 0 is entered j...

Страница 89: ...riting channels and control codes is allocated as shown below Control codes written with an F0 MV instruction are stored by channel in special data registers DT90190 to DT90193 High speed counter cont...

Страница 90: ...0201 for channel 2 matches K20000 output Y6 turns on Figure 75 FP Program 2 of target value match on instruction F166 Target value match off instruction F167 Example 1 XC DF F167 HC1R K1 K30000 Y4 If...

Страница 91: ...COM Conveyor Wiring example Figure 78 FP High speed counter function sample program 1 wiring I O No Description X0 Encoder input X5 Operation start signal Y0 Inverter operation signal R100 Positioning...

Страница 92: ...Target value match off instruction Y0 goes off when elapsed value of high speed counter CH0 reaches 5 000 pulses Set the inverter operation signal Y0 Posotioning done pulse 0 5 s 0 1 s type timer Sett...

Страница 93: ...eed counter function sample program 2 wiring I O No Description X0 Encoder input X5 Operation start signal Y0 Inverter operation signal Y1 Inverter high speed signal R100 Positioning operation running...

Страница 94: ...g operations running Positioning operations start Resets elapsed value of high speed counter CH0 Target value match off instruction Y0 goes off when elapsed value of high speed counter CH0 reaches 5 0...

Страница 95: ...rget value is matched A dedicated instruction F174 PL0H is available that outputs pulses in conformance with the data table so that positioning control can be carried out in accordance with the data t...

Страница 96: ...e pulse output to specify the speed and on off signals to specify the direction of rotatin In this mode forward rotation is carried out when the rotation direction Sign signal is off Pulse Sign output...

Страница 97: ...double pulse input Single pulse input driver pulse input and directional switching input method One output point is used as a pulse output and the other output is used as a direction output The I O al...

Страница 98: ...nter Target value greater than current value Pulse output from CW Pulse output when direction output is off Pulse output when direction output is on Addition Target value less than current value Pulse...

Страница 99: ...movement amount of 10 000 pulses X8 DF F1 DMV H1100 DT100 F1 DMV K500 DT102 F1 DMV K5000 DT104 F1 DMV K300 DT106 F1 DMV K10000 DT108 F1 DMV K0 DT110 F171 SPDH DT100 K0 Figure 91 FP Program of positio...

Страница 100: ...j j 0 Fixed Duty on width 0 Duty 1 2 50 1 Duty 1 4 25 Frequency range 0 1 5 Hz to 9 8 kHz 1 48 Hz to 100 kHz 2 191 Hz to 100 kHz 1 Control code H constant 2 Frequency Hz K constant 1 5 Hz to 9 8 KHz...

Страница 101: ...positioning control instruction F171 When the program is run the positioning data table and the pulse output diagram will be as shown below Positioning data table DT200 DT201 Control code 1 H 1121 DT2...

Страница 102: ...set 0 Fixed Duty on width 0 Duty 1 2 50 1 Duty 1 4 25 Frequency range 0 1 5 Hz to 9 8 kHz 1 48 Hz to 100 kHz 2 191 Hz to 100 kHz H j j j j j j j j 1 Control code H constant 4 Deviation counter clear s...

Страница 103: ...n this mode the home return input is effective only after deceleration based on the home position proximity input has been completed Home input on 0Hz Speed Max speed Initial speed Home input on Home...

Страница 104: ...he on state a pulse of 300Hz is output from Y0 XB F172 PLSH DT300 K0 F1 DMV H1110 DT300 F1 DMV K300 DT302 Figure 98 FP Program of pulse output instruction F172 When the program is run the data table a...

Страница 105: ...K9800 units Hz Max error near 9 8 kHz approximately 0 9 kHz Set K1 to specify 1 5 Hz 48 Hz to 100 KHz K48 to K100000 units Hz Max error near 100 kHz approximately 3 kHz 191 Hz to 100 KHz K191 to K100...

Страница 106: ...ons With Ver 2 0 and subsequent versions of the FP control unit C32T2 a mode can be used in which a target value is specified for jogging operation and pulses are stopped when that target value is rea...

Страница 107: ...000 pulses When the execution condition R10 goes on pulses are output from Y0 at a frequency of 1 000 Hz and positioning begins At the point when 1 000 pulses have been counted the frequency switches...

Страница 108: ...Hz to 100 kHz K191 to K100000 units Hz Max error near 100 kHz approx 0 8 kHz 3 Target value K 2147483648 to K2147483647 The value of the 32 bit data specified for the target value should be within the...

Страница 109: ...le DT500 DT501 Control code H1000 1 DT502 DT503 Composite speed Initial speed 500 Hz 2 DT504 DT505 Composite speed Maximum speed 5000 Hz 2 Setting area DT506 DT507 Acceleration Deceleration time 300ms...

Страница 110: ...g 1 5 Hz If the component speed drops lower than the minimum speed for each frequency range then the speed will become the corrected component speed so be careful See 6 When simultaneously using a hig...

Страница 111: ...000Hz If initial speed 48Hz initial speed is corrected to 48Hz and range 0 is selected If 48Hz initial speed 191Hz range 1 is selected If initial speed 191Hz range 2 is selected 7 Number of accelerati...

Страница 112: ...0 DT606 F1 DMV K9396 DT608 F176 SPCH DT600 K0 F1 DMV K 3420 DT610 Assume that the execution conditions for this instruction always hold When the execution conditions are off pulse output stops Pulses...

Страница 113: ...CH2 Center position 0 pulse DT612 DT613 Radius 10000 pulses DT612 DT613 Radius 10000 pulses DT614 DT615 X axis CH0 Center position 0 pulse DT616 DT617 Y axis CH2 Center position 0 pulse Positioning pa...

Страница 114: ...r interpolation data table is overwritten when continue 1 is specified after circular interpolation action begins the following circular interpolation begins when the first circular interpolation that...

Страница 115: ...are off pulse output stops If you use one shot relay ex R101 below pls refer to the following program by using R903A and R903C in order to make internal relay hold ex R102 below R903A R102 R903C DF R1...

Страница 116: ...nstruction F0 Example 2 Performing a forced stop of the pulse output X7 DF F0 MV H 8 DT90052 F0 MV H 0 DT90052 Figure 102 FP Program 2 of pulse output control instruction F0 Elapsed value write and re...

Страница 117: ...DT90193 High speed counter control flag area of FP Tip 15 12 11 8 Near home input 0 off 1 on High speed counter instruction 0 Continue 1 Clear Pulse output 0 Continue 1 Stop Hardware reset 0 Permit 1...

Страница 118: ...a contact a contact b contact 24 V DC Figure 105 FP Pulse output function sample program wiring Note When the stepping motor input is a 5 V optical coupler type connect a 2 k 1 4 W resister Table of...

Страница 119: ...MV K 5000 DT 104 F1 DMV K 200 DT 106 F1 DMV K 10000 DT 108 F1 DMV K 0 DT 110 TMX 0 K 10 Program Positioning data table Pulse output instruction table shaped control The data table headed by DT100 is u...

Страница 120: ...FP 6 4 Pulse Output Function 6 45 Pulse output diagram 200 ms 200 ms 5 000 Hz 500 Hz 10 000 pulses 0 Hz Figure 108 FP Sample program pulse output diagram...

Страница 121: ...DMV K 6000 DT 104 F1 DMV K 300 DT 106 F1 DMV K 8000 DT 108 F1 DMV K 0 DT 110 TMX 0 K 10 Program Positioning data table Pulse output instruction table shaped control The data table headed by DT100 is u...

Страница 122: ...FP 6 4 Pulse Output Function 6 47 Pulse output diagram 300 ms 300 ms 6 000 Hz 1 000 Hz 8 000 pulses 0 Hz Figure 111 FP Sample program pulse output diagram...

Страница 123: ...rent value at that point is larger than 22 000 the pulses are output from Y1 and if the value is smaller than 22 000 the pulses are output from Y2 Y1 Y0 0 V 24 V DC X8 10 000 Pulse output CW Pulse out...

Страница 124: ...utput from CH0 The data table headed by DT100 is used Pulses are output from CH0 Positioning done pulse 1 second 0 1 s type timer Setting K10 and using it as a 1 second timer H11 Duty 1 4 25 48 Hz to...

Страница 125: ...3 turns on deceleration begins and when X2 turns on home return is completed After the return to home is completed the elapsed value area DT90044 and DT90045 are cleared to 0 Y1 Y0 0 V 24 V DC XA X2 X...

Страница 126: ...T209 Control code H 1121 Initial speed 100 Hz Maximum speed 2 000 Hz Acceleration time 150 msec Deviation counter clear output Not used H11 Duty 1 4 25 48 Hz to 100 kHz Home return CCW Control code Pu...

Страница 127: ...turns on deceleration begins and when X2 turns on home return is completed After the return to home is completed the elapsed value area DT90044 and DT90045 are cleared to 0 Y1 XA X2 X3 X3 X2 Pulse out...

Страница 128: ...T209 Control code H 1120 Initial speed 120 Hz Maximum speed 1 000 Hz Acceleration time 100 msec Deviation counter clear output Not used H11 Duty 1 4 25 48 Hz to 100 kHz Home return CW Control code Pul...

Страница 129: ...mand 300Hz 0Hz Y0 Pulse side Motor side Pulse output diagram Figure 122 FP Sample program JOG operation pulse output diagram JOG operation minus direction While XC is in the on state a pulse is output...

Страница 130: ...ncy stop over limit If XD turns off while a pulse is being output from Y0 the output of the pulse is stopped XD DF F0 MV H 8 DT 90052 F0 MV H 0 DT 90052 Pulse output control clear Program Figure 125 F...

Страница 131: ...output function set the channels CH0 and CH2 corresponding to system registers 400 and 401 to Do not use high speed counter 6 5 2 Instruction Used with PWM Output Function PWM output instruction F173...

Страница 132: ...K11 500 0 2 0 K12 694 4 1 4 K13 1 0 k 1 0 K14 1 3 k 0 8 K15 1 6 k 0 6 K16 2 1 k 0 5 K17 3 1 k 0 3 K18 6 3 k 0 2 K19 12 5 k 0 1 2 Specification of duty specify using K constant If the control code is...

Страница 133: ...FP High speed Counter and Pulse Output Functions 6 58...

Страница 134: ...Chapter 7 Communication Cassette 7 1 Communication Functions of FP 7 3 7 2 Communication Cassette 7 6 7 3 Attachment of Communication Cassette 7 10 7 4 Wiring of Communication Cassette 7 11...

Страница 135: ...FP Communication Cassette 7 2...

Страница 136: ...he PLC responds sends response messages based on the received instructions A MEWNET exclusive protocol called MEWTOCOL COM is used to exchange data between the computer and PLC Two communication metho...

Страница 137: ...vice connected to the COM port is handled through the FP data registers Data transmission using F159 MTRN instruction Data received in reception buffer Received data Data register DT Transmitted data...

Страница 138: ...data that needs to be consistent throughout the network such as target production values and type codes can easily be implemented to coordinate the data and all of the units are booted at the same tim...

Страница 139: ...eceived data Unit External device RS Request to Send Unit External device CS Clear to Send Unit External device SG Signal Ground Figure 130 FP 1 channel RS232C type communication cassette 2 channel RS...

Страница 140: ...are as described below Port name When using only the FP contorl unit When the 1 channel RS232C type has been added When the 2 channel RS232C type has been added When the 1 channel RS485 type has been...

Страница 141: ...n speed baud rate and transmission format are specified using the system registers Serial communication specifications 1 N communication Note 1 Item Specification Communication method Two wire half du...

Страница 142: ...70 99 0 700 1000 1200 Transmission distance m For transmission speed 115 2k bits s For transmission speed 57 6k bits s When using a transmission speed of 2 400 bits s to 38 4k bits s you can set up to...

Страница 143: ...ver under the cover to remove it Figure 133 FP Communication cassette attachment procedure 1 2 Install the communication cassette Communication cassette Figure 134 FP Communication cassette attachment...

Страница 144: ...umber of pin Model No of Phoenix Contact Co Number of pin Model No Product No 5 pins MC1 5 5 ST 3 5 1840396 Suitable wire Twisted wire Size Cross sectional area AWG 28 to 16 0 08 mm2 to 1 25 mm2 Pole...

Страница 145: ...e block and then tighten the screw clockwise to fix the wire in place Figure 138 FP Communication connector wiring method 2 7 4 4 Cautions Regarding Wiring The following items should be observed takin...

Страница 146: ...Chapter 8 CommunicationFunction 1 Computer Link 8 1 Computer Link 8 3 8 2 Connection Example with External Device 8 11 8 3 Computer Link 1 N communication 8 18...

Страница 147: ...FP Communication Function 1 Computer Link 8 2...

Страница 148: ...ed out between the two by instructions commands being sent from the computer to the PLC and the PLC replying sending response messages back to the computer A MEWNET exclusive protocol called MEWTOCOL...

Страница 149: ...number of the PLC that sent the response 5 Confirmation of whether or not the processing was carried out suc cessfully 6 The type of command processed 7 If the command was used to read data the data t...

Страница 150: ...end the command should be specified When using 1 1 communication 01 should be specified 3 Text The content differs depending on the command The content should be noted in all upper case characters fol...

Страница 151: ...ssing results for contact area read Response code indicates a normal processing result indicates that an error occurred Two digit One digit Figure 144 FP Response message format 1 Start code Header A...

Страница 152: ...LC or the PLC may not be functioning Check to make sure all of the communication specifications such as the communication speed data length and parity match between the computer and the PLC If the rec...

Страница 153: ...Reads the timer counter elapsed value Write timer counter elapsed value area WK Writes the timer counter elapsed value Register or Reset contacts monitored MC Registers the contact to be monitored Re...

Страница 154: ...eader vary depending on the commu nication conditions With the FP in addition to ordinary MEWTOCOL COM an expan sion header is also supported that enables single frames of up to 2 048 characters to be...

Страница 155: ...port No 414 for COM 2 port Communication Format setting Char Bit 8 Bits Parity Odd Stop Bit 1 Bit Terminator CR Header STX not exist The default settings for the communication format are as shown at...

Страница 156: ...ssage FP RS232C Figure 148 FP Computer link connection example computer Communication cassette used for 1 1 communication The following types of communication cassettes can be used for 1 1 computer li...

Страница 157: ...8 bits Parity check Odd Stop bit 1 bit Terminator CR Header STX not exist No 415 Baud rate setting for COM 1 port 9600 bps to 115200 bps Settings when using the COM 2 port No Name Set value No 411 Uni...

Страница 158: ...al name Abbre S1 R1 S2 R2 SG Transmitted Data 1 Received Data 1 Transmitted Data 2 Received Data 2 Signal Ground SD RD SD RD SG Computer side D SUB 9 pin Symbol CD RD SD ER SG DR RS CS RI Pin No 1 2 3...

Страница 159: ...GT30 FP Command message Response message RS232C Figure 151 FP Computer link connection example GT10 Communication cassette used for 1 1 communication The following types of communication cassettes ca...

Страница 160: ...using the COM 2 port No Name Set value No 411 Unit No for COM 2 port 1 No 412 Communication mode for COM 2 port Computer link No 414 Communication format for COM 2 port Character bit 8 bits Parity che...

Страница 161: ...GT30 When using the 1 channel RS232C type of communication cassette FP side 5 pin Pin name Signal name Abbre SD RD RS CS SG Transmitted Data Received Data Request to Send Clear to Send Signal Ground...

Страница 162: ...10 GT30 is shipped from the factory the basic communication area for GT10 GT30 is set as shown below GT Configuration settings should be changed to match the application at hand Item Description Word...

Страница 163: ...1 Unit No 2 Unit No 3 Unit No 4 The unit number for the PLC to which the command is being sent is included in the command message The unit number of the PLC sending a response is included in the respo...

Страница 164: ...uld be set to match the connected computer Note When a C NET adapter is used the number of unit station is max 32 Setting of unit No station number The Unit No parameter for each of the communication...

Страница 165: ...etting switch Figure 158 FP Computer link unit No station No setting switch Relationship between unit No setting switch and unit numbers Dial switch Unit No Dial switch position Selector switch off Se...

Страница 166: ...for the COM 2 port PLC Configuration setting dialog box Figure 159 FPWIN GR PLC Configuration setting dialog box No 410 for COM 1 port No 411 for COM 2 port Unit No setting Click on the button and se...

Страница 167: ...igure 160 FP Computer link connection diagram With 1 N communication the various RS485 devices are connected using twisted pair cables The and signals of transmission line 1 and transmission line 2 ar...

Страница 168: ...ication 9 3 9 2 Overview of Communication with External Devices 9 8 9 3 Connection Example with External Devices 9 16 9 4 Data Transmitted and Received with the FP 9 29 9 5 1 N Communication 9 31 9 6...

Страница 169: ...FP Communication Function 2 General purpose Serial Communication 9 2...

Страница 170: ...d to the COM port by means of the FP data registers Data register DT Image processing device Sending data using the F159 MTRN instruction Data is sent by transferring the data to a data register and t...

Страница 171: ...a writing Device with RS232C port Data register DT FP Data transmission using F159 MTRN instruction The end code specified by the system register is automatically added to the data that has been sent...

Страница 172: ...buffer Devices that can be specified by n WX WY WR WL SV EV DT LD I I0 to ID K H Devices that can be specified by D Only the K constants only K1 and K2 Figure 165 FP F159 MTRN instruction program Tran...

Страница 173: ...on the menu bar and click on the COM 1 2 Port tab There are separate settings for the COM 1 and COM 2 ports PLC Configuration setting dialog box Figure 166 FPWIN GR PLC Configuration setting dialog b...

Страница 174: ...To use general purpose serial communication the received buffer must be specified In the default setting the entire data register area is specified for use as the received buffer To change the data re...

Страница 175: ...d as the transmission buffer DT and when the F159 MTRN instruction is executed the data is output from the COM port FP Data register DT Data writing Received data Device with RS232C port Transmitted d...

Страница 176: ...H is converted to an ASCII code and stored in a data register 2 That data is sent from the COM 1 port using the F159 MTRN instruction Explanatory diagram The character is converted to ASCII code and t...

Страница 177: ...d code specified in system register 413 or 414 is automatically added to the end of the data Transmission data A B C D E F G H DT101 DT102 DT103 DT104 R9039 R9049 Execution condition R0 F159 MTRN exec...

Страница 178: ...ter 413 or 414 do not add the header start code to the transmission data The header start code is added automatically When using the 1 channel RS232C type communication cassette transmission does not...

Страница 179: ...received data in the received buffer is read from the area in which it is stored from DT201 and sent to DT0 Reception done detection The internal relay R10 is turned on at the reception done contact...

Страница 180: ...run The received number of bytes is stored as data is stored Received data is stored in order from the lower order byte K8 Figure 178 FP Data table for reception received buffer Explanation of data ta...

Страница 181: ...eception Received data R9038 R9048 Execution condition R0 Reception is possible Reception is possible Reception is not pos sible Reopening on off on off Execution of F159 MTRN instruction Header and t...

Страница 182: ...ration of reception The reception done flag R9038 R9048 turns on when data reception from the external device is completed Reception of any further data is prohibited To receive subsequent data you mu...

Страница 183: ...xternal device micro imagechecker When the scan start code SC R is sent from the FP side the scan result is returned from the Micro Imagechecker as the response Communication cassette used with 1 1 co...

Страница 184: ...ommunication No 413 Communication format Character bit 8 bits Parity Odd Stop bit 1 bit Terminator CR Header STX not exist No 415 Baud rate 9600 bps No 416 Starting address for data received DT200 No...

Страница 185: ...tion on 5 ENVIRONMENT of the main menu and set the following items No Name Set value No 53 Serial Output Output 5 Column Invalid Digit Repl 0 Read End None Process End None Numerical Calculation Outpu...

Страница 186: ...er side Symbol FG SD RD RS CS Not used SG CD ER Pin No 1 2 3 4 5 6 7 8 9 Pin name Figure 182 FP Connection example with micro imagechecker 1 When using the 2 channel RS232C type of communication casse...

Страница 187: ...C R is received Start command S C R transmission Reception buffer writing point reset Data register RS232C port Micro Imagechecker Reception R9039 off and R9038 off Transmission done flag R9039 on Rec...

Страница 188: ...o DT0 Preparing to receive the next data To prepare to receive the next data the F159 instruction resets the buffer writing point and turns off the reception done contact R9038 based on the empty data...

Страница 189: ...alue K200 is stored in DT1 of the PLC 01 RD6400C8006FC R is sent as a response to the command If there is an error 01 OO C R is returned OO is the error code In addition to data area read and write co...

Страница 190: ...bps No 416 Starting address for data received DT200 No 417 Buffer capacity setting for data received 100 byte Settings when using the COM 2 port No Name Set value No 412 Communication mode General co...

Страница 191: ...SD RD RS CS SG Pin No 1 2 3 4 5 6 7 8 9 Pin name Connection with FP1 COM port Figure 188 FP Connection example with FP series PLC 1 When using the 2 channel RS232C type of communication cassette FP s...

Страница 192: ...eceived 01 RDD00000 00001 C R transmission Reception buffer writing point reset Data register RS232C port FP series PLC Reception R9039 off and R9038 off Transmission done flag R9039 on Reception done...

Страница 193: ...one contact R9038 timing Retrieving received data The received data in the received buffer is read from the area in which it is stored DT201 to and sent to DT0 Preparing to receive the next data To pr...

Страница 194: ...ption buffer K16 Received number of bytes Received data is stored in order from the lower order byte H30 0 H31 H32 H31 1 H34 D H33 R H34 4 H36 6 Statuses when reception is completed DT102 DT103 DT104...

Страница 195: ...If an error occurs 01 jj CR is returned as the response is the error code and jj is the BCC Tip DT0 H25 H30 0 H31 1 H24 H52 R H44 D DT1 DT2 DT3 H36 6 H34 4 H30 0 H30 0 DT4 H46 DT7 H30 0 H30 0 DT6 H43...

Страница 196: ...ed buffer When sending data Data written to the transmission buffer will be sent just as it is Example When the data 12345 is transmitted as an ASCII code to a device with RS232C port Data sent using...

Страница 197: ...is transmitted from a device with RS232C port If DT200 is being used as the received buffer received data will be stored in the registers starting from DT201 in sequential order of first the lower byt...

Страница 198: ...eceived into received buffer Transmitted data Data transmission using F159 MTRN instruction Data is sent and received through the data registers Figure 196 FP General purpose serial communication 1 N...

Страница 199: ...ing 9600 bps No 416 Starting address for data received Set the desired address No 417 Buffer capacity setting for data received Set the desired capacity Max 2 048 byte Settings when using the COM 2 po...

Страница 200: ...instruction execution A B C CR D E F G Transmission done flag R9039 or R9049 Transmitted data 1 2 3 CR Duplex transmission disabled while F159 MTRN instruction is being executed Cannot be stored when...

Страница 201: ...nsmission is disabled while the F159 MTRN instruction is being executed Check the transmission done flag R9039 or R9049 Reception stops if the error flag R9037 or R9047 goes on To resume reception exe...

Страница 202: ...ed is cleared when start code is received A A A A B B B B C C C C C E E E E E E E C C C C C D D D D G G H H D Figure 198 FP Flag operation when receiving data STX and ETX setting The data is stored in...

Страница 203: ...R9049 Transmission buffer Number of bytes not yet transmitted Duplex transmission disabled while F159 MTRN instruction is being executed Transmitted data Transmission point Figure 199 FP Flag operatio...

Страница 204: ...ging from general port to computer link Specify the port to be changed F159 MTRN DT100 H8000 K1 R0 R9032 DF Set to H8000 1 1 Changing from computer link to general port Specify the port to be changed...

Страница 205: ...FP Communication Function 2 General purpose Serial Communication 9 38...

Страница 206: ...on Function 3 PLC Link Function 10 1 PLC Link 10 3 10 2 Communication Parameter Settings 10 5 10 3 Monitoring When a PLC Link is Being Used 10 17 10 4 Connection Example of PLC Link 10 18 10 5 PLC Lin...

Страница 207: ...FP Communication Function 3 PLC Link Function 10 2...

Страница 208: ...gs so the setting of system register No 412 should be changed to PLC Link in order to use the function The various PLC units and link areas are allocated using the system registers For more detailed i...

Страница 209: ...on the same network Link relay R0 L0 L0 Y0 L0 Y0 L0 Y0 R0 F0 MV K100 LD0 LD 0 100 LD 0 100 LD 0 100 LD 0 100 RS485 FP FP FP FP If the link relay L0 for the unit No 1 is turned on the status change is...

Страница 210: ...the FPWIN GR programming tool Select PLC Configuration under Option O on the menu bar and click on the COM 1 Port tab PLC Configuration setting dialog box Figure 203 FPWIN GR PLC Configuration settin...

Страница 211: ...4 16 Unit No RS485 Max 16 units Figure 204 FP Unit No for PLC link The unit number is a number assigned to a given PLC in order to identify that particular PLC Unit numbers should be specified in suc...

Страница 212: ...n under Option on the menu bar and then click on the COM 1 Port tab PLC Configuration setting dialog box Figure 205 FPWIN GR PLC Configuration setting dialog box No 410 Unit No setting for COM 1 port...

Страница 213: ...16 ON Selector switch Dial switch Unit No setting switch Figure 206 FP Unit No setting switch Relationship between unit number setting switch and unit numbers Dial switch Unit No Dial switch position...

Страница 214: ...numbers as 1 to 16 Station numbers should be set sequentially and consecutively starting from 1 with no breaks between them If there is a missing station number the transmission time will be that muc...

Страница 215: ...ting no for link relay transmission 0 to 63 No 43 Link relay transmission size 0 to 64 words No 44 Starting no for link register transmission 0 to 127 No 45 Link register transmission size 0 to 127 wo...

Страница 216: ...relays and link registers with the same numbers as those on the transmission side must exist in the received area on the receiving side Link relay allocation No 1 No 1 No 1 No 2 No 2 No 3 No 3 No 3 N...

Страница 217: ...ion System register No Name Set value of various control unit No 1 No 2 No 3 No 4 No 41 Range of link register used for PLC link 128 128 128 128 No 44 Starting no for link register transmission 0 40 8...

Страница 218: ...ay transmission size 20 With the above setting the 14 words 224 points consisting of WL50 to WL63 can be used as internal relays Figure 211 Using only a part of the link relay area Link register alloc...

Страница 219: ...w there is an area between No 2 and No 3 which is overlapped and this will cause an error so that communication cannot be carried out Link relay allocation No 1 No 3 No 2 WL0 19 20 63 WL0 19 20 63 WL0...

Страница 220: ...hich the transmitted area is split Transmitted area Received area Transmitted area Figure 214 Unallowable allocation example 1 Allocations in which the transmitted and received areas are split into mu...

Страница 221: ...set sequentially and consecutively starting from 1 with no breaks between them If there is a missing station number the transmission time will be that much longer If fewer than 16 units are linked th...

Страница 222: ...tion No 1 to 16 The PLC operation modes RUN PROG of other stations can be ascertained for any given PLC Relay No R9070 R9071 R9072 R9073 R9074 R9075 R9076 R9077 R9078 R9079 R907A R907B R907C R907D R90...

Страница 223: ...e control unit of unit No 3 goes on X1 on X2 on Y0 on Y0 on Link relay L0 turns on Link relay L1 turns on FP Unit No 1 FP Unit No 2 FP Unit No 3 RS485 Figure 216 FP Connection when using a PLC link wi...

Страница 224: ...of unit No and communication mode Setting of FP unit No 1 No Name Set value No 410 Unit No for COM 1 port 1 No 412 Communication mode for COM 1 port PC link Setting of FP unit No 2 No Name Set value N...

Страница 225: ...n 0 20 40 No 43 Link relay transmission size 20 20 24 Link register allocation FP Unit No 1 FP Unit No 2 FP Unit No 3 Transmitted area Received area Transmitted area Received area Received area Receiv...

Страница 226: ...h three FP units 10 4 2 Sample Programs Program of unit No 1 FP contorl unit When X1 is input the L0 of the link relay goes on and when X2 is input the L1 of the link relay goes on L0 X1 L1 X2 Unit No...

Страница 227: ...dded 3 Tso master station scan time This should be confirmed using the programming tool 4 Tlk link addition processing time If no stations are being added Tlk 0 Tlk Tlc link addition command sending t...

Страница 228: ...ion number is 9 relays and registers have been evenly allocated and the scan time for each PLC is 5 ms Ttx 0 096 Each Pcm 23 8 16 x 4 119 Tpc Ttx x Pcm 0 096 x 119 11 43 ms Each Ts 5 11 43 16 43 ms Tl...

Страница 229: ...that are connected but for which the power supply has not been turned on When calculation examples 2 and 3 are compared the transmission cycle time is longer if there is one station that has not been...

Страница 230: ...value 400 ms In the above the waiting time is set to 100 ms Key words Setting for the No 1 key word PCLK1T0 Allowable setting range for the No 2 key word 10 to 400 10 ms to 400 ms Notes Precautions co...

Страница 231: ...No 1 key word PCLK1T1 Allowable setting range for No 2 key word 100 to 6400 100 ms to 6400 ms Notes Precautions concerning settings The above instruction should be set up at the beginning of the progr...

Страница 232: ...Chapter 11 Other Functions 11 1 Analog Potentiometer 11 3 11 2 Clock Calendar Function 11 4...

Страница 233: ...FP Other Functions 11 2...

Страница 234: ...iometer Applicable special data register Symbol Potentiometer No Special data register Range of change V0 Volume 0 DT90040 K0 to K1000 V1 Volume 1 DT90041 K0 to K1000 11 1 2 Example Showing How the An...

Страница 235: ...vailable Not available DT90054 Minute data H00 to H59 Second data H00 to H59 Available Available DT90055 Day data H01 to H31 Hour data H00 to H23 Available Available DT90056 Year data H00 to H99 Month...

Страница 236: ...Set the time to 12 00 00 on the 5th day when the X0 turns on X0 F0 MV H 0 DT 90054 F0 MV H 512 DT 90055 F0 MV H 8000 DT 90058 DF Inputs 0 minutes and 0 seconds Inputs 12th hour 5th day Set the time F...

Страница 237: ...DF R0 R900B Y0 R0 Data comparison instruction The value of the special data register DT90053 Hour minute data is compared with the value of H830 8 30 Comparison match is output Appointed time output p...

Страница 238: ...Chapter 12 Self Diagnostic and Troubleshooting 12 1 Self Diagnostic Function 12 3 12 2 Troubleshooting 12 5...

Страница 239: ...FP Self Diagnostic and Troubleshooting 12 2...

Страница 240: ...PROG mode Stop Flashes Flashes Off Forcing on off in Run mode Operation Abnormal condition Off Off Flashes When a self diagnostic error occurs Operation Off Light on Flashes When a self diagnostic err...

Страница 241: ...tting menu on programming tool software FPWIN GR To specify the steps to be taken by the FPWIN GR if a PLC error occurs select PLC Configuration under Option on the menu bar and click on the Action on...

Страница 242: ...IN GR Ver 2 if a PLC error occurs during programming or debugging the following status display dialog box is displayed automatically Check the contents of the self diagnosed error Status display dialo...

Страница 243: ...he power supply can be turned off and then on again to clear the error but all of the contents of the operation memory except hold type data are cleared An error can also be cleared by executing a sel...

Страница 244: ...gram execution time is too long Check the program referring the following Check if instructions such as Jump or LOOP are programmed in such a way that a scan can never finish Check that interrupt inst...

Страница 245: ...tion using a programming tool If the output monitored is turned on there is probably a duplicated output error Procedure 2 Forcing on the output using forcing input output function If the output indic...

Страница 246: ...abnormality with the input unit Please contact your dealer If the input monitored is on check the leakage current at the input devices e g two wire type sensor and check the program again referring th...

Страница 247: ...s displayed Turn on the radio button next to Access enter a password and click on the Settings button Set PLC Password dialog box Figure 231 FPWIN GR Set PLC Password dialog box 12 2 6 If the Program...

Страница 248: ...t the final unit has been correctly connected Procedure 2 Check to see if the transmission cables are within the specifications range referring to page 7 11 At this point make sure all of the cables i...

Страница 249: ...FP Self Diagnostic and Troubleshooting 12 12...

Страница 250: ...s 13 12 13 4 Table of System Registers 13 14 13 5 Table of Special Internal Relays 13 21 13 6 Table of Special Data Registers 13 28 13 7 Table of Error Cords 13 42 13 8 Table of Instructions 13 44 13...

Страница 251: ...FP Specifications 13 2...

Страница 252: ...n output terminals and power supply terminal func tion earth 1500 VAC for 1 minute Between input terminals X0 to X7 and input terminals X8 to XF 500 VAC for 1 minute Between input terminals X0 to X7 i...

Страница 253: ...lows into the in put circuit n in dicates the num ber of points that are on This is the cur rent consumed by the output cir cuits of the vari ous units This value indicates the current used to drive t...

Страница 254: ...m memory Built in Flash ROM without backup battery By using exclusive instructions it is possible to write and read data Program capacity 12 000 steps Number of instruction Basic 85 High level 220 Ope...

Страница 255: ...Program edition during RUN constant scan forced on off pass word floating point operation and PID processing Notes 1 If no battery is used only the fixed area is backed up counters 16 points C1008 to...

Страница 256: ...n using 1 channel 100 kHz max x1 ch When using 2 channels 60 kHz max x2 ch When using linear interpolation function Max 100 kHz When using circular interpolation function Max 20 kHz High speed counter...

Страница 257: ...specified using the system registers Serial communication specifications 1 N communication Note 1 Item Description Communication method Two wire half duplex transmission Synchronous method Start stop...

Страница 258: ...70 99 0 700 1000 1200 Transmission distance m For transmission speed 115 2k bits s For transmission speed 57 6k bits s When using a transmission speed of 2 400 bits s to 38 4k bits s you can set up to...

Страница 259: ...on Second expansion Third expansion FP0 E8X Input 8 points X20 to X27 X40 to X47 X60 to X67 FP0 E8R Input 4 points X20 to X23 X40 to X43 X60 to X63 Output 4 points Y20 to Y23 Y40 to Y43 Y60 to Y63 FP0...

Страница 260: ...First expansion Second expansion Third expansion Input CH0 CH2 CH4 and CH6 each 16 points WX2 X20 to X2F WX4 X40 to X4F WX6 X60 to X6F CH1 CH3 CH5 and CH7 each 16 points WX3 X30 to X3F WX5 X50 to X5F...

Страница 261: ...points as one word 16 bits of data External output relay Note 1 WY 32 words WY0 to WY31 74 words WY0 to WY73 Code for specifying 16 external output points as one word 16 bits of data Internal relay No...

Страница 262: ...he number of points noted above is the number reserved as the calculation memory The actual number of points available for use is determined by the hardware configuration 2 If no battery is used only...

Страница 263: ...nd the constant scan time MEWNET W0 PLC link settings System registers 40 to 45 and 47 These settings are for using link relays and link registers for MEWNET W0 PLC link communication Note that the de...

Страница 264: ...and COM ports communication settings become effective when the mode is changed from PROG to RUN With regard to the modem connection setting when the power is turned off and on or when the mode is chan...

Страница 265: ...nabled error 23 Operation setting when an I O verification error occurs Stop Stop Continuation of operation 26 Operation setting when an operation error occurs Stop Stop Continuation of operation 4 Al...

Страница 266: ...o not set input X1 as high speed counter Addition input X1 Addition input X1 Reset input X2 Subtraction input X1 Subtraction input X1 Reset in put X2 401 High speed counter operation mode settings X3...

Страница 267: ...and the setting for CH3 is invalid in system register 401 If reset input settings overlap the setting of CH1 takes precedence in system register 400 and the setting of CH3 takes precedence in system r...

Страница 268: ...Communication format setting Character bit 8 bits Parity check with odd Stop bit 1 bit Enter the settings for the various items Character bit 7bits 8bits Parity chk none with odd with even Stop bit 1b...

Страница 269: ...id only when the communication mode specified by system register 412 has been set to General com munication End code Terminator CR CR LF None Start code Header STX not exist STX exist 415 Communicatio...

Страница 270: ...error which occurred R9008 Operation error flag non hold Turns on for an instant when an operation error occurs The address where the operation error occurred is stored in DT90018 The contents change...

Страница 271: ...tial pulse relay on type Turns on for an instant only in the first scan of the process the mo ment the step ladder process is opened R9016 Not used R9017 Not used R9018 0 01 s clock pulse relay Repeat...

Страница 272: ...Not used R9026 Message flag Turns on while the F149 MSG instruction is executed R9027 Not used R9028 Not used R9029 Forcing flag Turns on during forced on off operation for input output relay and time...

Страница 273: ...ived during the general purpose communicating R9039 COM 1 port transmission done flag during general purpose communicating This goes on when transmission has been completed when using general purpose...

Страница 274: ...end data using the F159 MTRN instruction R9048 COM 2 port reception done flag during gen eral purpose commu nicating Turns on when the end code is received during the general purpose com munication R9...

Страница 275: ...t No 8 is communicating properly in the PLC link mode Turns off when operation is stopped when an error is occurring or when not in the PLC link mode R9068 Unit No 9 Turns on when Unit No 9 is communi...

Страница 276: ...de Turns off when unit No 7 is in the PROG mode R9077 Unit No 8 Turns on when unit No 8 is in the RUN mode Turns off when unit No 8 is in the PROG mode R9078 Unit No 9 Turns on when unit No 9 is in th...

Страница 277: ...ition is detected in an intelligent unit the bit corresponding to the unit No will be set on 1 Monitor using binary display 15 11 7 3 2 1 0 Bit No Unit No on 1 error off 0 normal 3 2 1 0 A N A DT90007...

Страница 278: ...a operation error occurred is stored Each time an error occurs the new address overwrites the previous address At the beginning of scan the address is 0 Monitor the address using decimal display A N A...

Страница 279: ...special data registers when F149 MSG instruction is executed DT90032 Message 2 instruction is executed DT90033 Message 3 DT90034 Message 4 DT90035 Message 5 DT90036 Not used N A N A DT90037 Operation...

Страница 280: ...e high speed counter is stored here The value can be read and written by executing F1 DMV instruction A A DT90049 counter elapsed value area F1 DMV instruction DT90050 High speed counter target For ch...

Страница 281: ...The built in calen dar timer will operate correctly through the year 2099 and supports leap years The calendar timer can be set the time set by writing a value using a programming tool software or a A...

Страница 282: ...l software the time will be set when the new values are written Therefore it is unnecessary to write to DT90058 When the correcting times less than 30 seconds By setting the lowest bit of DT90058 to 1...

Страница 283: ...he startup condition of the step ladder process When the proccess starts up the bit corresponding to the process number turns on 1 DT90067 Step ladder pro cess 112 to 127 15 11 7 3 0 Bit No Monitor us...

Страница 284: ...dder process When the proccess starts up the bit corresponding to the process number turns on 1 DT90086 Step ladder pro cess 416 to 431 15 11 7 3 0 Bit No Monitor using binary display Example DT90087...

Страница 285: ...o the process number turns on 1 DT90109 Step ladder pro cess 784 to 799 process number turns on 1 Monitor using binary display Example DT90110 Step ladder pro cess 800 to 815 15 11 7 3 0 Bit No Exampl...

Страница 286: ...perations value in the register 2 5ms DT90144 The number of times the sending operation is performed DT90145 The current interval between two sending operations value in the register 2 5ms DT90146 The...

Страница 287: ...lse output H d 0 Invalid 1 Valid 0 Continue 1 Clear 0 Continue 1 Stop E bl Di bl DT90193 High speed counter control flag monitor for ch3 Hardware reset Count Software reset 0 Enable 1 Disable 0 Enable...

Страница 288: ...data of the high speed counter specified by the high speed counter instruction is stored here Target values have been preset for the various A N A DT90207 Target values have been preset for the variou...

Страница 289: ...gis ter 46 and 47 p g the various unit numbers are stored as shown below Example DT90228 PLC link unit station No 3 or 11 System regis ter 40 and 41 Example When DT90219 is 0 DT90229 No 3 or 11 System...

Страница 290: ...nk unit station No 7 or 15 System regis ter 40 and 41 shown below Example When DT90219 is 0 A N A DT90245 No 7 or 15 System regis ter 42 and 43 Higher byte Lower byte DT90240 to DT90246 System regis t...

Страница 291: ...er setting in a program does not agree with the timer counter range setting Change to PROG mode check the system register settings and change so that the settings and the instruction agree E5 Program...

Страница 292: ...of special data register DT90002 and locate the abnormal FP expansion I O unit Then check the unit E41 Intelligent unit error Stops An abnormality in an intelligent unit Check the contents of special...

Страница 293: ...T C Connects a Form B normally closed contact in parallel 1 2 Alternative out ALT Y R L A Inverts the output condition on off each time the leading edge of the trigger is detected 3 AND stack ANS Con...

Страница 294: ...ntact for only one scan when the leading edge of the trigger is detected The leading edge detection is possible on the first scan 1 Set SET Y R L S Output is set to and held at on 3 Reset RST Y R L R...

Страница 295: ...Count Reset CT n Decrements from the preset value n 3 4 UP DOWN counter F118 UDC UP DOWN Count F118 UDC Reset S D Increments or decrements from the preset value S based on up down input 5 Shift regist...

Страница 296: ...nues from there the number of jumps is set 4 Label LBL LOOP n S continues from there the number of jumps is set in S 1 End ED ED The operation of program is ended Indicates the end of a main program 1...

Страница 297: ...instructions Interrupt INT INT n Indicates the start of the interrupt program n 1 Interrupt return IRET IRET Ends the interrupt program 1 Interrupt control ICTL ICTL S1 S2 DF Select interrupt enable d...

Страница 298: ...16 bit data in the comparative condition S1 S2 5 AN S1 S2 Connects a contact serially by comparing two 16 bit data in the comparative condition S1 S2 5 AN S1 S2 Connects a contact serially by comparin...

Страница 299: ...1 S2 1 S2 9 AND D S1 S2 Connects a contact serially by comparing two 32 bit data in the comparative condition S1 1 S1 S2 1 S2 9 AND D S1 S2 Connects a contact serially by comparing two 32 bit data in...

Страница 300: ...Two 32 bit data move DMV2 S1 S2 D S1 1 S1 D 1 D S2 1 S2 D 3 D 2 11 F10 Block move BKMV S1 S2 D The data between S1 and S2 is transferred to the area starting at D 7 F11 Block copy COPY S D1 D2 The da...

Страница 301: ...it data subtraction Destination setting D S1 S2 D S1 1 S1 S2 1 S2 D 1 D 11 F30 16 bit data multiplication S1 S2 D S1 S2 D 1 D 7 F31 32 bit data multiplication D S1 S2 D S1 1 S1 S2 1 S2 D 3 D 2 D 1 D 1...

Страница 302: ...4 digit BCD data multiplication B S1 S2 D S1 S2 D 1 D 7 F51 8 digit BCD data multiplication DB S1 S2 D S1 1 S1 S2 1 S2 D 3 D 2 D 1 D 11 F52 4 digit BCD data division B S1 S2 D S1 S2 quotient D remain...

Страница 303: ...2 41 44 43 B A D C 7 F72 ASCII code Hexadecimal data AHEX S1 S2 D Converts the ASCII code specified by S1 and S2 to hexadecimal data and stores it in D Example H 44 43 42 41 HCDAB D C B A 7 F73 4 digi...

Страница 304: ...it data ab solute DABS D Gives the absolute value of the data of D 1 D 3 F89 16 bit data sign extension EXT D Extends the 16 bits of data in D to 32 bits in D 1 D 3 F90 Decode DECO S n D Decodes part...

Страница 305: ...D to the right 3 F106 Left shift of one hexadeci mal digit 4 bit BSL D Shifts the one digit of data of D to the left 3 F108 Right shift of multiple bits n bits BITR D1 D2 n Shifts the n bits of data r...

Страница 306: ...of bits specified by n of the double words data 32 bits specified by D 1 D to the left 5 F127 32 bit data right rotation with carry flag data DRCR D n Rotate the number of bits specified by n of the...

Страница 307: ...0 turns R9000 on and turns on the ERROR ALARM LED 3 F149 Message display MSG S Displays the character constant of S in the connected programming tool 13 F157 Time addition CADD S1 S2 D The time after...

Страница 308: ...e that starts with S 5 F174 Pulse output with channel specification Selectable data table con trol operation SP0H S n Outputs the pulses from the specified channel accord ing to the data table specifi...

Страница 309: ...rings and output the judgment results to a special internal relay 10 F258 Character string coupling SADD S1 S2 D These instructions couple one character string with another 12 F259 Number of char acte...

Страница 310: ...The total value and the mean value of the double word data with sign from the area selected with S1 to S2 are stored in the D 8 F277 Sort word data 16 bit SORT S1 S2 S3 The word data with sign from th...

Страница 311: ...S2 D S1 1 S1 S2 1 S2 D 1 D 14 F312 Floating point type data multiplication F S1 S2 D S1 1 S1 S2 1 S2 D 1 D 14 F313 Floating point type data division F S1 S2 D S1 1 S1 S2 1 S2 D 1 D 14 F314 Floating p...

Страница 312: ...specified by S 1 S to the 16 bit integer data with sign the largest integer not exceeding the floating point data and the converted data is stored in D 8 F328 Floating point type data to 32 bit intege...

Страница 313: ...data specified in S 1 S is rounded down and the result is stored in D 1 D 8 F334 Floating point type data rounding the first decimal point off FRINT S D The decimal part of the real number data stored...

Страница 314: ...S3 S2 1 S2 D 1 D When S1 1 S1 S3 1 S3 S2 1 S2 0 0 D 1 D 18 F349 Floating point type data zone control FZONE S1 S2 S3 D When S3 1 S3 0 0 S3 1 S3 S1 1 S1 D 1 D When S3 1 S3 0 0 0 0 D 1 D When S3 1 S3 0...

Страница 315: ...ea RK Reads the timer counter elapsed value Write timer counter elapsed value area WK Writes the timer counter elapsed value Register or Reset contacts monitored MC Registers the contact to be monitor...

Страница 316: ...0001 0011 0000 0000 0001 0100 0000 0000 0001 0101 16 17 18 19 20 21 22 23 0010 0011 0012 0013 0014 0015 0016 0017 0000 0000 0001 0000 0000 0000 0001 0001 0000 0000 0001 0010 0000 0000 0001 0011 0000 0...

Страница 317: ...A CE 0 P p 0 0 0 1 1 SOH DC1 1 A Q a q 0 0 1 0 2 STX DC2 2 B R b r 0 0 1 1 3 ETX DC3 3 C S c s 0 1 0 0 4 EOT DC4 4 D T d t 0 1 0 1 5 ENQ NAK 5 E U e u 0 1 1 0 t digit 6 ACK SYN 6 F V f v 0 1 1 1 nific...

Страница 318: ...13 69 13 12 Dimensions 13 12 1 Control Unit FPG C32T FPG C32T2 30 0 1 181 90 0 3 543 60 0 2 362 18 0 709 3 5 0 138 4 5 0 177 unit mm in FPG C24R2 30 0 1 181 90 0 3 543 60 0 2 362 3 5 0 138 4 5 0 177...

Страница 319: ...FP Specifications 13 70 13 12 2 Expansion Unit FPG XY64D2T unit mm in 30 0 1 181 90 0 3 543 60 0 2 362 18 0 709 3 5 0 138 4 5 0 177...

Страница 320: ...ommunication cassette 1 6 2 6 7 6 Communication specifications of commu nication cassette 7 8 Communication status LEDs 2 4 Computer link 7 3 8 3 Computer link 1 N communication 8 18 Connection exampl...

Страница 321: ...Installation method 5 6 Installation space 5 5 Instructions 13 44 Interlock circuit 5 22 Internal circuit diagram 2 8 2 10 2 11 J JOG operation 6 23 6 54 L LED equipped lead switch 5 13 LED equipped...

Страница 322: ...ommunication specifications 1 N communication 7 8 13 8 Short circuit protective circuit 5 15 Slim 30 type mounting plate 5 7 Software environment 1 9 Special internal relays 13 21 Specifications 13 3...

Страница 323: ...Index FP I 4...

Страница 324: ...anges Manual No Date Description of changes ARCT1F333E ACG M333E Sept 2001 First edition ARCT1F333E 1 ACG M333E 1 Feb 2002 2nd edition S Additions Control units FPG C32T2 FPG C24R2 Expansion unit FPG...

Страница 325: ...FP Record of changes R 2...

Страница 326: ...anch Office Hong Kong Matsushita Electric Works Hong Kong Ltd Rm1601 16 F Tower 2 The Gateway 25 Canton Road Tsimshatsui Kowloon Hong Kong Tel 852 2529 3956 Japan Matsushita Electric Works Ltd Automat...

Отзывы: