background image

13.1 Self-Diagnostic function 

13.1.1 LED Display for Status Condition 

Status indicator LEDs on control unit 

 The control unit has a self-diagnostic function which 

identifies errors and stops operation if necessary. 

 When an error occurs, the status of the status indicator 

LEDs on the control unit vary, as shown in the table above. 

 

 

 

LED status 

Description 

Operation 

status 

RUN 

PROG. 

ERROR/ 

ALARM 

Normal 

condition 

Light (on)  Off 

Off 

Normal operation 

Operation 

Off 

Light (on)  Off 

PROG. mode 

LED does not flash even if the forcing 

output is performed in program mode. 

Stop 

Flashes 

Flashes 

Off 

Forcing input/output in Run mode 

Flashes RUN and PROG. LED 

alternately. 

Operation 

Abnormal 

condition 

Light (on)  Off 

Flashes 

When a self-diagnostic error occurs 

Operation 

Off 

Light (on)  Flashes 

When a self-diagnostic error occurs 

Stop 

Light (on) 

or off 

Light (on) 

or off 

Light 

(on) 

System watchdog timer has been 

activated 

Stop 

 

Status indicator LEDs on expansion FP0 adapter 

 

 

 

 

LED status 

Description 

POWER 

I/F 

ERROR 

Normal 

condition  Light (on)  Light (on)  Off 

Normal operation 

Abnormal 

condition 

Light (on)  Flashes 

Off 

FP0 expansion unit is not connected. 

Light (on)  Light (on)  Flashes 

The FP0 expansion unit, that had been connected 

when the power supply for the FP-X control unit 

turned on, came away. 

An error has occurred in the communication of data 

between the expansion FP0 adapter and FP0 

expansion unit due to noise, etc. 

Light (on)  Off 

Off 

The expansion FP0 adapter turned on later than the 

FP-X control unit.  

Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]

Summary of Contents for AFPX-C30R

Page 1: ...User s Manual PROGRAMMABLE CONTROLLER FP X ARCT1F409E 9 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 2: ...erformance that are assured in these specifications Do not dismantle or remodel the product It could cause excessive exothermic heat or smoke generation Do not touch the terminal while turning on electricity It could lead to an electric shock Use the external devices to function the emergency stop and interlock circuit Connect the wires or connectors securely The loose connection could cause exces...

Page 3: ...on Cassette and Expansion FP0 Adapter Specifications 3 1 3 1 Expansion Method 3 2 3 2 FP X Expansion Unit 3 3 3 3 FP X Expansion FP0 Adapter 3 11 4 I O Allocation 4 1 4 1 I O Allocation 4 2 4 2 Allocation of FP X Control Unit 4 3 4 3 FP0 Expansion Unit Allocation 4 3 4 4 Allocation of FP0 Expansion Unit 4 4 4 5 I O Allocation of FP X Add on Cassette 4 6 5 Installation and Wiring 5 1 5 1 Installati...

Page 4: ...gh speed Counter Function 9 11 9 4 Pulse Output Function 9 19 9 5 PWM Output Function Pulse I O Cassette 9 51 10 High speed counter Pulse Output and PWM Output functions For Ry Type 10 1 10 1 Overview of Each Functions 10 2 10 3 High speed Counter Function 10 9 10 4 Pulse Output Function Pulse I O Cassette 10 20 10 5 PWM Output Function Pulse I O Cassette 10 51 11 Security Functions 11 1 11 1 Type...

Page 5: ... Input and Output 14 19 15 Specifications 15 1 15 1 Table of Specifications 15 2 15 2 Table of I O Number Allocation 15 13 15 3 Relays Memory Areas and Constants 15 16 16 Dimensions 16 1 16 1 Dimensions 16 2 16 2 Cable Adapter Specifications 16 4 17 Appendix 17 1 17 1 System Registers Special Internal Relays Special Data Registers 17 2 17 2 Table of Basic Instructions 17 48 17 3 Table of High leve...

Page 6: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 7: ...er line However it is recommended to take measures for reducing noise such as using a isolating transformer before supplying the power Allocate an independent wiring for each power supplying line input output device and operating device If using a power supply without a protective circuit power should be supplied through a protective element such as a fuse Be sure to supply power to a control and ...

Page 8: ...ng is designed to avoid programs being accidentally overwritten If the password is forgotten however it will be impossible to overwrite the program even if you want to Also if a password is forcibly bypassed the program is deleted When specifying the password note it in the specifications manual or in another safe location in case it is forgotten at some point Upload protection When the upload pro...

Page 9: ...stant processing Sampling trace function Refer to Chapter 12 5 Sampling by instructions F155 SMPL Sampling F156 STRG Sampling trigger Sampling by specifying time Leading contact trailing contact instructions ST AN OR ST AN OR An arbitrary device can be specified for the setting value of Timer counter instruction e g TML 0 DT0 Other additional convenient instructions F252 ACHK ASCII data check F284...

Page 10: ...te2 Note2 AFPX DA2 1unit AFPX COM5 1unit Note2 Note2 AFPX A21 2units AFPX COM5 1unit Note2 Note2 Note1 Up to 2 channels can be used for the current output range When using two units it is possible to use the 2 ch current output range and 2 ch voltage output range Note2 The AFPX DA2 and AFPX A21 both cannot be used with the AFP COM5 Ethernet Voltage output range When using with the output current o...

Page 11: ...used AFP1113 AFP1114 Not used Not used AFP1111A AFP1112A AFP1111 AFP1112 Not used Not used FP memory loader AFP8670 AFP8671 Used Only programs and system registers can be transmitted Note Precautions concerning version upgrade In case of using FPWIN GR Ver 1 please purchase upgrade model FPWIN GR Ver 2 FPWIN GR Ver 2 0 can be upgraded to Ver 2 5 or later free of charge at our web site FPWIN Pro Ve...

Page 12: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 13: ...Chapter 1 Features Functions and Restrictions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 14: ...t Various add on cassettes are available as options such as 10 types of application cassettes and 6 types of communication cassette Application cassettes DC 8 point input type transistor 8 point NPN output type transistor 6 point PNP output type DC 4 point input transistor 3 point NPN output type analog 2 ch output type analog 2 ch input analog 1 ch output type thermocouple 2 ch type RTD 2 ch type...

Page 15: ...es are available as an option Installing a 2 channel RS232C type communication cassette in the FP X makes it possible to connect two devices with RS232C port A full lineup of communication functions means you can also work with 1 N communication up to 99 units and PC PLC link function up to 16 units Controlling two devices with RS232C port with one FP X When using the 2 channel RS232C type communi...

Page 16: ...It is possible to communicate with up to 99 units MEWTOCOL communication It can be used as a master unit slave units F145 and F146 instructions It can be easily communicated with a PLC image processor temperature control device message runner or eco power meter It is possible to communicate with up to 99 units Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 17: ...de individual input mode and direction discrimination mode are supported Note Differs depending on combinations Positioning control based on pulse output supported Pulse direction and clockwise counter clockwise output are supported Heater control based on PWM output function supported The pulse output at any duty ratio can be picked up with special instruction Analog potentiometer volume dial An ...

Page 18: ...FPX C60RD 32 28 Transistor type NPN Tr type AFPX C14T 8 6 100 to 240 V AC 24 V DC Common polarities common Transistor NPN Terminal block AFPX C30T 16 14 AFPX C60T 32 28 AFPX C14TD 8 6 24V DC AFPX C30TD 16 14 AFPX C60TD 32 28 Transistor type PNP Tr type AFPX C14P 8 6 100 to 240 V AC 24 V DC Common polarities common Transistor PNP Terminal block AFPX C30P 16 14 AFPX C60P 32 28 AFPX C14PD 8 6 24V DC ...

Page 19: ...rities common Transistor PNP Terminal block AFPX E30P 16 14 100 to 240 V AC AFPX E30PD 24V DC Input only type AFPX E16X 16 0 X300 to X30F 24 V DC Common polarities common Terminal block The input specifications are the same as AFPX E16R Output only type Relay type AFPX E14YR 0 14 Y300 to Y30D Relay Terminal block The output specifications are the same as AFPX E16R An 8 cm expansion cable is provid...

Page 20: ...non insulated AFPX AD2 FP X Analog output cassette 2 channel analog output insulated insulated between channels AFPX DA2 FP X Analog I O cassette 2 channel analog input insulated 1 channel analog output insulated AFPX A21 FP X Thermocouple cassette 2 channel thermocouple input insulated insulated between channels AFPX TC2 FP X RTD cassette 2 ch RTD input insulated insulated between channels AFPX R...

Page 21: ...nit with 21 pin cover no printing 4 pcs pack AFPX TAN1 FP X expansion cable Note 8 cm AFPX EC08 30 cm AFPX EC30 80 cm AFPX EC80 FP0 power supply cable For Expansion FP0 adapter Length 1 m AFP0581 FP0 mounting plate slim type Used for expansion FP0 adapter and FP0 Expansion unit 10 pcs pack AFP0803 Note The total length of the expansion cable should be within 160 cm Phone 800 894 0412 Fax 888 723 4...

Page 22: ...t units of FP X can be connected however the restrictions on each expansion unit vary For AFPX E16 E14 Two units cannot be connected consecutively since the power should be supplied from the unit with the power supply as no power supply is built in AFPX E16 E16 expansion I O unit cannot be connected on the right side of the control unit or AFPX E30 For AFPX E30 There is no restriction on AFPX E30 ...

Page 23: ...60 points Max 156 points Note1 Up to seven FP X expansion I O units can be also installed between the control unit and the expansion FP0 adapter Note2 Only one expansion FP0 adapter can be installed at the last position of the FP X expansion bus It should be installed at the right hand side of the AFPX E16 and E30 Note Install the FP0 thermocouple unit on the right side of other expansion units If...

Page 24: ...n Cassette The add on cassette is installed in the cassette mounting part 1 and 2 only the cassette mounting part 1 is available for C14 of the control unit Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 25: ...AFPX TC2 A A FP X RTD cassette AFPX RTD2 A A FP X Output cassette AFPX TR8 A A FP X Output cassette AFPX TR6P A A FP X I O cassette AFPX IN4T3 A A FP X Pulse I O cassette AFPX PLS A Note5 A Note5 FP X Master memory cassette AFPX MTRC A Note1 A Note1 Note 1 Only one FP X master memory cassette AFPX MRTC can be installed If 2 units are installed E26 user ROM error will occur 2 One application casset...

Page 26: ...Me Windows 2000 Windows XP Windows Vista Windows 7 40MB or more AFPS10520 Upgrade version AFPS10520R Note1 Ver 1 1 must be installed to install the upgrade version Note2 Ver 2 0 can be upgraded to the latest version after Ver 2 1 free of charge at our web site http panasonic denko co jp ac e dl software list patch plc jsp Use the latest version Conforms to IEC61131 3 programming tool software FPWI...

Page 27: ...le Mini DIN round 5 pin Straight type 3 m AFC8503S Note Note A USB RS232C conversion cable is necessary to connect the unit to the USB port of a personal computer using a PC connection cable For the connection between a personal computer USB and the control unit USB USB cable For C30 and C60 only Use a commercial cable Cable type Length USB 2 0 or 1 1 AB type Max 5 m Phone 800 894 0412 Fax 888 723...

Page 28: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 29: ...Chapter 2 Specifications and Functions of Control Unit Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 30: ...2 1 Parts and Functions 2 1 1 Parts and Functions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 31: ...ation mode RUN upward This sets the RUN mode The program is executed is executed and operation begins PROG downward This sets the PROG mode The operation stops The remote switching operation from the programming tool is operable When performing remote switching from the programming tool the setting of the mode switch and the actual mode of operation may differ Verify the mode with the status indic...

Page 32: ...ting 7 Power supply and input terminal block This is the power supply and input wiring terminal A solderless terminal for M3 can be used 8 Service power supply for input and output terminal block This is the service power supply for input and output wiring terminal A solderless terminal for M3 can be used 9 Expansion cover It is used after the expansion cable and the battery has been installed 10 ...

Page 33: ...24 V DC Voltage regulation range 21 6 to 26 4 V DC Rated output current 0 15 A 0 4 A Overcurrent protection function Note Available Terminal screw M3 Note This is a function to protect overcurernt temporarily which protects the output short circuit If the short circuit is detected all the power supply for the PLC will be turned off If a current load that is out of the specifications is connected a...

Page 34: ...nce Approx 5 1 kΩ for control units X0 to X7 Approx 5 6 kΩ from control unit X8 Response time off on For control units X0 to X7 0 6 ms or less normal input 50 µs or less high speed counter pulse catch interrupt input settings Note From control unit X8 0 6 ms or less on off Same as above Operating mode indicator LED display EN61131 2 Applicable type TYPE3 however according to the above specificatio...

Page 35: ...ontrol units X0 to X3 Approx 5 1 kΩ for control units X4 to X7 Approx 5 6 kΩ from control unit X8 Response time off on For control units X0 to X3 135 µs or less normal input 5 µs or less Note high speed counter pulse catch interrupt input settings For control units X4 to X7 135 µs or less normal input 50 µs or less Note high speed counter pulse catch interrupt input settings From control unit X8 C...

Page 36: ...points common 4 points common Response time off on Approx 10 ms on off Approx 8 ms Lifetime Mechanical 20 million times or more Frequency of switching 180 times min Electrical 100 thousand times or more Frequency of switching at the rated control capacity 20 times min Surge absorber None Operating mode indicator LED display Note1 Resistance load Circuit diagram Limitations on number of simultaneou...

Page 37: ... 15 mA or more 1 ms or less C14 None C30 C60 from Y8 ON OFF 8 µs or less Y0 to Y3 Load current at 15 mA or more 30 µs or less C14 Y4 to Y5 C30 C60 Y4 to Y7 Load current at 15 mA or more 1 ms or less C14 None C30 C60 from Y8 External power supply and terminals Voltage 21 6 to 26 4 V DC Current Y0 to Y5 Y7 Y8 to YD Y10 to Y17 Y18 to Y1D C14 40 mA or less C30 60 mA or less 35 mA or less C60 60 mA or ...

Page 38: ...or more 1 ms or less C14 None C30 C60 from Y8 ON OFF 8 µs or less Y0 to Y3 Load current at 15 mA or more 30 µs or less C14 Y4 to Y5 C30 C60 Y4 to Y7 Load current at 15 mA or more 1 ms or less C14 None C30 C60 from Y8 External power supply and terminals Voltage 21 6 to 26 4 V DC Current Y0 to Y5 Y7 Y8 to YD Y10 to Y17 Y18 to Y1D C14 75 mA or less C30 95 mA or less 50 mA or less C60 95 mA or less 50...

Page 39: ...on within the following range as determined by the ambient temperature Product number Limitations on number of simultaneous input on points Limitations on number of simultaneous output on points Configuration 1 Stand alone AFPX C14R 2 COM5 AFPX C30R AFPX C60R AFPX C14RD AFPX C30RD AFPX C60RD Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 40: ...perature Product number Limitations on number of simultaneous input on points Limitations on number of simultaneous output on points Configuration 1 DA2 2 A21 3 AFPX C14R A21 A21 DA2 DA2 DA2 A21 Up to 2 channels can be used for the current output AFPX C30R AFPX C60R AFPX C14RD AFPX C30RD AFPX C60RD Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 41: ...mined by the ambient temperature Product number Limitations on number of simultaneous input on points Limitations on number of simultaneous output on points Configuration 1 DA2 2 A21 3 AFPX C14R A21 A21 DA2 DA2 DA2 A21 AFPX C30R AFPX C60R AFPX C14RD AFPX C30RD AFPX C60RD Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 42: ...e as determined by the ambient temperature Product number Limitations on number of simultaneous input on points Limitations on number of simultaneous output on points Configuration 1 Stand alone AFPX C14T 2 COM5 AFPX C30T AFPX C60T AFPX C14TD AFPX C30TD AFPX C60TD Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 43: ...emperature Product number Limitations on number of simultaneous input on points Limitations on number of simultaneous output on points Configuration 1 DA2 2 A21 3 AFPX C14T A21 A21 DA2 DA2 DA2 A21 Up to 2 channels can be used for the current output AFPX C30T AFPX C60T AFPX C14TD AFPX C30TD AFPX C60TD Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 44: ...etermined by the ambient temperature Product number Limitations on number of simultaneous input on points Limitations on number of simultaneous output on points Configuration 1 DA2 2 A21 3 AFPX C14T A21 A21 DA2 DA2 DA2 A21 AFPX C30T AFPX C60T AFPX C14TD AFPX C30TD AFPX C60TD Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 45: ...e as determined by the ambient temperature Product number Limitations on number of simultaneous input on points Limitations on number of simultaneous output on points Configuration 1 Stand alone AFPX C14P 2 COM5 AFPX C30P AFPX C60P AFPX C14PD AFPX C30PD AFPX C60PD Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 46: ...emperature Product number Limitations on number of simultaneous input on points Limitations on number of simultaneous output on points Configuration 1 DA2 2 A21 3 AFPX C14P A21 A21 DA2 DA2 DA2 A21 Up to 2 channels can be used for the current output AFPX C30P AFPX C60P AFPX C14PD AFPX C30PD AFPX C60PD Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 47: ...etermined by the ambient temperature Product number Limitations on number of simultaneous input on points Limitations on number of simultaneous output on points Configuration 1 DA2 2 A21 3 AFPX C14P A21 A21 DA2 DA2 DA2 A21 AFPX C30P AFPX C60P AFPX C14PD AFPX C30PD AFPX C60PD Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 48: ...2 6 Terminal Layout 2 6 1 Relay Type AFPX C14R AFPX C14RD AFPX C30R AFPX C30RD Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 49: ...thin the unit However the COM terminals of the input terminals 1 and 2 for C60 are isolated They are not connected internally Output terminal Each COM port CO C1 is separate Use them in the range surrounded by the bold black lines Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 50: ...2 6 2 Transistor type AFPX C14T AFPX C14P AFPX C14TD Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 51: ...AFPX C14PD AFPX C30T AFPX C30P Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 52: ...AFPX C30TD AFPX C30PD AFPX C60T Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 53: ...within the unit However the COM terminals of the input terminals 1 and 2 for C60 are isolated They are not connected internally Output terminal Each power supply terminal is separate Use them in the range surrounded by the bold black lines Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 54: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 55: ...Chapter 3 Expansion Cassette and Expansion FP0 Adapter Specifications Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 56: ...pansion unit expansion FP0 adapter AFPX EFP0 is necessary can be used by using the exclusive expansion cable Note Only one expansion FP0 adapter can be installed at the last position of the FP X expansion bus It should be installed at the right hand side of the AFPX E16 and E30 Up to seven FP X expansion I O units can be also installed between the control unit and the expansion FP0 adapter However...

Page 57: ...solderless terminal for M3 can be used 4 Expansion connector Connects with the control unit expansion unit and the expansion FP0 adapter using the exclusive expansion cable 5 Expansion cover It is used after the expansion cable has been fitted 6 DIN rail attachment lever This lever enables the expansion unit to attach to a DIN rail at a touch 7 Terminator setting DIP switch All switches should be ...

Page 58: ...pply type only Item Specifications E30 Rated output voltage 24 V DC Voltage regulation range 21 6 to 26 4 V DC Rated output current 0 4 A Overcurrent protection function Note Available Terminal screw M3 Note This is a function to protect overcurrent temporarily If a current load that is out of the specifications is connected it may lead to damages DC Power Supply Item Specifications E30 Rated volt...

Page 59: ...TYPE3 however according to the above specifications Circuit diagram R1 5 6 kΩ R2 1 kΩ Relay output specifications Item Description E16 E14 E30 Insulation method Relay insulation Output type 1a output Relay cannot be replaced Rated control capacity Note 2 A 250 V AC 2 A 30 V DC 6 A or less common 8 A or less common Output points per common 1 point common 3 points common 1 point common 4 points comm...

Page 60: ... Common 8 points Common 6 points Common Off state leakage current 1 µA or less On state voltage drop 0 3 V DC or less Response time OFF ON 1 ms or less ON OFF 1 ms or less External power supply and terminals Voltage 21 6 to 26 4 V DC Current Y0 to Y7 Y8 to YD E16 45 mA or less E30 45 mA or less 35 mA or less Surge absorber Zener diode Operating mode indicator LED display Circuit diagram Phone 800 ...

Page 61: ...ommon 8 points Common 6 points Common Off state leakage current 1 µA or less On state voltage drop 0 5 V DC or less Response time OFF ON 1 ms or less ON OFF 1 ms or less External power supply and terminals Voltage 21 6 to 26 4 V DC Current Y0 to Y7 Y8 to YD E16 65 mA or less E30 65 mA or less 50 mA or less Surge absorber Zener diode Operating mode indicator LED display Circuit diagram Phone 800 89...

Page 62: ...3 2 4 Terminal layout AFPX E16R AFPX E16T AFPX E16P AFPX E16X AFPX E14YR Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 63: ...AFPX E30R AFPX E30RD AFPX E30T Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 64: ...al block is connected within the unit Output terminal Each COM terminal CO C1 of Ry type is separate Each power supply terminal of Tr type is separate Use them in the range surrounded by the bold black lines Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 65: ...sed using the expansion FP0 adapter All FP0 expansion unit can be used DC input unit Transistor output unit Relay output unit Analog I O unit Thermocouple unit Network unit Note The expansion FP0 adapter does not function by itself Always connect the FP0 expansion unit to it Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 66: ...minal setting for the expansion FP0 adapter 3 Power supply connector 24V DC Supply the power of 24 V DC The provided power supply cable AFP0581 is used for the connection Supply the power from the service power supply for the input of the FP X control unit 4 FP0 expansion connector Connects the FP0 expansion unit 5 Expansion hook This hook is used to secure the FP0 expansion unit 6 Item DIN rail a...

Page 67: ...Chapter 4 I O Allocation Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 68: ...ansion 6th unit X800 to X89F WX80 to WX89 Y800 to Y89F WY80 to WY89 Expansion 7th unit X900 to X99F WX90 to WX99 Y900 to Y99F WY90 to WY99 Expansion 8th unit X1000 to X109F WX100 to WX109 Y1000 to Y109F WY100 to WY109 Note The ranges of the I O numbers which are actually used differ depending on the cassettes and units Regarding I O number Specifying X and Y numbers On the FP X and the FP0 the sam...

Page 69: ...tion The FP X expansion unit is installed on the right side of the FP X control unit I O numbers when installed as the first expansion unit Type of expansion unit Number of allocation I O number FP X E16 expansion I O unit Input 8 points X300 to X307 Output 8 points Y300 to Y307 FP X E30 expansion I O unit Input 16 points X300 to X30F Output 14 points Y300 to Y30D FP X E16X expansion input unit In...

Page 70: ...ansion 2nd unit X400 to X41F X420 to X43F X440 to X45F Y400 to Y41F Y420 to Y43F Y440 to Y45F Expansion 3rd unit X500 to X51F X520 to X53F X540 to X55F Y500 to Y51F Y520 to Y53F Y540 to Y55F Expansion 4th unit X600 to X61F X620 to X63F X640 to X65F Y600 to Y61F Y620 to Y63F X640 to X65F Expansion 5th unit X700 to X71F X720 to X73F X740 to X75F Y700 to Y71F Y720 to Y73F Y740 to Y75F Expansion 6th u...

Page 71: ...16 points CH1 WX31 X310 to X31F WX33 X330 to X33F WX35 X350 to X35F Output 16 points WY30 Y300 to Y30F WY32 Y320 to Y32F WY34 Y340 to Y34F FP0 A D conversion unit FP0 thermo couple unit FP0 A80 FP0 TC4 FP0 TC8 Input 16 points CH0 2 4 6 WX30 X300 to X30F WX32 X320 to X32F WX34 X340 to X34F Input 16 points CH1 3 5 7 WX31 X310 to X31F WX33 X330 to X33F WX35 X350 to X35F FP0 RTD unit FP0 RTD6 Input 16...

Page 72: ...sette AFPX A21 CH0 WX10 CH1 WX11 WY10 CH0 WX20 CH1 WX21 WY20 FP X thermocouple cassette AFPX TC2 CH0 WX10 CH1 WX11 CH0 WX20 CH1 WX21 FP X RTD cassette AFPX RTD2 CH0 WX10 CH1 WX11 CH0 WX20 CH1 WX21 FP X input cassette AFPX IN8 From X100 From X200 FP X output cassette AFPX TR8 From Y100 From Y200 FP X output cassette AFPX TR6P From Y100 From Y200 FP X I O cassette AFPX IN4T3 From X100 From Y100 From...

Page 73: ...Chapter 5 Installation and Wiring Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 74: ...solvents or strong alkaline solutions such as ammonia or caustic soda Direct vibration shock or direct drop of water Influence from power transmission lines high voltage equipment power cables power equipment radio transmitters or any other equipment that would generate high switching surges Min 100mm or less Static electricity Before touching the unit always touch a grounded piece of metal in ord...

Page 75: ...to allow room for programming tool connections and wiring 5 1 2 Installation and Removal Attachment to DIN rail and removal from DIN rail Can be simply attached to DIN rail Procedure of installation method 1 Fit the upper hook of the unit onto the DIN rail 2 Without moving the upper hook press on the lower hook to fit the unit into position Procedure of removal method 1 Insert a slotted screwdrive...

Page 76: ...hod 1 Insert a slotted screwdriver into the DIN rail attachment lever 2 Pull the attachment lever downwards 3 Lift up the unit and remove it from the rail Installation Using the Optional Mounting Plate When using the slim type mounting plate AFP0803 for mounting FP0 Use M4 size pan head screws for attachment of the slim type mounting plate and install according to the dimensions shown below The re...

Page 77: ...the expansion unit and expansion FP0 adapter It can be purchased separately The expansion cables AFPX EC30 and AFPX EC80 are sold separately Note The total length of the expansion cables should be within 160 cm When using the expansion cable AFPX EC30 or EC80 keep it away from the devices and wirings generating noises as much as possible Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email...

Page 78: ...trol unit and the one left side of the expansion I O unit 3 Push the expansion connector cable inside to touch the units each other 4 Set the terminator setting switch All the switches of the expansion unit installed at the last position should be on 5 Install the expansion cover Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 79: ...sion connector part 3 Push the expansion connector cable inside 4 Install the expansion cover Note Although there is no terminator setting switch for the expansion FP0 adapter the terminator setting has been done within the expansion FP0 adapter Turn off the terminator setting switches of the other expansion units Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 80: ...nsion and expansion hook on the side of the unit 1 Raise the expansion hooks on the top and bottom sides of the unit with a screwdriver 2 Align the pins and holes in the four corners of the control unit and expansion unit and insert the pins into the holes so that there is no gap between the units 3 Press down the expansion hooks raised in step 1 to secure the unit Phone 800 894 0412 Fax 888 723 4...

Page 81: ...l unit Installation on the control unit Connect the connector on the back of the communication cassette and the connector of the cassette mounting part of the control unit and secure the two positions bottom left and top right with the screws It is no problem if the ribs remain AFPX COM5 has no rib The screw s tightening torque should be 0 3 to 0 5 N m Screw securely Installation on the applicatio...

Page 82: ...cassette mounting part of the control unit and secure the two positions bottom left and top right with the screws The screw s tightening torque should be 0 3 to 0 5 N m Screw securely 5 4 3 Precautions on Installation Do not touch the back side of the add on cassette and the connector The parts such as IC etc may be damaged by static electricity 5 4 4 State When Add on Cassette is Installed Phone ...

Page 83: ...y range 100 to 240 V AC 85 to 264 V AC 50 60 Hz 47 to 63 Hz Note Using the power supply of the outlying voltage and frequency or using inappropriate wires may cause the fault of the power supply of the PLC Reference 5 7 Wiring of Terminal Block Isolation of power supply systems Isolate the wiring systems to the FP X output devices and mechanical power apparatus Phone 800 894 0412 Fax 888 723 4773 ...

Page 84: ...isolation transformer Also twist the power supply cables to minimize adverse effects from noise Grounding Ground the instrument to increase noise suppression Exclusive grounding For grounding purposes use wiring with a minimum of 2 mm 2 The grounding connection should have a resistance of less than 100Ω The point of grounding should be as close to the PLC unit as possible The ground wire should be...

Page 85: ...4 VDC 20 4 to 28 8 VDC Note Using the power supply of the outlying voltage or using inappropriate wires may cause the fault of the power supply of the PLC Reference 5 7 Wiring of Terminal Block Isolation of power supply systems Isolate the wiring systems to the FP X output devices and mechanical power apparatus Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 86: ...isolation transformer Also twist the power supply cables to minimize adverse effects from noise Grounding Ground the instrument to increase noise suppression Exclusive grounding For grounding purposes use wiring with a minimum of 2 mm 2 The grounding connection should have a resistance of less than 100Ω The point of grounding should be as close to the PLC unit as possible The ground wire should be...

Page 87: ...ing power supply for the input of the FP X control unit To protect the system against erroneous voltage from the power supply line use an insulated power supply with an internal protective circuit electric cable that reinforced insulation or double insulation has been made The regulator on the unit is a non insulated type To turn the power supplies on simultaneously supply the power for the expans...

Page 88: ...ng off Power supply for FP X Expansion FP0 adapter Power supply for FP0 Power supplies for I O devices Grounding In situations of excess noise Under normal conditions the inherent noise resistance is sufficient However in situations of excess noise ground the instrument to increase noise suppression Exclusive grounding The grounding connection should have a resistance of less than 100Ω The point o...

Page 89: ...ead switch make sure that the on voltage applied to the PLC input terminal is greater than 21 6V DC In particular take care when connecting a number of switches in series Precaution when using two wire type sensor If the input of PLC does not turn off because of leakage current from the two wire type sensor photoelectric sensor or proximity sensor the use of a bleeder resistor is recommended as sh...

Page 90: ...sumption current of the device side before it is connected If excess current is being supplied for a long time the power supply may be damaged 5 6 2 Output Wiring Do not connect a load that exceeds the maximum switching ability to the output terminal Protective circuit for inductive loads With an inductive load a protective circuit should be installed in parallel with the load When switching DC in...

Page 91: ...these wirings are separated from the power wiring as much as possible Do not route them through the same duct or wrap them up together Separate the input output wires from the power and high voltage wires by at least 100mm Wirings other than the above specifications or incorrect wirings may cause the fault or malfunction Others Wiring should be carried out after the power supply to the PLC was tur...

Page 92: ...fg Co Ltd Round type 1 25 MS3 0 25 to 1 65 Fork type 1 25 B3A Round type 2 MS3 1 04 to 2 63 Fork type 2 N3A Suitable wires Suitable wires Tightening torque AWG22 to 14 0 3 to 2 0 mm 2 The tightening torque should be 0 5 to 0 6 N m Connection to the terminal block When using the round type terminal remove the terminal cover Note Install the terminal block cover as it was after wiring to prevent ele...

Page 93: ...nal blocks used for C30 C60 E30 can be removed for fitting the screws The terminal block for C14 E16 cannot be removed The tightening torque should be 0 25 to 0 35 N m Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 94: ...sectional area mm2 Size Part No With insulating sleeve Without insulating sleeve Phoenix Contact Co 0 25 AWG 24 AI 0 25 6 BU 0 34 AWG 22 A 0 34 6 0 50 AWG 20 A 0 5 6 0 75 AWG 18 1 00 AWG 18 0 5 2 AWG 20 for 2 pHs Pressure welding tool for pole terminals Manufacturer Part No Product No Phoenix Contact Co CRIMPFOX UD6 1204436 For tightening the terminal block When tightening the terminals of the ter...

Page 95: ...s to connect them Do not solder the wires to connect them The solder may break due to vibration After wiring make sure stress is not applied to the wire In the terminal block socket construction if the wire closes upon counter clockwise rotation the connection is faulty Disconnect the wire check the terminal hole and then re connect the wire If two wires are connected to the plus terminal and minu...

Page 96: ...enyl Max 0 6 mm Approx 6 2 mm VCTF 0 5 mm 2 x 2C JIS Shielded multicore cable 0 3 mm 2 AWG22 or greater Max 58 8 Ω km Vinyl chloride Max 0 3 mm Approx 6 6 mm Onamba Co Ltd ONB D6 x 0 3 mm 2 Note Use shielded twisted pair cables Use only one type of transmission cable Do not mix more than 1 type Twisted pair cables are recommended in noisy environments When using shielded cable with crossover wirin...

Page 97: ... setting the system registers No 6 to No 13 using a programming tool All points can be also held Timer and counter Elapsed value area EV1008 to EV1023 Internal relay R2480 to R255F Data register C14 DT12230 to DT12284 C30 C60 DT32710 to DT32764 Step ladder None Link relay None Link register None Special data register Clock calender None All points Type of backup battery Sold separately Name Batter...

Page 98: ...n hold area The settings of the operation memory area such as data regiters and system registers No 6 to No 14 are necessary Note When Battery Error Alarm is not set the ERR LED will not flash even if a battery error is detected Note that data may be lost as the result of the battery shutoff The setting of the system registers Nos 6 to 14 is effective only when the backup battery is mounted Withou...

Page 99: ... Remove the battery cover using a tool such as a screwdriver 4 Remove the used battery 5 Install a new battery within two minutes after turning off the power Place the battery to fit into the guide section of the control unit and connect the connector 6 Install the battery cover and expansion cover Note If the power is not sufficiently supplied or it takes too much time to replace the battery reta...

Page 100: ...ime is the value when no power at all is supplied Note2 Note that the lifetime may be shorter than the typical lifetime depending on the use conditions Note3 The battery is used for the battery detection circuit even when power is supplied Detection of battery error and time for replacement Special internal relays R9005 and R9006 will go on if the battery voltage drops Create a program to announce...

Page 101: ...such as inverters do not ground them together Use an exclusive ground for each device The terminal block cover must be used for preventing electric shock 5 10 2 Momentary Power Failures Operation of momentary power failures If the duration of the power failure is less than 10 ms the FP X continues to operate If the power is off for 10 ms or longer operation changes depending on the combination of ...

Page 102: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 103: ...Chapter 6 Tool Port and USB Port Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 104: ...ice 3 Receive Data RD Unit External device 4 Not used 5 5V 5V Unit External device The followings are the default settings set when the unit is shipped from the factory Baud rate 9600 bps Character bit 8 bit Parity check Odd parity Stop bit length 1 bit USB connector The connector is the commercial B type This is a connector to connect the programming tool Commercial USB cables AB type can be used...

Page 105: ...eived from the computer so no program is necessary on the PLC side in order to carry out communication General purpose serial communication With general purpose serial communication data can 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 X while...

Page 106: ...on mode Click on and select Computer Link No 413 Communication Format setting Default setting Char Bit 8 bits Parity Odd Stop Bit 1 bit Terminator Cannot be specified Header Cannot be specified To change the communication format to match an external device connected to the tool port enter the settings for the various items The terminator and the header cannot be changed No 415 Baud rate setting Th...

Page 107: ... change the communication format to match an external device connected to the tool port enter the settings for the various items No 415 Baud rate setting The default setting for the baud rate is 9600 bps Change the value to match the external device connected to the tool port Click on and select one of the values from 2400 4800 9600 19200 38400 57600 and 115200 bps No 420 Starting address for data...

Page 108: ...ns received A proprietary MEWNET protocol called MEWTOCOL COM is used to exchange data between the computer and the PLC There are two different communication methods 1 1 and 1 N communication A 1 N network is called a C NET The maximum of 99 FP X units can be connected with one personal computer The PLC answers automatically to the commands received from the computer so no program is necessary on ...

Page 109: ...g No 411 unit number The unit number can be set within a range of 1 to 99 No 412 Communication mode Select Internal USB for the port selection The communication mode is Computer Link No 414 for COM2 port Communication Format setting Default setting Char Bit 8 bits Parity Odd Stop Bit 1 bit Terminator CR fixed Header No STX fixed To change the communication format to match an external device connec...

Page 110: ...d via the COM port Note that the USB is equivalent to the serial port Necessary items for the connection About PC The PC with the following OS is necessary to connect the FP X with the USB Windows 98 Second Edition Windows Me Windows 2000 Windows XP Note The FP X cannot be connected with the USB cable when using Windows 95 About programming tool The following programming tool is necessary Relay ty...

Page 111: ... type Ver 2 50 or later version Transistor type Ver 2 70 or later version before connecting the FP X with a PC Note Do not connect the FP X to a PC with the USB cable before the FPWIN GR is installed or during the installation If they are connected the USB driver will not be installed correctly Reference 6 3 9 Reinstallation of USB Driver Reference For the information on the installation of the FP...

Page 112: ...tall these 2 drivers if the positions of the USB connecters are changed In that case reinstall the drivers With Windows XP 1 Turn on the power supply of the FP X and connect the FP X with a PC using the USB cable 2 After the connection the PC recognize the USB driver automatically As the following message is shown select No not this time and click Next Note This display is not be shown with Window...

Page 113: ... and click Next 4 The installation of the USB driver starts Although an alert for the Windows logo testing is indicated during the installation click Continue Anyway to continue the installation Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 114: ...k Finish 6 After that the PC recognizes the USB COM conversion driver automatically As the next message is shown select No not this time and click Next Note This display is not be shown with Windows XP SP1 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 115: ... and click Next 8 The installation of the USB driver starts Although an alert for the Windows logo testing is indicated during the installation click Continue Anyway to continue the installation Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 116: ...e is shown and the installation of the USB COM conversion driver completes Click Finish The installation of the USB driver has been completed Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 117: ... Note that the messages during the installation are not indicated With Windows 98 Second Edition 1 After the connection the PC recognizes the USB driver automatically As the following message is shown click Next 2 The next message is shown Select Search for the best driver for your device and click Next Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 118: ...lowing folder name in Specify a location c Program Files Panasonic MEW Control FP X USB Uncheck the other boxes and then click Next 4 As the next message is shown click Next Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 119: ... USB driver completes Click Finish The installation of the USB driver has been completed It is not necessary to install the USB COM conversion driver with Windows 98Second Edition Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 120: ...s connected to the PC with the USB cable The display method varies depending on the OS in the PC to be used In case of Windows XP My computer View System information Click Hardware tab Click Device Manager In case of Windows 2000 My computer Control panel System Click Hardware tab Click Device manager Click View menu Device by type With Windows 98 Second Edition Windows Me My computer Control pane...

Page 121: ...r COM n COM9 is allocated in the following display is the allocated COM port Key Point COM port No is necessary for the connection with the FPWIN GR etc Note When CP210x USB to UART Bridge Controller in Other devices or Unknown device is indicated the installation has been failed Reinstall the USB driver Reference 6 3 9 Reinstallation of USB Driver Phone 800 894 0412 Fax 888 723 4773 Web www clrwt...

Page 122: ...he communication setting as the table below Once the setting has been completed the communication with the USB becomes available Network type C NET RS232C Port No COM port No allocated for the USB Baud rate Specify 115200 bps Communicates with 115200 bps when the USB is connected Data length 8 bits Stop bit 1 bit Parity Odd Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr c...

Page 123: ...onfirming COM Ports 2 If CP210X USB to UART Bridge Controller is indicated in Other devices or Unknown device the installation of the USB driver has been failed Reinstallation of the USB driver Right click CP210X USB to UART Bridge Controller and select Delete to delete the driver Reinserting the USB cable displays the window for the installation of the USB driver Reinstall the USB driver Referenc...

Page 124: ... is the same when the system registers are initialized When USB port is not used When USB port is used AFPX COM1 5 wire 1 channel RS232C 3 wire 1 channel RS232C RS and CS control is not available AFPX COM2 3 wire 2 channel RS232C 3 wire 1 channel RS232C The 2nd channel cannot be used AFPX COM3 No restrictions 1 channel RS485 RS422 AFPX COM4 1 channel RS485 1 channel RS232C 1 channel RS485 RS232C c...

Page 125: ...Chapter 7 Communication Cassette Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 126: ...nication Cassette Note There are restrictions on the combination of the USB port and communication cassette for C30 C60 only Reference 7 1 6 About USB Port For C30 C60 Only Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 127: ...FP X relay type Ver1 20 or former version 2 Both the master and slave functions are available for the FP X transistor type and relay type Ver1 21 or later version however the master function is not available for the TOOL port MEWTOCOL master function Transistor type and relay type Ver1 21 or later version This function is to carry out the communication on the master side side 0that issues commands...

Page 128: ...C or C language according to the MEWTOCOL COM MEWTOCOL COM contains the commands used to monitor and control PLC operation General purpose serial communication With general purpose serial communication data can 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 progr...

Page 129: ...s and link registers in any one PLC is fed back to all of the other PLCs connected to the network so control of 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 the data of all units are updated at the same time Link relay In the figure below when link relay L0 of the master station no 1 tur...

Page 130: ...The MODBUS RTU communication is a function for the master unit to read and write the data in slave units communicating between them There are ASCI mode and RTU binary mode in the MODBUS protocol however the FP X is supported with the RTU binary mode only Master function Writing and reading data for various slaves is available using the F145 SEND and F146 RECV instructions Individual access to each...

Page 131: ...P X communication cassette 1 channel RS485 RS422 isolated AFPX COM3 FP X communication cassette 1 channel RS485 isolated 3 wire type 1 channel RS232C AFPX COM4 FP X communication cassette Ethernet 3 wire type 1 channel RS232C AFPX COM5 FP X communication cassette 2 channel RS485 isolated non isolated between channels AFPX COM6 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwt...

Page 132: ...munication Computer link Available General purpose serial communication Available PC PLC link Available Note MODBUS RTU Available Note Number of units is 2 2 channel RS232C Type Product No AFPX COM2 This communication cassette is a 2 channel unit with a non isolated three wire RS232C port LED indication Terminal layout Pin name Name Signal direction Port S1 Send Data 1 FP X External device COM1 po...

Page 133: ... RS422 1 2 3 ON OFF 4 ON for terminal unit Change the switch at the back of the cassette depending on the state of the communication 1 1 communication 1 N communication Computer link Available General purpose serial communication Available PC PLC link Available Note MODBUS RTU Available Note When using this cassette the data is always transmitted by the STOP bit2 regardless the setting of stop bit...

Page 134: ...ta FP X External device SG Signal Ground 1 1 communication 1 N communication Computer link Available General purpose serial communication Available PC PLC link Available Note1 MODBUS RTU Available Note1 Only the RS485 can be used COM1 port Note2 The RS232C of the COM2 port is not available when using the USB port of the FP X Note3 When using this cassette the data is always transmitted by the STOP...

Page 135: ... is used to restore the setting to the factory default in such a case that an error occurred in communication The setting is initialized by turning on electricity with the switch being on After initialization turn off the power supply of the main unit and then turn the switch off Normal communication OFF Default 1 1 communication 1 N communication A maximum of 3 connections are available with the ...

Page 136: ...t Note The baud rate for the COM1 port is specified only by the system register However for the COM2 port it should be specified by the switches and the system register 1 1 communication 1 N communication Computer link Available General purpose serial communication Available PC PLC link Available Note1 Note Only t he COM1 port can be used MODBUS RTU Available Note1 For the COM1 port the data is al...

Page 137: ...f the COM 1 port should be connected to the CS AFPX COM2 2 channel 3 wire RS232C AFPX COM3 1 channel RS485 RS422 Using RS485 Using RS422 Note There are several names for the signal names of RS422 Confirm with the instruction manuals for each device Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 138: ...d 1 channel 3 wire RS232C AFPX COM5 1 channel Ethernet and 1 channel 3 wire RS232C AFPX COM6 2 channel RS485 Note Non insulated between the COM1 and COM2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 139: ...ink cannot be used with the AFPX COM5 7 1 6 About USB Port For C30 C60 Only The USB port is allocated to the COM2 port and the functions of the communication cassette are restricted as below when the USB port is used The USB port is available in the default setting It is the same when the system registers are initialized When USB port is not used When USB port is used AFPX COM1 5 wire 1 channel RS...

Page 140: ...f duplex communi cation Half duplex communication Two wire half duplex communi cation Token bus Floating master Half duplex communication Two wire half duplex communi cation Note1 Although it has adequate tolerance to noise it is recommendable to make a program to execute retransmission in order to improve reliability of the communication when a communication error occurs due to excessive noises o...

Page 141: ...commercially available device that has an RS485 interface please confirm operation using the actual device In some cases the number of units transmission distance and baud rate vary depending on the connected device Note2 The values for the transmission distance baud rate and number of units should be within the values noted in the graph below When using a baud rate of 300 bps to 38400 bps you can...

Page 142: ...00BASE TX Connector shape RJ45 Transmission specifications Baud rate 100 Mpbs 10 Mbps Transmission method Baseband Max segment length 100 m Note1 Communication cable UTP Category 5 Protocol TCP IP UDP IP ICMP ARP DHCP Function Auto negotiation function MDI MDI X Auto crossover function Note1 The length between a HUB and the module Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info c...

Page 143: ...ineeye Co Ltd in the RS485 communication adjust the response time by this instruction if necessary SYS1 instruction This is to delay a response for n scan time to be specified Example When R0 turns on the response of COM1 port RS485 port delays for two scans If the scan time is 500µs it delays for 1 ms Reference FP series Programming manual ARCT1F313E Phone 800 894 0412 Fax 888 723 4773 Web www cl...

Page 144: ...L slave function for the computer link The side that issues commands is called master and the side that receives the commands executes the process and sends back responses is called slave Note It is necessary to set the system register of the communication port to the computer link for using this function 1 Only the slave function is available for the FP X relay type Ver 1 20 or former version 2 B...

Page 145: ...er link function and the MEWTOCOL COM Our devices e g PLC IPD temperature control unit eco power meter MEWTOCOL slave function This function is to receive commands from the computer link execute the process and send back the results Any special ladder program is not necessary to use this function Set the communication conditions in the system registers It enables the 1 1 or 1 N communication with ...

Page 146: ...mand regardless of the sequence program and sends a response back to the computer MEWTOCOL COM sketch Communication is carried out in a conversational format based on the MEWTOCOL COM communication procedures Data is sent in ASCII format The computer has the first right of transmission The right of transmission shifts back and forth between the computer and the PLC each time a message is sent Phon...

Page 147: ...ommand The content should be noted in all upper case characters following the fixed formula for the particular command 4 Check code BCC block check code for error detection using horizontal parity The BCC should be created so that it targets all of the text data from the header to the last text character The BCC starts from the header and checks each character in sequence using the exclusive OR op...

Page 148: ...racters Max 2048 characters Response message The PLC that received the command in the example above sends the processing results to the computer 1 Header start code A ASCII code H25 or ASCII code H3C must be at the beginning of a message The response must start with the same header that was at the beginning of the command 2 Unit number The unit number of the PLC that processed the command is store...

Page 149: ...ay not have arrived at the PLC or the PLC may not be functioning Check to make sure all of the communication specifications e g baud rate data length and parity match between the computer and the PLC If the response contains an instead of a the command was not processed successfully The response will contain a communication error code Check the meaning of the error code Unit number and command nam...

Page 150: ...the timer counter elapsed value Register or Reset contacts monitored MC Registers the contact to be monitored Register or Reset data monitored MD Registers the data to be monitored Monitoring start MG Monitors a registered contact or data using MD and MC Preset contact area fill command SC Embeds the area of a specified range in a 16 point on and off pattern Preset data area fill command SD Writes...

Page 151: ...rt operation mode Click on and select Computer Link No 413 for COM1 port No 414 for COM2 port Communication Format setting Default setting Char Bit 8 bits Parity Odd Stop Bit 1 bit Terminator CR Header STX not exist To change the communication format to match an external device connected to the COM port enter the settings for the various items No 415 Baud rate communication speed setting The defau...

Page 152: ...ting for COM2 port 2400 to 115200 bps The communication format and baud rate communication speed should be set to match the connected computer Note They are set in different bit positions of the same system register no so the different settings are possible for port 1 and port 2 The baud rates of 300 600 and 1200 bps can be specified by the SYS1 instruction However the setting value of the system ...

Page 153: ...channel RS232C type Using AFPX COM2 2channel RS232C type Using AFPX COM3 RS422 setting 1 channel RS485 RS422 type Note There are several names for the signal names of RS422 Confirm with the instruction manuals for each devices Using AFPX COM4 Combination of 1 channel RS485 and 1 channel RS422 type Using AFPX COM5 Combination of Ethernet and 1 channel RS232C type Phone 800 894 0412 Fax 888 723 4773...

Page 154: ... program is required for communication Simply set the mutual communications settings to operate the PLC via the programmable display Using AFPX COM1 1 channel RS232C type Using AFPX COM2 2channel RS232C type Using AFPX COM3 RS422 setting 1 channel RS485 RS232C type Using AFPX COM4 Combination of 1 channel RS485 and 1 channel RS232C type Using AFPX COM5 Combination of Ethernet and 1 channel RS232C ...

Page 155: ...a C NET adapter a maximum of 32 units stations can be specified No 412 Selection of communication mode for COM1 port Computer link No 413 Communication format for COM1 port Data length Parity check Stop bit Terminator Header 7 bits 8 bits None Odd Even 1 bit 2 bit CR STX not exist No 415 Baud rate setting for COM1 port Note3 2400 to 115200 bps Note1 The communication format and baud rate communica...

Page 156: ...register Setting unit numbers with the system register A unit number between 1 and 99 can be set with the system register To set unit numbers with the FPWIN GR programming software Select Options in the menu bar and then select PLC Configuration Click COM Port There are separate tabs for setting the COM1 and COM2 Dialog box of PLC system register setting No 410 for COM1 port No 411 for COM2 port u...

Page 157: ... terminal Use the wires of the same cross sectional area which should be 0 5 mm 2 AFPX COM6 Connection diagram In case of using the AFPX COM6 connect two cables each to the terminal and terminal Use the wires of the same cross sectional area which should be 0 5 mm 2 Note Non insulated between the COM1 and COM2 Setting of terminal unit The terminal unit is specified with the dip switch located in t...

Page 158: ...ta send or F146 RECV Data receive instruction to use the MEWTOCOL master function Sample program Note Available for the transistor type and relay type Ver 1 21 or later version only Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 159: ...ched 2 Writes the DT50 and DT51 of the local unit into the data DT0 and DT1 in the unit number 1 from the COM1 port 3 Reads the data DT0 and dT1 in the unit number 1 into the data DT60 and DT61 of the local unit from the COM1 port Note The above COM1 port will be COM2 port for the COM2 port Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 160: ... in these operations to transfer data between the FPΣ and an external device Sending data Data to be transmitted from the PLC is stored in the data register used as the send buffer DT When F159 MTRN is executed the data is output from the COM port The terminator specified in the system register is automatically added to the data that has been sent The maximum volume of data that can be sent is 204...

Page 161: ... Bit 1 bit Terminator CR Header STX not exist Enter the appropriate settings to match the communication format of the external device connected to the COM port No 415 Baud rate communication speed setting The default setting for the communication speed for the various ports is 9600 bps Change the value to match the external device connected to the COM port Click on and select one of the values fro...

Page 162: ...arting from DT100 are sent from COM1 port Receiving data Reception of data is controlled by turning the reception done flags R9038 R9048 on and off The received data is stored in the receive buffer specified in the system register Data can be received when F159 MTRN turns the reception done flag off When the reception of the data is completed the terminator is received the reception done flag turn...

Page 163: ...Data table for transmission send buffer Sample program for sending data The following program transmits the characters ABCDEFGH Hex to an external device using COM1 port The program described above is executed in the following sequence 1 ABCDEFGH is converted to an ASCII code and stored in a data register 2 The data is sent from COM1 port using the F159 MTRN instruction Explanatory diagram Phone 8...

Page 164: ...he specified quantity of data has been transmitted the S value is cleared to 0 and the transmission done flag R9039 R9049 turns on When you do not wish to add the terminator end code during transmissions Specify the number of bytes to be transmitted using a negative number If you also do not wish to add a terminator to received data set system register 413 or 414 to Terminator None Programming exa...

Page 165: ...red in the receive buffer 2 The reception done contact R9038 R9048 is turned on 3 The received data is sent from the receive buffer to the area starting with data register DT0 4 The F159 MTRN instruction is executed with no data to reset the buffer writing point and to turn off the reception done contact R9038 R9048 The system is now ready to receive the next data The data in the receive buffer is...

Page 166: ... data is prohibited When the terminator has been set to None the reception done flag does not turn on Check the number of received bytes to judge whether the reception has completed or not 3 When an F159 MTRN instruction is executed the reception done flag R9038 R9048 turns off except the case when the terminator has been set to None the number of received bytes is cleared and subsequent data is s...

Page 167: ...of the data being sent There is no terminator on the data stored in the receive buffer Sending data Data written to the send buffer will be sent just as it is Example The data 12345 is transmitted as an ASCII code to an external device 1 Data sent using the F95 ASC instruction should be converted to ASCII code data 2 If DT100 is being used as the send buffer data will be stored in sequential order...

Page 168: ...e flag R9039 or R9049 goes off Duplex transmission is disabled while F159 MTRN is being executed The transmission done flag R9039 or R9049 must be observed Reception stops if the error flag R9037 or R9047 goes on To resume reception execute the F159 MTRN instruction which turns off the error flag Note Be aware that the reception done flag R9038 or R9048 changes even while a scan is in progress e g...

Page 169: ...e the reception done flag R9038 or R9048 is on Also When F159 MTRN is executed the number of bytes received is cleared and the address write pointer in the receive buffer is reset to the initial address If there are two headers data following the second header overwrites the data in the receive buffer The reception done flag R9038 or R9048 is turned off by the F159 MTRN instruction Therefore if F1...

Page 170: ...he data is transmitted to an external device When the F159 MTRN instruction is executed the transmission done flag R9039 or R9049 goes off Duplex transmission is disabled while F159 MTRN is being executed The transmission done flag R9039 or R9049 must be observed Key Point The contact numbers in parentheses refer to COM2 port Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr...

Page 171: ...tion Changing from general purpose to computer link Changing from computer link to general purpose The COM port communication mode flag in R9032 or R9042 turns on when general purpose serial communication mode is selected Note When the power is turned on the operating mode selected in system register no 412 takes effect It is not possible to change to the MODBUS RTU mode Phone 800 894 0412 Fax 888...

Page 172: ... of communication mode for COM2 port General purpose serial communication No 414 Communication format for COM2 port Data length Parity check Stop bit Terminator Header 7 bits 8 bits None Odd Even 1 bit 2 bits CR CR LF None ETX No STX STX No 415 Baud rate setting for COM2 port Note2 2400 to 115200 bps No 418 Starting address for receive buffer for COM2 port DT0 to DT32764 Initial value DT2048 Note1...

Page 173: ...e error code In addition to data area read and write commands MEWTOCOL COM also provides contact area read and write as well as many other commands System register settings of FP series PLCs FP0 side In the default settings the COM port is set not to be used For 1 1 general purpose serial communication the system registers should be set as shown below Communication format settings for FP series PL...

Page 174: ...annel RS232C type Connection with FP0 COM port Using AFPX COM4 Combination of 1 channel RS485 and 1 channel RS232C type Connection with FP0 COM port Using AFPX COM5 Combination of Ethernet and 1 channel RS232C type Connection with FP0 COM port Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 175: ...on In this example an FP series PLC is connected to COM1 port K100 and K200 are respectively being stored in DT0 and DT1 of the PLC on the other end Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 176: ...ple the FP series PLC is connected to COM1 port Buffer statuses The tables below show the statuses of the send and receive buffers when the sample program is run Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 177: ...er end In the program the data segment of the response from the PLC on the other end is converted to hexadecimal data using the F72 AHEX hexadecimal ASCII hexadecimal data conversion instruction and stored in DT50 and DT51 only if the character string 1 stored in DT1 is detected as a comparison instruction If an error occurs 01 C R is returned as the response is the error code and is the BCC Note ...

Page 178: ...The values of DT50 and DT51 are written in DT0 and 1 of PLC Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 179: ...top bit Terminator Header 7 bits 8 bits None Odd Even 1 bit 2 bits CR CR LF None ETX No STX STX No 415 Baud rate setting for COM1port Note3 2400 to 115200 bps No 416 Starting address for receive buffer for COM1port DT0 to DT32764 Initial value DT0 No 417 Receive buffer capacity for COM1port 0 to 2048 words Initial value 2048 words Note1 The communication format and baud rate should be set to match...

Page 180: ...k relays and link registers of one PLC are automatically fed back to the other PLCs on the same network PC PLC link is not the default setting Therefore the setting of system register COM1 Port setting communication mode no 412 must be changed to PC Link in order to use this function Unit numbers and link areas are allocated using the system registers It is available with the COM1 port only Phone ...

Page 181: ... same link relay in all other PLCs on the same network Likewise if the contents of a link register in one PLC are changed the values of the same link register are changed in all PLCs on the same network Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 182: ...2 Communication Mode Select the COM1 port operation mode Click on and select PC Link Key Point When using a PC PLC link the communication format and baud rate are fixed No Name Set Value No 413 Communication format for COM 1port Data length Parity check Stop bit Terminator Header 8 bits Odd 1 bit CR STX not exist No 415 Baud rate setting for COM1 port 115200 bps Note1 The terminal units of AFPX CO...

Page 183: ... registers Note2 Unit numbers should be set sequentially and consecutively starting from 1 with no breaks between them If there is a missing unit number the transmission time will be longer Note3 If fewer than 16 units are linked the transmission time can be shortened by setting the largest unit number in system register no 47 Unit numbers are the numbers to identify the different PLCs on the same...

Page 184: ...nit number between 1 and 16 Note1 Unit numbers should be set sequentially and consecutively starting from 1 with no breaks between them If there is a missing unit number the transmission time will be longer Note2 If fewer than 16 units are linked the transmission time can be shortened by setting the largest unit number in system register no 47 Setting with SYS instruction Reference FP series Progr...

Page 185: ...s 52 Starting number for link relay transmission 64 64 to 127 53 Link relay transmission size 0 0 to 64 words 54 Starting number for link data register transmission 128 128 to 255 55 Link data register transmission size 0 0 to 128 words 57 Maximum unit number setting for MEWNET W0 PC PLC link 16 1 to 16 Note Note The same maximum unit number should be specified for all the PLCs connected in the PC...

Page 186: ...range of link relays used must be set to the same range for all the units Link register allocation System registers No Name Setting for various units No 1 No 2 No 3 No 4 41 Range of link registers used 128 128 128 128 44 Starting No for link register transmission 0 40 80 0 45 Link register transmission size 40 40 48 0 Note No 41 range of link registers used must be set to the same range for all th...

Page 187: ...ed must be set to the same range for all the units When link areas are allocated as shown above the No 1 send area can be sent to the No 2 No 3 and No 4 receive areas Also the No 1 receive area can receive data from the No 2 and No 3 send areas No 4 is allocated as a receive area only and can receive data from No 1 No 2 and No 3 but cannot transmit it to other stations Note The PC link 1 can be us...

Page 188: ...No No 40 Range of link relays used 50 No 42 Starting No of word for link relay transmission 20 No 43 Link relay transmission size 20 With the above settings the 14 words 224 points consisting of WL50 to WL63 can be used as internal relays Link register allocation No Name No No 41 Range of link registers used 100 No 44 Starting No for link register transmission 40 No 45 Link register transmission s...

Page 189: ...o 2 and No 3 which is overlapped and this will cause an error so that communication cannot be carried out Example of link relay allocations System registers No Name Set value of various control units No 1 No 2 No 3 No 40 Range of link relays used 64 64 64 No 42 Starting No of word for link relay transmission 0 20 30 No 43 Link relay transmission size 20 20 34 Invalid allocations The allocations sh...

Page 190: ...rtened by setting the largest unit number in system register no 47 in system register no 57 for PC PLC link 1 For all PLCs which are linked the same value should be set for the largest unit number If there are fewer than 16 units linked and the largest unit number has not been set default 16 or the largest unit number has been set but the unit number settings are not consecutive or the unit number...

Page 191: ... to unit no 1 to 16 The operation modes RUN PROG can be checked for any given PLC Relay no R9070 R9071 R9072 R9073 R9074 R9075 R9076 R9077 R9078 R9079 R907A R907B R907C R907D R907E R907F Unit no 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Conditions for on off ON When the unit is in the RUN mode ON When the unit is in the PROG mode PLC link transmission error relay R9050 This relay goes on if a problem...

Page 192: ...mmunication mode settings Setting for the FP X with unit no 1 No Name Set value No 410 Unit no for COM1 port 1 No 412 Selection of communication mode for COM1 port PC link Setting for the FPΣ with unit no 2 No Name Set value No 410 Unit no for COM1 port 2 No 412 Selection of communication mode for COM1 port PC link Setting for the FP2 MCU with unit no 3 Name Set value Unit no for COM1 port 3 Set u...

Page 193: ...control units No 1 No 2 No 3 No 41 Range of link registers used 128 128 128 No 44 Starting No for link register transmission 0 40 80 No 45 Link register transmission size 40 40 48 Setting the largest unit number No Name Set value No 47 Largest unit number setting for PC PLC link 3 Setting terminal unit The terminal unit is specified with the dip switch located in the communication cassette Referen...

Page 194: ...k relay goes on and when X2 is input L1 of the link relay goes on Unit no 2 When L0 of the link relay goes on Y0 is output Unit no 3 When L1 of the link relay goes on Y0 is output Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 195: ...te x 1000 x 11 ms Approx 0 096 ms at 115 2 kbps Twt Initial value 400 ms can be changed using SYS1 system register instruction Tls 7 x Ttx sending time per byte Ttx 1 baud rate x 1000 x 11 ms Approx 0 096 ms at 115 2 kbps Tso Master station scan time Calculation example 1 When all stations have been added to a 16 unit link the largest station number is 16 relays and registers have been evenly allo...

Page 196: ...5 ms Ttx 0 096 Each Pcm 23 32 64 x 4 407 bytes Tpc Ttx x Pcm 0 096 x 407 39 072 ms Each Ts 5 39 072 44 072 ms Tlt 0 096 x 13 2 x 2 1 632 ms Given the above conditions the maximum value for the transmission time T of one cycle will be T max 44 072 x 2 1 632 5 94 776 ms Calculation example 6 When all stations have been added to a 2 unit link the largest station number is 2 32 relays and 2 register w...

Page 197: ... no 2 10 to 400 10 ms to 400 ms Note Enter one space after M and then enter 12 characters to be aligned to the right If the second keyword is 2 digits put 2 spaces and if it is 3 digits put one space Note If there are any units that have not been added to the link the setting should not be changed as long as a longer link transmission cycle time does not cause any problem The SYS1 instruction shou...

Page 198: ...o 6400 ms Note Enter one space after M and then enter 12 characters to be aligned to the right If the second keyword is 3 digits put 2 spaces and if it is 4 digits no space is needed Note The setting should not be changed as long as a longer transmission assurance relay detection time does not cause any problems The SYS1 instruction should be executed at the beginning of the program at the rise of...

Page 199: ...an be used About MODBUS RTU The MODBUS RTU communication is a function for the master unit to read and write the data in slave units communicating between them There are ASCII mode and RTU binary mode in the MODBUS protocol however the FP X is supported with the RTU binary mode only Master function Writing and reading data for various slaves is available using the F145 SEND and F146 RECV instructi...

Page 200: ...mand Response in abnormal status In case a parameter disabled to be processed is found in a command except transmission error Slave address unit number Function code 80H Error code CRC One of either 1 2 or 3 Error code contents 1 Function code error 2 Device number error out of range 3 Device quantity error out of range Reception done judgment time The process for receiving a message completes whe...

Page 201: ...ad Write 4X Registers Read Write DT 4X Table for MODBUS reference No and FP X device No MODBUS reference No Data on BUS hexadecimal FP X device No Coil 000001 001760 0000 06DF Y0 Y109F 002049 006144 0800 17FF R0 R255F Input 100001 101760 0000 06DF X0 X109F Holding register Note 400001 432765 0000 7FFC DT0 DT32764 Input register 300001 300128 0000 007F WL0 WL127 302001 302256 07D0 08CF LD0 LD255 No...

Page 202: ...US RTU setting Reference MODBUS RTU Specifications It can be downloaded from our website http panasonic denko co jp ac e dl manual list plc jsp Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 203: ...ta send or F146 RECV Data receive instruction to use the MEWTOCOL master function Note Available for the transistor type and relay type Ver 1 21 or later version only Sample program Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 204: ...ched 5 Writes the DT50 and DT51 of the local unit into the data DT0 and DT1 in the unit number 1 from the COM1 port 6 Reads the data DT0 and dT1 in the unit number 1 into the data DT60 and DT61 of the local unit from the COM1 port Note The above COM1 port will be COM2 port for the COM2 port Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 205: ...S232C COM2 port Computer link General purpose serial communication MODBUS RTU 1 1 Note1 For Ver1 10 or later the PC PLC link function of the FP X is available via Ethernet 7 7 3 Additional Functions Ver 1 10 or Later Additional functions Support UDP IP too As it supports two protocols which are TCP IP 1 and UDP IP 2 communication with various devices on a network such as computers can be establish...

Page 206: ...Not available Available Server connection Broadcast Not available Available Unicast Not available Available General purpose communication Not selectable Broadcast Not available Available Unicast Not available Available Option setting Communication mode select Ver1 00 Ver1 10 Response timeout Not available Available End code Not available Available Judgment time without termination Not available Av...

Page 207: ... IP address automatically Note1 When selecting Obtain an IP address automatically an IP address is obtained from the DHCP server When selecting Use the following IP address an IP address is set manually Use the following IP address Unit name Unit name for Communication cassette AFPX COM5 can be specified FPX_ET IP address IP address of Communication cassette AFPX COM5 Set an IP address other than ...

Page 208: ...he state that connection is established connection will be cut Setting range 0 to 1800 s When 0 is set the connection will not be cut 0 Client setting Note2 Destination IP IP address of a destination device Set an IP address other than 0 0 0 0 and 255 255 255 255 192 168 1 100 Destination port No Destination port number of a destination device Setting range 1025 to 32767 9094 Source port No Source...

Page 209: ...code when selecting NONE The message data is transmitted to the connected destination 20 ms Network informa tion Information area first No Set the area of DT to be used for the network information and connection information Setting range 3000 to 12000 10000 Network information notification When the power turns on the network information will be notified to the FP X Invalid Network information conf...

Page 210: ...d monitoring is possible via LAN line by using a programming tool such as FPWIN GR Outline of operation Establish connection between a computer and the FP X In that case the connected computer is called Client and the connected FP X is called Server After connection establishment communication via TCP IP is conducted Up to 3 connections can be established at the specified source port Phone 800 894...

Page 211: ...ormat of the COM1 port Select Option PLC Configuration in the menu bar and click COM1 Port tab Dialog box of PLC system register setting COM1 port setting AFPX COM5 No Setting item Setting value No 410 Unit number 1 to 99 No 412 Communication mode Computer link No 413 Communication format Character bit 8 bits Parity check Odd Stop bit 1 bit Terminator CR Header STX not exist No 415 Baud rate 11520...

Page 212: ...select Communication Setting Dialog box of communication setting Note If the TCP is selected for the communication protocol up to three connections are established using the computer link Ethernet however when using the programming tool FPWIN GR for connection using registration monitor command multi frame more than two connections cannot be established Also If the UDP is selected for the communic...

Page 213: ...between the FP X and a computer using the computer link Ethernet System register setting of FP X specified using FPWIN GR Dialog box of PLC system register setting COM1 port setting AFPX COM5 No Setting item Setting value No 410 Unit number 1 No 412 Communication mode Computer link No 413 Communication format Char bit 8 bits Parity check Odd Stop bit 1 bit Terminator CR Header STX not exist No 415...

Page 214: ...mmunication mode Computer link Source port No 9094 Time out 0 Note1 Specify the same baud rate as the communication environment setting of the COM1 port of the FP X Setting of a computer IP address setting Item Default IP address 192 168 1 100 Note Subnet mask 255 255 255 0 Default gateway 192 168 1 1 Note The IP address of a computer is an example Set the IP addresses of the computer and communic...

Page 215: ...nds a response back to the computer It is no problem if the unit number of the PLC overlaps with other PLCs 1 N Communication setting Computer link Ethernet The settings for the FP X system register and communication cassette AFPX COM5 are the same as the settings for the connection computer link Ethernet by a 1 1 communication However set the IP address for a FP X not to overlap with other FP X u...

Page 216: ... of destination Destination port No 1025 to 32767 Source port No 0 1025 to 32767 Timeout 0 to 1800 secs Retry time 0 to 1800 secs Note1 Specify the same baud rate as the communication environment setting of the COM1 port of the FP X Note If you want to transmit data when connection is not established the connection can be established from the AFPX COM5 and data can be transmitted In the TCP it tak...

Page 217: ...e destination IP address is not required Note After the AFPX COM5 is powered on it will take about 5 seconds for initializing the Ethernet Until the Ethernet is initialized data cannot be transmitted or received For the Ethernet communication programming is necessary to start the communication after 5 seconds since the power turned on Generally as a router does not transmit a broadcast packet comm...

Page 218: ...00 of the master unit to the area form DT1010 of the slave unit 1 R102 Stores the data for 10 words from DT1000 of the slave unit 2 into the area from DT120 of the master unit R103 Writes the data for 10 words from DT130 of the master unit to the area form DT1010 of the slave unit 2 Set the system registers for each units by a tool software such as FPWIN GR System register setting Master unit No 4...

Page 219: ...nk Source port No 9094 Timeout 0 Not necessary 2 When using the MEWTOCOL master function in UDP UNICAST communication Set as follows for each unit using Configurator WD IP address setting Communication setting Option setting Master unit IP address 192 168 1 5 Netmask 255 255 255 0 Gateway 192 168 1 1 Communication protocol UDP Action mode Client connection Baud rate 115200 bps Communication mode C...

Page 220: ...11 Destination port No 9094 Source port No 0 Not necessary Slave unit 1 IP address 192 168 1 11 Netmask 255 255 255 0 Gateway 192 168 1 1 Communication protocol UDP Action mode Server connection Baud rate 115200 bps Communication mode Computer link Send type BROADCAST Source port No 9094 Not necessary Slave unit 2 IP address 192 168 1 2 Netmask 255 255 255 0 Gateway 192 168 1 1 Communication proto...

Page 221: ... sample program Reference For information on the F145 SEND and F146 RECV instructions 7 7 3 Communication Tool Software Configurator WD Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 222: ...vice connected to Ethernet by means of FP X data registers and the programs are required for the FP X Outline of operation Connection with an external device is established using the general purpose serial communication Ethernet Number of connection is one Select either the client mode or server mode In case of the client mode connection is established by the AFPX COM5 for a predetermined IP addre...

Page 223: ...on No 413 Communication format Character bit 8 bits Parity check Odd Stop bit 1 bit Terminator CR CR LF None Header STX not exist STX exists No 415 Baud rate 115200 bps 9600 bps Note1 Note1 Set the baud rate to match the baud rate COM1 port of the AFPX COM5 Setting Ethernet communication environment of Communication cassette AFPX COM5 The Configurator WD is used to set Ethernet communication envir...

Page 224: ...o 1800 s Note Specify the same baud rate as the communication environment setting of the COM1 port of the FP X When Communication cassette AFPX COM5 is in the TCP server mode Dialog box of communication setting Setting of AFPX COM5 Item Setting value Communication protocol TCP Action mode Client mode Baud rate COM1 115200 bps 9600 bps Note Communication mode General communication Destination port ...

Page 225: ...o 0 1025 to 32767 Note1 Specify the same baud rate as the communication environment setting of the COM1 port of the FP X Note2 When selecting BROADCAST the setting of the destination IP address is not required Note Initializing Ethernet takes approx 5 seconds on the AFPX COM5 after turning on the power supply Until it finishes data cannot be sent or received For Ethernet communication programming ...

Page 226: ...er 1 10 or Later Overview Data sharing is available using the PC PLC link function of the FP X via Ethernet How to use and set is the same as the PC PLC link via RS485 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 227: ...cation mode General purpose communication Send type BROADCAST Destination port No 1025 to 32767 Source port No 0 1025 to 32767 Note1 Specify the same number for the destination port No and the source port No for the AFPX COM5 to be used in the PC PLC link Setting communication environment of FP X The programming tool FPWIN GR is used to set the baud rate or communication format of the COM1 port Se...

Page 228: ...nformation notification Network information is notified to the FP X from the AFPX COM5 Network information is written to the data register of FP X by the AFPX COM5 2 Network information confirmation Network information on the AFP COM5 can be confirmed from the FP X The virtual data register within the AFP COM5 is read from the FP X 3 Connection information confirmation Connection information on th...

Page 229: ... and client setting DT10001 0x00 reserve Own IP address 2 nd DT10002 0x00 reserve Own IP address 3 rd DT10003 0x00 reserve Own IP address 4th DT10004 0x00 reserve Destination IP address 1st DT10005 0x00 reserve Destination IP address 2 nd DT10006 0x00 reserve Destination IP address 3 rd DT10007 0x00 reserve Destination IP address 4 th DT10008 Destination port No DT10009 Version of AFPX COM5 Note1 ...

Page 230: ... the general purpose communication start the communication after receiving the data area write command for the network information notification and after the response timeout time Sample program Set DT10000 in the network information notification area Network information confirmation When selecting the computer link and client setting the network information can be confirmed from the FP X by enabl...

Page 231: ...e connection information confirmation setting It can be confirmed by reading the confirmation area by the MEWTOCOL data area read command RD from the LAN For the memory area DT is fixed If the connection information confirmation setting is enabled the AFPX COM5 responds to the MEWTOCOL data area read command for the confirmation area regardless of unit numbers Phone 800 894 0412 Fax 888 723 4773 W...

Page 232: ...address takes priority and a command is transmitted via unicast Setting method 1 Check Destination unit number and IP address is specified in the Option dialog box 2 Check the destination unit number you want to set and double click the IP address Unit numbers 1 to 99 3 Specify the destination IP address that is corresponding to the unit number Note When connecting to the IP corresponding to a uni...

Page 233: ...ng value Communication method TCP IP Open method Active open Application in which connection is used General purpose communication Transparent communication Source node port No Arbitrary Destination node IP address IP address of the destination FP X Destination node port No 9094 can be changed Reference For information of the setting method of FP2 ET LAN unit FP2 ET LAN Unit Manual FP2 ET LAN Unit...

Page 234: ...tion method of the FP2 ET LAN unit to UDP IP Set the communication protocol of the AFP COM5 to UDP and set the send type to UNICAST Note For MEWTOCOL master function of the FP2 ET LAN unit MEWTOCOL COM is not available For communicating with the FP X by the computer link transmit the MEWTOCOL COM data format using the transparent communication on the FP2 ET LAN unit In this case an exclusive heade...

Page 235: ...program for communication Example of connection Setting of GV Use the GV Programmable Operator Terminal CVWIN to specify the Ethernet setting for the GV Select FP series Ethernet TCP IP in the dialog box of Select PLC type when creating a new file or select it from PLC Type Setting under System Setting in the menu bar Select Unit Setting under System Setting in the menu bar and click the IP Addres...

Page 236: ...work Table Setting Ethernet to open the screen to edit the network The network table number corresponds to the unit number of the FP X Set the IP address and port number corresponding to the unit number of the connected FP X Reference For the details of the settings for the GV GV42 GV52 GV62 Terminal GVWIN Additional Specifications GV series Communication Unit Manual Ethernet Phone 800 894 0412 Fa...

Page 237: ... case change the setting for PLC Type Setting of the GV to FP series Ethernet UDP IP Set the communication protocol of the AFP COM5 to UDP and set the send type to UNICAST Note For the Ethernet communication with the GV the computer link is used The GV is the master and the FP X is the slave It cannot be used if setting the FP X as the master Note that the unit numbers for the GV and FP X are not ...

Page 238: ...stall the AFPX COM5 on the FP X and turn on the power supply Note The Ethernet communication setting including the IP address cannot be changed when the switch at the back of the AFPX COM5 is on Always turn it off after initialization Setting for initialization IP address setting Item Default Get IP address Manual Unit name FPX_ET IP address 192 168 1 5 Subnet mask 255 255 255 0 Default gateway 19...

Page 239: ...Chapter 8 Application Cassette Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 240: ... cable 2 Add on the add on cassette in the cassette mounting part of the FP X control unit For the FP X the add on cassette application cassette and communication cassette can be installed on the FP X control unit The number of the expansion units that can be installed varies depending on the types of the control unit Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 241: ...nnel analog input isolated non isolated between channels 1 Channel analog output isolated CH0 CH1 WX10 WX20 WX11 WX21 WY10 WY20 AFPX A21 FP X thermocouple cassette 2 channel thermocouple input isolated isolated between channels CH0 CH1 WX10 WX20 WX11 WX21 AFPX TC2 FP X RTD cassette 2 channel RTD input insulated insulated between channels CH0 CH1 WX10 WX20 WX11 WX21 AFPX RTD2 FP X input cassette 8 ...

Page 242: ...T3 FP X pulse I O cassette Note2 2 channel high speed counter 1 channel pulse output From X100 From Y100 From X200 From Y200 AFPX PLS FP X master memory cassette Master memory Clock Calendar AFPX MRTC Note1 The I O numbers are the cassette mounting part 1 from X100 and Y100 and cassette mounting part 2 from X200 and Y200 Reference 4 5 I O Allocation of FP X Add on Cassette Note2 The pulse I O cass...

Page 243: ...contacts Input 32 points Note1 When the analog input values exceed the upper and lower limits the digital values maintain the upper and lower limit values As the resolution is 12 bits the higher 4 bits of the input contact are always 0 Note2 Following time is required to reflect the analog data in the input of the control unit Note3 Averaging cannot be processed with the cassette If averaging is n...

Page 244: ...nput current mA A D converted value 0 0 0 2 5 500 5 0 1000 7 5 1500 10 0 2000 12 5 2500 15 0 3000 17 5 3500 20 0 4000 When exceeding the rated range Input voltage V Converted value 0 mA or less Negative value 0 20 mA or more 4000 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 245: ...hannel data is allocated as I O data as shown below Analog input cassette Input channel Installed slot No Cassette mounting part 1 Slot 0 Cassette mounting part 2 Slot 1 CH0 WX10 WX20 CH1 WX11 WX21 Note Use double core twisted pair shielded wires It is recommended to ground them However depending on the conditions of the external noise it may be better not to ground the shielding Do not have the a...

Page 246: ...nsulation Between analog output terminal and internal digital circuit part Transformer insulation Isolation IC insulation Between each channel of analog output terminals Transformer insulation Isolation IC insulation Note1 When the digital value exceeds the upper and lower limits D A conversion will not be performed Note2 Following time is required to reflect the output of the control unit in the ...

Page 247: ...500 12 5 3000 15 0 3500 17 5 4000 20 0 When exceeding the rated range Digital input value Analog output value Negative value Unchanged Value preceding the input of a negative value 4001 or more Unchanged Value preceding the input of 4001 0 V to 10 V output Conversion characteristics graph Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 248: ...Cassette mounting part 1 Slot 0 Cassette mounting part 2 Slot 1 CH0 WY10 WY20 CH1 WY11 WY21 Note Use double core twisted pair shielded wires It is recommended to ground them However depending on the conditions of the external noise it may be better not to ground the shielding Do not have the analog output wiring close to AC wires power wires or load DA part Internal block diagram A voltage amplifi...

Page 249: ...esolution is 12 bits the higher 4 bits of the input contact are always 0 Note2 Following time is required to reflect the analog data in the input of the control unit Note3 Averaging cannot be processed with the cassette If averaging is necessary use a ladder program to execute averaging process Item Specifications No of output points 1 channels cassette Output range Voltage 0 to 10 V Current 0 to ...

Page 250: ...o 5 V 0 to 20 mA Output V Voltage output I Current output COM Common for output Note The CH0 and CH1 will be the same range according to switching of the SEL terminal However the inputs of 0 to 5 V and 0 to 20 mA can be used at the same time depending on the connection Connection method Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 251: ...ent mA A D converted value 0 0 0 2 5 500 5 0 1000 7 5 1500 10 0 2000 12 5 2500 15 0 3000 17 5 3500 20 0 4000 When exceeding the rated range Input voltage V Converted value 0 mA or less Negative value 0 20 mA or more 4000 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 252: ...A D converted value 0 0 0 1 0 400 2 0 800 3 0 1200 4 0 1600 5 0 2000 6 0 2400 7 0 2800 8 0 3200 9 0 3600 10 0 4000 When exceeding the rated range Input voltage V Converted value 0 V or less Negative value 0 10 V or more 4000 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 253: ...nnel data is allocated as I O data as shown below Analog input cassette Input channel Installed slot No Cassette mounting part 1 Slot 0 Cassette mounting part 2 Slot 1 CH0 WX10 WX20 CH1 WX11 WX21 Note Use double core twisted pair shielded wires It is recommended to ground them However depending on the conditions of the external noise it may be better not to ground the shielding Do not have the ana...

Page 254: ...0 5 0 1500 7 5 2000 10 0 2500 12 5 3000 15 0 3500 17 5 4000 20 0 When exceeding the rated range Digital input value Analog output value Negative value Unchanged Value preceding the input of a negative value 4001 or more Unchanged Value preceding the input of 4001 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 255: ...Output channel Installed slot No Cassette mounting part 1 Slot 0 Cassette mounting part 2 Slot 1 CH0 WY10 WY20 Note Use double core twisted pair shielded wires It is recommended to ground them However depending on the conditions of the external noise it may be better not to ground the shielding Do not have the analog output wiring close to AC wires power wires or load DA part Internal block diagra...

Page 256: ...ion Note1 When the wire of thermocouple is broken the digital value will change to K8000 within 70 seconds Practice in the ladder program a process for avoiding a risk would be resulting from a broken wire and exchange the thermocouple Note2 From the Power on to the converted data Ready the digital value will be K8001 Create a ladder program not to use the data obtained during that period Terminal...

Page 257: ...ge Switch backside Thermocouple type K Thermocouple type J K and J range Conversion characteristics graph When exceeding the rated range Input value Converted value 50 1 C or less K 501 500 1 C or more K 5001 or K 8000 When wire is broken K 8000 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 258: ...ction Note3 The digital value will be K20001 from the Power on to the converted data Ready approx 3 seconds or when an error occurs watchdog timer time out error on the microcomputer for the RTD cassette Take care of the use of the data during this period not to influence other programs Note4 From the disconnection to the recovery and converted data Ready approx 3 seconds the digital value will be...

Page 259: ...d range Reference values which accuracy is not assured are indicated up to 15 C Input value Converted value 215 C or less 2150 865 C or more 8650 Disconnection 20000 Note When exceeding the maximum minimum value exceeding the rated range the converted values will be the values as mentioned above However if the temperature drops below 230 C or rise over 900 C more the data will be the same value 20...

Page 260: ...of input power supply can be connected to common terminal Min on voltage Min on current 19 2 V DC 3 mA Max off voltage Max off current 2 4 V DC 1 mA Input impedance Approx 6 8 kΩ Response time off on 1 0 ms or less on off 1 0 ms or less Operating mode indicator LED display EN61131 2 Applicable type TYPE3 however according to the above specifications LED indication Terminal layout Circuit diagram P...

Page 261: ...Off state leakage current 1µ A or less On state voltage drop 1 5 V DC or less Response time off on 0 1 ms or less on off 0 8 ms or less Surge absorber Zener diode Operating mode indicator LED display LED indication Terminal layout Limitations on number of simultaneous on points Keep the number of points which are simultaneously on within the following range as determined by the ambient temperature...

Page 262: ...kage current 1µ A or less On state voltage drop 1 5 V DC or less Response time off on 0 1 ms or less on off 0 8 ms or less Surge absorber Zener diode Operating mode indicator LED display LED indication Terminal layout Limitations on number of simultaneous on points Keep the number of points which are simultaneously on within the following range as determined by the ambient temperature Circuit diag...

Page 263: ...f current 2 4 V DC 1 mA Input impedance Approx 6 8 kΩ Response time 1 ms or less Operating mode indicator LED display Output specifications Item Description Output type Open collector NPN Rated load voltage 24 V DC Max load current 0 3 A Output points per common 3 points common Response time off on 0 1 ms or less on off 0 8 ms or less Operating mode indicator LED display LED indication Terminal la...

Page 264: ...is 24 V DC at 25 C As the input of the pulse I O cassette is for the counter input the response time is quick Therefore if it is used as a normal input it is recommended to add a timer by a ladder program to prevent chattering or noises to be received as input signals Pulse output part Item Description Insulation method Optical coupler No of output points For pulse output 1 ch For PWM output 1 ch ...

Page 265: ...LED indication Terminal layout Circuit diagram High speed counter part Pulse output part Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 266: ...data System registers Ladder programs Comment data 328 kB F ROM data area Security function Note Only the Clock Calendar function is valid at the factory setting Install a battery in the control unit to use the Clock Calendar function If the battery is not installed the Clock Calendar does not function Function changeover switch between the Clock Calendar and the master memory Use the switch at th...

Page 267: ...Chapter 9 High speed Counter Pulse Output and PWM Output Functions For Tr Type Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 268: ... Y7 A Y0 to Y5 A A Input and output of Pulse I O cassette AFPX PLS Cassette mounting part 1 N A N A N A Cassette mounting part 2 N A N A N A A Available N A Not available 9 1 2 Three Pulse I O Functions There are three pulse I O functions built into the FP X Tr type High speed counter function Control unit The high speed counter function counts external inputs such as those from sensors or encoder...

Page 269: ...X PLS cannot be used with the FP X Tr type control unit Counting range K 2 147 483 648 to K 2 147 483 647 Coded 32 bit binary The built in high speed counter is a ring counter Consequently if the counted value exceeds the maximum value 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 Not...

Page 270: ...H6 X6 None R9116 DT90324 DT90325 DT90326 DT90327 CH7 X7 None R9117 DT90328 DT90329 DT90330 DT90331 2 phase 2 phase input One input Direction distinction High speed CH0 X0 X1 X6 R9110 DT90300 DT90301 DT90302 DT90303 High speed input 14 3 µs 1 CH 35 kHz 2 CH 25 kHz CH2 X2 X3 X7 R9112 DT90308 DT90309 DT90310 DT90311 Medium speed CH4 X4 X5 None R9114 DT90316 DT90317 DT90318 DT90319 Medium speed input ...

Page 271: ...rol F1 DMV Read write of elapsed value of high speed counter F171 SPDH trapezoidal control home return F172 PLSH JOG operation F174 SP0H Data table control F175 SPSH Linear interpolation control Note1 For C14 Y4 or Y5 For C30 C60 Y8 or Y9 Note2 These values are available only when the conditions of each item such as output method or No of channels are executed These values are not available if exe...

Page 272: ...4 CH5 CH6 CH7 CH0 CH2 CH4 CH6 A 100 A A 80 A A A 60 A A A A 50 A 10 A A 10 A A A 10 A A A A 10 A A 100 10 A A A 100 10 A A A A 100 10 A A A A A 100 10 A A A 75 10 A A A A 75 10 A A A A A 75 10 A A A A A A 75 10 A A A A 60 10 A A A A A 60 10 A A A A A A 60 10 A A A A A A A 60 10 A A A A A 50 10 A A A A A A 50 10 A A A A A A A 50 10 A A A A A A A A 50 10 A 35 A A 25 A 5 A A 5 A A 30 5 A A A 30 5 A A...

Page 273: ... 35 10 65 10 45 10 45 10 35 10 55 10 40 10 35 10 30 10 55 10 40 10 35 10 30 10 55 10 40 10 35 10 30 10 55 10 40 10 35 10 30 10 45 10 35 10 30 10 25 10 45 10 35 10 30 10 25 10 45 10 35 10 30 10 25 10 45 10 35 10 30 10 25 10 40 10 30 10 25 10 25 10 40 10 30 10 25 10 25 10 40 10 30 10 25 10 25 10 40 10 30 10 25 10 25 10 25 20 15 15 20 15 15 14 5 5 5 5 5 5 5 5 25 5 20 5 15 5 15 5 25 5 20 5 15 5 15 5 1...

Page 274: ...able Available 100 20 Note Even if all channels are used they can be used within the ranges above Interpolation control High speed Medium speed Maximum output frequency kHz Composite speed CH0 CH2 High speed CH Medium speed CH Available 100 Available Available 100 20 Note Even if all channels are used for the interpolation function they can be used within the ranges above Phone 800 894 0412 Fax 88...

Page 275: ... set the Y4 to the normal output by the system register With the C14 if the home return is executed with the deviation counter clear for the pulse output CH1 set the Y5 to the normal output by the system register If the home return is executed set the home input by the system register 401 If the home return is executed without the setting an operation error occurs C30 C60 Tr type Pulse Signal High...

Page 276: ...µs with 60 steps Note Pulse output instruction F172 PLSH JOG operation CW CCW is set Pulse direction is set Approx 20 µs Approx 320 µs Note Pulse output instruction F174 SP0H Data table control CW CCW is set Pulse direction is set Approx 30 µs Approx 330 µs Note PWM output instruction F173 PWMH Approx 30 µs Note If pulse direction is set a waiting time approx 300 µs is included from the time that ...

Page 277: ...n 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 instruction Setting the system register In order to use the high speed counter function it is necessary to set the system registers No 400 and 401 9 3 2 Input Modes and Count Incremental input mode Decremental input mode Two phase input mode Individual input mode Incremen...

Page 278: ...e clear 2 off edge Count enable DT90052 bit2 able disable setting of the input can be set by the reset input 9 3 3 Minimum Input Pulse Width For the period T 1 frequency a minimum input pulse width of T 2 single phase input or T 4 two phase input is required Single phase Two phase Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 279: ... and Restrictions 9 3 5 Instructions used with High speed Counter Function High speed counter control instruction F0 This instruction is used for counter operations such as software reset and count disable Specify this instruction together with the special data register DT90052 Once this instruction is executed the settings will remain until this instruction is executed again Operations that can b...

Page 280: ...h0 DT90360 DT90370 ch1 DT90361 DT90371 ch2 DT90362 DT90372 ch3 DT90363 DT90373 ch4 DT90364 DT90374 ch5 DT90365 DT90375 ch6 DT90366 DT90376 ch7 DT90367 DT90377 ch8 DT90368 ch9 DT90369 chA DT90370 chB DT90371 Elapsed value write and read instruction F1 This instruction changes or reads the elapsed value of the high speed counter Specify this instruction together with the special data register DT9030...

Page 281: ... K40000 output Y5 turns off FP X Tr type Elapsed value and target value areas of high speed counter ch0 to ch7 High speed counter Channel No Control flag Elapsed value area Target value area ch0 R9110 DT90300 to DT90301 DT90302 to DT90303 ch1 R9111 DT90304 to DT90305 DT90304 to DT90307 ch2 R9112 DT90308 to DT90309 DT90310 to DT90311 ch3 R9113 DT90312 to DT90313 DT90314 to DT90315 ch4 R9114 DT90316...

Page 282: ...rt signal Y0 Inverter operation signal R100 Positioning operation running R101 Positioning operation start R102 Positioning done pulse R9110 High speed counter CH0 control flag Program When X5 is turned on Y0 turns on and the conveyor begins moving When the elapsed value DT90300 and DT90301 reaches K5000 Y0 turns off and the conveyor stops Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Ema...

Page 283: ...ion start signal Y0 Inverter operation signal Y1 Inverter high speed signal R100 Positioning operation running R101 Positioning operation start R102 Arrival at deceleration point R103 Positioning done pulse R900C Comparison instruction flag R9110 High speed counter CH0 control flag Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 284: ...gins moving When the elapsed value DT90300 and DT90301 reaches K4500 Y1 turns off and the conveyor begins decelerating When the elapsed value reaches K5000 Y0 turns off and the conveyor stops Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 285: ...on is on A target value can also be set so that pulse output stops at the point when the target value is matched Data table control F174 SP0H Enables positioning control in accordance with the data table Linear interpolation F175 SPSH Enables pulses to be output using linear interpolation control by specifying the composite speed the acceleration deceleration time and the target value Note With th...

Page 286: ...ion signal is OFF Pulse direction output method forward ON reverse OFF Control is carried out using one pulse output to specify the speed and another to specify the direction of rotation with on off signals In this mode forward rotation is carried out when the rotation direction signal is ON Note The output signals are the number of the built in output of the main unit When the pulse output has be...

Page 287: ...utput is OFF Pulse output when direction output is ON Incremental Target value less than current value Pulse output from CCW Pulse output when direction output is ON Pulse output when direction output is OFF Decremental Example When the current position value of elapsed value area is 5000 the pulse of 4000 is output from CCW by executing the pulse output instruction with the target value 1000 and ...

Page 288: ...g CH2 Turns on during execution of pulse output instructions and then maintains that state during pulse output from CH2 This flag is the same for instructions F166 to F175 Use this to prohibit the simultaneous execution of other high speed counter instructions and pulse output instructions and to verify completion of an action R911F Control flag CH3 Turns on during execution of pulse output instru...

Page 289: ... Y8 is used for the C30 C60 Tr type Input that is not used for other applications is specified for the near home input Note If the deviation counter clear output function is performed when the home return is done Y5 is used for the C14 Tr type and Y9 is used for the C30 C60 Tr type When using CH2 When using CH3 C30 C60 Tr type only Input that is not used for other applications is specified for the...

Page 290: ...en the home return is done Y4 is used for the C14 Tr type and Y8 is used for the C30 C60 Tr type Input that is not used for other applications is specified for the near home input Note If the deviation counter clear output function is performed when the home return is done Y5 is used for the C14 Tr type and Y9 is used for the C30 C60 Tr type When using CH2 When using CH3 C30 C60 Tr type only Input...

Page 291: ...ted again Example 1 Enable the near home input during home return operations and begin deceleration In case of CH0 In these programs the near home input is enabled in step 1 and 0 is entered just after that in step 2 to perform the preset operations In case of CH1 Example 2 Performing a forced stop of the pulse output In case of CH0 The output counting value of the elapsed value area may be differ...

Page 292: ...a register Elapsed value write and read instruction F1 This instruction is used to read the pulse number counted by the pulse output control Specify this F1 DMV instruction together with the special data register DT90348 The elapsed value is stored as 32 bit data in the combined area of special data register DT90348 and DT90349 Use only this F1 DMV instruction to set the elapsed value Example 1 Wr...

Page 293: ...o Description I O No Description X0 Positioning start signal X7 JOG start signal X1 Positioning start signal Y0 Pulse output CW X2 Home return start signal Y1 Pulse output CCW X3 Overrunning signal R10 Positioning in progress X4 Home sensor R11 Positioning operation start X5 Near home sensor R12 Positioning done pulse X6 JOG start signal R911C High speed counter control flag for CH0 Phone 800 894 ...

Page 294: ...ing Control Instruction F171 Trapezoidal This instruction automatically performs trapezoidal control according to the specified data table Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 295: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 296: ...pulse is output from CW output Y0 of the specified channel CH0 Note In that case the memory Y0 does not turn on off according to the pulse output and also the monitoring is not possible Program Pulse output diagram Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 297: ...turns on the pulse is output from CCW output Y1 of the specified channel CH0 Note In that case the memory Y1 does not turn on off according to the pulse output Program Pulse output diagram Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 298: ...that point is larger than 22000 the pulses are output from Y1 and if the value is smaller than 22000 the pulses are output from Y0 Note In that case the memory Y0 or Y1 does not turn on off according to the pulse output and also the monitoring is not possible Program Pulse output diagram Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 299: ...he elapsed value area CH0 DT90348 DT90349 and CH1 DT90352 DT90353 is cleared to zero after the completion of home return Note If the home return is executed set the home input by the system register 401 If the home return is executed without the setting an operation error occurs Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 300: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 301: ...hether deceleration is taking place or whether deceleration has been completed Type II home return In this mode the home input is effective only after deceleration started by near home input has been completed Reference The pulse output control instruction F0 is used for the near home input 9 4 4 Pulse output control instructions F0 F1 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email i...

Page 302: ...ed channel CH0 and the return to home begins When X5 turns on deceleration begins and when X4 turns on home return is completed After the return to home is completed the elapsed value areas DT90348 and DT90349 are cleared to 0 Program Pulse output diagram Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 303: ...d channel CH1 and the return to home begins When X6 turns on deceleration begins and when X5 turns on home return is completed After the return to home is completed the elapsed value areas DT90352 and DT90353 are cleared to 0 Program Pulse output diagram Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 304: ...n F172 JOG operation This instruction is used for JOG operation by obtaining a pulse from the desired output when the execution condition trigger turns on Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 305: ... are output in accordance with the conditions set in the data table as long as execution condition is on Output stops when target value is reached A target value at which pulse output stops can be specified for jogging operation As shown below this mode is selected in the control code and the target value an absolute value is specified in the data table Phone 800 894 0412 Fax 888 723 4773 Web www ...

Page 306: ...ration Plus direction While X6 is in the ON state a pulse is output from the CW output Y0 of the specified channel CH0 Program Pulse output diagram Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 307: ... the CCW output Y1 of the specified channel CH0 Program Pulse output diagram Reference The pulse output control instruction F0 is used for the pulse output stop 9 4 4 Pulse output control instruction F0 F1 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 308: ...9 4 9 Positioning Control Instruction F174 Data Table Control Positioning is performed according to the specified data table Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 309: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 310: ...ear interpolation controls positioning with two axes according to the specified data table Note The linear interpolation function can be used in the combination of ch0 and ch1 or ch2 and ch3 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 311: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 312: ...W to 470 Ω 2 W resistor with the R2 Table of I O allocation I O No Description X0 Home return start signal X1 Positioning start X2 Emergency stop X6 Near home sensor CH0 X4 Home sensor Y0 Pulse output CW Y1 Pulse output CCW X7 Near home sensor CH1 X5 Home sensor Y2 Pulse output CW Y3 Pulse output CCW Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 313: ...From P1 to P2 start R911D Pulse output flag CH1 R21 From P2 to P3 start R22 From P3 to P4 start R23 From P4 to P1 start R2F Positioning done Data register allocation Item Data register No Details On this program details User setting area for linear interpolation DT0 to DT1 Control code Control code when executing linear interpolation absolute DT2 to DT3 Startup speed 2000 Hz DT4 to DT5 Target spee...

Page 314: ...Program Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 315: ...n home return is completed After the return to home is completed the elapsed value areas DT90348 and DT90349 are cleared to 0 In CH1 when X7 turns on deceleration begins and when X5 turns on home return is completed After the return to home is completed the elapsed value areas DT90352 and DT90353 are cleared to 0 When the operations in both CHs is completed the return to home completes Phone 800 8...

Page 316: ...me return the home return should be executed for each channel After the home return for both channels is completed the positioning operation running program R40 turns off Pulse output diagram Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 317: ... 1 K1 DT101 Duty 2 50 1 Specify the control code by setting the K constant Resolution of 1000 Resolution of 100 K Frequency Hz Period ms K Frequency Hz Period ms K0 1 5 666 67 K20 15 6 k 0 06 K1 2 0 502 51 K21 20 8 k 0 05 K2 4 1 245 70 K22 25 0 k 0 04 K3 6 1 163 93 K23 31 3 k 0 03 K4 8 1 122 85 K24 41 7 k 0 02 K5 9 8 102 35 However f or t he medium speed c hannel CH2 and CH3 of the Tr type it is n...

Page 318: ...pecified in units of 1 K10 digits behind the decimal point are rounded off Note If a value outside the specified range is written to the duty area while the instruction is being executed a frequency corrected to the maximum value is output If written when instruction execution is started an operation error is occurred Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 319: ...Chapter 10 High speed counter Pulse Output and PWM Output functions For Ry Type Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 320: ...ons of each control unit C14 Ry type C30 Ry type C60 Ry type Input of main unit X0 to X7 A A A Input and output of Pulse I O cassette AFPX PLS Cassette mounting part 1 A A A Cassette mounting part 2 N A A A A Available N A Not available 10 1 2 Three Pulse I O Functions There are three pulse I O functions built into the FP X Ry type High speed counter function Control unit Pulse I O cassette The hi...

Page 321: ... channel Note When one unit is added for C14 and 2 units are added for C30 and C60 Counting range K 2 147 483 648 to K 2 147 483 647 Coded 32 bit binary The built in high speed counter is a ring counter Consequently if the counted value exceeds the maximum value it returns to the minimum value Similarly if the counted value drops below the minimum value it goes back to the maximum value and contin...

Page 322: ...DT90318 DT90319 CH5 X5 R9115 DT90320 DT90321 DT90322 DT90323 CH6 X6 R9116 DT90324 DT90325 DT90326 DT90327 CH7 X7 R9117 DT90328 DT90329 DT90330 DT90331 2 phase 2 phase input One input CH0 X0 X1 R9110 DT90300 DT90301 DT90302 DT90303 100 µs 5 kHz CH2 X2 X3 R9112 DT90308 DT90309 DT90310 DT90311 CH4 X4 X5 R9114 DT90316 DT90317 DT90318 DT90319 CH6 X6 X7 R9116 DT90324 DT90325 DT90326 DT90327 Related inst...

Page 323: ...rection distinction CH8 X100 X101 X102 R9118 DT90332 DT90333 DT90334 DT90335 16 7 µs 100 µs 2 phase 1 channel 30 kHz 2 phase 2 channels 25 kHz CHA Note4 X200 X201 X202 R911A DT90340 DT90341 DT90342 DT90343 Related instructions F0 MV High speed counter control F1 DMV Read write of elapsed value of high speed counter F166 HC1S Target value match on F167 CH1R Target value match off Note1 The values i...

Page 324: ...V high speed counter control F1 DMV Read write of elapsed value of high speed counter F171 SPDH trapezoidal control home return F172 PLSH JOG operation F174 SP0H Data table control F175 SPSH Linear interpolation control Note1 The home return operation of the interpolation axes should be performed for every channel Note2 Reference For DT90052 see 10 4 4 Pulse Output Control Instruction F0 F1 Note3 ...

Page 325: ... 10 kHz 1 5 kHz 6 10 kHz 2 5 kHz 0 10 kHz 2 5 kHz 1 10 kHz 2 5 kHz 2 10 kHz 2 5 kHz 3 10 kHz 2 5 kHz 4 10 kHz 3 5 kHz 0 10 kHz 3 5 kHz 1 10 kHz 3 5 kHz 2 10 kHz 4 5 kHz 0 Pulse I O set AFPX PLS high speed counter 2 phase Single phase No of channels Max frequency No of channels Max frequency 0 1 80 kHz 0 2 80 kHz 0 3 50 kHz 0 4 50 kHz 1 30 kHz 0 1 30 kHz 1 50 kHz 1 30 kHz 2 50 kHz 2 25 kHz 0 Condit...

Page 326: ...read access to this special internal relay you should generate a copy of it at the beginning of the program When the control flag for a channel turns on another instruction using that same channel cannot be executed 10 2 3 Booting Time The booting time is the time span from the execution of the instruction to the actual pulse output Type of instruction Booting time Pulse output instruction F171 SP...

Page 327: ...eset the output to be turned on and off with the SET RET instruction Setting the system register In order to use the high speed counter function it is necessary to set the system register No 402 for the input of the main unit and the system registers No 400 to 401 for the pulse I O cassette 10 3 2 Input Modes and Count Incremental input mode Decremental input mode Two phase input mode Individual i...

Page 328: ...e Elapsed value clear 2 off edge Count enable DT90052 bit2 able disable setting of the input can be set by the reset input 10 3 3 Minimum Input Pulse Width For the period T 1 frequency a minimum input pulse width of T 2 single phase input or T 4 two phase input is required Single phase Two phase Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 329: ...ifications 10 3 5 Instructions used with High speed Counter Function High speed counter control instruction F0 This instruction is used for counter operations such as software reset and count disable Specify this instruction together with the special data register DT90052 Once this instruction is executed the settings will remain until this instruction is executed again Operations that can be perf...

Page 330: ...DT90362 DT90372 ch3 DT90363 DT90373 ch4 DT90364 DT90374 ch5 DT90365 DT90375 ch6 DT90366 DT90376 ch7 DT90367 DT90377 ch8 DT90368 ch9 DT90369 chA DT90370 chB DT90371 Elapsed value write and read instruction F1 This instruction changes or reads the elapsed value of the high speed counter Specify this instruction together with the special data register DT90300 The elapsed value is stored as 32 bit dat...

Page 331: ...ter ch0 to chB High speed counter Channel No Control flag Elapsed value area Target value area ch0 R9110 DT90300 to DT90301 DT90302 to DT90303 ch1 R9111 DT90304 to DT90305 DT90304 to DT90307 ch2 R9112 DT90308 to DT90309 DT90310 to DT90311 ch3 R9113 DT90312 to DT90313 DT90314 to DT90315 ch4 R9114 DT90316 to DT90317 DT90318 to DT90319 ch5 R9115 DT90320 to DT90321 DT90322 to DT90323 ch6 R9116 DT90324...

Page 332: ...rt signal Y0 Inverter operation signal R100 Positioning operation running R101 Positioning operation start R102 Positioning done pulse R9110 High speed counter CH0 control flag Program When X5 is turned on Y0 turns on and the conveyor begins moving When the elapsed value DT90300 and DT90301 reaches K5000 Y0 turns off and the conveyor stops Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Ema...

Page 333: ...ion start signal Y0 Inverter operation signal Y1 Inverter high speed signal R100 Positioning operation running R101 Positioning operation start R102 Arrival at deceleration point R103 Positioning done pulse R900C Comparison instruction flag R9110 High speed counter CH0 control flag Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 334: ...gins moving When the elapsed value DT90300 and DT90301 reaches K4500 Y1 turns off and the conveyor begins decelerating When the elapsed value reaches K5000 Y0 turns off and the conveyor stops Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 335: ...l Y100 Inverter operation signal R100 Positioning operation running R101 Positioning operation start R102 Positioning done pulse R9118 High speed counter CH8 control flag Program When X102 is turned on Y100 turns on and the conveyor begins moving When the elapsed value DT90332 and DT90333 reaches K5000 Y100 turns off and the conveyor stops Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Ema...

Page 336: ...ion start signal Y100 Inverter operation signal Y101 Inverter high speed signal R100 Positioning operation running R101 Positioning operation start R102 Arrival at deceleration point R103 Positioning done pulse R900C Comparison instruction flag R9118 High speed counter CH8 control flag Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 337: ...egins moving When the elapsed value DT90332 and DT90333 reaches K4500 Y101 turns off and the conveyor begins decelerating When the elapsed value reaches K5000 Y100 turns off and the conveyor stops Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 338: ...e output as long as the execution condition is on A target value can also be set so that pulse output stops at the point when the target value is matched Data table control F174 SP0H Enables positioning control in accordance with the data table Linear interpolation F175 SPSH Enables pulses to be output using linear interpolation control by specifying the composite speed the acceleration decelerati...

Page 339: ...forward rotation is carried out when the rotation direction signal is OFF Pulse direction output method forward ON reverse OFF Control is carried out using one pulse output to specify the speed and another to specify the direction of rotation with on off signals In this mode forward rotation is carried out when the rotation direction signal is ON Note The output signals are the numbers on the puls...

Page 340: ...value Pulse output from CW Pulse output when direction output is OFF Pulse output when direction output is ON Incremental Target value less than current value Pulse output from CCW Pulse output when direction output is ON Pulse output when direction output is OFF Decremental Example When the current position value of elapsed value area is 5000 the pulse of 4000 is output from CCW by executing the ...

Page 341: ...g CH1 Turns on during execution of pulse output instructions and then maintains that state during pulse output from CH0 This flag is the same for instructions F166 to F175 Use this to prohibit the simultaneous execution of other high speed counter instructions and pulse output instructions and to verify completion of an action Note The above flags vary during scanning Example If the above flags ar...

Page 342: ...n be used 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 allocation of pulse output terminal direction output terminal and home input is determined by the channel used Near home input is substituted by allocating the desired contact and turning on and off the bit4 of ...

Page 343: ...ted again Example 1 Enable the near home input during home return operations and begin deceleration In case of CH0 In these programs the near home input is enabled in step 1 and 0 is entered just after that in step 2 to perform the preset operations In case of CH1 Example 2 Performing a forced stop of the pulse output In case of CH0 The output counting value of the elapsed value area may be differ...

Page 344: ...specifications for information on the special data register Elapsed value write and read instruction F1 This instruction is used to read the pulse number counted by the pulse output control Specify this F1 DMV instruction together with the special data register DT90348 The elapsed value is stored as 32 bit data in the combined area of special data register DT90348 and DT90349 Use only this F1 DMV ...

Page 345: ...ion I O No Description X0 Positioning start signal X102 Home sensor input X1 Positioning start signal Y100 Pulse output CW X2 Home return start signal Y101 Pulse output CCW X3 JOG start signal R10 Positioning in progress X4 JOG start signal R11 Positioning operation start X5 Overrunning signal R12 Positioning done pulse X100 Near home sensor input R911C High speed counter control flag for CH0 Phon...

Page 346: ...ning Control Instruction F171 Trapezoidal This instruction automatically performs trapezoidal control according to the specified data table Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 347: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 348: ...lse is output from CW output Y100 of the specified channel CH0 Note In that case the memory Y100 does not turn on off according to the pulse output and also the monitoring is not possible Program Pulse output diagram Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 349: ...rns on the pulse is output from CCW output Y101 of the specified channel CH0 Note In that case the memory Y101 does not turn on off according to the pulse output Program Pulse output diagram Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 350: ...at point is larger than 22000 the pulses are output from Y101 and if the value is smaller than 22000 the pulses are output from Y100 Note In that case the memory Y100 or Y101 does not turn on off according to the pulse output and also the monitoring is not possible Program Pulse output diagram Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 351: ... type This function performs home return according to the specified data table The elapsed value area CH0 DT90348 DT90349 and CH1 DT90352 DT90353 is cleared to zero after the completion of home return Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 352: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 353: ...ether deceleration is taking place or whether deceleration has been completed Type II home return In this mode the home input is effective only after deceleration started by near home input has been completed Reference The pulse output control instruction F0 is used for the near home input 10 4 4 Pulse output control instructions F0 F1 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email i...

Page 354: ...d channel CH0 and the return to home begins When X100 turns on deceleration begins and when X102 turns on home return is completed After the return to home is completed the elapsed value areas DT90348 and DT90349 are cleared to 0 Program Pulse output diagram Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 355: ... channel CH1 and the return to home begins When X200 turns on deceleration begins and when X202 turns on home return is completed After the return to home is completed the elapsed value areas DT90352 and DT90353 are cleared to 0 Program Pulse output diagram Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 356: ...n F172 JOG operation This instruction is used for JOG operation by obtaining a pulse from the desired output when the execution condition trigger turns on Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 357: ... are output in accordance with the conditions set in the data table as long as execution condition is on Output stops when target value is reached A target value at which pulse output stops can be specified for jogging operation As shown below this mode is selected in the control code and the target value an absolute value is specified in the data table Phone 800 894 0412 Fax 888 723 4773 Web www ...

Page 358: ...ation Plus direction While X3 is in the ON state a pulse is output from the CW output Y100 of the specified channel CH0 Program Pulse output diagram Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 359: ...he CCW output Y101 of the specified channel CH0 Program Pulse output diagram Reference The pulse output control instruction F0 is used for the pulse output stop 10 4 4 Pulse output control instruction F0 F1 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 360: ...10 4 9 Positioning Control Instruction F174 Data Table Control Positioning is performed according to the specified data table Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 361: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 362: ...ear interpolation controls positioning with two axes according to the specified data table Note The linear interpolation function can be used only when 2 units of the AFPX PLS are being used Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 363: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 364: ... Ω 2 W resistor with the R2 Table of I O allocation I O No Description X0 Home return start signal X1 Positioning start X2 Emergency stop X100 Near home sensor CH0 X102 Home sensor Y100 Pulse output CW Y101 Pulse output CCW X200 Near home sensor CH1 X202 Home sensor Y200 Pulse output CW Y201 Pulse output CCW Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 365: ...From P1 to P2 start R911D Pulse output flag CH1 R21 From P2 to P3 start R22 From P3 to P4 start R23 From P4 to P1 start R2F Positioning done Data register allocation Item Data register No Details On this program details User setting area for linear interpolation DT0 to DT1 Control code Control code when executing linear interpolation absolute DT2 to DT3 Startup speed 2000 Hz DT4 to DT5 Target spee...

Page 366: ...Program Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 367: ... on home return is completed After the return to home is completed the elapsed value areas DT90348 and DT90349 are cleared to 0 In CH1 when X200 turns on deceleration begins and when X202 turns on home return is completed After the return to home is completed the elapsed value areas DT90352 and DT90353 are cleared to 0 When the operations in both CHs is completed the return to home completes Phone...

Page 368: ...me return the home return should be executed for each channel After the home return for both channels is completed the positioning operation running program R40 turns off Pulse output diagram Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 369: ...Used for PWM Output Function PWM Output Instruction F173 Data table DT100 Control code 1 K1 DT101 Duty 2 50 1 Specify the control code by setting the K constant Resolution of 1000 Resolution of 100 K Frequency Hz Period ms K Frequency Hz Period ms K0 1 5 666 67 K20 15 6 k 0 06 K1 2 0 502 51 K21 20 8 k 0 05 K2 4 1 245 70 K22 25 0 k 0 04 K3 6 1 163 93 K23 31 3 k 0 03 K4 8 1 122 85 K24 41 7 k 0 02 K5...

Page 370: ...pecified in units of 1 K10 digits behind the decimal point are rounded off Note If a value outside the specified range is written to the duty area while the instruction is being executed a frequency corrected to the maximum value is output If written when instruction execution is started an operation error is occurred Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 371: ...Chapter 11 Security Functions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 372: ... the FP X by setting that the program is not uploaded As transferring programs to the master memory cassette as well as the programming tool will be unperformable it ensures higher security 3 Password protect function and upload protection for FP memory loader Those functions are available only when using the FP X V2 5 or later FP memory loader V2 0 or later and FPWIN GR V2 8 or later and when set...

Page 373: ...on mode Access Accesses programs by inputting a password Protect Sets a password Unprotect Releases the password setting 4 Input a password 5 Confirmation the contents of the password setting Confirm the settings indicated in the dialog box Current status Indicates the current status of the password setting There are following five statuses 1 Password is not set Password is not set 2 4 digits Prot...

Page 374: ...he password again Note If the power supply of the PLC is turned on off with the setting that the access is allowed the setting will be that the PLC is protected again Setting the Password protect function As the dialog box is shown select as below Digit number Select 4 digits or 8 digits Operation Mode Select Protect 4 digits or 8 digits password Input a password to be set Click Settings Input the...

Page 375: ...able to cancel the password setting Description Program Unprotect Cancels the registered password to be specified All programs are retained Force cancel Erases all programs and security information to cancel the setting forcibly All programs are deleted The upload protection setting is also deleted Releasing the protection of PLC Programs are retained As the dialog box is shown select as below Dig...

Page 376: ... be automatically transferred to another control unit when it is installed and the control unit will be protected The procedure of the transfer to the master memory is as below 1 Turn off the power supply of the PLC and set the RUN PROG mode switch to the PROG mode Install the master memory cassette to transfer the program on the control unit 2 2 Turn on the power supply of the PLC and transfer th...

Page 377: ...setting forcibly All programs and security information will be deleted when the upload protection setting is cancelled We cannot restore the deleted programs even if you ask us We cannot read the data of the control units that are set to prohibit uploading Keeping your programs is your responsibility Interaction with the password protect function The password setting can be specified for the FP X ...

Page 378: ...l Setting using FPWIN GR 1 Select Online Edit Mode under the Online on the menu bar or press the CTRL and F2 keys at the same time to switch to the Online screen 2 Select Upload settings under Tool on the menu bar The following displays will be shown Upload settings dialog box Set PLC Password dialog box Select Release the upload protection by compulsion Click Execute Click Force Cancel Note 1 If ...

Page 379: ...rom the FP X V2 5 or later to the FP X older than V2 5 for enhanced security When setting the download to be enabled the download can be performed regardless of the version of FP X however the limited distribution and upload protection settings cannot be used 11 4 2 Limited Distribution Function Allow the download in case of same password When downloading a program from the memory loader the progr...

Page 380: ...e PLC will be in the upload protection state by downloading a program to the PLC from the FP memory loader Note This function cannot be used when the setting to disable the download to the FP X older than V2 5 has not been made Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 381: ...emory loader Ver 1 Note3 When downloading programs with 8 digit password FP memory loader Ver 1 will not enter protection state after downloading finishes To enter protection state turn off the power and then turn it on again Note4 The state that the setting has been made not to disable downloading to the old version on the FP X Ver 2 50 or later Note5 When transferring data from FP memory loader ...

Page 382: ... Setting for F P m emory loader option 3 Check the functions to be used of Options for FP memory loader Limited distribution function Allow t he download i n c ase of same password Enable the upload protection setting Set that PLC cannot be uploaded 4 After setting the above check box input a 8 digit password and then click Setting The setting has completed Note This function is available only whe...

Page 383: ...ets Cancels Upload protection A A A 4 digit password A A N A 8 digit password A A N A When the master memory cassette is installed on the FP X control unit Status of security Security not set Upload protection 4 digit password 8 digit password Sets Cancels Upload protection N A N A N A 4 digit password N A N A N A 8 digit password N A N A N A A Available N A Not available Phone 800 894 0412 Fax 88...

Page 384: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 385: ...Chapter 12 Other Functions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 386: ...stored in the internal ROM is transferred to the master memory The upload disabled information is specified using the programming tool software It is selectable to transfer the F ROM data area and comments with the programming software or not When transferring the F ROM data area specify the block number that starts transferring and the number of blocks This function is only available by using the...

Page 387: ...Installation and Setting of Backup Battery Specifications Item Specifications Clock calendar Setting items Year month day hour 24 hour display minute second and day of week Accuracy At 0 C less than 104 seconds per month At 25 C less than 51 seconds per month At 55 C less than 155 seconds per month Area of clock calendar With the clock calendar function data indicating the hour minute second day y...

Page 388: ...howing the date and time being written Set the time to 12 00 00 on the 5th day when the X0 turns on Note No values have been set in the default settings so the programming tool or another means must be used to specify the values Example showing the clock calendar being used Sample program for fixed schedule and automatic start In the example shown here the clock calendar function is used to output...

Page 389: ... X master memory cassette AFPX MRTC The default setting is Clock calendar only Transfer from the master memory to the control unit There are two ways to transfer data 1 Operation using the FPWIN GR Transferring is available in the PROG mode only 2 Automatic transfer when the PROG mode was changed to the RUN mode When the power supply turns on when started in the RUN mode Transferring using the FPW...

Page 390: ...mory is all deleted So the devices not to be transferred will be deleted Once the data is transferred afterwards the information in the internal memory and the master memory are compared and the matched information is not transferred Note1 When a password has been specified data is transferred automatically Note2 If there is no data transferring cannot be performed Note3 Reads using the F12 ICRD i...

Page 391: ...emory model unmatch error Note1 If the E25 occurs the mode will not be the RUN Also the transfer operation from the master memory to the internal memory of the controller will not be executed The transfer operation from the internal memory of the controller to the master memory can be executed even if the E25 occurs Note2 If the version of the Ry type is older than Ver2 0 the E26 User s ROM error ...

Page 392: ...be performed within 10000 times If writing continues for more than that the correct operation cannot be guaranteed 2 The power supply turns off when the P13 ICWT instruction is being executed If the power supply turns off during this instruction is being executed the hold type area may not be kept Also when the power is shut off during rewriting in the RUN mode the same event may occur Phone 800 8...

Page 393: ... register Range of values Control unit V0 Volume 0 DT90040 K0 to K1000 C14 C30 V1 Volume 1 DT90041 V2 Volume 2 DT90042 C60 V3 Volume 3 DT90043 12 4 2 Example Showing How to Use Analog Potentiometer The FP X is provided with special data registers in which the values in the registers change in response to the analog potentiometers being moved If the values of these registers are sent to the clock s...

Page 394: ...time intervals 12 5 2 Details of Sampling Trace Function No of data collectable at one sampling 16 bits 3 data Sampling capacity No of samples accumulable C14 300 samples C30 C60 1000 samples Types of sampling timing When an instruction is executed or at regular time intervals 1 Sampling at regular time intervals From 10 ms 2 Sampling by F155 SMPL instruction Sampling for every scan can be execute...

Page 395: ...ntervals 1 Register the bit word device to be monitored by the time chart monitor function of FPWIN GR 2 Specify the sampling configurations Set the mode of the sampling configurations to Trace Set the sampling rate time Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 396: ...ace Set the sampling rate time to 0 3 Read data by trigger 1 Stop sampling by stopping monitoring the trace that has been started in the above procedure 1 or 2 on the time chart display of FPWIN GR The data will be indicated in the time chart Stop monitoring Stop with the button stop by the Trigger Break in the menu or stop by the F156 instruction Reference FPWIN GR Help Phone 800 894 0412 Fax 888...

Page 397: ...nstruction is executed for the input in the time constant processing the time constant processing will be invalid and the input status at the time will be read out and set The input signal of X contact is retrieved at the timing of the normal I O update The time constant processing can be performed for the input other than X0 to X1F add on cassettes or expansion units by the F182 FILTR instruction...

Page 398: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 399: ...Chapter 13 Self Diagnostic and Troubleshooting Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 400: ...dition Light on Off Flashes When a self diagnostic error occurs Operation Off Light on Flashes When a self diagnostic error occurs Stop Light on or off Light on or off Light on System watchdog timer has been activated Stop Status indicator LEDs on expansion FP0 adapter LED status Description POWER I F ERROR Normal condition Light on Light on Off Normal operation Abnormal condition Light on Flashes...

Page 401: ...cify the steps to be taken by the FPWIN GR if a PLC error occurs select PLC System Register setting under Option on the menu bar and click on the Action on Error tab The screen shown below is displayed Example1 When allowing duplicated output Turn off the check box for No 20 When operation is resumed it will not be handled as an error Example2 When continuing operation even a calculation error has...

Page 402: ...be confirmed in this dialog box After correcting the error click on the Clear Error button to clear the error Key Point To display the status display dialog box select Status Display under Online on the menu bar Procedure 2 For error code is 1 to 9 Condition There is a syntax error in the program Operation 1 Change to PROG mode and clear the error Operation 2 Execute a total check function using F...

Page 403: ...cleared by executing a self diagnostic error set instruction F148 ERR Key Point When an operation error error code 45 occurs the address at which the error occurred is stored in special data registers DT90017 and DT90018 If this happens click on the Operation Err button in the Status display dialog box and confirm the address at which the error occurred before cancelling the error 13 2 2 If ERROR ...

Page 404: ...e Procedure 3 Disconnect the power supply wiring to the other devices if the power supplied to the FP X control unit is shared with them If the LED on the control unit turn on at this moment increase the capacity of the power supply or prepare another power supply for other devices Please contact your dealer for further questions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info cl...

Page 405: ...ase contact your dealer Check of input condition 1 Input indicator LEDs are off Procedure 1 Check the wiring of the input devices Procedure 2 Check that the power is properly supplied to the input terminals If the power is properly supplied to the input terminal there is probably an abnormality in the input unit Please contact your dealer If the power is not supplied to the input terminal there is...

Page 406: ...en using the master memory cassette The program editing cannot be carried out with the master memory cassette Turn off the power supply and remove the master memory 13 2 6 PROG Mode does not Change to RUN Condition A syntax error or a self diagnosed error that caused operation to stop has occurred Procedure 1 Check if the ERROR LED is flashing Example If the ERROR LED is flashing check 13 2 1 If E...

Page 407: ... COM6 Procedure 1 Check if the receive data terminal of a connected device is connected to the SD and the send data terminal is connected to the RD Check if the SG is connected Procedure 2 1 Check if the CS signal is on 2 When the CS of the communication cassette LED does not light the CS signal is not on 3 If the three wire type is used connect the RS signal and the CS signal of the communication...

Page 408: ...as do not overlap Example For the specifications range of the transmission cables 5 8 1 Selection of Transmission Cables 13 2 10 Expansion Unit does not Operate Procedure 1 Check if the terminal setting is specified for the expansion unit Check if the terminal setting is specified for multiple expansion units Procedure 2 Check if the expansion FP0 adapter is installed at the last position When the...

Page 409: ...s and the destination Procedure 4 Check if the communication format and baud rate for the COM1 port of the FP X matches the configuration setting of the AFPX COM5 Condition The ERR LED of Ethernet 1 channel type RS232C is flashing Procedure 1 Check the status with the Configurator WD If the IP duplicate error is indicated for the status the IP address may be duplicate on the network Specify an IP ...

Page 410: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 411: ...Chapter 14 Precautions During Programming Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 412: ...the following method Using the tool software Select the Debug Totally Check Program in the menu bar and click Execute If there are any duplicated outputs an error message and the address will be displayed Enabling duplicated output If you need to use output repeatedly due to the content of the program duplicated output can be enabled In this case change the setting of system register 20 to enable ...

Page 413: ...I O update is determined by the final results of the operation Example Output to the same output relay Y0 with OT KP SET and RST instructions When X0 to X2 are all on Y0 is output as off at I O update If you need to output a result while processing is still in progress use a partial I O update instruction F143 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 414: ...ust be in BCD form In this case use a data conversion instruction as shown in the examples at below BCD arithmetic instructions F40 to F58 also exist which allow direct operation on BCD data however it is normally most convenient to use BIN operation instructions F20 to F38 as operation in the PLC takes place in binary Input from a digital switch Use the BCD to BIN conversion instruction F81 Outpu...

Page 415: ...20 the destination will be DT20 In this way index registers allow the specification of multiple memory areas with a single instruction and thus index registers are very convenient when handling large amounts of data 14 3 2 Memory Areas Which can be Modified with Index Registers Index registers can be used to modify other types of memory areas in addition to data registers DT Example I0WX0 I0WY1 I0...

Page 416: ...0 1 2 DT0 DT1 DT2 Inputting and outputting data based on a number specified by an input Example 1 Setting a timer number specified by a digital switch 1 Convert the BCD timer number data in WX1 to binary and set it in index register I0 2 Convert the BCD timer set value in WX0 to binary and store in the timer set value area SV specified by contents of I0 Example 2 Taking external output of the elap...

Page 417: ... error occurs When you set system register 26 to continuation the control unit operates even if an operation error occurs Using programming tool software 1 Set the mode of the CPU to PROG 2 Select the Option in PLC Configuration option from the menu bar 3 On the PLC Configuration menu select Action on error This displays system registers 20 to 26 4 Remove the check of system register 26 5 Press th...

Page 418: ...he contents of I0 are a negative value 2 Is there any data which cannot be converted using BCD BIN data conversion Example When BCD to BIN conversion is attempted In this case if DT0 contains a hexadecimal number with one of the digits A through F such as 12A4 conversion will be impossible and an operation error will result Example When BIN to BCD conversion is attempted In this case if DT1 contai...

Page 419: ...urrent execution are compared and the instruction is executed only if the previous condition was off and the current condition is on In any other case the instruction is not executed Precautions when using an instruction which performs leading edge detection When RUN begins for example when the system is powered on the off on change of the execution condition trigger is not detected The instructio...

Page 420: ...cution condition is already on If you need to execute an instruction when the trigger execution condition is on prior to switching to RUN mode make a program as below using R9014 initial pulse off relay R9014 is a special internal relay which is off during the first scan and turns on at the second scan Example 1 DF leading edge differential instruction Example 2 CT counter instruction Phone 800 89...

Page 421: ...ing edge detection instruction is on when the execution condition of the current control instruction becomes on When a leading edge detection instruction is used with an instruction which changes the order of instruction execution such as MC MCE JP or LBL the operation of the instruction may change as follows depending on input timing Take care regarding this point Example 1 Using the DF instructi...

Page 422: ... Example 2 Using the CT instruction between JP and LBL instructions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 423: ...o X0 Y1 will not be on even if X0 becomes on When a combination of contacts are set as the trigger execution condition of a differential instruction DF or timer instruction do not use an AND stack ANS instruction read stack RDS instruction or pop stack POPS instruction Examples in which the above programs are rewritten Program in which the example 1 is rewritten Program in which the example 2 is r...

Page 424: ...ructions DF counter instructions CT and left right shift registers are ignored 5 Interrupt functions are stopped 6 Internal clock relays special internal relays are also stopped 7 Pulse output is stopped during the rewrite Set values for timer counter instructions All set values specified with decimal constants K in timer and counter instructions are preset in the corresponding set value areas SV ...

Page 425: ... boolean mode A ladder editing is cleared Set it to the offline edit mode and carry out the editing operation again After the operation change to the online edit mode to check When the timeout error occurs using the through mode in GT series programmable display Extend the timeout time of the programmable display using the GTWIN The default setting is 5 seconds Select Transfer from File in the men...

Page 426: ... flag 2 The high speed counter will continue to count Target value match on off instructions F166 F167 will continue Coincidence interrupt programs will be disabled when the F166 F167 instruction is running 3 The pulse output PWM output stops when the rewriting is performed The operation after the completion of the rewriting during RUN varies depending on each instruction Instruction number Name O...

Page 427: ... change If an instruction written in block a is deleted in block b the condition before the rewrite will be held Set values specified by K constants in TM CT instructions are preset in all of the corresponding SV s in the program Elapsed values EV do not change Fun High level instructions If an instruction written in block a is deleted in block b the condition before the rewrite will be held If de...

Page 428: ... step ladder area Write or delete both instructions simultaneously in FPWIN GR ladder symbol mode In the case of an SSTP instruction only writing and deletion of a single instruction is possible for a program with a step ladder area JP LOOP LBL Be sure to write the instruction for setting the loop number before LBL LOOP instructions Write in the order JP LBL or LOOP LBL Delete in the order LBL JP ...

Page 429: ... by the operation result 3 Processing of Timer T and Counter C Regardless of the timer counter input condition forced on off operation will take precedence at a contact specified for forced input output At this time the contact of the timer T or counter C in the operation memory will be rewritten Timing and counting will not take place during control The on off state of contacts not specified will...

Page 430: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 431: ...Chapter 15 Specifications Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 432: ... supply terminal and earth terminal 1500 V AC for 1 min Note2 Transistor type Between input terminal and output terminal Note4 500 V AC for 1 min 500 V AC for 1 min Between input terminals and power supply earth terminals 2300 V AC for 1 min Note2 Between output terminals and power supply earth terminals Between cassette I O terminal and power supply earth terminals Note3 Between cassette I O term...

Page 433: ...een the input terminal and the output terminal of the pulse I O cassette Power supply specifications AC Power Supply Item Specifications C14 C30 C60 E30 Rated voltage 100 to 240 V AC Voltage regulation range 85 to 264 V AC Inrush current at 240 V AC 25 C 40 A or less 45 A or less 40 A or less Momentary power off time 10 ms when using 100 V AC Frequency 50 60 Hz 47 to 63 Hz Leakage current 0 75 mA ...

Page 434: ...nalog input cassette AFPX AD2 Approx 25 g AFPX C30TD Approx 440 g Analog output cassette AFPX DA2 AFPX C30P Approx 460 g AFPX C30PD Approx 440 g Analog I O cassette AFPX A21 AFPX C60R Approx 780 g Thermocouple cassette AFPX TC2 AFPX C60RD Approx 760 g AFPX C60T Approx 700 g RTD cassette AFPX RTD2 AFPX C60TD Approx 680 g Input cassette AFPX IN8 AFPX C60P Approx 700 g Output cassette AFPX TR8 AFPX C...

Page 435: ...or less 35 mA or less AFPX E14YR 75 mA or less 40 mA or less 210 mA or less Communication cassette AFPX COM1 Note1 AFPX COM2 Note1 10 mA or less 10 mA or less 10 mA or less AFPX COM3 Note1 AFPX COM4 Note1 15 mA or less 10 mA or less 15 mA or less AFPX COM5 Note1 30 mA or less 20 mA or less 75 mA or less AFPX COM6 Note1 15 mA or less 10 mA or less 15 mA or less Applica tion cassette Note Analog inp...

Page 436: ...Unit type Current consumption 24 V DC Expansion FP0 adapter AFPX EFP0 10 mA or less Example of calculation when 100 V AC C30R IN8 TR8 E16R EFP0 410 mA 10 mA 10 mA 65 mA 10mA Current consumption of FP0 expansion unit Total 495 mA or less 100 V AC 10mA Current consumption of FP0 expansion unit 24V DC Example When one FP0 expansion unit FP0 E32T is connected FP0 expansion adapter 10 mA or less FP0 E3...

Page 437: ...eps No of instruction Basic 111 High level 216 Operation speed From 0 32 µs step by basic instruction Base time 0 2 ms 0 24 ms 0 3 ms 0 2 ms 0 23 ms 0 28 ms I O refresh base time With E16 0 34 ms x No of units With E30 0 47 ms x No of units With expansion FP0 adapter 1 4 ms FP0 expansion unit refresh time Note9 Operation memory Relay External input X Note1 1760 points X0 to X109F External output Y...

Page 438: ...ion Such as watchdog timer program syntax check Program editing during RUN Available High speed counter Note3 Note4 Input of main unit Single phase 8 chs or 2 phase 4 chs With single phase 8 chs 10 kHz each with 2 phase 4 chs 5 kHz each Single phase 8 chs High speed 4 chs medium speed 4 chs 2 phase 4 chs High speed 2 chs medium speed 2 chs With high speed single phase 1 ch 100 kHz 2 chs 80 kHz 3 c...

Page 439: ...0 to X7 Periodical interrupt 0 5 ms to 30 s Potentiometer Volume input C14 C30 2 points resolution 10 bits K0 to K1000 C60 4 points resolution 10 bits K0 to K1000 Constant scan Available Realtime clock Available year month day hour minute second and day of week However this can only be used when AFPX MRTC and an optional battery has been installed Note5 Flash ROM backup Note6 Backup by F12 P13 ins...

Page 440: ...tion and the elapsed value EV of the counter is backed up The setting value SV is not held 15 1 3 Communication Specifications Computer link Note1 General purpose serial communication Note1 PC PLC link MODBUS RTU Note1 1 1 communication 1 N commu nication 1 1 communication 1 N commu nication 1 1 communication 1 N commu nication Inter face RS232C RS422 RS485 RS232C RS422 RS485 RS232C RS422 RS485 RS...

Page 441: ...face please confirm operation using the actual device In some cases the number of units transmission distance and baud rate vary depending on the connected device Note2 The values for the transmission distance baud rate and number of units should be within the values noted in the graph below When using a baud rate of 300 bps to 38400 bps you can set up to a maximum of 99 units stations and maximum...

Page 442: ...tions Baud rate 100 Mpbs 10 Mbps Transmission method Baseband Max segment length 100 m Note1 Communication cable UTP Category 5 Protocol TCP IP UDP IP ICMP ARP DHCP Function Auto negotiation function MDI MDI X Auto crossover function Note1 The length between a HUB and the module Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 443: ...ected at the last position of the FP X expansion bus The I O allocation varies depending on the installation location of the expansion FP0 adapter Expansion location Expansion unit 1 Expansion unit 2 Expansion unit 3 Expansion 1st unit X300 to X31F X320 to X33F X340 to X35F Y300 to Y31F Y320 to Y33F Y340 to Y35F Expansion 2nd unit X400 to X41F X420 to X43F X440 to X45F Y400 to Y41F Y420 to Y43F Y4...

Page 444: ... WX31 X310 to X31F WX33 X330 to X33F WX35 X350 to X35F Output 16 points WY30 Y300 to Y30F WY32 Y320 to Y32F WY34 Y340 to Y34F FP0 A D conversion unit FP0 thermo couple unit FP0 A80 FP0 TC4 FP0 TC8 Input 16 points CH0 2 4 6 WX30 X300 to X30F WX32 X320 to X32F WX34 X340 to X34F Input 16 points CH1 3 5 7 WX31 X310 to X31F WX33 X330 to X33F WX35 X350 to X35F FP0 RTD unit FP0 RTD6 Input 16 points CH0 2...

Page 445: ...ette AFPX A21 CH0 WX10 CH1 WX11 WY10 CH0 WX20 CH1 WX21 WY20 FP X thermocouple cassette AFPX TC2 CH0 WX10 CH1 WX11 CH0 WX20 CH1 WX21 FP X RTD cassette AFPX RTD2 CH0 WX10 CH1 WX11 CH0 WX20 CH1 WX21 FP X input cassette AFPX IN8 From X100 From X200 FP X output cassette AFPX TR8 From Y100 From Y200 FP X output cassette AFPX TR6P From Y100 From Y200 FP X I O cassette AFPX IN4T3 From X100 From Y100 From ...

Page 446: ...ifying 16 external output points as one word 16 bits of data Internal relay Note2 WR 256 words WR0 to WR255 Code for specifying 16 internal relay points as one word 16 bits of data Link relay WL 128 words WL0 to WL127 Code for specifying 16 link relay points as one word 16 bits of data Data register Note2 DT 12285 words DT0 to DT12284 32765 words DT0 to DT32764 Data memory used in program Data is ...

Page 447: ...tion memory The actual number of points available for use is determined by the hardware configuration Note2 If no battery is used only the fixed area is backed up counters 16 points C1008 to C1023 internal relays 128 points R2480 WR248 to R255F WR255 data registers 55 words C14 DT12230 to DT12284 C30 C60 DT32710 to DT32764 Writing is available up to 10000 times Then the optional battery is used al...

Page 448: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 449: ...Chapter 16 Dimensions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 450: ...16 1 Dimensions 16 1 1 Control Unit Note AFPX COM5 is 5 mm taller than other communication cassettes Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 451: ...16 1 2 Expansion Unit 16 1 3 Expansion FP0 Adapter 16 1 4 Dimension Diagram for Installation Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 452: ... Cable Adapter Specifications 16 2 1 AFC8503 AFC8503S PC Unit mm 16 2 2 AFC85305 AFC8531 AFC8532 For extending for the tool port Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 453: ...Chapter 17 Appendix Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 454: ...ration mode when errors such as battery error duplicated use of output I O verification error and operation error occur 4 Time settings System registers 31 to 34 Set time out error detection time and the constant scan time 5 MEWNET W0 PC PLC link settings System registers 40 to 47 50 to 55 and 57 These settings are for using link relays and link registers for MEWNET W0 PC PLC link communication No...

Page 455: ...in the new value and or select the setting status 4 To register these settings choose OK Precautions for system register setting System register settings are effective from the time they are set However input settings tool port COM port and modem connection 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 a...

Page 456: ...2 Hold type area starting number for PC PLC W0 0 link registers 128 0 to 128 13 Hold type area starting number for PC PLC W0 1 link registers 256 128 to 256 Action on error 20 Disable or enable setting for duplicated output Disabled Disabled Enabled 23 Operation setting when an I O verification error occurs Stop Stop Continuation of operation 26 Operation setting when an operation error occurs Sto...

Page 457: ...C link switch flag Normal Normal reverse 47 Maximum unit number setting for MEWNET W0 PC PLC link 16 1 to 16 PC PLC link W0 1 set ting 50 Range of link relays used for PC PLC link 0 0 to 64 words 51 Range of link data registers used for PC PLC link 0 0 to 128 words 52 Starting number for link relay transmission 64 64 to 127 53 Link relay transmission size 0 0 to 64 words 54 Starting number for lin...

Page 458: ...ttings X4 to X7 CH4 Do not set input X4 as high speed counter Do not set input X4 as high speed counter Incremental input X4 Decremental input X4 Two phase input X4 X5 Individual input X4 X5 Incremental decremental control input X4 X5 X4 Normal input Normal input Home input of pulse output CH0 CH5 Do not set input X5 as high speed counter Do not set input X5 as high speed counter Incremental input...

Page 459: ... to trailing edge Note1 If CH0 CH2 CH4 and CH6 of the high speed counter is set to the two phase input individual input or incremental decremental control input the settings of CH1 CH3 CH and CH7 will be invalid Note2 Only CH0 and CH2 are available for the reset input of the high speed counter X6 for CH0 and X7 for CH2 can be allocated Note3 X4 to X7 can be used as the home input of the pulse outp...

Page 460: ...s Y100 to Y101 CH0 Normal output Normal output Y100 Y101 Pulse output Y100 Y101 PWM output Y100 Normal output Y101 401 High speed counter settings X200 to X202 CHA Do not set input X200 as high speed counter Do not set input X200 as high speed counter Two phase input X200 X201 Two phase input X200 X201 Reset input X202 Incremental input X200 Incremental input X200 Reset input X202 Decremental inpu...

Page 461: ...S is installed in the cassette mounting part 2 Note4 If the operation mode setting for the pulse output CH0 and CH1 is carried out it cannot be used as normal output When the operation mode for the pulse output CH0 is set to 1 the reset input setting for the high speed counter CH8 and CH9 is invalid When the operation mode for the pulse output CH1 is set to 1 the reset input setting for the high s...

Page 462: ...Two phase input X2 X3 CH4 Do not set input X4 as high speed counter Do not set input X4 as high speed counter Incremental input X4 Decremental input X4 Two phase input X3 X4 CH5 Do not set input X5 as high speed counter Do not set input X5 as high speed counter Incremental input X5 Decremental input X5 Two phase input X4 X5 CH6 Do not set input X6 as high speed counter Do not set input X6 as high ...

Page 463: ...he settings for pulse catch and interrupt input can only be specified in system registers 403 and 404 Note3 If system register 400 to 404 have been set simultaneously for the same input relay the following precedence order is effective High speed counter Pulse catch Interrupt input Example When the high speed counter is being used in the addition input mode even if input X0 is specified as an inte...

Page 464: ...one with odd with even Stop bit 1 bit 2 bits The following setting is valid only when the communication mode specified by system register 412 has been set to General purpose serial communication Terminator CR CR LF None Header STX not exist STX exist 415 Baud rate setting 9600 bps 2400 bps 4800 bps 9600 bps 19200 bps 38400 bps 57600 bps 115200 bps 420 Starting address for received buffer of genera...

Page 465: ...tem register 412 has been set to General purpose serial communication Terminator CR CR LF None Header STX not exist STX exist 415 Baud rate setting 9600 bps 2400 bps 4800 bps 9600 bps 19200 bps 38400 bps 57600 bps 115200 bps 416 Starting address for received buffer of general serial data communication mode 0 0 to 32764 417 Buffer capacity setting for data received of general serial data communicat...

Page 466: ...2400 bps 4800 bps 9600 bps 19200 bps 38400 bps 57600 bps 115200 bps 416 Starting address for received buffer of general serial data communication mode 2048 0 to 32764 417 Buffer capacity setting for data received of general serial data communication mode 2048 0 to 2048 Note1 The communication format in a PC PLC link is fixed at the following settings the data length is 8 bits odd parity stop bit i...

Page 467: ...432 Controller input time constant setting 2 X8 to XB 433 Controller input time constant setting 2 XC to XF 434 Controller input time constant setting 3 X10 to X13 435 Controller input time constant setting 3 X14 to X17 436 Controller input time constant setting 4 X18 to X1B 437 Controller input time constant setting 4 X1C to X1F Note1 These settings are available for the FP X V2 0 or later Phone ...

Page 468: ...Turns on and keeps the on state when an operation error occurs The address where the error occurred is stored in DT90017 indicates the first operation 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 each time a new error occurs R9009 Carry flag Thi...

Page 469: ...ype Turns on for only the first scan of a process after the boot at the step ladder control R9016 Not used R9017 Not used R9018 0 01 s clock pulse relay Repeats on off operations in 0 01 sec cycles R9019 0 02 s clock pulse relay Repeats on off operations in 0 02 s cycles R901A 0 1 s clock pulse relay Repeats on off operations in 0 1 s cycles R901B 0 2 s clock pulse relay Repeats on off operations ...

Page 470: ... R902A Interrupt enable flag Turns on while the external interrupt trigger is enabled by the ICTL instruction R902B Interrupt error flag Turns on when an interrupt error occurs R902C Sample point flag Sampling by the instruction 0 Sampling at constant time intervals 1 R902D Sample trace end flag When the sampling operation stops 1 When the sampling operation starts 0 R902E Sampling stop trigger fl...

Page 471: ...al communication Turns on when the terminator is received during general purpose serial communication R9039 COM1 port transmission done flag during general purpose serial communication Goes on when transmission has been completed in general purpose serial communication Goes off when transmission is requested in general purpose serial communication R903A Not used R903B Not used R903C Not used R903D...

Page 472: ...n error occurs during data communication Goes off when a request is made to send data using the F159 MTRN instruction R9048 COM2 port reception done flag during general purpose communicating Turn on when the terminator is received during general purpose serial communication R9049 COM2 port transmission done flag during general purpose communication Goes on when transmission has been completed in g...

Page 473: ...ransmission error flag When using MEWNET W0 Turns on when a transmission error occurs at PC PLC link Turns on when there is an error in the PC PLC link area settings R9051 to R905F Not used Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 474: ...ode Turns off when operation is stopped when an error occurs or when not in the PC PLC link mode R9068 Unit No 9 Turns on when Unit No 9 is communicating properly in PC PLC link mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link mode R9069 Unit No 10 Turns on when Unit No 10 is communicating properly in PC PLC link mode Turns off when operation is stopped ...

Page 475: ...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 the RUN mode Turns off when Unit No 9 is in the PROG mode R9079 Unit No 10 Turns on when Unit No 10 is in the RUN mode Turns off when Unit No 10 is in the PROG mode R907A Unit No 11 Turns on when Unit No 11 is in the RUN mode Turns off when Unit No 11 is in the...

Page 476: ...ode Turns off when operation is stopped when an error occurs or when not in the PC PLC link mode R9088 Unit No 9 Turns on when Unit No 9 is communicating properly in PC PLC link mode Turns off when operation is stopped when an error occurs or when not in the PC PLC link mode R9089 Unit No 10 Turns on when Unit No 10 is communicating properly in PC PLC link mode Turns off when operation is stopped ...

Page 477: ...No 8 Turns on when Unit No 8 is in the RUN mode Turns off when Unit No 8 is in the PROG mode R9098 Unit No 9 Turns on when Unit No 9 is in the RUN mode Turns off when Unit No 9 is in the PROG mode R9099 Unit No 10 Turns on when Unit No 10 is in the RUN mode Turns off when Unit No 10 is in the PROG mode R909A Unit No 11 Turns on when Unit No 11 is in the RUN mode Turns off when Unit No 11 is in the...

Page 478: ...9115 HSC CH5 R9116 HSC CH6 R9117 HSC CH7 R9118 HSC CH8 Note1 R9119 HSC CH9 Note1 R911A HSC CHA Note1 R911B HSC CHB Note1 R911C PLS CH0 Turns on while the pulses are being output by the F171 SPDH F172 PLSH F173 PWMH and F174 SP0H instructions R911D PLS CH1 R911E PLS CH2 Note2 R911F PLS CH3 Note2 Note1 This relay is available for the FP X Ry type only Note2 This relay is available for the FP X Tr ty...

Page 479: ... N A DT90004 Not used N A N A DT90005 Not used N A N A DT90006 Position of abnormal application cassette When an error occurs at the intelligent board for the application cassette the bit corresponding to the board will be set on A N A DT90007 Not used N A N A DT90008 Not used N A N A DT90009 Communication error flag for COM2 Stores the error contents when using COM2 port A N A DT90010 Extension I...

Page 480: ...90017 Operation error address hold type After commencing operation the address where the first operation error occurred is stored Monitor the address using decimal display A N A DT90018 Operation error address non hold type The address where an operation error occurred is stored Each time an error occurs the new address overwrites the previous address At the beginning of a scan the address is 0 Mo...

Page 481: ...truction can be stored here Monitor using binary display A N A DT90026 Not used N A N A DT90027 Periodical interrupt interval INT24 The value set by ICTL instruction is stored K0 periodical interrupt is not used K1 to K3000 0 5ms to 1 5s or 10ms to 30s A N A DT90028 Sample trace interval K0 Sampling by the SMPL instruction K1 to K3000 x 10 ms 10 ms to 30 s A N A DT90029 Not used N A N A DT90030 Me...

Page 482: ...ers and other applications by using the program to read this value to a data register V0 DT90040 V1 DT90041 A N A DT90041 Volume input 1 DT90042 Volume input 2 For C60 only The potentiometer value K0 to K1000 is stored here This value can be used in analog timers and other applications by using the program to read this value to a data register V2 DT90042 V3 DT90043 A N A DT90043 Volume input 3 DT9...

Page 483: ...052 High speed counter control flag A value can be written with F0 MV instruction to reset the high speed counter disable counting continue or clear high speed counter instruction Control code setting N A A Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 484: ...T90052 Pulse output control flag A value can be written with F0 MV instruction to reset the high speed counter disable counting continue or clear high speed counter instruction Control code setting N A A Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 485: ...ed The built in Real Time Clock will operate correctly through the year 2099 and supports leap years The Real Time Clock can be set by writing a value using a programming tool software or a program that uses the F0 MV instruction see example for DT90058 As a day of the week is not automatically set on FPWIN GR fix what day is set to 00 and set each value for 00 to 06 A A DT90055 Real Time Clock se...

Page 486: ...e 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 the value will be moved up or down and become exactly 0 seconds After the correction is completed DT90058 is cleared to 0 Example Correct to 0 seconds with X0 on At the time of correction if between 0 and 29 seco...

Page 487: ...cess 80 to 95 DT90066 Step ladder process 96 to 111 DT90067 Step ladder process 112 to 127 DT90068 Step ladder process 128 to 143 DT90069 Step ladder process 144 to 159 DT90070 Step ladder process 160 to 175 DT90071 Step ladder process 176 to 191 DT90072 Step ladder process 192 to 207 DT90073 Step ladder process 208 to 223 DT90074 Step ladder process 224 to 239 DT90075 Step ladder process 240 to 2...

Page 488: ... process 384 to 399 DT90085 Step ladder process 400 to 415 DT90086 Step ladder process 416 to 431 DT90087 Step ladder process 432 to 447 DT90088 Step ladder process 448 to 463 DT90089 Step ladder process 464 to 479 DT90090 Step ladder process 480 to 495 DT90091 Step ladder process 496 to 511 DT90092 Step ladder process 512 to 527 DT90093 Step ladder process 528 to 543 DT90094 Step ladder process 5...

Page 489: ... ladder process 720 to 735 DT90106 Step ladder process 736 to 751 DT90107 Step ladder process 752 to 767 DT90108 Step ladder process 768 to 783 DT90109 Step ladder process 784 to 799 DT90110 Step ladder process 800 to 815 DT90111 Step ladder process 816 to 831 DT90112 Step ladder process 832 to 847 DT90113 Step ladder process 848 to 863 DT90114 Step ladder process 864 to 879 DT90115 Step ladder pr...

Page 490: ... the register x 2 5ms DT90146 The minimum interval between two sending operations value in the register x 2 5ms DT90147 The maximum interval between two sending operations value in the register x 2 5ms DT90148 MEWNET W0 PC PLC link 1 status The number of times the receiving operation is performed A N A DT90149 The current interval between two receiving operations value in the register x 2 5ms DT90...

Page 491: ...ts how many times a token is lost DT90172 Counts how many times two or more tokens are detected DT90173 Counts how many times a signal is lost DT90174 No of times undefined commands have been received DT90175 No of times sum check errors have occurred during reception DT90176 No of times format errors have occurred in received data DT90177 No of times transmission errors have occurred DT90178 No o...

Page 492: ...responding to other units will be changed to the values which the received values are corrected and the registers 46 and 57 in the home unit are set for the registers 46 and 47 A N A DT90221 System regis ter 42 and 43 DT90222 System regis ter 44 and 45 DT90223 System regis ter 46 and 47 DT90224 PC PLC link Unit station No 2 or 10 System regis ter 40 and 41 DT90225 System regis ter 42 and 43 DT9022...

Page 493: ...ister 46 will be set as it is Also the system registers 40 to 45 corresponding to other units will be changed to the values which the received values are corrected and the registers 46 and 57 in the home unit are set for the registers 46 and 47 A N A DT90241 System regis ter 42 and 43 DT90242 System regis ter 44 and 45 DT90243 System regis ter 46 and 47 DT90244 PC PLC link Unit station No 7 or 15 ...

Page 494: ... A Note DT90310 Target value area Lower words The target value is set when instructions F166 HC1S and F167 HC1R are executed A A Note DT90311 Higher words A A Note DT90312 Elapsed value area Lower words HSC CH3 Counting area for input X3 of the main unit A A Note DT90313 Higher words A A Note DT90314 Target value area Lower words The target value is set when instructions F166 HC1S and F167 HC1R ar...

Page 495: ...Elapsed value area Lower words HSC CH7 Counting area for input X7 of the main unit A A Note1 DT90329 Higher words A A Note1 DT90330 Target value area Lower words The target value is set when instructions F166 HC1S and F167 HC1R are executed A A Note1 DT90331 Higher words A A Note1 DT90332 Elapsed value area Lower words HSC CH8 Note2 Counting area for input X0 or X0 X1 of the main unit A A Note1 DT...

Page 496: ...2 Target value area Lower words The target value is set when instructions F166 HC1S and F167 HC1R are executed A A Note1 DT90343 Higher words A A Note1 DT90344 Elapsed value area Lower words HSC CHB Note2 Counting area for input X4 of the pulse I O cassette A A Note1 DT90345 Higher words A A Note1 DT90346 Target value area Lower words The target value is set when instructions F166 HC1S and F167 HC...

Page 497: ...rds A A Note DT90356 Elapsed value area Lower words PLS CH2 Counting area for the pulse I O CH2 Y4 Y5 A A Note DT90357 Higher words A A Note DT90358 Target value area Lower words The target value is set when instructions F171 SPDH F172 PLSH F174 SP0H and F175 SPSH are executed A A Note DT90359 Higher words A A Note DT90360 Elapsed value area Lower words PLS CH3 Counting area for the pulse I O CH3 ...

Page 498: ... CH2 A N A DT90373 HSC CH3 A N A DT90374 HSC CH4 A N A DT90375 HSC CH5 A N A DT90376 HSC CH6 A N A DT90377 HSC CH7 A N A DT90378 DT90379 DT90380 PLS CH0 A N A DT90381 PLS CH1 A N A DT90382 PLS CH2 A N A DT90383 PLS CH3 A N A Note Writing in the elapsed value area is available by F1 DMV instruction only Writing in the target value area is available by F171 SPDH F172 PLSH F174 SP0H and F175 SPSH ins...

Page 499: ...175 SPSH are executed A A Note DT90355 Higher words A A Note DT90356 Not used N A N A DT90357 Not used N A N A DT90358 Not used N A N A DT90359 Not used N A N A DT90360 Control flag monitor area HSC CH0 When HSC control is executed by F0 MV S DT90052 instruction the setting value for the target CH is stored in each CH A N A DT90361 HSC CH1 A N A DT90362 HSC CH2 A N A DT90363 HSC CH3 A N A DT90364 ...

Page 500: ...el only for one scan when the leading edge of the trigger is detected 2 2 2 Trailing edge OR OR Connects a Form A normally open contact in parallel only for one scan when the trailing edge of the trigger is detected 2 2 2 Leading edge out OT Outputs the operated result to the specified output only for one scan when leading edge of the trigger is detected for pulse relay 2 Trailing edge out OT Outp...

Page 501: ...iary timer 16 bit F137 STMR After set value S x 0 01 seconds the specified output and R900D are set to on 5 Auxiliary timer 32 bit F183 DSTM After set value S x 0 01 seconds the specified output and R900D are set to on 7 Time constant processing F182 Executes the filter processing for the specified input 9 Counter CT Decrements from the preset value n 3 4 3 Available Not available Not available pa...

Page 502: ... continues from there 3 1 Loop Label LOOP LBL The program jumps to the label instruction and continues from there the number of jumps is set in S 4 5 3 1 Break BRK Stops program execution when the predetermined trigger turns on in the TEST RUN mode only 1 Available Not available Not available partially 1 In the FP2 FP2SH FP10SH when internal relay WR240 or higher is used the number of steps is the...

Page 503: ...tine call CALL When the trigger is on Executes the subroutine When the trigger is off Not execute the subroutine The output in the subroutine is maintained 2 3 2 Output off type subroutine call FCAL When the trigger is on Executes the subroutine When the trigger is off Not execute the subroutine But the output in the subroutine is cleared 4 5 2 Subroutine entry SUB Indicates the start of the subro...

Page 504: ...acter constant MEWTOCOL COM response control Change the communication conditions of the COM port or tool port for MEWTOCOL COM based on the contents specified by the character constant High speed counter operation mode changing Change the operation mode of the high speed counter based on the contents specified by the character constant 3 3 System registers No 40 to No 47 changing SYS2 Change the s...

Page 505: ... condition S1 S2 5 AN Connects a Form A normally open contact serially by comparing two 16 bit data in the comparative condition S1 S2 or S1 S2 5 AN Connects a Form A normally open contact serially by comparing two 16 bit data in the comparative condition S1 S2 5 AN Connects a Form A normally open contact serially by comparing two 16 bit data in the comparative condition S1 S2 or S1 S2 5 16 bit da...

Page 506: ... AND Connects a Form A normally open contact serially by comparing two 32 bit data in the comparative condition S1 1 S1 S2 1 S2 or S1 1 S1 S2 1 S2 9 AND Connects a Form A normally open contact serially by comparing two 32 bit data in the comparative condition S1 1 S1 S2 1 S2 9 AND Connects a Form A normally open contact serially by comparing two 32 bit data in the comparative condition S1 1 S1 S2 ...

Page 507: ...ormally open contact serially by comparing two 32 bit data in the comparative condition S1 1 S1 S2 1 S2 or S1 1 S1 S2 1 S2 9 1 1 ANF Connects a Form A normally open contact serially by comparing two 32 bit data in the comparative condition S1 1 S1 S2 1 S2 9 1 1 ANF Connects a Form A normally open contact serially by comparing two 32 bit data in the comparative condition S1 1 S1 S2 1 S2 or S1 1 S1 ...

Page 508: ...1 1 S1 D 1 D S2 1 S2 D 3 D 2 11 F10 P10 Block move BKMV PBKMV S1 S2 D The data between S1 and S2 is transferred to the area starting at D 7 F11 P11 Block copy COPY PCOPY S D1 D2 The data of S is transferred to the all area between D1 and D2 7 F12 Data read from EEP ROM ICRD S1 S2 D The data stored in the expansion memory of the EEP ROM specified by S1 and S2 are transferred to the area starting at...

Page 509: ...25 16 bit data subtraction P S D D S D 5 F26 P26 32 bit data subtraction D PD S D D 1 D S 1 S D 1 D 7 F27 P27 16 bit data subtraction P S1 S2 D S1 S2 D 7 F28 P28 32 bit data subtraction D PD S1 S2 D S1 1 S1 S2 1 S2 D 1 D 11 F30 P30 16 bit data multiplication P S1 S2 D S1 X S2 D 1 D 7 F31 P31 32 bit data multiplication D PD S1 S2 D S1 1 S1 X S2 1 S2 D 3 D 2 D 1 D 11 F32 P32 16 bit data division P S...

Page 510: ... S1 S2 D S1 1 S1 X S2 1 S2 D 3 D 2 D 1 D 11 F52 P52 4 digit BCD data division B PB S1 S2 D S1 S2 quotient D remainder DT9015 7 F53 P53 8 digit BCD data division DB PDB S1 S2 D S1 1 S1 S2 1 S2 quotient D 1 D remainder DT9016 DT9015 11 F55 P55 4 digit BCD data increment B 1 PB 1 D D 1 D 3 F56 P56 8 digit BCD data increment DB 1 PDB 1 D D 1 D 1 D 1 D 3 F57 P57 4 digit BCD data decrement B 1 PB 1 D D ...

Page 511: ... stores it in D The calculation method is specified by S1 9 F71 P71 Hexadecima l data ASCII code HEXA PHEXA S1 S2 D Converts the hexadecimal data specified by S1 and S2 to ASCII code and stores it in D Example HABCD H 42 41 44 43 7 B A D C F72 P72 ASCII code Hexadeci mal data AHEX PAHEX 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...

Page 512: ...t binary data DBIN PDBIN S D Converts the eight digits of BCD data specified by S 1 S to 32 bits of binary data and stores it in D 1 D 7 F84 P84 16 bit data invert com plement of 1 INV PINV D Inverts each bit of data of D 3 F85 P85 16 bit data complement of 2 NEG PNEG D Inverts each bit of data of D and adds 1 inverts the sign 3 F86 P86 32 bit data complement of 2 DNEG PDNEG D Inverts each bit of ...

Page 513: ...eft shift of multiple bits n bits in a 16 bit data SHL PSHL D n Shifts the n bits of D to the left 5 F102 P102 Right shift of n bits in a 32 bit data DSHR PDSHR D n Shifts the n bits of the 32 bit data area specified by D 1 D to the right 5 F103 P103 Left shift of n bits in a 32 bit data DSHL PDSHL D n Shifts the n bits of the 32 bit data area specified by D 1 D to the left 5 F105 P105 Right shift...

Page 514: ...R D n Rotates the number of bits specified by n of the double words data 32 bits specified by D 1 D to the right 5 F126 P126 32 bit data left rotate DROL PDROL D n Rotates the number of bits specified by n of the double words data 32 bits specified by D 1 D to the left 5 F127 P127 32 bit data right rotate with carry flag R9009 data DRCR PDRCR D n Rotates the number of bits specified by n of the do...

Page 515: ... data to another station in the network MEWNET via link unit 9 F145 P145 Data send SEND S1 S 2 D N Sends the data to the slave station as the MOD bus master via COM port 9 3 F146 P146 Data receive RECV S1 S 2 N D Receives the data from the slave station as the MOD bus master via COM port 9 3 F145 P145 Data send SEND S1 S 2 D N Sends the data to the slave station of the MOD bus master type II 9 4 4...

Page 516: ...1 MCU serial port reception MRCV PMRCV S D 1 D2 Data is received from external equipment via the COM port of the specified MCU 7 2 2 BIN arithmetic instruction F160 P160 Double word 32 bit data square root DSQR PDSQR S D S D 7 High speed counter Pulse output instruction for FP0 FP e F0 High speed counter and Pulse output controls MV S DT9052 Performs high speed counter and Pulse output controls ac...

Page 517: ...ulse output elapsed value area DT90045 DT90044 7 DT90300 D Transfers value in high speed counter and Pulse output elapsed value area DT90045 DT90044 to D 1 D 7 F165 Cam control CAM0 S Controls cam operation on off patterns of each cam output according to the elapsed value of the high speed counter 3 F166 Target value much on with channel specification High speed counter control Pulse output contro...

Page 518: ...target position forms a straight line 5 F176 Pulse output Circular interpolation SPCH S n Pulses are output from channel in accordance with the designated data table so that the path to the target position forms an arc 5 F177 Pulse output Home return HOME S n Performs the home return according to the specified data table 7 F178 Input pulse measurement No of pulses cycle for input pulses PLSM S1 S2...

Page 519: ...turn SPDH S n Positioning pulses are output from the specified channel in accordance with the contents of the data table that starts with S 5 F172 Pulse output with channel specification JOG operation PLSH S n Pulse strings are output from the specified output in accordance with the contents of the data table that starts with S 5 F173 PWM output with channel specification PWMH S n PWM output is ou...

Page 520: ...bit data XOR DXOR PDXOR S1 S2 D S1 1 S1 12 AND S2 1 S2 OR S1 1 S1 AND S2 1 S2 D 1 D F218 P218 32 bit data XNR DXNR PDXNR S1 S2 D S1 1 S1 12 AND S2 1 S2 OR S1 1 S1 AND S2 1 S2 D 1 D F219 P219 Double word 32 bit data unites DUNI PDUNI S1 S2 S3 D S1 1 S1 AND S3 1 S3 16 OR S2 1 S2 AND S3 1 S3 D 1 D Data conversion instructions F230 P230 Time data second conversion TMSEC PTMSEC S D The specified time d...

Page 521: ...ent results to a special internal relay 10 F258 P258 Character string coupling SADD S1 S2 D These instructions couple one character string with another 12 F259 P259 Number of characters in a character string LEN S D These instructions determine the number of characters in a character string 6 F260 P260 Search for character string SSRC S1 S2 D The specified character is searched in a character stri...

Page 522: ...al value and the mean value of the double word data with sign from the area selected with S1 to S2 are obtained and stored in the D 8 1 F277 P277 Sort word data 16 bit SORT PSORT S1 S2 S3 The word data with sign from the area specified by S1 to S2 are sorted in ascending order the smallest word is first or descending order the largest word is first 8 1 F278 P278 Sort double word data 32 bit DSORT ...

Page 523: ...peration BSIN PBSIN S D SIN S1 1 S1 D 1 D 6 F301 P301 BCD type cosine operation BCOS PBCOS S D COS S1 1 S1 D 1 D 6 F302 P302 BCD type tangent operation BTAN PBTAN S D TAN S1 1 S1 D 1 D 6 F303 P303 BCD type arcsine operation BASIN PBASIN S D SIN 1 S1 1 S1 D 1 D 6 F304 P304 BCD type arccosine operation BACOS PBACOS S D COS 1 S1 1 S1 D 1 D 6 F305 P305 BCD type arctangent operation BATAN PBATAN S D TA...

Page 524: ...teger data to floating point type data conversion FLT PFLT S D Converts the 16 bit integer data with sign specified by S to real number data and the converted data is stored in D 6 1 F326 P326 32 bit integer data to floating point type data conversion DFLT PDFLT S D Converts the 32 bit integer data with sign specified by S 1 S to real number data and the converted data is stored in D 1 D 8 1 F327 ...

Page 525: ...al number data specified in S 1 S is rounded down and the result is stored in D 1 D 8 1 F334 P334 Floating point type data round ding the first decimal point off FRINT PFRINT S D The decimal part of the real number data stored in S 1 S is rounded off and the result is stored in D 1 D 8 1 F335 P335 Floating point type data sign changes F PF S D The real number data stored in S 1 S is changed the si...

Page 526: ...N PFMIN S1 S2 D Searches the minimum value in the real number data table between the area selected with S1 and S2 and stores it in the D 1 D The address relative to S1 is stored in D 2 8 F352 P352 Floating point type data total and mean values FMEAN PFMEAN S1 S2 D The total value and the mean value of the real number data from the area selected with S1 to S2 are obtained The total value is stored ...

Page 527: ...ructions F410 P410 Setting the index register bank number SETB PSETB n Index register I0 to ID bank number change over 4 F411 P411 Changing the index register bank number CHGB PCHGB n Index register I0 to ID bank number change over with remembering preceding bank number 4 F412 P412 Restoring the index register bank number POPB PPOPB Changes index register I0 to ID bank number back to the bank befo...

Page 528: ...ined above Syntax check error This is an error detected by the total check function when there is a syntax error or incorrect setting written in the program When the mode selector is switched to the RUN mode the total check function automatically activates and eliminates the possibility of incorrect operation from syntax errors in the program When a syntax check error is detected ERROR turns on or...

Page 529: ...clear Error codes 43 and higher can be cleared You can use the initialize test switch to clear an error However this will also clear the contents of operation memory Errors can also be cleared by turning off and on the power while in the PROG mode However the contents of operation memory not stored with the hold type data will also be cleared The error can also be cleared depending on the self dia...

Page 530: ...ng or in an incorrect position Change to PROG mode and enter the two instructions which must be used in a pair in the correct positions A A A A A A A A E4 Parameter mismatch error Stops An instruction has been written which does not agree with system register settings For example the number setting in a program does not agree with the timer counter range setting Change to PROG mode check the syste...

Page 531: ... program so that the high level instructions executed in every scan and only at the leading edge are triggered separately A A A A A A E8 High level instruction operand combina tion error Stops There is an incorrect operand in an instruction which requires a specific combination of operands for example the operands must all be of a certain type Enter the correct combination of operands A A A A A A ...

Page 532: ...he ERROR turned off rewrite the master memory as its contents are damaged and use it again When the ERROR does not turn off please contact your dealer FP1 C24 C40 C56 C72 and FP M Probably an abnormality in the memory unit Program the memory unit again and try to operate If the same error is detected try to operate with another memory unit FP2 FP2SH FP10SH and FP3 There may be a problem with the i...

Page 533: ...Stops An abnormal unit is installed FPΣ FP0R FP0R mode FP X FP2 FP2SH and FP10SH Check the contents of special data register DT90036 and locate the abnormal unit Then turn off the power and replace the unit with a new one FP3 Check the contents of special data register DT9036 and locate the abnormal unit Then turn off the power and replace the unit with a new one A A A A A E35 MEWNET F slave illeg...

Page 534: ...nd execute the read once again A A E40 I O error Sele ctable Abnormal I O unit FPΣ FP X Check the contents of special data register DT90002 and abnormal FPΣ expansion unit application cassette for FP X Then check the unit FP2 and FP2SH Check the contents of special data registers DT90002 DT90003 and abnormal I O unit Then check the unit Selection of operation status using system register21 to cont...

Page 535: ...rring to its manual Selection of operation status using system register22 to continue operation set 1 to stop operation set 0 Verification is possible in FPWIN GR Pro at I O error in the status display function A A A A A E42 I O unit verify error Selec table I O unit Expansion unit wiring condition has changed compared to that at time of power up Check the contents of special data register FP0 DT9...

Page 536: ... the system register 35 Selection of operation status using system register25 to continue operation set 1 to stop operation set 0 A A A E45 Operation error Selec table Operation became impossible when a high level instruction was executed Selection of operation status using system register26 to continue operation set K1 to stop operation set K0 The address of operation error can be confirmed in ei...

Page 537: ... K0 A A A E47 MEW NET F attribute error Selec table In the unit on the slave station an abnormality such as missing unit abnormal intelligent unit was detected FP2 FP2SH and FP10SH Check the contents of special data registers DT90131 to DT90137 and locate the abnormal slave station and recover the slave condition FP3 Check the contents of special data registers DT9131 to DT9137 and locate the abno...

Page 538: ... IC memory card The contents of the IC memory card cannot be guaranteed A A E55 IC memory card back up battery error Cont inues The voltage of the backup battery for IC memory card lowers The BATT LED does not turn on Charge or replace the backup battery of IC memory card The contents of the IC memory card cannot be guaranteed A A E56 Incompati ble IC memory card error Cont inues The IC memory car...

Page 539: ...error A different command was received when processing multiple frames 50 Link setting error A route number that does not exist was specified Verify the route number by designating the transmission station 51 Transmission time out error Transmission to another device not possible because transmission buffer is congested 52 Transmit disable error Transmission processing to another device is not pos...

Page 540: ...t of the address data Also when exceeded or insufficient of address data there was a mistake in the range designation 67 No program error and No data error Cannot be read because there is no program in the program area or the memory contains an error Or reading was attempted of data that was not registered 68 Rewrite during RUN error When inputting with programming tool software editing of an inst...

Page 541: ...timer counter elapsed value area WK Writes the timer counter elapsed value Register or Reset contacts monitored MC Registers the contact to be monitored Register or Reset data monitored MD Registers the data to be monitored Monitoring start MG Monitors a registered contact or data using the code MC or MD Preset contact area fill command SC Embeds the area of a specified range in a 16 point on and ...

Page 542: ...0 0001 0100 0000 0000 0001 0101 16 17 18 19 20 21 22 23 0010 0011 0012 0013 0014 0015 0016 0017 00000000 00010000 00000000 00010001 00000000 00010010 00000000 00010011 00000000 00010100 00000000 00010101 00000000 00010110 00000000 00010111 0000 0000 0001 0110 0000 0000 0001 0111 0000 0000 0001 1000 0000 0000 0001 1001 0000 0000 0010 0000 0000 0000 0010 0001 0000 0000 0010 0010 0000 0000 0010 0011 ...

Page 543: ...17 7 ASCII Codes Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 544: ...tion New product addition FP X Control Unit Transistor Type FP X Expansion Unit Transistor Type 4th Edition New product addition FP X communication cassette AFPX COM5 FP X communication cassette AFPX COM6 FP X Analog output cassette AFPX DA2 FP X Analog I O cassette AFPX A21 FP X Thermocouple cassette AFPX TC2 FP X I O cassette AFPX IN4T3 5th Edition 6th Edition 7th Edition 8th Edition 9th Edition...

Reviews: