background image

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

Содержание AFP7CPS4E

Страница 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 2: ... than the maximum of the characteristics and performance 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 s...

Страница 3: ...t FP7 Extension Cassette Communication RS 232C RS485 type FP7 series Users Manual SCU communication WUME FP7COM FP7 Extension Cassette Communication Ethernet type FP7 series Users Manual Communication cassette Ethernet type WUME FP7CCET FP7 Extension Function Cassette Analog Cassette FP7 Analog Cassette Users Manual WUME FP7FCA Upcoming FP7 Digital Input Output Unit FP7 Digital Input Output Unit U...

Страница 4: ... Units Combination 1 8 1 3 1 Restrictions on the Number of Installed Units 1 8 1 3 2 Restrictions on the Combination of Extension Cassettes Communication Cassettes 1 8 1 3 3 Restrictions on Communication Functions to be Used 1 8 1 3 4 Unit to be Used and Applicable Versions of CPU Unit and FPWIN GR71 8 1 3 5 Restrictions on Consumption Current 1 9 2 Names and Functions of Parts 2 1 2 1 Names and F...

Страница 5: ...d Type 3 12 3 4 4 Communication Cassette AFP7CCM2 RS 422 RS 485 2 Channel Insulated Type 3 15 3 4 5 Communication Cassette AFP7CCS1M1 RS 232C 1 Channel RS 485 1 Channel Insulated Type 3 19 4 I O Allocation 4 1 4 1 Input Output Signals Used for Communication 4 2 4 1 1 I O Allocation of CPU Unit 4 2 4 1 2 I O Allocation of Serial Communication Unit 4 4 4 2 Registration in I O Map 4 6 4 2 1 Settings ...

Страница 6: ...ing 6 7 6 3 2 Max Station No Setting 6 7 6 3 3 Memory Block Numbers for Link Relays and Link Registers to be Used6 8 6 3 4 Range of Use of Link Relays and Range of Use of Link Registers 6 8 6 3 5 Starting No for Link Relay Send Area and Sending Size 6 9 6 3 6 Starting No for Link Register Send Area and Sending Size 6 10 6 4 PLC Link Response Time 6 12 6 4 1 Response Time of 1 Transmission Cycle 6 ...

Страница 7: ...ata from an External Device 8 4 8 3 2 RECV Instruction MODBUS Function Code Specified Type 8 7 8 3 3 RECV Instruction MODBUS Function Code Unspecified Type 8 8 8 4 MODBUS RTU Master Communication SEND 8 9 8 4 1 Write Data into an External Device 8 9 8 4 2 SEND Instruction MODBUS Function Code Specified Type 8 12 8 4 3 SEND Instruction MODBUS Function Code Unspecified Type 8 13 9 General Purpose Co...

Страница 8: ... End Code ETX 9 16 10 Troubleshooting 10 1 10 1 Self diagnostic Function 10 2 10 1 1 CPU Unit s Operation Monitor LED 10 2 10 1 2 Operation at the Time of Error 10 2 10 1 3 Serial Communication Unit s Operation Monitor LED 10 3 10 2 What to DO If an Error Occurs For Each Communication Mode 10 4 10 2 1 When Using PLC Link Function 10 4 10 2 2 When Using MEWTOCOL MEWTOCOL7 MODBUS RTU Function 10 4 1...

Страница 9: ...1 2 MEWTOCOL COM Format 11 5 11 2 1 MEWTOCOL COM Command Format 11 5 11 2 2 MEWTOCOL COM Response Format 11 7 11 3 MEWTOCOL7 COM Format 11 9 11 3 1 MEWTOCOL7 COM Command Format 11 9 11 3 2 MEWTOCOL7 Response Format 11 11 11 4 MODBUS RTU Format 11 13 11 4 1 MODBUS RTU Command Format 11 13 11 4 2 MODBUS RTU Response Format 11 14 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwt...

Страница 10: ...Table of Contents viii Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 11: ...1 Functions of Units and Restrictions on Combination Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 12: ... COM 0 port as standard equipment The CPU unit includes a RS 232C port 3 wire type for the connection with a programmable display and a power supply as standard equipment Four communication modes are available The PC link MEWTOCOL MODBUS RTU and general purpose communication modes are provided and many serial communication devices can be connected by the combination of communication cassettes CPU ...

Страница 13: ... 485 AFP7CCS1M1 3 wire 1 channel RS 232C Note 1 For AFP7CCS2 select and use either 3 wire 2 channel RS 232C or 5 wire 1 channel RS 232C Switching should be performed using a switch on the Communication Cassette Note 2 For AFP7CCM1 and AFP7CCM2 select and use either RS 422 or RS 485 Switching should be performed using a switch on the Communication Cassette Note 3 For AFP7CCS1M1 both 1 channel RS 48...

Страница 14: ...Cs data can be exchanged with 1 008 link relay points and 128 link register words Applications of PLC Link Functions MEWNET W0 Among our FP series PLC it can be used for link functions with the following models It is also capable of 1 1 communication via RS 232C port FP X0 L40MR L60MR FP0R RS485 type FPΣ Using Communication cassette RS 485 type FP X Using Communication cassette RS 485 type FP2 Mul...

Страница 15: ...rns responses In slave communication PLC responds automatically so no program concerning communication is necessary on the PLC side The data size that can be sent or received in a single communication is up to 507 words for register transmission up to 1 014 words for MEWTOCOL7 COM and 1 bit for bit transmission Master function Slave function Examples of applications of MEWTOCOL master communicatio...

Страница 16: ...s performed when the higher device connected to PLC has the sending right and sends commands and PLC returns responses In slave communication PLC responds automatically so no program concerning communication is necessary on the PLC side The data size that can be sent or received in a single communication is up to 127 words for register transmission and 2 040 bit for bit transmission Master functio...

Страница 17: ...nds in accordance with the partner device as strings into ASCII text setting them into a given data register and executing GPSEND instruction Response received from the partner device is temporarily saved in the buffer Based on the reception done flag GPRECV instruction is executed The ASCII strings can be converted into numerical data etc as necessary by the user program The data size that can be...

Страница 18: ... two ports allocate different link areas to them CPU with built in SCU COM 1 port Serial communication unit COM 1 port MEWTOCOL COM master MODBUS RTU master A maximum of 16 communication ports and the number of connections in combination can be used simultaneously CPU with built in SCU COM 1 port to COM 2 port Serial communication unit COM 1 port to COM 4 port CPU with built in ET LAN User connect...

Страница 19: ...Note 2 Ethernet AFP7CCET 35 mA or less Serial Communication Unit AFP7NSC 50 mA or less RS 232C x 1ch AFP7CCS1 20 mA or less RS 232C x 2ch AFP7CCS2 40 mA or less RS 422 485 x 1ch AFP7CCM1 30 mA or less RS 422 485 x 2h AFP7CCM2 60 mA or less When attaching Extension Cassette Communication Cassette to Serial Communication Unit Note 1 Note 2 RS 232C x 1ch RS 422 485 x 1ch AFP7CCS1M1 50 mA or less Note...

Страница 20: ...Functions of Units and Restrictions on Combination 1 10 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 21: ...2 Names and Functions of Parts Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 22: ...is equipped with power supply terminals 5 VDC and 24 VDC to which a GT series programmable display can be connected 3 LAN port This is equipped to a standard model of CPU unit This is used for connection to Ethernet 4 USB port This is equipped to a standard model of CPU unit This is used for connecting tool software REFERENCE For details of the communication method using LAN port refer to FP7 CPU ...

Страница 23: ... that cannot be used is installed Flashing cycle 500 ms ALARM Red Lights when an error occurs in hardware 2 COM 1 and COM 2 ports Attach a separately sold communication cassette to use these ports No blank cover is fitted when the unit is shipped 3 COM 3 and COM 4 ports Attach a separately sold communication cassette to use these ports A blank cover is fitted when the unit is shipped 4 DIN hook Th...

Страница 24: ...Names and Functions of Parts 2 4 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 25: ...3 Wiring the COM Port Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 26: ...he following procedures PROCEDURE 1 Using a flathead screwdriver remove the cover on the side of the CPU unit You will find four toggles 2 Attach a desired Communication Cassette The illustration is the CPU unit As for the Serial Communication Unit the attachment procedure is the same Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 27: ...rea Size With insulating sleeve Without insulating sleeve 0 25 mm 2 AWG 24 AI 0 25 6 BU A 0 25 7 0 34 mm 2 AWG 22 AI 0 34 6 TQ A 0 34 7 0 50 mm 2 AWG 20 AI 0 5 6 WH A 0 5 6 0 75 mm 2 AWG 18 AI 0 75 6 GY A 0 75 6 Phoenix Contact 1 00 mm 2 AWG 18 A 1 6 Pressure welding tool for pole terminals Model no Manufacturer Part no Product no Phoenix Contact CRIMPFOX 6 1212034 Screwdriver for terminal block T...

Страница 28: ...mple appropriate cable 1 25 mm 2 AWG16 or larger Max 16 8 Ω km Poly ethylene Max 0 5 mm Approx 8 5 mm Hitachi Cable Ltd KPEV S1 25 mm 2 1P Belden Inc 9860 Shielded twisted pair Cover Shield Con ductor Insu lator 0 5 mm 2 AWG20 or larger Max 33 4 Ω km Poly ethylene Max 0 5 mm Approx 7 8 mm Hitachi Cable Ltd KPEV S0 5 mm 2 1P Belden Inc 9207 VCTF Cover Con ductor Insu lator 0 75 mm 2 AWG18 or larger...

Страница 29: ...r disconnected wires When removing the wire s insulation be careful not to scratch the core wire Do not twist the wires to connect them Do not solder the wires to connect them The solder may break due to vibration After wiring make sure stress is not applied to the wire In the terminal block socket construction if the wire is fastened upon counter clockwise rotation of the screw the connection is ...

Страница 30: ...of our programmable displays Do not use the terminals for other devices GT power supply terminals and COM0 port RS 232C are insulated inside 3 3 2 Terminal Layouts and Examples of Wiring Layout for GT power supply terminals and COM0 port terminals Terminal no Terminal part Symbol Functions that can be allocated Signal direction Ports that can be allocated in the software 1 COM 0 SD Sent data PLC E...

Страница 31: ... GT terminal From 5 V terminal From 0 V terminal Example of wiring in the case of GT series 24V DC type FP7 CPU unit COM 0 port terminal GT power supply terminal OUTPUT COM 0 0V 6 5V 5 24V GT power supply 4 SG Signal Ground 3 RD Received Data 2 SD Sent Data 1 Terminal part symbol Signal name Terminal No Functional Ground Sent Data SD 0V NC RS Received Data RD Signal Ground SG NC CS 24V Signal name...

Страница 32: ... in the software 1 CH1 SD SD SD Sent Data PLC External device 2 RD RD RD Received Data PLC External device 3 SG SG Signal Ground COM 1 4 9 Note Do not connect anything to Terminals No 4 through No 9 Example of wiring AFP7CCS1 Signal Ground Received Data 1 Sent Data 1 Signal name SG SG 3 RD RD 2 SD SD 1 Functions Terminal part symbol Terminal No Partner Signal Ground SG Sent Data SD Received Data R...

Страница 33: ...g of Application Switch Applications for use can be switched using a switch on the backplane for Communication Cassette AFP7CCS2 Settings can be confirmed with LED lamps at the front of the cassette 3 wire 2 channel RS 232C 5 wire 1 channel RS 232C RS CS controlled Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 34: ... Signal Ground COM 2 7 MODE 8 3 Wire 9 5 Wire Note 1 Route between CH1 and CH2 are insulated inside Note 2 Do not connect anything to Terminals No 7 through No 9 Example of wiring in the setting of 3 wire 2 channel RS 232C AFP7CCS2 Signal Ground Received Data 2 Sent Data 2 Signal Ground Received Data 1 Sent Data 1 Signal name SG SG 6 RD RD 5 SD SD 4 SG SG 3 RD RD 2 SD SD 1 Functions Terminal part ...

Страница 35: ...equest to Send PLC External device 5 RD C RD CS Clear to Send PLC External device COM 1 6 SG 7 MODE 8 3 Wire 9 5 Wire Note Do not connect anything to Terminals No 6 through No 9 Example of wiring in the setting of 5 wire 1 channel RS 232C RS CS controlled AFP7CCS2 Clear to Send Request to Send Signal Ground Received Data Sent Data Signal name CS RD 5 RS SD 4 SG SG 3 RD RD 2 SD SD 1 Functions Termi...

Страница 36: ...ssette AFP7CCM1 Settings can be confirmed with LED lamps at the front of the cassette Settings for termination resistance selector switch On the surface of Communication Cassette AFP7CCM2 is located a termination resistance selector switch When RS 422 is used Turn ON the switch When RS 485 is used Turn ON the switch only when it is the end unit Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr co...

Страница 37: ...l No 3 and Terminal No 2 and Terminal No 4 are respectively connected inside They can be used as terminals for crossover wiring for the transmission cable Note 2 Do not connect anything to Terminals No 5 through No 9 Example of wiring in the setting of RS 485 AFP7CCM1 Transmission line Transmission line Transmission line Transmission line Signal name R 4 R 3 S 2 S 1 Functions Terminal part symbol ...

Страница 38: ... Received Data PLC External device 4 422 R Received Data PLC External device COM 1 5 9 Note Do not connect anything to Terminals No 5 through No 9 Example of wiring in the setting of RS 422 AFP7CCM1 Received Data Received Data Sent Data Sent Data Signal name RD R 4 RD R 3 SD S 2 SD S 1 Functions Terminal part symbol Terminal No Partner Sent Data Sent Data Received Data Received Data Signal name SD...

Страница 39: ...for Communication Cassette AFP7CCM2 Settings can be confirmed with LED lamps at the front of the cassette Settings for termination resistance selector switch On the surface of Communication Cassette AFP7CCM2 is located a termination resistance selector switch When RS 422 is used Turn ON the switch When RS 485 is used Turn ON the switch only when it is the end unit Phone 800 894 0412 Fax 888 723 47...

Страница 40: ...ssion line COM 2 Note 1 In the setting of RS 485 Terminal No 1 and Terminal No 3 and Terminal No 2 and Terminal No 4 are respectively connected inside They can be used as terminals for crossover wiring for the transmission cable Note 2 In the setting of RS 485 Terminal No 6 and Terminal No 8 and Terminal No 7 and Terminal No 9 are respectively connected inside They can be used as terminals for cro...

Страница 41: ...l name R 9 NC 5 R 4 R 3 S 2 S 1 Functions Terminal part symbol Terminal No Transmission line Transmission line Signal name Terminal Transmission line Transmission line Signal name Terminal Transmission line Transmission line Signal name Terminal Transmission line Transmission line Signal name Terminal Transmission line 1 Partner 1 Transmission line 1 Partner 2 Transmission line 2 Partner 1 Transmi...

Страница 42: ...device 9 422 R Received Data PLC External device COM 2 Note 1 Do not connect anything to Terminal No 5 Note 2 Route between CH1 and CH2 are insulated inside Example of wiring in the setting of RS 422 AFP7CCM2 SD Sent Data 2 S 6 SD Sent Data 2 S 7 RD Received Data 2 R 8 Received Data 2 Received Data 1 Received Data 1 Sent Data 1 Sent Data 1 Signal name RD R 9 5 RD R 4 RD R 3 SD S 2 SD S 1 Functions...

Страница 43: ...e end unit Terminal no LED part Symbol Terminal part Symbol Functions that can be allocated Signal direction Ports that can be allocated in the software 1 CH1 SD Transmission line 2 RD Transmission line 3 Transmission line 4 Transmission line COM 1 5 6 7 CH2 SD SD Sent data 8 RD RD Received data 9 SG SG Signal ground COM 2 Note 1 Terminal No 1 and Terminal No 3 and Terminal No 2 and Terminal No 4 ...

Страница 44: ...Signal name SG SG 9 NC 5 R 4 R 3 S 2 S 1 Functions Terminal part symbol Terminal No RS 485 Partner 1 Transmission line Transmission line Signal name Terminal RS 485 Partner 2 RS 232C partner Transmission line Transmission line Signal name Terminal Sent Data SD Signal Ground Received Data Signal name SG RD Terminal Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 45: ...3 I O Allocation Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 46: ...Do not use this XC For COM 1 Port XD For COM 2 Port XE For COM 0 Port Master communication Clear to send flag It turns on 1 when the unit is set to modes other than the PLC link mode or general purpose communication mode It turns off 0 in other modes MEWTOCOL MODBUS RTU XF Not used Do not use this X10 For COM 1 Port X11 For COM 2 Port X12 For COM 0 Port Reset done When the communication channel is...

Страница 47: ...nication channel can be reset Without a request to reset 0 With a request to reset 1 After ON 1 is output and the completion of the reset is confirmed by X10 X12 return to OFF 0 The reset is performed only once when this signal rises This function can be used to delete unnecessary received data or to clear errors before starting normal reception 1 Sending canceled 2 Reception canceled 3 Re set com...

Страница 48: ...es other than the PLC link mode or general purpose communication mode It turns off 0 in other modes MEWTOCOL MODBUS RTU X10 For COM 1 Port X11 For COM 2 Port X12 For COM 3 Port X13 For COM 4 Port Reset done When the communication channel is reset under the output Y10 Y13 the flag is turned on 1 once the resetting operation is completed Resetting done 1 Y10 Y12 is off 0 General purpose communicatio...

Страница 49: ...ion of the reset is confirmed by X10 X13 return to OFF 0 The reset is performed only once when this signal rises This function can be used to delete unnecessary received data or to clear errors before starting normal reception 1 Sending canceled 2 Reception canceled 3 Re set communication parameters 4 Clear error information only for errors that can be cleared General purpose communication Y14 For...

Страница 50: ...e explanation below shows the case that the serial communication unit is registered in the slot number 1 PROCEDURE 1 Select Options FP7 Configuration in the menu bar The FP7 Configuration dialog box appears 2 Select I O map in the left pane The I O map dialog box is displayed 3 Double click Slot No 0 The Unit selection Slot No 0 dialog box is displayed 4 Select CPU unit for Unit type and select a ...

Страница 51: ... Slot No 1 dialog box is displayed 6 Select Communications for Unit type and select SCU unit for Unit name and press OK button SCU unit is registered in the I O map The set conditions are reflected in the project being edited Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 52: ...I O Allocation 4 8 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 53: ...5 Setting and Confirming Communication Conditions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 54: ...ion port Setting range Default Station no 1 99 MEWTOCOL COM 1 999 MEWTOCOL7 COM 1 247 MODBUS RTU 1 Baud rate 300 600 1200 2400 4800 9600 19200 38400 57600 115200 230400 9600 Data length 7 bits 8 bits 8 bits Parity None Odd Even Odd Stop bit 1 bit 2 bits 1 bit End code CR CR LF ETX or time 0 01 ms 100 ms by the unit of 0 01 ms CR Communica tion format Start code With STX Without STX Without STX RS ...

Страница 55: ...ould be set using the tool software FPWIN GR7 PROCEDURE 1 From the menu bar select Option FP7 Configuration The FP7 Configuration dialog box opens 2 Select Built in SCU Setting items for Built in SCU appear 3 Specify communication conditions and press OK button Set conditions are incorporated into the project that is being edited Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info cl...

Страница 56: ...nfiguration in the menu bar The FP7 Configuration dialog box appears 2 Select I O map in the left pane The I O map dialog box is displayed 3 Select the Slot No in which SCU unit is registered in the I O map dialog box and press the Advanced button The SCU Unit Settings dialog box is displayed 4 Select COM No in the left pane Setting items available for each COM number are displayed 5 Set communica...

Страница 57: ...6 PLC Link Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 58: ... connected to the network Likewise if the contents of a link register are rewritten in one PLC the change is made in the same link register of each of the other PLCs connected to the network PLC PLC PLC PLC RS485 No 1 No 1 No 1 No 2 No 2 No 3 No 3 No 3 No 2 Station no 1 Station no 2 Station no 3 Station no 4 Send area Send area Send area Receive area Receive area Receive area Receive area Receive ...

Страница 59: ... and R0 in the other units is output PLC PLC PLC PLC RS485 R0 L0 L0 Y0 L0 Y0 L0 Y0 R0 F0 MV K100 LD0 LD 0 100 LD 0 100 LD 0 100 LD 0 100 No 2 Link register No 1 Link register No 3 Link register No 4 Link register Link register If the constant 100 is written into LD0 of the source station no 1 LD0 of the other station no 2 is also changed to the constant 100 Phone 800 894 0412 Fax 888 723 4773 Web ...

Страница 60: ...figuration The FP7 Configuration dialog box appears 2 From the left pane of the dialog box select Built in SCU Setting items for each COM port are displayed 3 Select PLC link from Communication mode in setting items under COM1 settings Setting items for PLC link become valid 4 Specify conditions to be allocated to each setting item for Station no and PLC link settings under COM1 settings and press...

Страница 61: ...ion in the menu bar The FP7 Configuration dialog box appears 2 From the left pane of the dialog box select I O map The I O map dialog box is displayed 3 Select a unit used for PLC link and press Advanced button The SCU Unit Settings dialog box is displayed 4 Select COM 1 settings from the left pane and select PLC link in Communication mode 差し替え 5 Set conditions assigned to each item in PLC link se...

Страница 62: ...r link relays and link registers to be used 0 or 1 Specify the device No range for link relays and link registers to be used in a block Maximum station no to be used for PLC link 0 to 16 Set the Max station no for PLC to be connected to the PLC link Range of link relays used 0 to 64 words Range of link registers used 0 to 128 words Starting no for link relay send area 0 to 63 Size of link relay se...

Страница 63: ...e PLC on the same network 6 3 2 Max Station No Setting Set the Max station no for PLC to be connected to the PLC link The smaller the Max station no is the shorter the relative transmission time becomes NOTES Station nos should be set sequentially and consecutively starting from 1 with no breaks between them If there is a missing station no the transmission time will be longer Set the same value f...

Страница 64: ... Link Registers Specify the memory area range for link relays and link registers to be used Link relays and link registers that do not use the link function can be used in place of internal relays and data registers E g Examples of setting the range of use in the case of PLC link 0 The figure below indicates a case where the link relay range of use is set to 50 50 words WL0 WL49 and the link regis...

Страница 65: ...etting the starting No for link relay send area and the sending size in the case of memory block No 0 List of setting items PLC link settings Station no and setting method Setting items Setting range No 1 No 2 No 3 No 4 Memory block numbers for link relays and link registers to be used 0 or 1 0 0 0 0 Maximum station no to be used for PLC link 0 to 16 4 4 4 4 Range of link relays used 0 to 64 words...

Страница 66: ...o 0 List of setting items PLC link settings Station no and setting method Setting items Setting range No 1 No 2 No 3 No 4 Memory block numbers for link relays and link registers to be used 0 or 1 0 0 0 0 Maximum station no to be used for PLC link 0 to 16 4 4 4 4 Range of link registers used for PLC link 0 to 128 words 128 128 128 128 Starting No for link register send area 0 to 127 0 40 80 0 Size ...

Страница 67: ...d and this will cause an error so that communication cannot be carried out The allocations shown below are not possible neither for link relays nor for link registers Send area is split on a single PLC Send and receive areas are split into multiple segments Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 68: ...ng size Ttx 1 transmission speed kbps 1000 11 ms Approx 0 096 ms at 115 2 kbps Ltm 13 2 n n No of added stations 3 Tso Master station scan time This should be confirmed using the programming tool 4 Tlk link addition processing time Calculation formula When there is no station that is yet to be added to the link Tlk 0 Tlk Tlc link addition command sending time Twt addition waiting time Tls sending ...

Страница 69: ... 400 0 67 5 407 ms Note Default value for the addition waiting time 400 ms T Max Ts Tlt Tso Tlk 11 82 15 4 13 5 407 593 43 ms 4 8 units connected to the link no station yet to be added Where Max station no 8 Relays registers are equally allocated and Scan time for each PLC is set at 5 ms Ttx 0 096 Each Pcm 23 8 16 4 119 bytes Tpc Ttx Pcm 0 096 119 11 43 ms Each Ts 5 11 43 16 43 ms Tlt 0 096 13 2 8...

Страница 70: ...ing time increases and with this the transmission cycle time will be longer NOTE Stations that have not been added stations yet to be added refers to stations between No 1 and the Max station no that are not connected or those that are connected but whose power supply has yet to be turned on Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 71: ...7 MEWTOCOL Master Slave Communication Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 72: ...he setting must be done according to the devices connected In general the default values 8 bit length odd parity and 1 stop bit should be used Send waiting time set value 0 01 ms 0 0 10000 0 100 ms Set this when it is necessary to delay response to the partner device in slave communication Start code STX Invalid Terminator setting CR Terminator judgment time set value 0 01 ms 0 No need to specify ...

Страница 73: ...onitoring start MG Monitors a registered contact or data using MC and MD Preset contact area fill command SC Embeds the area of a specified range in a 16 point on off pattern Preset data area fill command SD Writes the same contents to the data area of a specified range Read the status of PLC RT Reads the specifications of the programmable controller and error codes if an error occurs Abort AB Abo...

Страница 74: ... write the content into PLC s data register DT100 DT101 Confirm that the unit is in the master mode XC and that the sending process is not in progress for the same port YC and start up the SEND instruction In the UNITSEL instruction specify the slot No U0 and the COM port No U1 In the RECV instruction specify and execute the partner station no U1 initial address DT400 No of data U2 and initial add...

Страница 75: ...Turns ON during sending data based on SEND RECV instruction Turns OFF when the sending process is completed Y0 Y1 Y2 Sending done result flag Reports completion result of sending data in general purpose communication or master communication Normal completion 0 Abnormal completion 1 I O allocation For Serial Communication Unit COM port no 1 2 3 4 Name Explanation XC XD XE XF Master communication Cl...

Страница 76: ...execute other SEND RECV instruction for a communication port in master communication Confirm that the Master communication Sending active flag YC YF is OFF and execute instruction You cannot execute SEND RECV instruction for a port in slave communication If no response is received the Master communication Sending active flag YC YF remains ON throughout the timeout setting time specified in CPU con...

Страница 77: ...s S2 and D1 Device to be specified for S2 and D1 Transmission method 16 bit device WX WY WR WL DT LD Register transmission 1 bit device X Y R L DT n LD Bit transmission Note 2 Bit device DT n and LD n cannot be specified for the header of the sender data in the partner node Note 3 The No of sent data is on a word basis for register transmission and on a bit basis for bit transmission Note 4 Device...

Страница 78: ...data area of an external device station no 1 DT400 DT401 Confirm that the unit is in the master mode XC and that the sending process is not in progress for the same port YC and start up the SEND instruction In the UNITSEL instruction specify the slot No U0 and the COM port No U1 In the SEND instruction specify and execute the sender initial address DT100 No of data U2 Transmit to station no U1 and...

Страница 79: ...Turns ON during sending data based on SEND RECV instruction Turns OFF when the sending process is completed Y0 Y1 Y2 Sending done result flag Reports completion result of sending data in general purpose communication or master communication Normal completion 0 Abnormal completion 1 I O allocation For Serial Communication Unit COM port no 1 2 3 4 Name Explanation XC XD XE XF Master communication Cl...

Страница 80: ...execute other SEND RECV instruction for a communication port in master communication Confirm that the Master communication Sending active flag YC YF is OFF and execute instruction You cannot execute SEND RECV instruction for a port in slave communication If no response is received the Master communication Sending active flag YC YF remains ON throughout the timeout setting time specified in CPU con...

Страница 81: ...T LD Register transmission 1 bit device X Y R L DT n LD n Bit transmission Note 2 The No of sent data is on a word basis for register transmission and on a bit basis for bit transmission Note 3 When 0 is specified for partner station no global transmission is applied In this case no response message is received from the partner side Note 4 Bit device DT n and LD n cannot be specified for the heade...

Страница 82: ...MEWTOCOL Master Slave Communication 7 12 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 83: ...8 MODBUS RTU Master Slave Communication Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 84: ... 1 bit 1 bit RS CS Invalid Invalid Valid The setting must be done according to the devices connected In general 8 bit length even parity and 1 stop bit is used Send waiting time set value 0 01 ms 0 0 10000 Set this when it is necessary to delay response to the partner device in slave communication Start code STX Invalid Terminator setting CR Terminator judgment time set value 0 01 ms 0 Modem initi...

Страница 85: ...ds 4X 22 Mask Write 4X Register Write DT Mask 4X 23 Read Write 4X Registers Read Write DT 4X Note 1 Types of MODBUS function codes vary by instructions to be used Correspondence table for MODBUS reference No and device No MODBUS reference No Data on BUS hexadecimal PLC device number 000001 002048 0000 07FF Y0 Y127F Coil 002049 034816 0800 87FF R0 R2047F Input 100001 108192 0000 1FFF X0 X511F Holdi...

Страница 86: ...nd the COM port No U1 In the RECV instruction specify and execute the partner device station no U1 MODBUS command and partner device station no to be used H0301 initial address 40001 No of data U2 and initial address on the PLC side to save data DT100 For the address of the partner device please check operating instructions etc of the relevant device R0 Master communication Clear to send flag R100...

Страница 87: ...urns ON during sending data based on SEND RECV instruction Turns OFF when the sending process is completed Y0 Y1 Y2 Sending done result flag Reports completion result of sending data in general purpose communication or master communication Normal completion 0 Abnormal completion 1 I O allocation For Serial Communication Unit COM port no 1 2 3 4 Name Explanation XC XD XE XF Master communication Cle...

Страница 88: ... execute other SEND RECV instruction for a communication port in master communication Confirm that the Master communication Sending active flag YC YF is OFF and execute instruction You cannot execute SEND RECV instruction for a port in slave communication If no response is received the Master communication Sending active flag YC YF remains ON throughout the timeout setting time specified in CPU co...

Страница 89: ...nction code is 03 Read Holding Registers and station no is 15 Note 2 Based on the types of device specified in operand D1 the transmission methods and MODBUS function codes that can be used vary Device to be specified for D1 Transmission method Values that can be specified in higher bytes of S1 16 bit device WX WY WR WL DT LD Register transmission H1 Read Coil Status 01 H2 Read Input Status 02 H3 ...

Страница 90: ...on codes to be used for instruction execution 16 bit device WX WY WR WL DT LD Register transmission Read Coil Status 01 Read Input Status 02 Read Holding Registers 03 Read Input Registers 04 1 bit device X Y R L DT n LD n Bit transmission Read Coil Status 01 Read Input Status 02 Note 2 Bit device L DT n and LD n cannot be specified for the header of the sender data in the partner node Note 3 The N...

Страница 91: ...ify the slot No U0 and the COM port No U1 In the SEND instruction specify and execute the PLC initial address DT100 No of data U2 MODBUS function code to be used 16 H10 partner device station no H01 and initial address H0 For the address of the partner device please check operating instructions etc of the relevant device R0 R100 UNITSEL U0 U1 SEND US DT0 H1001 H0 DT100 U2 R100 Execute SEND Setting...

Страница 92: ...rns ON during sending data based on SEND RECV instruction Turns OFF when the sending process is completed Y0 Y1 Y2 Sending done result flag Reports completion result of sending data in general purpose communication or master communication Normal completion 0 Abnormal completion 1 I O allocation For Serial Communication Unit COM port no 1 2 3 4 Name Explanation XC XD XE XF Master communication Clea...

Страница 93: ...ot execute other SEND RECV instruction for a communication port in master communication Confirm that the Master communication Sending active flag YC YF is OFF and execute instruction If no response is received the Master communication Sending active flag YC YF remains ON throughout the timeout setting time specified in CPU configuration You cannot execute SEND RECV instruction for a port in slave ...

Страница 94: ... Force Multiple Coils 15 H10 Preset Multiple Registers 16 16 bit device WX WY WR WL DT LD Register transmission 2 127 HF Force Multiple Coils 15 H10 Preset Multiple Registers 16 1 H5 Force Single Coil 05 HF Force Multiple Coils 15 1 bit device X Y R L DT n LD n Bit transmission 2 2040 HF Force Multiple Coils 15 Note 2 The No of sent data n is on a word basis for register transmission and on a bit ...

Страница 95: ...ce WX WY WR WL DT LD Register transmission Force Multiple Coils 15 Preset Multiple Registers 16 1 bit device X Y R L DT n LD n Bit transmission Force Multiple Coils 15 Note 2 The No of sent data n is on a word basis for register transmission and on a bit basis for bit transmission Note 3 When 0 is specified for partner station no global transmission is applied In this case no response message is r...

Страница 96: ...MODBUS RTU Master Slave Communication 8 14 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 97: ...9 General Purpose Communication Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 98: ...2 Write Data into an External Device Write data into a partner device In general purpose communication communication is executed by sending commands that suit the partner device and receiving responses Command messages are sent by formulating a data table for message in accordance with the protocol on the given data register and subsequently executing GPSEND instruction External device ABCD 1 2 CR...

Страница 99: ...iting time unit 0 01 ms 0 0 10000 Set this when it is necessary to delay response to the partner device Start code STX Invalid Invalid Valid Terminator setting CR CR CR LF Time ETX The setting must be done according to the devices connected Terminator judgment time unit 0 01 ms 0 0 10000 0 100 ms In cases where Time is specified in the terminator setting set the time for judging the terminator Mod...

Страница 100: ...the UNITSEL instruction specify the slot No U0 and the COM port No U1 In the GPSEND instruction specify and execute the header of the table where the message to be sent is saved DT101 and the No of characters DT100 R0 DF SSET DT100 ABCDE R100 R100 R100 UNITSEL U1 U0 GPSEND US DT101 DT0 DT100 X8 Y8 GPSEND execution conditions Clear to send flag ON Sending active flag OFF Settings for communication ...

Страница 101: ...ation mode Y8 Y9 YA General purpose communication Sending active flag Turns ON during sending data based on general purpose communication GPSEND Turns OFF when the sending process is completed Y0 Y1 Y2 Sending done result flag Reports completion result of sending data in general purpose communication or master communication Normal completion 0 Abnormal completion 1 I O allocation For Serial Commun...

Страница 102: ...header area The sent data are saved starting with lower bytes of the subsequent address Strings of the No of bytes specified by GPSEND instruction are sent in ascending order from lower bytes DT100 H42 B H41 A H44 D H43 C H45 E DT101 DT102 DT103 DT104 After executing SSET instruction the No of characters is set U5 KEY POINTS The start code and the end code specified in the configuration menu are a...

Страница 103: ... end code is not automatically added to the sent data Where SCU is targeted Note 4 Device that can be specified for D are WX WY WR WL DT LD Once the sending process is completed the sent bytes are saved When an error occurs FFFFH is saved KEY POINTS Specify the port targeted for communication using UNITSEL instruction immediately before GPSEND instruction Maintain the ON conditions for GPSEND inst...

Страница 104: ...cessing S Header of Sent Data DT101 n No of Sent Characters DT100 D Execution Result Code DT0 General purpose communication Clear to send flag General purpose communication Sending active flag R100 Data conversion S1 Sent Data S2 Save Sent Data DT100 No of Sent Characters DT101 onward Sent Data R101 DF DF Y8 R101 DF Confirm sending completion Reset GPSEND execution conditions R100 UNITSEL U1 U0 Se...

Страница 105: ...ta register Operation memory Sample program When the reception done flag X0 turns ON the reception program is started up by the GPRECV instruction In the UNITSEL instruction specify the slot No U0 and the COM port No U1 In the GPRECV instruction specify and execute the header of the data table where the received message is saved DT200 and the final address DT209 GPRECV US DT209 DT200 R100 UNITSEL ...

Страница 106: ...copied into the specified operation memory Turns OFF when there are no applicable data Timing chart Data received from an external device are saved in the same reception buffer When the terminator end code is received the reception done flag X0 X1 X2 X3 turns on Subsequently the following data are saved in the buffer upon reception 8 data can be received consecutively Start receiving 1 Received da...

Страница 107: ...ved in the following manner The received data are saved in ascending order from lower bytes DT200 H32 2 H31 1 H34 5 H33 3 H35 4 DT201 DT202 DT203 DT204 Saves the received No of bytes U5 If the received No of bytes is smaller than the area specified by the GPRECV command the data are not overwritten Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 108: ... based on the GPRECV instruction In this case the terminator should be specified using Time 9 4 3 Precautions on Receiving Data Reset communication ports If a communication abnormality has occurred communication ports can be reset by turning on the Request to reset signal Y10 Y11 Y12 Y13 by the user program Once reset is completed X10 X11 X12 X13 turns ON Subsequently turn OFF the Request to reset...

Страница 109: ...le that the reception done flag X0 X1 X2 X3 remains ON and cannot detect sequential receptions In cases where it is necessary to process sequentially received data constantly execute the GPRECV instruction in combination with the reception done copy flag X4 X5 X6 X7 Referring to the reception done copy flag X4 X5 X6 X7 you can confirm whether there are lately received data Reception done flag X0 X...

Страница 110: ...L DT LD Note 2 Device that can be specified for D2 are WX WY WR WL DT LD KEY POINTS Specify the port targeted for communication using UNITSEL instruction immediately before GPRECV instruction When the general purpose communication reception done flag is ON for the targeted COM port execute GPRECV When multiplex reception is carried out the reception done flag X0 X1 X2 X3 remains ON after the recei...

Страница 111: ...rite pointer Data can be received until eight receive bu ffers are all filled up even if the reception done flag is turned on After GPRECV instruction is executed reception done flag turns off at the beginning of next scan or later No of bytes received The COM port has eight reception buffers The reception process is continued after the reception done flag X0 X1 X2 X3 turns ON The reception done f...

Страница 112: ...ed Upon reception of the start code the reception pointer is initialized Even in a reception done status received data is continued into another buffer because there are 4 096 x 8 reception buffers Stored When the start code is set to STX the data are saved in the reception buffer When the start code is received the receive pointer is initialized If there are two headers data following the second ...

Страница 113: ...ent The data are transmitted to an external device After GPSEND instruction is executed data transmission is started in several μs to several tens of ms For time before transmission is started please refer to the communication cycle time SM208 SM210 using the system monitor function After GPSEND instruction is executed dual sending to the same port is not possible until the sending general purpose...

Страница 114: ...General Purpose Communication 9 18 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 115: ...4 Troubleshooting Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 116: ...tion When a self diagnostic error occurs Operation Operation When a self diagnostic error occurs Stop Stop System watchdog timer has been activated Stop Error Waiting for connection of the PHLS slave Stop Note ON Flashing OFF Varies ON or OFF 10 1 2 Operation at the Time of Error Normally when an error occurs the operation stops Configuration menu of FPWIN GR7 Operation mode of the CPU unit at the...

Страница 117: ...hat cannot be combined is attached Confirm the type of the cassette and replace it ALARM ON Hardware error occurs Please contact your dealer CPU operation when an error occurs in Serial Communication Unit If an alarm or error occurs in the serial communication unit the CPU unit will stop the operation The operation can be changed to Continue using the CPU configuration In the programming tool a me...

Страница 118: ...diagnostic error occurs A unit error occurred to Continue operation in the CPU configuration 10 2 2 When Using MEWTOCOL MEWTOCOL7 MODBUS RTU Function What to do if an error occurs Situation Contents to check Confirmation method Is a communication cassette attached Check if the communication cassette is attached firmly Are wirings correct Check the wirings again Isn t there any problem in environme...

Страница 119: ...eview the program Is the setting for the communication conditions the same as the one for the device communicated Transmission is not possible Is the setting of the method for detecting reception done the same as the one for the device communicated Check the configuration COM settings of the CPU with built in SCU or the serial communication unit Check the communication parameters with PMGET instru...

Страница 120: ... List of Communication Parameters Acquisition of SCU communication parameters Operand Parameter Range Settings D Communication mode U0 U1 U2 U8 U9 U0 MEWTOCOL COM U1 MEWTOCOL7 COM U2 MODBUS RTU U8 General purpose communication U9 PLC link D 1 Unit number setting U1 to 999 Unit number U1 to U999 MEWTOCOL COM U1 to U99 MEWTOCOL7 COM U1 to U999 MODBUS RTU U1 to U247 PLC link U1 to U16 Default 0 D 2 B...

Страница 121: ...ock D 18 Starting number for link relay transmission U0 to 63 Starting number for link relay transmission Specified number of words Relative values in a specified block D 19 Link relay transmission size U0 to 64 Link relay transmission size Specified number of words D 20 Starting number for link register transmission U0 to 127 Starting number for link register transmission Specified number of word...

Страница 122: ...errun D 3 No of occurrences of reception error Number of detection of reception errors stored in the low byte of reception error code Unsigned 16 bit cycle D 4 Setting error code bit9 Number of transmission data error bit8 Communication parameter setting error bit0 Mode setting change error A mode number that cannot be set or changed is specified D 5 Error parameter No U 1 to 12 Parameter number w...

Страница 123: ... request signals Y10 to Y13 with user programs when a communication error occurs The signals X0 to X13 turns on when the reset is completed Then turn off the reset request signals Y10 to Y13 Reset CH1 of COM port R100 Request to reset an error Request to reset CH1 X10 CH1 error reset done Y10 DF Y10 Request to reset CH1 Allocation of I O signals Signal name COM 0 COM 1 COM 2 COM 3 COM 4 Request to...

Страница 124: ...Troubleshooting 10 10 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 125: ...11 Specifications Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 126: ...us method Start stop synchronous system Communication format Data length 7 bits 8 bits stop bit 1 bit 2 bits parity Yes No Odd Even Start code Without STX With STX end code CR CR LF None ETX Data transmission order Transmits from bit 0 character by character Communication function MEWTOCOL COM master slave MEWTOCOL7 COM slave MODBUS RTU master slave general purpose communication modem initializati...

Страница 127: ...r File transmission server function No of users 3 SNTP Time synch function Communication function MEWTOCOL DAT master slave MEWTOCOL COM master slave MEWTOCOL7 COM slave MODBUS TCP master slave General purpose communication 16 kB 1 connection Note 1 Switching between different speeds is done automatically by auto negotiation function Note 2 The standards cite 100 m as the maximum but noise resista...

Страница 128: ...ommunication Max 99 units Modem initialization Note 1 By switching on the dip switch on the cassette you can use the unit as 5 wire 1 channel RS 232C Note 2 By switching on the dip switch on the cassette you can switch between RS 422 and RS 485 Note 3 When connecting a commercially available device that has an RS485 RS 422 interface please confirm operation using the actual device In some cases th...

Страница 129: ... of this varies depending on the type of command The content should be noted in all upper case characters following the fixed formula 4 Check code This is a 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 ...

Страница 130: ... several times When the message contains a large number of characters the response is sent divided in several times KEY POINTS An expansion header is supported to send and receive single frames of up to 2048 characters as well as general Type of header No of characters that can be sent in 1 frame Max 118 characters Max 2048 characters Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email in...

Страница 131: ...cessed the command 3 Text The content of this varies depending on the type of command If the processing is not completed successfully an error code will be stored here so that the content of the error can be checked 4 Check code This is a BCC block check code for error detection using horizontal parity The BCC starts from the header and checks each character in sequence using the exclusive OR oper...

Страница 132: ... data length and parity match 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 Station no and command name are always identical in a command and its corresponding response see below This makes the correspondence between a command and a response clear Phone 800 894 0412 Fax 88...

Страница 133: ...on no of the PLC is specified by the system register In the case of the FP7 CPU unit the station no is specified in the FPWIN GR7 configuration menu In 1 1 communication specify 001 ASCII code H303031 or EEE ASCII code H45H4545 3 Frame No This indicates the sending frame No Make sure to use consecutive frame numbers E g Commands for multiple frames EEE00 00MMRDD001G0DT0000000001000 CR EEE01 CR Mak...

Страница 134: ...minator end code Messages must always end with a CR ASCII code H0D KEY POINTS The method for writing text segments in the message varies depending on the type of command When the message to be sent contains a large number of characters send the command divided in several times When the message contains a large number of characters the response is sent divided in several times In MEWTOCOL7 command ...

Страница 135: ...us read data abnormal status error code R 1 Header start code A ASCII code H3E must be at the beginning of a message The response must start with the same header start code 2 Station no This is the station no of the PLC that processed the command 3 Frame No This is the frame number where the command was processed 4 Text The content of this varies depending on the type of command If the processing ...

Страница 136: ...ay not be correct or the command may 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 erro...

Страница 137: ...er to the reception judgment time section Reception judgment time The process for receiving a message completes when the time that is exceeding the time mentioned below has passed after the final data was received Reception done judgment time is set at approx 32 bits of time Baud rate Reception done judgment time 300 Approx 106 7 ms 600 Approx 53 3 ms 1200 Approx 26 7 ms 2400 Approx 13 3 ms 4800 A...

Страница 138: ...multiple write command Response in abnormal status In case a parameter disabled to be processed is found in a command except transmission error Slave address station no Function code 80H Error code CRC Either 1 2 or 3 Error code contents 1 Function code abnormality 2 Device No abnormality out of range 3 No of devices abnormality out of range Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com E...

Страница 139: ...cord of Changes WUME FP7COM 01 Mar 2013 1st Edition WUME FP7COM 02 Dec 2013 2nd Edition Added new model Serial Communication Unit AFP7NSC Change of Manual name Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Отзывы: