Home

FP7 User`s Manual (SCU communication)

image

Contents

1. One a communication H E cassette can be ni S Bm Two POs attached pm o E communication cassettes can be attached 0 COM 0O port is tsd a s equipped as standard a SE is leas For 3 wire RS 232C Ee a ay lt a E Removable serial communication cassettes are used e Selectable from five communication cassettes in conformity with communication standards of RS 232C RS 422 and RS 485 Sold separately e One communication cassette can be attached to the CPU unit and two communication cassettes to the serial communication unit E The CPU unit includes a 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 E 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 1 2 1 1 Features and Functions of Units 1 1 2 Types of Unit E Types of unit that can perform serial communication Modaiino Communication ports that can
2. Regardless of settings in FPWIN GR7 Send waiting time 0 the FP7 CPU unit itself performs automatic Terminatorjudgmentime 0 E List of setting items PLC link settings Setting items Setting range Setting method Memory block numbers for link relays and Oor 1 Specify the device No range for link relays link registers to be used and link registers to be used in a block Maximum station no to be used for PLC 0 to 16 Set the Max station no for PLC to be link connected to the PLC link Range of link relays used 0 to 64 words Range of link registers used O to 128 words Starting no for link relay send area 0 to 63 Specify the device No range for link relays Size of link relay send area 0 to 64 words and link registers to be used Starting No for link register send area O to 127 Size of link register send area O to 127 words NOTE e When you want to change the communication mode set in the PLC link to another mode download the changed project to the CPU unit in FPWIN GR7 and turn on power to the FP7 CPU unit again 6 6 6 3 Setting Items for PLC Link 6 3 Setting Items for PLC Link 6 3 1 Station No Setting ein the PLC link where multiple PLCs are connected to the transmission line station no should be set to identify each PLC e Station nos are the numbers to identify the different PLCs on the same network The same number must not be used for more than one PLC on the same network DP Pe Station
3. Transmission line Transmission line Transmission line 2 Partner 2 Terminal Signal name Transmission line Transmission line 3 _ T Wiring the COM Port E Terminal layout in the setting of RS 422 5 l 4 50 e za O 5 ll 2 RD R 3 iS O R 4 422 E amp CH L1 5 6 D f c O 5 T RD e i R I amp do a Ri az f 3 LED part Terminal Functions that Signal direction Ports that can be Symbol part can be allocated allocated Symbol in the software CH1 SD Sent Data PLC External device 2 RD fus SetData PLC External device 44 3 485 R__ Received Data PLC External device 4 42 R___ Received Data PLC External device Z E b kb e CH2 SD 5 Sent Data PLC External device 7 ko us SentData PLC External device _ e _485_ R__ Received Data t PLC External device oO Oo Received Data PLC lt External device Note 1 Do not connect anything to Terminal No 5 Note 2 Route between CH1 and CH2 are insulated inside E Example of wiring in the setting of RS 422 AFP7CCM2 Partner 1 No part symbol An 1 Sent Data 1 SD RD Received Data Sent Data 1 SD RD _ Received Data R__ Received Data 1 RD SD Sent Data Received Data 1 RD SD Sent Data S Partner 2 SD Terminal Si
4. communication unit the Isn t ne any problem in environments such as Check the shielding ERROR LED turns on NOISE Is the communication mode set correctly A icati dit 2 Check the configuration COM 1 re communication condition settings correct settings of the CPU with built in SCU Are unit numbers set correctly or the serial communication unit Communication is not 2 ah cat Jesel ty Check the communication possible when SD RDLED He eee correoty parameters with PMGET instruction of communication cassette Is the communication mode set to the same Note is flashing mode as that of a destination device Is the command length for MEWTOCOL or Check the programs of destination MEWTOCOL 7 within the prescribed length devices Note For checking communication parameters with PMGET instruction the CPU should be set in the RUN mode Set Mode selection when self diagnostic error occurs A unit error occurred to Continue operation in the CPU configuration 10 4 10 2 What to DO If an Error Occurs For Each Communication Mode 10 2 3 When Using General purpose Communication Function E What to do if an error occurs Contents to check Confirmation method Check if the communication block is installed firmly Communication is not Isn t there any problem in environments such as Check the shielding possible noise orme n eCheck the configuration COM communication unit the ERROR LED turns on settings o
5. 8 bits Odd 1 bit Disable 0 Disable CR 0 Not initialize 3 Specify communication conditions and press OK button Set conditions are incorporated into the project that is being edited 5 3 Setting and Confirming Communication Conditions 5 2 2 Settings Using FPWIN GR7 For Serial Communication Unit e Applications and communication conditions for each communication port should be set using the tool software FPWIN GR7 e The explanation below shows the case that the serial communication unit is registered in the slot number 1 oat PROCEDURE 1 Select Options gt 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 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 communication conditions and press OK button The set conditions are reflected in the project being edited 5 4 6 PLC Link PLC Link 6 1 Operation of PLC link MEWNET W0 6 1 1 Overview of PLC Link Operation e Link relays L and data registers link registers LD are shared between the connected PLCs e f the link relay contact for one PLC goes on the same link relay also goe
6. Command message DT100 100 Hex 01 03 00 00 00 02 CRC 40001 100 DT101 0 40002 0 eara eee D Mowe Leaeauean eh Pannen Hex 01 03 04 00 64 00 00 CRC ean rT Response message 7 eae Specify and read station no and address based on RECV instruction eee E Sample program e Send commands from the COM1 port of the CPU unit read data from the data area of an external device station no 1 40001 40002 and write the content into PLC s data register DT 100 DT101 e 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 ein the UNITSEL instruction specify the slot No UO and the COM port No U1 ein 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 RO XC Starting conditions for RECV execution DF Mast Meet Clear to send flag ON oe a a Execute Sending active flag OFF communication communication RECV ssaigaaeta he ial eeaaa ana eaMGR ETN ERELIaaGSuIGOT TREE CI R100 Clear to send flag Sending active flag Settings for communication port S1 Slot 0 U0 S2 COM1 U1 PUP UUOUU UCC CEOU
7. Master Slave Communication 8 14 9 General Purpose Communication General Purpose Communication 9 1 Operation of General Purpose Communication 9 1 1 Read Data from an External Device E Read data from 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 PLC External device Send command message DT100 U4 ABCD CR 40001 21 DT101 H 42 41 40002 43 DT102 H 44 43 E N _i_ _ ee paek onon 1234 CR e Pasciaae L T E A E Receive response message A Send command based on GPSEND instruction ececoosoosooooooooosoos ooo re Receive response based on GPRECV instruction 9 1 2 Write Data into an External Device E 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 PLC External device Send command message ABCD 1 2 CR DT100 U6 40001 21 DT101 H 42 41 ereere ee DT102 H 44 43 t a e Jeee DT103 H3231 XYZ CR j eee
8. System watchdog timer has Sto been activated p Waiting for connection of the Sto PHLS slave P Note e ON A Flashing o OFF Varies ON or OFF 10 1 2 Operation at the Time of Error Normally when an error occurs the operation stops E Configuration menu of FPWIN GR7 Operation mode of the CPU unit at the time of error can be set Continue or Stop in the FP7 Configuration menu of the tool software FPWIN GR7 r a FP7 configuration m Memory conf igurat ion CPU conf igurat ion Setting item Setting description I 0 map Built in SCU Built in ET LAN 4 unit alarm occurred Stop operation unit error occurred Stop operation Unit verification error detection Stop operation Registered unit count mismatch Stop operation Unit initialization complete wait timeout Stop operation Unit configuration data target unit mismatch Stop operation Operation error Stop operation Bus current error Continue operation Service power supply current error Continue operation GPU temperature error 1 Continue operation GPU temperature error 2 Continue operation REFERENCE For information on the troubleshooting for the CPU unit also refer to FP7 CPU Unit User s Manual Hardware 10 2 10 1 Self diagnostic Function 10 1 3 Serial Communication Unit s Operation Monitor LED The serial communication unit has a self diagnostic function which indentifies errors
9. XC and that the sending process is not in progress for the same port YC and start up the SEND instruction ein the UNITSEL instruction specify the slot No UO and the COM port No U1 ein 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 HO For the address of the partner device please check operating instructions etc of the relevant device RO XC YC SEND execution conditions DF Clear to send flag ON Master Master Execute Sending active flag OFF communication communication SEND Clear to send flag Sending active flag UNITSEL Settings for communication port S1 Slot 0 UO S2 COM1 U1 R100 SEND process S Data saving area DT 100 n No of sent data U2 D1 MODBUS code H10 and partner device station no H01 D2 Transmit to address H0 D3 Execution result code DTO Note 1 Operand S1 of SEND instruction is specified by combining two hexadecimal digits of MODBUS function code with two hexadecimal digits of partner device station no When the MODBUS function code is 16 specify H10 for D1 Note 2 When the partner device is FP series PLC Operand S2 of SEND instruction can be specified using the Device No Note 3 The unit number and COM port number in the above program is applied when the COM 1 po
10. e Header STX and terminator ETX are automatically added to the data to be sent The data are transmitted to an external device e After GPSEND instruction is executed data transmission is started in several us 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 e After GPSEND instruction is executed dual sending to the same port is not possible until the sending general purpose communication flag Y8 Y9 YA YB turns OFF e The General purpose communication Sending active flag Y8 Y9 YA YB turns OFF in GPSEND instruction execution in the next scan or later following completion of data sending to an external device The General purpose communication Sending active flag Y8 Y9 YA YB always remains on for at least 1 scan time General Purpose Communication 9 18 4 Troubleshooting Troubleshooting 10 1 Self diagnostic Function 10 1 1 CPU Unit s Operation Monitor LED The CPU unit has a self diagnostic function which identifies errors and stops operation if necessary Indications concerning self diagnosis are as follows E LED indications concerning self diagnostic errors LED indications on the CPU unit PROG ERROR ALARM Description Operation status NN operation mode When a self diagnostic error Operation occurs Operation When a self diagnostic error Stop occurs Stop Error
11. e If no response is returned the communication format may 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 e 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 e 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 ae ee 7 Same gt Same m m E tesore a o 1 s r e 11 3 MEWTOCOL7 COM Format 11 3 MEWTOCOL7 COM Format 11 3 1 MEWTOCOL7 COM Command Format Command message 1 Header start code 3 Frame No 2 Station no of the receiver eae ee eee LL i Command name Command code value Command ID code 4 Text to be specified in accordance with the type of command em 5 Check code 16bit CRC CCITT 6 Terminator end code 1 Header start code A gt ASCII code H3E must be at the beginning of a message 2 Station no e The station no of the receiving PLC to which you want to send the command must be specified with and three digits The station no of the PLC is specified by the system register In the case of the FP7 CPU unit the st
12. i Send area 63 e The allocations shown below are not possible neither for link relays nor for link registers Send area is split on a single PLC Send area Receive area Send area Send and receive areas are split into multiple segments Send area Receive area Receive area Send area Send area Receive area Receive area Send area PLC Link 6 4 PLC Link Response Time 6 4 1 Response Time of 1 Transmission Cycle The maximum value for the transmission time T of one cycle can be calculated using the following formula E Calculation formula Tmax Ts1 Ts2 Tsn Tltt Tsot Tlk L L tik link addition processing time Tso master station scan time TIt link table sending time 1 TS transmission time per station 1 Ts transmission time per station Calculation formula Ts Scan time Tpc PLC link sending time Tpc Ttx sending time per byte x Pcm PLC link sending byte size Ttx 1 transmission speed kbps x 1000 x 11ms Approx 0 096 ms at 115 2 kbps Pcm 23 number of relay words number of register words x 4 4 times based on ASCII code 2 Tit link table sending time Calculation formula Tit Ttx sending time per byte x Ltm link table sending size Ttx 1 transmission speed kbps x 1000 x 11 ms Approx 0 096 ms at 115 2 kbps Ltm 13 2 x n n No of added stations 3 Tso Master station scan time This should be confirme
13. the CPU should be set in the RUN mode Set Mode selection when self diagnostic error occurs A unit error occurred to Continue operation in the CPU configuration Reception is not possible 10 5 Troubleshooting 10 3 Checking Status with PMGET Instruction 10 3 1 Specifications of PMGET Instruction E Confirmation of error information e Describe UNITSEL instruction immediately before PMGET instruction and specify the slot and port numbers of the unit to be read e Specify the type of data to be read parameter or monitor information for operand S1 of PMGET instruction e Store 26 words for communication parameters or 7 words for monitor information in the area starting with the area specified by operand S2 of PMGET instruction R100 Communication port settings S1 Slot number S2 Port number Fie ee ere eee 2 1 Communication parameter UO S1 S2 or Monitor information U1 ee eee 10 3 2 List of Communication Parameters E Acquisition of SCU communication parameters Operand Parameter Range Settings UO U0 MEWTOCOL COM Communica U1 U1 MEWTOCOL7 COM mode U2 U2 MODBUS RTU S U8 U8 General purpose communication U9 U9 PLC link Unit number U1 to U999 MEWTOCOL COM U1 to U99 D 1 Unit number setting U1 to 999 MEWTOCOL7 COM U1 to U999 MODBUS RTU U1 to U247 PLC link U1 to U16 Default 0 U0 300 U1 600 U2 1200 U3 2400 U4 4800 D 2 Baud rate setting UO to 10 U5 9600 U6 19200 U7 38
14. 38400 bps or higher use the cable not longer than 3 m For wiring the RS 232C a shielded wire must be used to increase noise suppression 11 1 Communication Function Specifications E LAN port O ews S o Suppor name server MEWTOCOL DAT master slave MEWTOCOL COM master slave Communication function MEWTOCOL 7 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 resistance measures such as attaching a ferrite core may be necessary in some cases depending on the usage environment Also it is recommended to position a hub near the control board and limit the length within 10 m Note 3 Used when connecting tool software via LAN Specifications 11 1 2 Extension Cassette Communication Specifications E COM1 Port COM2 Port Description AFP7CCS1 AFP7CCS2 AFP7CCM1 AFP7CCM2 AFP7CCS1M1 3 wire 3 wire 1 channel Interface 4 channel 2 channel 1 channel 2 channel RS 232C RS 232C RS 232C RS 422 RS485 RS 422 RS485 1 channel Note 1 Note 2 Note 3 Note 2 Note 3 RS485 Note 3 RS 232C When RS 422 is used Max 400 m Max 15 m 3 wire Transmission distance Max 15 m Note 4 When RS 485 is used Max 1200 m RS 485 Note 5 Note 6 Max 1200 m Note 5 Note 6 Baud rate 300 600 1200 2400 4800 9600
15. 4 223 MIMO IVIGUIOG i snicnneataae docoink dacs eoianncaniaaed dedoia aa 3 5 3 3 Wiring for CPU Unit GT Power Supply and COMO Port 3 6 3 3 1 Handling of GT Power Supply Terminals ccccccccceeseeeeeeeeeeesaeeeees 3 6 3 3 2 Terminal Layouts and Examples of Wiring cccccccceseeeeeeeeeeeeeaeeeees 3 6 3 4 Wiring for Communication Cassettes COM 1 to COM 4 Ports 3 8 3 4 1 Communication Cassette AFP7CCS1 RS 232C 1 Channel Insulated TPE enaa a oc aie 22a nna Padenacectatie cbt sad ne ad edtatteddanedsea cette 3 8 3 4 2 Communication Cassette AFP7CCS2 RS 232C 2 channel insulated pe stetet stale dicate aiat Neat ntinad a c pai aes naninc states taaieust slate ate 3 9 3 4 3 Communication Cassette AFP7CCM1 RS 422 RS 485 1 Channel WMSUIATCO TYPE Jaineoa neina a e N ERS 3 12 3 4 4 Communication Cassette AFP7CCM2 RS 422 RS 485 2 Channel NSCS CL Type aaa che a a a a ARAA 3 15 3 4 5 Communication Cassette AFP7CCS1M1 RS 232C 1 Channel RS 485 Tt Channel insulated TYPE anscia aa a aaia 3 19 VOAlOCaUOM cia a 4 1 4 1 Input Output Signals Used for Communication ccccceeeeseeeeeeeees 4 2 4 1 1 I O Allocation of CPU UNiIt ccc cecccceeceeeeeeeeeeeeeseeeeesaeeeeseeesneees 4 2 4 1 2 VO Allocation of Serial Communication Unit cc ceeceeesseeeeeeeeeeeeees 4 4 4 2 Registration in I O Map cccccccccccsscecseccseeeceeecececeeeeeueeseueeeaeessneeseesanes 4 6
16. CR ccceeee 9 15 9 5 2 Start Code STX End Code ETA renina a 9 16 TFOUDICSNOOUING iiaii aaa aaa aiiai 10 1 10 1 Self diagnostic FUNCHOM niirngaerien ainn ete es oieedie 10 2 10 1 1 CPU Units Operation Monitor LED aaanenannnnnunnnnnennnnnnnnnnnnnnnnnnennnnnn 10 2 10 1 2 Operation at the Time of Error cccccccccececcsseeceeeesseeeeseeseesaneesseaees 10 2 10 1 3 Serial Communication Unit s Operation Monitor LED 0 10 3 10 2 What to DO If an Error Occurs For Each Communication Mode 10 4 10 21 When Using PEC Ink FUNCION aeriana aes 10 4 10 2 2 When Using MEWTOCOL MEWTOCOL7 MODBUS RTU Function 10 4 10 2 3 When Using General purpose Communication Function 00 10 5 10 3 Checking Status with PMGET Instruction cc ceccceccceeeeeeeeeeeeeeeeees 10 6 10 3 1 Specifications of PMGET INStrUuctiOn cccccccceeeeeeeeeeeeeeeeeeeeeeeeeeeens 10 6 10 3 2 List of Communication Parameters cccccccceeseeeeeeeseeeeeseeeeeeseeeeeeens 10 6 10 4 Clearing Errors Using User Programs ccccccceeeeceeeeeeeeeeeeeeneeeeeees 10 9 10 4 1 Clearing Errors Using User Programs ccccccseeeeeeeeeeeeaeeeeessaeeeeeens 10 9 Table of Contents ti SDE CITICAUIONS sirrcna 11 1 11 1 Communication Function Specifications ccccccceceseeeeeeeeeeeeeeeeeees 11 2 11 1 1 CPU Unit Communication Specifications c cc cccceeccceeeeeee
17. Master communication Clear to send flag XC XF for the targeted channel is ON and execute SEND RECV instruction You cannot 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 configuration Up to 16 SEND RECV instructions can be executed simultaneously for different COM ports 8 3 MODBUS RTU Master Communication RECV 8 3 2 RECV Instruction MODBUS Function Code Specified Type E Instruction format RO o1 SZ n D1 Dz E Operand Specify the operation unit US SS Specify the MODBUS function codes and partner station no to be used Note 1 Note 2 Higher Two hexadecimal digits that indicate the MODBUS l H1 H4 1 4 S1 byte function code ata Two hexadecimal digits that indicate the station no H1 HF7 1 247 Specify the source MODBUS address in the partner node HO HFFFF 0 65535 1 127 words ify the No of sent data Not Specify the No of sent data Note 3 4 2040 bits D1 Specify the device initial address of the receiver node data area in the source node Note 2 D2 Specify the device area in the source node to save the execution resul
18. O allocation For CPU Unit COM port no Name Explanation Master Turns ON when MEWTOCOL COM MEWTOCOL 7 or communication MODBUS RTU is set for the communication mode and the unit is Clear to send flag in the RUN mode Master communication Sending active flag Turns ON during sending data based on SEND RECYV instruction Turns OFF when the sending process is completed Reports completion result of sending data in general purpose communication or master communication Normal completion 0 Abnormal completion 1 Sending done result flag Name Explanation Master Turns ON when MEWTOCOL COM MEWTOCOL 7 or communication MODBUS RTU is set for the communication mode and the Clear to send flag unit is in the RUN mode Master Turns ON during sending data based on SEND RECV communication instruction Sending active flag Turns OFF when the sending process is completed Reports completion result of sending data in genera purpose communication or master communication Normal completion 0 Abnormal completion 1 Sending done result flag Note 1 Each contact is used for reading the operation status Do not write over it with a user program 8 5 MODBUS RTU Master Slave Communication 8 6 KEY POINTS Specify the port targeted for communication using UNITSEL instruction immediately before SEND RECV instruction Master communication is only valid when MEWTOCOL or MODBUS is selected Confirm that the
19. ORI igs wR 3 O R 4 ae s LI 5 6 o ENF le 19 Terminal LED part Terminal Functions that Signal Ports that can be no Symbol part can be direction allocated Symbol allocated in the software PLC PLC PLC Received Data External device a Do not connect e to Terminals L through No 9 E Example of wiring in the setting of RS 422 AFP7CCM1 Partner Terminal Terminal part Signal name Functions No symbol Sen Daa e SOW RD Received Data H SentData SD RD Received Data RD SD Received Data RD SD 3 14 3 4 Wiring for Communication Cassettes COM 1 to COM 4 Ports 3 4 4 Communication Cassette AFP7CCM2 RS 422 RS 485 2 Channel Insulated Type E Setting of application switch Applications for use can be switched using a switch on the backplane for Communication Cassette AFP7CCM2 Settings can be confirmed with LED lamps at the front of the cassette RRS 422 7 RS 485 i oa E Settings for termination resistance selector switch On the surface of Communication Cassette AFP7CCM2 is located a termination resistance selector switch e When RS 422 is used Turn ON the switch e When RS 485 is used Turn ON the switch only when it is the end unit ON Wiring the COM Port E Terminal layout in the setting of RS 485 CHI O S 5D O 5 RD R 4gs i l CJR 422 oO CH2 C D C15 RD LAARI
20. Reeawcano x T gt o Fore Singecol WiteSingle YandR ox T gt 06 Preset Single Register Write DT 1 Word 4X Diagnestios tooa ooo ooo 15 Force Multiple Coils Write Multiple Y s and R s 0X Preset Multiple Registers write OT Mutipie Words T gt Mask We 4X Register WrteOTMask XS Readwrteax Registers Reamer Jx C o Note 1 Types of MODBUS function codes vary by instructions to be used E Correspondence table for MODBUS reference No and device No MODBUS reference No Data on BUS PLC device number hexadecimal Coil 000001 002048 0000 07 FF Y0 Y127F 002049 034816 0800 87 FF RO R2047F Input register 300001 301024 302001 318384 07D0 47CF Note 1 The table above indicates correspondence between the MODBUS reference numbers for accessing from a higher device to FP7 using the MODBUS protocol and the operation device numbers of FP7 8 3 MODBUS RTU Master Slave Communication 8 3 MODBUS RTU Master Communication RECV 8 3 1 Read Data from an External Device E Instructions In master communication PLC has the sending right and executes communication by sending commands to devices that support MODBUS RTU and receiving responses Messages in accordance with the protocol are automatically generated by PLC In the user program reading and writing can be done simply by specifying the station no and memory address and executing SEND RECV instructions External device fa supporting Modbus RTU
21. T T Max Ts Tit Tso 7 82 x 16 4 32 1 130 44 ms T Max Ts TIt Tso 11 82 164 4 32 5 198 44ms T Max Ts Tit Tso Tik 11 82 x 15 413 5 407 593 43 ms T Max Ts Tit Tso 16 438 2 79 5 139 23 ms T Max Ts Tit Tso 44 072 x 2 1 632 5 94 776 ms T Max Ts Tit Tso 3 976 x 2 1 632 1 10 584 ms 6 13 PLC Link 6 4 2 Response Time When There is a Station Yet to be Added e f there are stations that have not been added to the link the Tik time link addition processing time increases and with this the transmission cycle time will be longer Tmax Ts1 Ts2 7sn Tit Tso Tk TIK Tle link addition command sending time Twt addition waiting time Tis link error stop command sending time Tso master station scan time NOTE e 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 6 14 l MEWTOCOL Master Slave Communication MEWTOCOL Master Slave Communication 7 1 Configuration 7 1 1 Setting Communication Conditions E Configuration Setting items Default Specification range Communication MEWTOCOL MEWTOCOL COM Master communication is not mode COM MEWTOCOL7 COM possible using MEWTOCOL Set a specific station no for PLC to Station no 1 MEWTOCO
22. X6 X7 X8 X9 XA XB XC XD XE MODBUS RTU XF 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 X13 For COM 4 Port Y10 Y12 is off 0 General purpose communication Reset done Status of the CTS signal sent from the device communicating with When RS CS is CTS signal set to valid in X14 Clear to send from COM 1 COM 3 port 0 Communication monitor Cannot send from COM 1 COM 3 port 1 Cassette X16 For COM 3 Port The RTS signal can be controlled with COM 1 COM 3 Y14 Y16 X17 Not used Do not use this X1F Note 1 The general purpose communication reception done copy flag is effective after the execution of the RECV instruction until one of the following instructions is executed This flag does not remain ON across several scans Execute 1 END instruction scan header and 2 RECV instruction Note 2 The I O numbers actually allocated are the numbers based on the starting word number allocated to the unit Example When the starting word number for the unit is 10 the general purpose communication reception done flag for COM 1 port is X100 For COM 1 Port E Output signal Communication port For COM 1 Port For COM 2 Port E For COM 3 Port For COM 4 Port COM 4 Port Sending done result 4 1 Input Output Signals Used for Comm
23. a baud rate of 38400 bps or less the allowable settings are a maximum of 1200 m and 99 units When a C NET adapter is mixed the maximum number of connected units is 32 and the baud rate is limited to 19200 bps or less For baud rate 230 4 kbps For baud rate 115 2 kbps 99 For baud rate 57 6 kbps i 70 Number of units 20 0 200 700 1000 1200 Transmission distance m Note 6 The converter SI 35 manufactured by Lineeye Co Ltd is recommendable for the RS485 at the computer side Note 7 In general purpose communication RS 232C and RS 422 use full duplex transmission 11 2 MEWTOCOL COM Format 11 2 MEWTOCOL COM Format 11 2 1 MEWTOCOL COM Command Format Command message 1 Header 2 Station no of destination 01 to 99 ial 3 Text Content depends on type of command Check code BCC hexadecimal is Terminator Two One digit digit o Ly Target that reads the value internal relay R1 d item specifies that only 1 point should be read Command name e g read contact area Command code Indicates that this is a command 1 Header start code Commands must always have a ASCII code H25 or a lt ASCII code H3C at the beginning of a message 2 Station no e The station no of the PLC to which you want to send the command must be specified The station 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 FRP
24. and Y14 MEWTOCOL MODBUS RTU General MEWTOCOL MODBUS RTU 4 3 I O Allocation 4 1 2 1O Allocation of Serial Communication Unit E Input signal Effective Description operation mode Communication port For COM 1 Port XO For COM Port General When the unit completes the data reception For COM 2 Port purpose N it turns on 1 General communication 2 i purpose For COM 3 Port Reception Waiting for data reception 0 Reception communication For COM 4 Port done flag completed 1 a For COM 1 Port X5 For COM 2 Port General It turns on 1 if there are copied data when purpose GPRECV instruction is executed It turns off communication 0 when END instruction is executed Reception Note 1 done copy Reading completed 1 flag No data to be read 0 General purpose communication For COM 3 Port For COM 4 Port For COM 1 Port General For COM 2 Port purpose It turns on 1 when the unit is set to the General l communication general purpose communication mode It purpose XA For COM 3 Port Clear to send turns off 0 in other modes communication fag For COM 2 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 XO X1 X2 X3 X4
25. executes communication by sending commands to devices that support MEWTOCOL and receiving responses Messages in accordance with the protocol are automatically generated by PLC In the user program reading and writing can be done simply by specifying the station no and memory address and executing SEND RECYV instructions e Slave communication is performed when the computer or display 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 e 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 MEWTOCOL 7 COM and 1 bit for bit transmission Master function Master Slave Slave Slave PLC MEWTOCOL MEWTOCOL MEWTOCOL slave slave slave function function function supporting supporting supporting device device device Slave function Master MEWTOCOL master function supporting RS485 device PLC PLC PLC E Examples of applications of MEWTOCOL master communication This is used for connection with a device that supports our PLC s protocol MEWTOCOL e Programmable controller FP series e Displacement sensor HL series e Eco power meter KW series E Examples of applications of MEWTOCOL slave communication This is used for connection with a device that supports our PLC s protocol ME
26. external device station no 1 DT400 DT401 e 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 e n the UNITSEL instruction specify the slot No U0 and the COM port No U1 ein the SEND instruction specify and execute the sender initial address DT100 No of data U2 Transmit to station no U1 and initial address DT400 SEND execution condition Clear to send flag ON Sending active flag OFF YC RO XC R100 k DF gt Master Master Execute communication communication SEND R100 Clear to send flag Sending active flag UNITSEL Settings for communication port S1 Slot 0 UO S2 COM1 U1 SEND process S Data saving area DT100 n No of sent data U2 D1 Area code of the receiver U1 D2 Forward to address DT400 D3 Execution result code DTO 1 LOCC PEC SEND US DT100 DT400 S1 n D1 D2 D3 Note The unit number and COM port number in the above program is applied when the COM 1 port of the CPU unit is used 7 8 7 4 MEWTOCOL COM Master Communication SEND E Timing chart Master communication h Conditions to enable execution of SEND Clear to send flag instruction XC XD XE XF Confirm ON Clear to send flag XC XD XE XF ON Sending active flag YC YD YE YF OFF Master communication Confirm OFF ree err Creer cece re
27. from the reception buffer based on GPRECV instruction the data are saved in the following manner DT200 Saves the received No of bytes DT201 The received data are saved in ascending order from DT202 lower bytes DT203 DT204 If the received No of bytes is smaller than the area specified by the GPRECV command the data are not overwritten General Purpose Communication 9 4 2 Contents of Received Data When data are copied into a given data register based on GPRECV instruction the data are saved in the following manner Example The data 12345 CR is transmitted from a device with RS 232C device e At the beginning of the data register the No of received bytes is saved e The received data are saved in ascending order from lower bytes to higher bytes starting with DT201 DT203 DT202 DT201 DT200 Higher Lower Higher Lower Higher Lower Higher Lower byte byte byte byte byte byte byte byte CR 5 4 3 2 1 p KEY POINTS e The received data that are copied based on the GPRECV instruction do not include a start code or end code e Itis also possible to receive binary data based on the GPRECV instruction In this case the terminator should be specified using Time Received No of bytes 9 4 3 Precautions on Receiving Data E Reset communication ports e f a communication abnormality has occurred communication ports can be reset by turning on the Request to reset signal Y10 Y11
28. no P Max 16 units f 6 3 2 Max Station No Setting e Set the Max station no for PLC to be connected to the PLC link e The smaller the Max station no is the shorter the relative transmission time becomes NOTES e 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 e Set the same value for the Max station no for all PLCs connected to the same PLC link PLC Link 6 3 3 Memory Block Numbers for Link Relays and Link Registers to be Used e The memory area of link relays and link registers are divided into the area for PLC link 0 and the area for PLC link 1 which can respectively use up to 1024 link relay points 64 words and up to 128 link register words e Specify 0 when the former memory block is used and specify 1 when the latter memory block is used Configuration of link area word For PLC L for 1024 points Block 0 link 0 fied L for 1024 points Block 1 in For link relay For PLC link 0 Block 0 For PLC link 1 LD for 128 words Block 1 For link register 6 3 4 Range of Use of Link Relays and Range of Use of Link Registers e Specify the memory area range for link relays and link registers to be used e Link relays and link registers that do not use the link function can be used in place of internal relays and data registers E
29. to Terminals No 4 through No 9 E Example of wiring AFP7CCS1 Partner Terminal Terminal Sent Data 3 8 3 4 Wiring for Communication Cassettes COM 1 to COM 4 Ports 3 4 2 Communication Cassette AFP7CCS2 RS 232C 2 channel insulated type E Setting 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 Wiring the COM Port E Terminal layout in the setting of 3 wire 2 channel RS 232C cH B CL SD sD O RD RD J sol l H2 f k SD J Ti l L mr La ona On A wn Terminal Functions Signal Ports that can be part that can be direction allocated Symbol allocated in the software PLC sso SD Sent Data External device RD Received PLC SG Signal Ground PLC a SD Sent Data External device RD Received PLC External device one SG Signal Ground Note 1 Route between CH1 and CH2 are insulated inside Note 2 Do not connect anything to Terminals No 7 through No 9 E Example of wiring in the setting of 3 wire 2 channel RS 232C AFP7CCS2 Partner 1 Tomna Farmina Signal name Functions Symbol No alamo Sent Data 2 N Serie D Received Data2 RD Sata Ss Se RD __ Received Data Received Data Sent Data Signal Ground 3 4 Wiring for Communication Cassettes COM
30. 0 No of Sent Characters I DF SSET ABCDE DT100 t DT101 onward Sent Data S 1 S 2 Sa E e eda a Rta R100 Because no end code is added DF NEG SS DT100 DT100 d use a negative value for 3 specifying the No of sent bytes S1 D Seen R100 Settings for communication port UNITSEL 7 S1 Slot 0 UO 5 P S2 COM1 U1 SEND processing GPSEND SS DT101 DT100 4 S Header of Sent Data DT101 5 n No of Sent Characters DT100 n D D Execution Result Code DTO Confirm sending completion Y8 DF H i Reset GPSEND execution conditions p KEY POINTS e When you do not wish to add the terminator end code use a negative value for specifying the No of sent data in GPSEND instruction Select SS for operation unit 9 8 9 4 Receiving Operation 9 4 Receiving Operation 9 4 1 Overview of Receiving Operation E Instructions In the general purpose communication mode data received from the partner device are saved in eight reception buffers for each COM port When the GPRECV instruction is executed in a user program data in the reception buffer can be copied into a given operation memory PLC External device Reception buffer eight for each COM port Receive message data an T i H 31 32 33 34 35 Io laz ee isi r Operation eee 1234 5 CR jo0003_ 5 memory En pti DT200 US DT201 H 32 31 r re EEP DT202 H 34 33 ransfer the strings received based
31. 1 to COM 4 Ports E Terminal layout in the setting of 5 wire 1 channel RS 232C RS CS controlled cH ff LJ SD _ sD E O RD RD I 56 OW 1 SDI R c RD REE o oOo 0 om bh w M Terminal LED part Terminal Functions Signal Ports that can be part that can be direction allocated Symbol allocated in the software PLC CH1 SD SD SD Sent Data External device RD Received PLC Data External device 3 SG raa COM 1 Ground RS Request to PLC gt CS Clear to PLC 6 SG Note Do not connect anything to Terminals No 6 through No 9 E Example of wiring in the setting of 5 wire 1 channel RS 232C RS CS controlled AFP7CCS2 Partner Peat Terminal Signal name Functions Symbol Signal name No part symbol RD RD Te D G Request to Send RS Request to Send RD Clear to Send Clear to Send Wiring the COM Port 3 4 3 Communication Cassette AFP7CCM1 RS 422 RS 485 1 Channel Insulated Type E Setting of application switch Applications for use can be switched using a switch on the backplane for Communication Cassette AFP7CCM1 Settings can be confirmed with LED lamps at the front of the cassette r i w lt o oah Asaz i ra ien T l a ae n oF a j 7 RS 485 O k a E Fi r K j Tansan rs _ y RS 422 mm a i i i i o i 4 f RS 485 L_ZOl k ra M Fi E Settings for termination res
32. 19200 38400 57600 115200 230400 bit s Communication method Half duplex transmission Note 7 Synchronous method Start stop synchronous system 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 O character by character n PLC link Max 16 units Communication MEWTOCOL COM master slave MEWTOCOL7 COM slave Max 99 units functions and MODBUS RTU master slave Max 99 units No of units that can be age connected General purpose communication Max 99 units Modem initialization Communication format 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 the number of units transmission distance and baud rate vary depending on the connected device Note 4 When communication is performed at a baud rate of 38400 bps or higher use the cable not longer than 3 m For wiring the RS 232C a shielded wire must be used to increase noise suppression Note 5 The transmission distance is limited by the specified baud rate and No of connected units in the RS 485 setting When using
33. 4 2 1 Settings Using FPWIN GR7 For CPU with built in SCU 00 4 6 4 2 2 Settings Using FPWIN GR7 For Serial Communication Unit 4 6 Setting and Confirming Communication Conditions 5 1 5 1 Setting Applications and Communication Conditions cceece seen es 5 2 5 1 1 Applications to be Set for Each Port cc ceccccecccceeeceeseeeeeaeeeseeeeenes 5 2 9 1 2 Conditions to be Set for Each Port ccceeceeessseeeeeseeeeeeseeeeeeeeeeeeeas 5 2 Table of Contents 5 2 Setting Communication Conditions ccc cceccceececeeeeseeeeeeeeaeeseeeeeeeees 5 3 5 2 1 Settings Using FRWIN GR7 For CPU with built in SCU a 5 3 5 2 2 Settings Using FPWIN GR7 For Serial Communication Unit 5 4 PEC EIK inae aS 6 1 6 1 Operation of PLC link MEWNET WO cccceccceceseeceeeeeeeeaeeeeeeeeeeees 6 2 6 1 1 Overview of PLC Link Operation cccccccececceeceseeseeseeeeeseeeseeesseaees 6 2 6 1 2 Operation of Link Relays and Link ReGiSters cccccecssseeeeeeeeeeeeeees 6 3 6 2 Configuration Required for PLC LINK cccccecccseeeeeeeeeeeeeeseeeeseeeeeaes 6 4 6 2 1 Setup Procedure For CPU with built in SCU 0 ee eeceeeeeeeeeeee es 6 4 6 2 2 Setup Procedure For Serial Communication Unit cceeeeee sees 6 5 6023 IEISEOr seting ems nnne a abate ivaees sue nadeeindent 6 6 6 9 Seting tems Tor PLO LAK sirsenis sean Sean tieensatatoapee dun
34. 400 U8 57600 U9 115200 U10 230400 bps D 3 Data length setting UO U1 UO 7 bit length U1 8 bit length D 4 Parity setting U0 to U2 U0 No parity U1 Odd parity U2 Even parity D 5 SIOP Dengu UO to U1 UO 1 bit U1 2 bits setting D 6 RS CS Note 1 UO U1 U0 Disable U1 Enable ia U0 Immediate D 7 Send waiting time U0 to 10000 Effective time Un x 0 01 ms 0 to 100 ms Continued on the next page 10 6 10 3 Checking Status with PMGET Instruction D 8 Header STX UO U1 UO Disable U1 Enable D 9 Terminator setting U0 to U3 UO cR U1 cR Lf U2 Time U3 ETX Temna U0 For 32 bits D 10 UO to 10000 Effective time Un x 0 01 ms Effective only when the judgement time i ae ceil ee terminator setting is Time UO Not initialize D 11 Modem initialization UO to U2 U1 Execute the first initialization only Note 2 U2 Re execute initialization at the time of setting Da2 an D 14 Link area block No UO U1 Block number of link relay link register area D 15 oe ps Maal U2 to 16 Values outside the range are treated as 16 Specification of range of link relays used for rte Pk tay range SAGA communication Relative values in a specified block i Specification of range of link registers used for LO pinned iste ttange eras communication Relative values in a specified block Starting number for Saas Starting number for link relay transmission Specified pel haan Peer number of words Relative val
35. 8 1 1 Setting Communication Conditions E Configuration a MODBUS RTU Specify MODBUS RTU Set a specific station no for PLC to be connected to the PLC link Set a Station no 1 i value that does not overlap with other devices 300 600 1200 2400 The setting must be done Baud rate 9600 4800 9600 19200 according to the devices 38400 57600 115200 connected The setting must be done Parity Odd Even according to the devices Stop bit connected In general 8 bit length even parity and 1 stop bit is used RS CS Invalid Valid Send waiting time Set this when it is necessary to set value oa 01 ms 0 10000 delay response to the partner device in slave communication Start code STX Invalid Terminator judgment Use the unit in the default setting time as indicated on the left set value x 0 01 ms Modem initialization Do not initialize saa Note 1 In MODBUS communication the following setting items need not to be specified Start code terminator setting terminator judgment time modem initialization PLC link setting 8 2 8 2 List of MODBUS RTU Supported Commands 8 2 List of MODBUS RTU Supported Commands 8 2 1 List of MODBUS Function Codes E Table of supported commands Remarks FP7 supported name uoneus same matron No Read Coil Status Read Y and R Coils 02 Readinput Status ReadXGontat Jx T os ReadHowdng Registers Rear x T gt o4 ReadinputResistors
36. 8 characters Max 2048 characters 11 2 MEWTOCOL COM Format 11 2 2 MEWTOCOL COM Response Format E Response message After PLC receives a command it returns the processing result 1 Header 2 Station no of source PLC that processed the commana decimal Text Processing results and communication error codes are stored here 4 Check code BCC Hexadecimal aa a 5 Terminator Two One ath prt Read value Processing results for contact area read contact is off name e g read contact area Response code indicates a normal processing result indicates that an error occurred 1 Header start code eA ASCII code H25 or lt ASCII code H3C must be at the beginning of a message e The response must start with the same header that was at the beginning of the command 2 Station no This is the station no of the PLC that processed 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 e This is a BCC block check code for error detection using horizontal parity e The BCC starts from the header and checks each character in sequence using the exclusive OR operation and converts the final result 5 Terminator end code The message should end with CR ASCII code HOD Specifications NOTES
37. AFP7CCS1 35 mA or less When attaching RS 232C x 2ch AFP7CCS2 60 mA or less Extension Cassette RS 422 485 x 1ch AFP7CCM1 60 mA or less Communication Cassette to CPU RS 422 485 x 2h AFP7CCM2 90 mA or less Unit RS 232C x 1ch Note 1 Note 2 RS 422 485 x 1ch AFP7CCS1M1 70 mA or less Ethernet AFP7CCET 35 mA or less Serial Communication Unit AFP7NSC 50 mA or less RS 232C x ich AFP7CCS1 20 mA or less When attaching Edenin Ci eie RS 232C x 2ch AFP7CCS2 40 mA or less Communication RS 422 485 x 1ch AFP7CCM1 30 mA or less Cassette to Serial RS 422 485 x 2h AFP7CCM2 60 mA or less Communication Unit Note 1 Note 2 RS 232C x 1ch RS 422 485 x 1ch AFP7CCS1M1 50 mA or less Note 1 The consumption currents listed in the Extension Cassette column indicate the increased amount of the CPU s consumption current which increases when each extension cassette is added Note 2 The consumption current of extension cassette communication cassette varies according to the unit to which the cassette is attached CPU or serial communication unit REFERENCE For information on the restrictions on the combination of units also refer to FP7 CPU Unit User s Manual Hardware 1 9 Functions of Units and Restrictions on Combination 2 Names and Functions of Parts Names and Functions of Parts 2 1 Names and Functions of Parts 2 1 1 Communication Port of CPU Unit Panasonic FP CPS4E RUN COMO ERRO
38. Code Specified Type E Instruction format RO i 5 i BH De D3 E Operand Specify the operation unit US SS Specify the header of the source node data area Note 1 Pe Specify the No of sent data Note 1 Note 2 l i a i Specify the MODBUS command and partner station no to be used Note 3 Note 4 Higher Two hexadecimal digits that indicate the byte MODBUS function code H5 H6 HF H10 o n hexadecimal digits that indicate the station HO HF7 0 247 Specify the header of the MODBUS address in the receiver data area in HO HFFFF 0 65535 the partner node Specify the device area in the source node to save the execution result Note 5 code one word Note 1 Based on the types of device specified in operand S and the No of sent data specified in n the transmission methods and MODBUS function codes that can be used vary Types of device Transmission No of sent to be specified in S method data D2 Values that can be specified in higher bytes of D1 H6 Preset Single Register 06 16 bit device HF Force Multiple Coils 15 WX WY WR WL DT REJIET H10 Preset Multiple Registers 16 transmission LD HF Force Multiple Coils 15 Preset Multiple Registers 16 H5 Force Single Coil 05 HF Force Multiple Coils 15 F 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 basis for bit transmission N
39. Code Unspecified Type E Instruction format RO E Operand Specify the operation unit US SS S1 Specify the partner station no H1 HF7 1 247 S2 Specify the device initial address of the source node data area in the HO HFFFF 0 65535 partner node Note 1 Note 2 1 127 words Specify the No of sent data 1 2040 bits Note 3 D1 Specify the device initial address of the receiver node data area in the Note 1 Note 4 source node Specify the device area in the source node to save the execution result Note 5 code one word N Note 1 Types of devices and transmission methods to be specified for operands S2 and D1 and MODBUS function codes to be used for instruction execution vary Device to be specified Transmission MODBUS function codes for S2 and D1 method to be used for instruction execution Read Coil Status 01 16 bit device Register Read Input Status 02 WX WY WR WL DT LD transmission Read Holding Registers 03 Read Input Registers 04 1 bit device Bittranemisaion Read Coil Status 01 X Y R L DT n LD n 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 No of sent data is on a word basis for register transmission and on a bit basis for bit transmission Note 4 Device that can be specified for D1 are WX WY WR WL DT LD Note 5 Device that can be specified f
40. D3 Specify the device area in the source node to save the Note 5 execution result code one word Note 1 Types of devices and transmission methods to be specified for operands S and D2 and MODBUS function codes to be used for instruction execution vary Types of device Transmission MODBUS function codes to be specified in S method to be used for instruction execution 16 bit device EE E E E Force Multiple Coils 15 WX WY WR WL DT LD i Preset Multiple Registers 16 1 bit device a l X Y R L DT n LD n 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 received from the partner side Note 4 16 bit device WX WL and LD and 1 bit device X L DT n and LD n cannot be specified for the header of the receiver data in the partner node Note 5 Device that can be specified for D3 are WX WY WR WL DT LD Saved as one word in the specified area Normal completion Communication port is being used for master communication Communication port is being used for slave communication No of master communication instructions that can be used simultaneously has been exceeded Sending timeout Response reception timeout Received data error Oo1hRWN 8 13 MODBUS RTU
41. EE onctu eben egos R100 Clear to send flag Sending active flag Settings for communication port S1 Slot 0 S2 COM1 UNITSEL RECV processing S1 Partner station no U1 S2 Data address DT400 n No of data U2 D1 Data saving area DT100 D2 Execution result code DTO S1 S2 n D1 D2 Note The unit number and COM port number in the above program is applied when the COM 1 port of the CPU unit is used 7 4 7 3 MEWTOCOL COM Master Communication RECV E Timing chart Master communication a Conditions to enable execution of RECV Clear to send flag instruction XC XD XE XF Confirm ON Clear to send flag XC XD XE XF ON Sending active flag YC YD YE YF OFF Master communication Confirm OFF E ane Senate E E E Rela E ee uwinis skaindmn s de T E Sending active flag YC YD YE YF Sending active flag YC YD YE YF Sending data ON Sending done OFF Execute RECV Sending done result flag YO Y1 Y2 Y3 Normal completion OFF Abnormal completion ON Master communication Sending done result flag YO Y1 Y2 Y3 Sending data Response reception processing E I O allocation N CPU Unit Master Turns ON when MEWTOCOL COM MEWTOCOL 7 or communication Clear MODBUS RTU is set for the communication mode and the unit to send flag is in the RUN mode Master Turns ON during sending data based on SEND RECV communication instruction Sending a
42. FP7 Analog Output Unit FP7 Analog Output Unit Users Manual WUME FP7AOH FP7 High speed counter Unit FP7 High speed counter Unit Users Manual WUME FP7HSC FP7 Pulse Output Unit FP7 Pulse Output Unit Users Manual OME ere Upcoming FP7 Positioning Unit FP7 Positioning Unit Users Manual WUME FP7POSP fi e FP7 series Users Manual SCU communication WUME FP7COM PHLS System PHLS System Users Manual WUME PHLS Programming Software FPWIN GR7 FPWIN GR7 Introduction Guidance WUME FPWINGR7 Table of Contents Table of Contents 1 Functions of Units and Restrictions on Combination 1 1 1 1 Features and Functions of Units 00 cccc cece cacecececcececcceccececeeeaeececes 1 2 Telok PURCHOMS OF WAS enaa a aa aa a a aaa 1 2 LEZ Types Ol CUM acie reside A a a O E a a ao 1 3 LLS Types Of Cassetten cagiona a E sah bari eisibanitar 1 3 1 1 4 Applications that can be Used in Each Pott cc cecceccceeceeeeeeeeeeeaees 1 3 1 2 Overview of Communication FUNCTIONS cccccccccececececcecececeeeececes 1 4 1 2 1 PLC Link Functions MEWNET WO cccccccsseccceeeeceeeeeeeeeseeeeeeeaes 1 4 1 2 2 MEWTOCOL Master Slave Communication ccccecececcccceceecececaeees 1 5 1 2 3 MODBUS RTU Master Slave Communication ccccecaceccececeeeeeess 1 6 1 2 4 General Purpose COMMUNICATION cccceecccseeceeeeeeeeeeeeeceeeesaeeeeeeeeenes 1 7 1 3 Restrictions on Units Combinati
43. GPRECV instruction e When the general purpose communication reception done flag is ON for the targeted COM port execute GPRECV e When multiplex reception is carried out the reception done flag X0 X1 X2 X3 remains ON after the received data are copied based on GPRECV instruction Therefore the received data cannot be copied by when the reception done signal rises 9 14 9 5 Sending Receiving Flag Operation 9 5 Sending Receiving Flag Operation 9 5 1 No Header Start Code Terminator End Code CR The reception done flag the sending active flag the GPSEND instruction and the GPRECV instruction are related as follows Data received fom extemal x 8 c ex 0 ORORO device Stored SCU Eg D P receive bu ffer O Data can be received until eight o a a receive bu ffers are all filled up even Cw 4 Ea if the reception done flag is turned on a BA No of bytes lt 1 gt lt 2 gt lt 3 gt lt 4 gt received After GPRECV instruction is on executed reception done Reception flag turns off at the beginning done flag of next scan or later GE XO X1 X2 X3 ON GPRECV instruction OFF execution ON GPSEND instruction OFF execution ON General purpose communication Sending active flag OFF Y8 Y9 YA YB ka T 2 4X 3 Xer data Receive bu ffer specified using GPRECV instruction e The COM port has eight reception buffers The reception process is continued after th
44. Indications concerning self diagnosis are as follows E LED indications concerning self diagnostic errors LED Countermeasures indication Parameter setting error or Refer to10 2 What to DO If an Error transmission reception error Occurs occurs For Each Communication Mode a cycle The factory acceptance test Turn OFF the factory acceptance test 100 nee yasi switch is ON switch on the side of the unit a guela A cassette that cannot be Confirm the type of the cassette and 500 A Je combined is attached replace it m CPU operation when an error occurs in Serial Communication Unit elf 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 ein the programming tool a message of Unit alarm 80 or Unit error 81 can be confirmed on the status display dialog box p KEY POINTS e Even if a communication error occurs the ERROR LED of the serial communication unit will turn off once communication is completed normally with other COM ports For confirming error contents execute PMGET instruction and confirm communication parameters or monitor information 10 3 Troubleshooting 10 2 What to DO If an Error Occurs For Each Communication Mode 10 2 1 When Using PLC Link Function E What to do If an error occurs Situation Contents to check Confirmation method Check if the communication
45. L COM 0 99 be connected to the PLC link Seta MEWTOCOL7 COM 0 999 value that does not overlap with other devices 300 600 1200 2400 4800 Set the baud rate to match that of Baud rate 9600 bps 9600 19200 38400 57600 devices tobe connecled 115200 230400 l Data length The setting must be done according 3 3 l In general the default values 8 bit length odd parity and 1 stop bit RS CS Invalid Valid should be used Send waiting time O 10000 Set this when it is necessary to set value x 0 01 O 100 delay response to the partner ms 0 ms device in slave communication Start code STX Invalid Terminator setting Terminator No need to specify judgment time set value x 0 01 ms Do not initialize Initialize while Perform settings only when a Do not performing settings Re modem is to be connected Perform initialize initialize while performing settings for start up modem settings initialization Modem initialization Note 1 In MEWTOCOL communication the following setting items need not to be specified Start code terminator setting terminator judgment time PLC link setting 7 2 7 2 List of MEWTOCOL MEWTOCOL7 Supporting Commands 7 2 List of MEWTOCOL MEWTOCOL 7 Supporting Commands 7 2 1 List of MEWTOCOL Commands E Commands to be used Type of instruction Code Description Reads ON OFF status of contact Specifies only one point Read contact area Specifies
46. L COM Master Communication SEND ccccceeeee eee 7 8 7 4 1 Write Data into an External Device ec eccceececeeeeeeeeeeeeeseeeeseeeeaeees 7 8 7 4 2 SEND Instruction When MEWTOCOL COM is Used eee 7 11 MODBUS RTU Master Slave Communication 8 1 8 1 Configuratio sesers ie A AEREE KEE E nE 8 2 8 1 1 Setting Communication Conditions cee eceeceeeeeeeeeeeeeseeeeeeeaeeeeeeas 8 2 8 2 List of MODBUS RTU Supported Commands cccccceeceseeeeeeeeeees 8 3 8 2 1 List of MODBUS Function Codes cccceccccceececeeeeeeeeeeeseeeeeseeesaeessees 8 3 8 3 MODBUS RTU Master Communication RECV ccccecceseeeeeeeeees 8 4 8 3 1 Read Data from an External Device cccccecccceecceceeeeeseeeeeseeeeeeeeesenes 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 ccceeccceeeeeeeeees 8 9 8 4 1 Write Data into an External Device ccc ceccceececeeeeceeeseeeeseeesaeeesaeeees 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 General Purpose COMMUNICATION 0ccccceeeseceeeeeeeeeeeees 9 1 9 1 Operation of General Purpose COMMUNICATION cceecceeeeeeeeeeeees 9 2 9 1 1 R
47. LC PLC PLC E Examples of applications of MODBUS RTU master communication This is used for connection with a device that supports the MODBUS RTU protocol e Thermoregulator KT series e Devices from other manufacturers that support MODBUS RTU m Examples of applications of MODBUS RTU slave communication This is used when access is made from the higher device using MODBUS RTU commands 1 6 1 2 Overview of Communication Functions 1 2 4 General Purpose Communication m Overview of function e General purpose communication is used when PLC executes communication in accordance with the protocol of the partner device e Formulation and sending of command messages to the partner device and reception processing of responses from the partner device are performed by the user program Sending receiving of data with an external device is executed via given operation memory e g data register e Data are sent by converting commands in accordance with the partner device as strings into ASCII text setting them into a given data register and executing GPSEND instruction e 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 e The data size that can be sent or received in a single communication is up to 4 096 bytes including control codes Data a DT Re
48. Note 4 Specify the device area in the source node to save the execution result Note 5 code one word Note 1 Transmission methods vary by the type of device to be specified for the operands S and D2 Device to be specified for S2 and D1 Transmission method 16 bit device WX WY WR WL DT LD transmission 1 bit device X Y R L DT ALD device X Y R L DT 1 bit device X Y R L DT n LD n LD n Bittransmission Bittransmission 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 header of the receiver data in the partner node Note 5 Device that can be specified for D3 are WX WY WR WL DT LD Saved as one word in the specified area Normal completion Communication port is being used for master communication Communication port is being used for slave communication No of master communication instructions that can be used simultaneously has been exceeded Sending timeout Response reception timeout Received data error OuaRWN O MEWTOCOL Master Slave Communication 7 12 O MODBUS RTU Master Slave Communication MODBUS RTU Master Slave Communication 8 1 Configuration
49. Panasonic PROGRAMMABLE CONTROLLER FP7 series User s Manual SCU communication Applicable models FP7 CPU Unit Model number AFP7CPS FP7 Serial Communication Unit Model number AFP7NSC FP7 Extension Cassettes Communication Cassettes RS 232C x 1ch type Model number AFP7CCS1 RS 232C x 2ch type Model number AFP7CCS2 e RS 422 RS 485 x 1ch type Model number AFP7CCM1 RS 422 RS 485 x 2ch type Model number AFP7CCM2 RS 232C x 1ch RS 422 RS 485 x 1ch type Model number AFP7CCS1M1 WUME FP7COM 02 2013 12 panasonic net id pidsx global Safety Precautions Observe the following notices to ensure personal safety or to prevent accidents To ensure that you use this product correctly read this User s Manual thoroughly before use Make sure that you fully understand the product and information on safety This manual uses two safety flags to indicate different levels of danger WARNING If critical situations that could lead to user s death or serious injury is assumed by mishandling of the product Always take precautions to ensure the overall safety of your system so that the whole system remains safe in the event of failure of this product or other external factor Do not use this product in areas with inflammable gas It could lead to an explosion Exposing this product to excessive heat or open flames could cause damage to the lithium battery or other electronic parts CAUTION If criti
50. R PROG SD CARD ALARM RD COPY als 4 2 In the above figure a communication cassette is attached to the COM 1 and COM 2 ports m Names and Functions of Parts 1 COM 1 and COM 2 ports Attach a separately sold communication cassette to use these ports A blank cover is fitted when the unit is shipped 2 COM 0 port GT power supply terminals This is an RS 232C port that is equipped to a standard model of CPU unit It 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 e For details of the communication method using LAN port refer to FP7 CPU Unit User s Manual LAN port communication e For details of the communication using Communication cassette Ethernet type AFP7CCET refer to FP7 series User s Manual Communication cassette Ethernet type 2 2 2 1 Names and Functions of Parts 2 1 2 Parts Names and Functions of Serial Communication Unit 1 2 6 3 _s a In the above figure two communication cassettes are attached E Names and Functions of Parts 1 Operation monitor LEDs mir e o Bue Lights when the power supply of the CPU uni
51. SEND execution conditions DF amp Clear to send flag ON Sending active flag OFF General purpose General purppse ENEON ES E A EAE communication communicatiqn R100 Clear to send flag Sending activp flag E E E ieenitartoneaelen Data conversion S1 Sent Data R100 S2 Save Sent Data l i T DT100 No of Sent Characters DF SSET ABCDE DT100 DT101 onward Sent Data S2 E E E A A R100 Settings for communication port UNITSEL 7 S1 Slot 0 UO S2 COM1 U1 SEND processing GPSEND US DT101 DT100 S Header of Sent Data DT101 n No of Sent Characters DT100 S n D D Execution Result Code DTO Y8 R101 Confirm sending completion 7 DF Reset GPSEND execution Note The unit number and COM port number in the above program is applied when the COM 1 port of the CPU unit is used 9 3 Sending Operation E Timing chart e Data in the table S specified by GPSEND instruction are sent in ascending order from lower bytes e During the sending process the General purpose communication Sending active flag Y8 Y9 YA YB turns ON The flag is turned OFF when sending is completed The flag does not turn off right after the execution of the instruction It turns off at the beginning of the second scan e The sending result 0 normal completion 1 abnormal completion is saved in the general purpose communication sending result flag YO Y1 Y2 Y3 General purpose 7 Con
52. Sending Size e The memory areas for link registers are divided into send areas and receive areas e The link registers are sent from the send area to the receive area of a different PLC Link registers with the same numbers as those on the sending side must exist in the receive area on the receiving side E g Example of setting the starting No for link register send area and the sending size in the case of memory block No 0 Station no 1 Station no 2 Station no 3 Station no 4 LDO LDO No 1 Send area cel Receive area No 2 m Receive area 127 eceive area Sosa 127 E List of setting items PLC link settings Sere Setting Station no and setting method Setting items ee eee E Memory block numbers for link Oor1 relays and link registers to be used 4 4 4 Maximum station no to be used for PLC link Otote Range of link registers used for 0 to 128 Starting No for link register send 0 to 127 40 area words NOTES e Ifa mistake is made when allocating a link area be aware that an error will result and communication will be disabled e Avoid overlapping send areas 6 10 6 3 Setting Items for PLC Link In the example shown below there is an area between No 2 and No 3 link relays which is overlapped and this will cause an error so that communication cannot be carried out Station no 1 Station no 2 Station no 3 WLO Send area 19 35 Receive area Receive area
53. Settings Using FPWIN GR7 For Serial Communication Unit The explanation below shows the case that the serial communication unit is registered in the slot number 1 a AP PROCEDURE 1 Select Options gt 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 O dialog box is displayed 4 Select CPU unit for Unit type and select a CPU unit used for Unit name and press OK button The CPU unit is registered Only CPU unit can be registered in Slot No 0 Slot No 1 and subsequent numbers cannot be set unless Slot No 0 is set 4 6 4 2 Registration in I O Map Unit selection Slot No 0 Select unit to use Unit type Unit name CPS4E CPU unit Input time constant 0 Installation location setting Starting word Na Oo 502 Number of input words 10 0 128 Number of output words 10 fo 128 Automatically shift the starting word number For subsequent slots Option C Exclude this unit from the target for verification C Exclude this unit From the target For 1O refresh 5 Double click Slot No 1 in the I O map dialog box The Unit selection 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 th
54. TOUCOCCOCE ICCC EUU CCC ETC CC eer UU RECV processing S1 MODBUS code H03 and partner device station no H01 S2 Partner device address HO corresponds to HO 40001 n No of data U2 D1 Data saving area DT100 D2 Execution result code DTO S1 S2 n D1 D2 Note 1 Operand S1 of RECV instruction is specified by combining two hexadecimal digits of MODBUS function code with two hexadecimal digits of partner device station no Note 2 When the partner device is FP series PLC Operand S2 of RECV instruction can be specified using the Device No Note 3 The unit number and COM port number in the above program is applied when the COM 1 port of the CPU unit is used 8 4 8 3 MODBUS RTU Master Communication RECV E Timing chart Master communication Se Conditions to enable execution of RECV Clear to send flag instruction i XC XD XE XF Confirm ON Clear to send flag XC XD XE XF ON Sending active flag YC YD YE YF OFF Master communication Confirm OFF Wnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnannnnannnnnnnannnnannnnannnnannnannnnnnnnn SaNa ta f A aaa e YC YD YE YF Sending active flag YC YD YE YF Sending data ON Sending done OFF Execute RECV Sending done result flag YO Y1 Y2 Y3 Normal completion OFF Abnormal completion ON Master communication Sending done result flag YO Y1 Y2 Y3 Sending data Response reception processing E
55. WIN GR7 configuration menu ein 1 1 communication specify 01 ASCII code H3031 or EE ASCII code H4545 3 Text The content 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 e 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 e The BCC starts from the header and checks each character in sequence using the exclusive OR operation and replaces the final result with ASCII code It is normally part of the calculation program and is created automatically e By entering ASCII code H2A2A instead of BCC you can omit BCC 5 Terminator end code Messages must always end with a CR ASCII code HOD 11 5 Specifications NOTES e The method for writing text segments in the message varies depending on the type of command e When the message to be sent contains a large number of characters send the command divided in several times e When the message contains a large number of characters the response is sent divided in several times p KEY POINTS e An expansion header lt is supported to send and receive single frames of up to 2048 characters as well as general Type of No of characters that can be header sent in 1 frame Max 11
56. WTOCOL COM master communication e Programmable displays made by various manufacturers Functions of Units and Restrictions on Combination 1 2 3 MODBUS RTU Master Slave Communication E Overview of function e This is used for communicating with other devices that support the MODBUS RTU protocol e ln master communication communication is performed when the master unit sends instructions command messages to slave units and the slave unit returns responses response messages according to the instructions Messages in accordance with the protocol are automatically generated by PLC In the user program reading and writing can be done simply by specifying the station no and memory address and executing SEND RECYV instructions e Slave communication is 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 e 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 function Master Slave Slave Slave PLC RS485 Modbus RTU Modbus RTU Modbus RTU slave slave slave function function function Supporting Supporting supporting device device device Slave function Master Modbus RTU master Slave Slave Slave function supporting RS485 device P
57. Y12 Y13 by the user program e Once reset is completed X10 X11 X12 X13 turns ON Subsequently turn OFF the Request to reset Y10 Y11 Y12 Y13 R100 X10 YAO I poene Request to reset an error Y10 Pore eee Ue ECU CUe Ceres rer rr rier err re cert rr rrr rryy CH1 error Request to reset done reset CH1 Request to reset CH1 E Procedure for repeated reception of data For repeated reception of data perform the following steps 1 to 4 1 Receive data 2 Turn on the General purpose communication reception done flag X0 X1 X2 X3 3 Specify a port to receive data based on the UNITSEL instruction 4 Execute the GPRECV instruction and read the received data from the reception buffer 9 12 9 4 Receiving Operation 9 4 4 Operations of the Reception done copy flag and multiplex reception E Operation and function of the reception done copy flag X4 X5 X6 X7 e The reception done copy flag X4 X5 X6 X7 turns ON when the GPRECYV instruction is executed and data are copied from the reception buffer to the specified operation memory and turns OFF when the END instruction is executed E Processing in the case of multiplex reception e f the time from the reception of data in the reception buffer to the subsequent data reception is shorter than the PLC scan time and the receiving frequency is high it is possible that the reception done flag X0 X1 X2 X3 remains ON and cannot d
58. asis for bit transmission Note 4 Device that can be specified for D2 are WX WY WR WL DT LD Saved as one word in the specified area Normal completion Communication port is being used for master communication Communication port is being used for slave communication No of master communication instructions that can be used simultaneously has been exceeded Sending timeout Response reception timeout Received data error Oo1RWN 1 1 MEWTOCOL Master Slave Communication 7 4 MEWTOCOL COM Master Communication SEND 7 4 1 Write Data into an External Device E Instructions In master communication PLC has the sending right and executes communication by sending commands to devices that support MEWTOCOL and receiving responses Messages in accordance with the protocol are automatically generated by PLC In the user program reading and writing can be done simply by specifying the station no and memory address and executing SEND RECV instructions External device supporting ee MEWTOCOL COM Command message o DT100 100 01 WDD004000040164000000 BCC Ck DTo0400 1 100 a gt DT101 0 DT00401 0 waves llegeecete 01 WD BCC C e eae Response message A Seesaseeseesen Specify and write station no and address based on SEND instruction 7 E Sample program e Send commands from the COM1 port of the CPU unit and write the content of PLC s data register DT 100 DT101 into the data area of an
59. ation no is specified in the FPWIN GR7 configuration menu ein 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 gt EEEQO O0OMMRDDON1GODT0000000001000 CR gt EEE01 amp CR Make sure to use consecutive values for frame numbers The usable number range is from 00 to FF After FF return to 00 4 Text The content of this varies depending on the type of command The content should be noted in all upper case characters following the fixed formula for the particular command 11 9 Specifications 5 Check code e This is a CRC Cyclic Redundancy Check to detect errors using a generating polynomial of hamming codes e This should be created so that it targets all of the text data from the header to the last text character e CRC is a value given by replacing the result of calculation by CRC 16 CCITT with ASCII code It is normally part of the calculation program and is created automatically 6 Terminator end code Messages must always end with a CR ASCII code HOD p KEY POINTS e The method for writing text segments in the message varies depending on the type of command e When the message to be sent contains a large number of characters send the command divided in several times e When the message contains a large number of
60. aus kel R A o y 0 A o N Terminal LED part Terminal Functions that can Signal Ports that can no Symbol part be allocated direction be allocated Symbol in the software 18 Transmission line S8 Transmission line COM 1 fe CH2 SD Transmission line a aa COM 2 ao Transmission line pe 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 crossover wiring for the transmission cable Note 3 Do not connect anything to Terminal No 5 Note 4 Route between CH1 and CH2 are insulated inside 3 4 Wiring for Communication Cassettes COM 1 to COM 4 Ports E Example of wiring in the setting of RS 485 AFP7CCM2 Transmission line 1 Partner 1 P 1s Franemissontne _ Frensmissionine 2 rs Transmission ine 1 Transmission ine Transmission line 1 Partner 2 R Transmission ineto namram Ps nc no e s Transmission ine 2 7 us Transmissiontine 20 Transmission ine 8 F R Transmission line 2 Le R_ Transmission line 2 eee N e ol jusu Transmission line 2 Partner 1 Terminal Signal name
61. be allocated l COM 0 COM 1 COM 2 COM 3 COM 4 AFP 7CPS4E CPU Unit AFP 7CPS3E AFP7CPS3 sorai Communication Unt aese Note 1 The COM 0 port equipped in the CPU unit is a terminal block especially for RS 232C 3 wire type 1 1 3 Types of Cassette E Types of communication cassette Communication ports that can be allocated Model no Communication interface Communication ports that can be allocated COM 0 COM 1 COM 2 COM 3 COM 4 rarerccst remas Tsui tchamneinszaac o merco tchamneinsazaiesaes Farercome 2chameinsazaresaes aie tchamneiRsza2e Jo i 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 485 and 3 wire 1 channel RS 232C can be used 1 1 4 Applications that can be Used in Each Port E Available functions for each communication port Communicaionmfunciontoibonuced Communication ports that can be allocated COM 0 COM 1 COM 2 COM 3 COM 4 PLC link as ee a MEWTOCOLT COM Note 1 Master e e ef ae eoe ee a Eevee a ee ee Ea Ee S e General purpose communication o e No
62. cal situations that could lead to user s injury or only property damage is assumed by mishandling of the product To prevent excessive exothermic heat or smoke generation use this product at the values less 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 securely The loose connection could cause excessive exothermic heat or smoke generation Do not allow foreign matters such as liquid flammable materials metals to go into the inside of the product It could cause excessive exothermic heat or smoke generation Do not undertake construction Such as connection and disconnection while the power supply is on It could lead to an electric shock Copyright Trademarks This manual and its contents are copyrighted You may not copy this manual in whole or part without written consent of Panasonic Industrial Devices SUNX Co Ltd Windows is a registered trademark of Microsoft Corporation in the United States and other countries All other company names and product names are trademarks or registered trademarks of their respective owners PLC_ORG Introduction Thank you fo
63. cassette is attached firmly Are wirings correct Check the wirings again e any problem in environments such as Check the shielding Is a communication cassette attached Is the unit number of each unit set correctly Are the unit numbers set sequentially and consecutively from 1 Isn t there any overlapping unit number Isn t any number over 17 used for unit number Check the configuration COM 1 Communication is not possible For the serial ication unit th 7 ERROR LED tums an with PMSET instruction settings of the CPU with built in SCU Isn t there any overlapping transmission area for Unit or the serial communication unit each unit Check the communication Is the transmission reception area of PLC link oo with PMGET instruction correct Is the maximum unit number used for the PLC link correct Is the communication mode set correctly Note For checking communication parameters with PMGET instruction the CPU should be set in the RUN mode Set Mode selection when self diagnostic error occurs A unit error occurred to Continue operation in the CPU configuration 10 2 2 When Using MEWTOCOL MEWTOCOL7 MODBUS RTU Function E What to do if an error occurs Situation Contents to check Confirmation method PNS Check if the communication cassette AN Is a communication cassette attached Communication is not is attached firmly Pere Check the wirings again For the serial
64. ceive command in accordance with the external device renee aa commercia Lz devices supporting RS 232C RS 422 lt 2 sic CG Receive response from the external device Applications of general purpose communication This is used for connection with devices made by differing manufacturers that have dedicated communication protocols Functions of Units and Restrictions on Combination 1 3 Restrictions on Units Combination 1 3 1 Restrictions on the Number of Installed Units There are following restrictions depending on units to be used Unit type Number of installed units Remarks si 1 3 2 Restrictions on the Combination of Extension Cassettes Communication Cassettes e One communication cassette can be attached to the CPU unit and two communication cassettes to the serial communication unit e The FP7 communication cassette Ethernet type can be attached to the CPU only It cannot be attached to the serial communication unit SCU 1 3 3 Restrictions on Communication Functions to be Used There are the following restrictions on functions to be used when using the SCU or ET LAN that is built in the CPU unit or the serial communication unit SCU Up to two communication ports can be used For using two ports allocate different link areas to them CPU with built in SCU COM 1 port Serial communication unit COM 1 port PLC link function A maximum of 16 communication ports and the number of co
65. characters the response is sent divided in several times e In MEWTOCOL7 command up to 4096 characters can be sent received ina single frame Type of header No of characters that can be sent in 1 frame Max 4096 characters 11 10 11 3 MEWTOCOL7 COM Format 11 3 2 MEWTOCOL 7 Response Format m Response message 1 Header poy code 2 Station no i the receiver 3 Frame No 4 Text to be specified in accordance with the type of command l l gt l Yu i Command name data area read Command code value Response code normal status abnormal status Data normal status read data abnormal Le status error code 5 Check code Terminator 16bit CRC CCITT end code 1 Header start code eA gt ASCII code H3E must be at the beginning of a message e 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 is not completed successfully an error code will be stored here so that the content of the error can be checked 11 11 Specifications 5 Check code e This is a CRC Cyclic Redundancy Check to detect errors using a generating polynomial of hamming codes e This should be created so that it targets all of the text data from th
66. ctive flag Turns OFF when the sending process is completed Reports completion result of sending data in general purpose communication or master communication Normal completion 0 Abnormal completion 1 Sending done result E 1 O allocation ora Serial Communication Unit eae Master Turns ON when MEWTOCOL COM MEWTOCOL or XC XD XE XF communication MODBUS RTU is set for the communication mode and the Clear to send flag unit is in the RUN mode Master Turns ON during sending data based on SEND RECV YC YD YE YF communication instruction Sending active flag Turns OFF when the sending process is completed cendra doneres Reports completion result of sending data in genera purpose YO Y1 Y2 Y3 fla g communication or master communication g Normal completion 0 Abnormal completion 1 Note 1 Each contact is used for reading the operation status Do not write over it with a user program 1 5 MEWTOCOL Master Slave Communication 7 6 KEY POINTS Specify the port targeted for communication using UNITSEL instruction immediately before SEND RECV instruction Master communication is only valid when MEWTOCOL or MODBUS is selected Confirm that the Master communication Clear to send flag XC XF for the targeted channel is ON and execute SEND RECV instruction You cannot execute other SEND RECV instruction for a communication port in master communication Confirm that the Master communication Sendin
67. d using the programming tool 4 TIk link addition processing time When there is no station that is yet to be added to the link Tlk 0 Calculation TIk Tic link addition command sending time Twt addition waiting time formula Tis sending time for command to stop transmission if link error occurs Tso master station scan time Tic 10 x Ttx Sending time per byte Ttx 1 transmission speed kbps x 1000 x 11ms Approx 0 096 ms at 115 2 kbps Twt Default value 400 ms Tis 7 x Ttx sending time per byte Ttx 1 transmission speed kbps x 1000 x 11ms Approx 0 096 ms at 115 2 kbps Tso Master station scan time 6 12 E Example of calculation Condition 16 units connected to the link no station yet to be added Where Max station no 16 1 Relays registers are equally allocated and Scan time for each PLC is set at 1 ms 16 units connected to the link no station yet to be added Where Max station no 16 Relays registers are equally allocated and Scan time for each PLC is set at 5 ms 16 units connected to the link 1 station yet to be added Where Max station no 16 Relays registers are equally allocated and Scan time for each PLC is set at 5 ms 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 2 units connected to the l
68. 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 p KEY POINTS e Specify the port targeted for communication using UNITSEL instruction immediately before GPSEND instruction e Maintain the ON conditions for GPSEND instruction until sending is completed and the general purpose communication sending active flag Y8 Y9 YA YB turns OFF e Confirm that the General purpose communication Clear to send flag for the targeted COM port has turned ON and execute GPSEND instruction e When GPSEND instruction is executed for a communication port in the sending process the sending active flag and the sending result are updated e GPSEND instruction cannot be used in an interrupt program 9 7 General Purpose Communication 9 3 4 Precautions on Sending Data E Procedures when the end code is not added in the sending process When you do not wish to add the terminator end code in the sending process use a negative value for specifying the No of sent bytes RO X8 Y8 R101 R100 GPSEND execution conditions nS DF Clear to send flag ON Sending active flag OFF General purpose General purppse T N E E E E communication communicatiqn R100 Clear to send flag Sending active flag Pa A E E Data conversion S1 Sent Data R100 S2 Save Sent Data DT10
69. dee 6 7 62 i Station No SOMIAG ssir N 6 7 6 3 2 Max Station No S GUM Gis cs cacac ok eee cee etter ceed atatanacecee 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 006 6 9 6 3 6 Starting No for Link Register Send Area and Sending Size 6 10 64 PLC LINK RESPONSE TING crenn a T a AA 6 12 6 4 1 Response Time of 1 Transmission CyCle ccccccccecseeeeeeeeeeeeeaeeeeeens 6 12 6 4 2 Response Time When There is a Station Yet to be Added 6 14 MEWTOCOL Master Slave Communication 0 7 1 TM ACOMMOMPAUOM ecto ces slacttta fe ieterint a teen toot o ties eit 7 2 7 1 1 Setting Communication Conditions ccccceecceeeeeeeeeeeeeeeeseeeeeesaeeeeeeas 7 2 7 2 List of MEWTOCOL MEWTOCOL 7 Supporting Commande 1 3 7 2 1 List of MEWTOCOL Commands cccccceeeneeeeeeeeeeeeeaeeeeeeeeeeeesaeeeeens 7 3 1 2 2 List of MEWTOCOL7 Commands x seciicnitiiencuso tisdseelusssoshids cdemaddamaen evens 7 3 Table of Contents 7 3 MEWTOCOL COM Master Communication RECV ccceceeeeeees 7 4 7 3 1 Read Data from an External Device ccccecccceececceeeeseeeeeeeeeeeeaeeesees 7 4 7 3 2 RECV Instruction When MEWTOCOL COM is Used cceeeeees 7 4 MEWTOCO
70. ditions to enable execution of 3 communication Clear to GPSEND instruction Clear to send flag X8 X9 XA XB ON send flag X8 X9 XA XB g Confirm ON Sending active flag Y8 Y9 YA YB OFF Sending active flag Y8 Y9 YA YB Sending data ON Sending done OFF General purpose Confirm OFF communication Sending active flag Y8 Y9 YA YB Execute GPSEND Sending done result flag YO Y1 Y2 Y3 Normal completion OFF Abnormal completion ON Sending doneresult o eeeeee flag YO Y1 Y2 Y3 Sending data E I O allocation CPU Unit COMportno ort no ere e Bi General purpose y X8 X9 XA communication Clear t TUMS ON when the unit is set to the general purpose send flag communication mode General purpose Turns ON during sending data based on general purpose Y8 Y9 YA communication communication GPSEND Sending active flag Turns OFF when the sending process is completed Reports completion result of sending data in general purpose YO Y1 Y2 Soucy CONE TESUN communication or master communication Normal flag nes etn completion 0 Abnormal completion 1 E O allocation For Serial Communication Unit COM port no Explanation esa Name Exanation OOO O General purpose xg x9 XA XB cominunication Turns ON when the unit is set to the general purpose communication mode Clear to send flag General purpose Turns ON during sending data based on general pu
71. dsx global About our sale network please visit our website Panasonic Industrial Devices SUNX Co Ltd 2013 Dec 2013 PRINTED IN JAPAN WUME FP7COM 02
72. e e Do not twist the wires to connect them e Do not solder the wires to connect them The solder may break due to vibration e After wiring make sure stress is not applied to the wire e n the terminal block socket construction if the wire is fastened upon counter clockwise rotation of the screw the connection is faulty Disconnect the wire check the terminal hole and then re connect the wire a A Ay OEN L Clockwise Counter clockwise Wiring the COM Port 3 3 Wiring for CPU Unit GT Power Supply and COMO Port 3 3 1 Handling of GT Power Supply Terminals e GT power supply terminals can be used as power supply terminals for the GT series of our programmable displays e n accordance with the model to be used use either 5V DC or 24V DC NOTES e GT power supply terminals 5V DC 24V DC are design exclusively for the GT series of our programmable displays Do not use the terminals for other devices e GT power supply terminals and COMO port RS 232C are insulated inside 3 3 2 Terminal Layouts and Examples of Wiring E Layout for GT power supply terminals and COMO port terminals Terminal Terminal part Functions Signal direction Ports that can be no Symbol that can be allocated allocated in the software 1 COM 0 SD Sent data a External device 2 Received data PLC COM 0 External device a I O se swacomna omor av a S Co o wv a S Ov oo 4 3 6 3 3 Wiring for CPU U
73. e E 7 Va Receive response message 7 A Send command based on GPSEND instruction Oe ooo I Goooooooooooooooo Receive response based on GPRECV instruction p KEY POINTS e There is no relevance between the operation of transmission by GPSEND instruction and the operation of reception by GPRECV instruction The CPU with built in SCU unit is always clear to receive data 9 2 Configuration 9 2 Configuration 9 2 1 Setting Communication Conditions E Configuration Communication MEWTOCOL COM General purpose Specify general purpose mode communication communication 300 600 1200 2400 4800 9600 19200 Rada Tal ao 38400 57600 115200 230400 The setting must be done according to Data length 7 bit 8 bits the devices connected Stop bit 1 bit 2 bits Set to Valid only when Communication RS CS Invalid Invalid Valid Cassette AFP7CCS2 is used in a 5 wire mode Send waiting ee Set this when it is necessary to delay ume pee response to the partner device unit 0 01 ms p p Start code STX Invalid Invalid Valid The setting must be done according to Terminator CR CR LF Time the devices connected CR f setting ETX Terminator O 10000 In cases where Time is specified in the judgment time 100 terminator setting set the time for judging unit 0 01 ms 0 ms the terminator Do not initialize Initialize while Perform settings only when a modem is Do not initialize perfo
74. e reception done flag X0 X1 X2 X3 turns ON The reception done flag X0 X1 X2 does not turn OFF immediately following the execution of GPRECV instruction It will be turned off at the beginning of the next scan or later e After GPSEND instruction is executed data transmission is started in several us 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 General Purpose Communication e After GPSEND instruction is executed dual sending to the same port is not possible until the sending General purpose communication Sending active flag Y8 Y9 YA YB turns OFF The General purpose communication Sending active flag Y8 Y9 YA YB turns OFF in instruction execution in the next scan or later following completion of data sending 9 5 2 Start Code STX End Code ETX Receiving process Reception done flag and GPRECV instruction are related as follows Data received meer x a device Stored SCU receive bu ffer 2 B S 2 eee i reception done o 9 ft L status received aml data is continued 5 into another buffer because there are 4 096 x No of bytes lt 1 gt lt 2 gt lt 1 gt 8 reception lt 1 gt received buffers Upon reception of the Upon reception of the start code the reception start code the reception pointer is initialized pointer is initialized ON Receptio
75. e I O map Unit selection Slot No 1 Select unit to use OK Unit type Insert Input time constant 0 Installation location setting Starting word Mo 0 511 Number of input words 0 iD 125 Number of output words 0 iD 128 Automatically shift the starting word number for subsequent slots Option O Exclude this unit From the target For verification Exclude this unit From the target For IO refresh The set conditions are reflected in the project being edited 4 7 I O Allocation 4 8 9 Setting and Confirming Communication Conditions Setting and Confirming Communication Conditions 5 1 Setting Applications and Communication Conditions 5 1 1 Applications to be Set for Each Port E Available functions for each communication port Allocated communication port PLC link MEWTOCOL7 COM Note1 Master e e e gt MEWTOCOL COM TE ee ee ee ere Master e oe e ef e Note 1 In MEWTOCOL7 COM there is no master communication function 5 1 2 Conditions to be Set for Each Port E Communication condition Communication port Setting range Default 1 99 MEWTOCOL COM Station no 1 999 MEWTOCOL7 COM 1 247 MODBUS RTU 300 600 1200 2400 4800 9600 19200 38400 57600 115200 230400 9600 Data length 7 bits 8 bits Communica Stop bit 1 bit 2 bits tion format CR CR LF ETX or time 0 01 ms 100 ms by the unit of 0 01 ms Star
76. e header to the last text character e CRC is a value given by replacing the result of calculation by CRC 16 CCITT with ASCII code It is normally part of the calculation program and is created automatically 6 Terminator end code The message should end with CR ASCII code HOD NOTES e f no response is returned the communication format may 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 e 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 e 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 Command Response 11 12 11 4 MODBUS RTU Format 11 4 MODBUS RTU Format 11 4 1 MODBUS RTU Command Format E MODBUS RTU command format START ADDRESS FUNCTION DATA CRC CHECK ED 3 5 character 8 bits 8 bits n 8 bits 16 bits 3 5 character time time ADDRESS 8 bits O to 247 decimal station no Note 0 Broadcast address FUNCTION 8 bits DATA Varies depending on commands CRC 16 bits END 3 5 character time Differs depending on baud rate R
77. ead Data from an External Device cccccecccceececeeeeeseeeeeseeeeeeeeeseees 9 2 9 1 2 Write Data into an External Device 0 ccccccccececeeeeseeeseeeseeeeaeeeeaeeees 9 2 9 2 01g 11 6 0 ees 1 8 Reet ete ernment een MRR ae ee ese tener marr rr ene ee ee 9 3 9 2 1 Setting Communication Conditions cee cceecneeeeeeeeeeeeeeeeeeeeaeeeeeeas 9 3 J3 SCNGING OPCAVON oss ccc hes laied tessa ovnsentenvses a dees tects 9 4 9 3 1 Overview of Sending Operation cccccccccssseeseeseeeceesseeceeeseeeseeseeeees 9 4 Table of Contents 10 yi 9 3 2 Contents of Sent D laienensna a a a AN 9 6 9 3 3 GPSEND General Purpose Communication Sending Instruction 9 7 9 3 4 Precautions on Sending Dat mrisani ae 9 8 9 4 IREGCIVING OPS All lcs cet secrete oe teetsiciate eee Ate nare heese tote aia datebie 9 9 9 4 1 Overview of Receiving Operation ccccsssccecsssseecceeeeesseseeessenseesseaes 9 9 9 4 2 Contents of Received Data cceccccsssccecceseeeeeeseeeceeseeecsenseesseneeeeees 9 12 9 4 3 Precautions on Receiving Data cccccccssseceseseecseeeseeeeeseseeeneneeenees 9 12 9 4 4 Operations of the Reception done copy flag and multiplex reception 9 13 9 4 5 GPRECV General Purpose Communication Receiving Instruction 9 14 9 5 Sending Receiving Flag Operation ccccccccseccceeeeeeeeseeesaeseaeeesaees 9 15 9 5 1 No Header Start Code Terminator End Code
78. eeeeeeeeees 11 2 11 1 2 Extension Cassette Communication Specifications cccccceeeeee 11 4 eZ MEWTOCOE CGOM Format oniran aaa a a a tenes 11 5 11 2 1 MEWTOCOL COM Command Format cccccccccceeeeceeeeeeeeeeeeeeeeees 11 5 11 2 2 MEWTOCOL COM Response Format ccccssccecseeeeseeeseeeeeeeeeeenes 11 7 11 3 MEWTOCOL7 COM Format ccccccccccceeeeeee eee eeeeseeeeeeeseeseeeeeeneeees 11 9 11 3 1 MEWTOCOL7 COM Command Format ccccccecseeeeeeeeeeeeeeeeeeeeees 11 9 11 3 2 MEWTOCOL7 Response Format cccccseeceeseeeeseeeeceeeeeseeeeseaeees 11 11 A MODBUSAR TU FO MMA secscttsics feels unitlenev n vacua tnarderiatiues 11 13 11 4 1 MODBUS RTU Command Format ccccccccccsseeeseeeeeeeeeeseeeeeeeeees 11 13 11 4 2 MODBUS RTU Response Format cccccsccceceeeeceeeeeeeeeeseeeeeseeees 11 14 vii Table of Contents viii 1 Functions of Units and Restrictions on Combination Functions of Units and Restrictions on Combination 1 1 Features and Functions of Units 1 1 1 Functions of Units CPU Unit Serial Communication Unit Panasonic FP7 CPS4E NSC RUN COM O SD ERROR O _ ERROR PROG SD gt CARD ALARM 7 ALARM RD COPY c J FS PROG a RUN UD copy SS
79. efer to the reception judgment time section E 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 eo aosan Approx 6 7 ms 230400 Approx 0 14 ms 11 13 Specifications 11 4 2 MODBUS RTU Response Format E Response in normal status e The same message as a command is returned and for a loop back test eA part of a command message 6 bytes from the beginning is returned for multiple write command E Response in abnormal status In case a parameter disabled to be processed is found in a command except transmission error Slave address station no Either 1 2or3 Function code 80H Error code CRC E Error code contents 1 Function code abnormality 2 Device No abnormality out of range 3 No of devices abnormality out of range 11 14 Record 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 Please contact Panasonic Industrial Devices SUNX Co Ltd E Overseas Sales Division Head Office 2431 1 Ushiyama cho Kasugai shi Aichi 486 0901 Japan E Telephone 81 568 33 7861 W Facsimile 81 568 33 8591 panasonic net id pi
80. eneral purpose communication mode Turns ON when the GPRECYV instruction is executed and the received data have been copied into the specified operation memory Turns OFF when there are no applicable data General purpose X4 X5 X6 X7 communication Reception copy done flag E Timing chart e Data received from an external device are saved in the same reception buffer e When the terminator end code is received the reception done flag XO X1 X2 X3 turns on Subsequently the following data are saved in the buffer upon reception 8 data can be received consecutively m Start receiving Received data 1 2 nai 5 Sp A B Reception ON done flag OFF XO ON GPRECV execution i OFF condition R100 Execute GPRECV instruction e When the GPRECV instruction is executed data are copied into the specified area and the reception done flag XO X1 X2 X3 turns OFF The reception done flag X0 X1 X2 X3 turns OFF when the I O refresh is executed at the beginning of the subsequent scans Reception buffer leo H H Ho P MAE AEE E OAE E ee Received data cr e s gt cr Reception done flag X0 X1 X2 X3 When reception has been done ON 2 2 When copying of received data has Reception done flag e been done based on GPRECV XO X1 X2 X3 instruction OFF Execute GPRECV Fy A 9 10 9 4 Receiving Operation E Saving method for received data When data are saved in a given data register
81. er communication Sending active flag Turns ON during sending data based on SEND RECV instruction Turns OFF when the sending process is completed Reports completion result of sending data in genera purpose communication or master communication Normal completion 0 Abnormal completion 1 Sending done result flag Note 1 Each contact is used for reading the operation status Do not write over it with a user program 8 4 MODBUS RTU Master Communication SEND p KEY POINTS e Specify the port targeted for communication using UNITSEL instruction immediately before SEND RECV instruction e Master communication is only valid when MEWTOCOL or MODBUS is selected Confirm that the Master communication Clear to send flag XC XF for the targeted channel is ON and execute SEND RECV instruction e You cannot 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 e If no response is received the Master communication Sending active flag YC YF remains ON throughout the timeout setting time specified in CPU configuration e You cannot execute SEND RECV instruction for a port in slave communication e Up to 16 SEND RECV instructions can be executed simultaneously for different COM ports 8 11 MODBUS RTU Master Slave Communication 8 4 2 SEND Instruction MODBUS Function
82. er ere eee reer creer r Sendingaclive flag a a O YC YD YE YF Sending active flag YC YD YE YF Sending data ON Sending done OFF Execute SEND Sending done result flag YO Y1 Y2 Y3 Normal completion OFF Abnormal completion ON Master communication Sending done result flag YO Y1 Y2 Y3 Sending data Response reception processing E I O allocation Torn CPU Unit Master Turns ON when MEWTOCOL COM MEWTOCOL 7 or communication MODBUS RTU is set for the communication mode and the unit is Clear to send flag in the RUN mode Master communication Sending active flag Turns ON during sending data based on SEND RECYV instruction Turns OFF when the sending process is completed Reports completion result of sending data in general purpose communication or master communication Normal completion 0 Abnormal completion 1 Sending done result flag Explanation Master Turns ON when MEWTOCOL COM MEWTOCOL 7 or communication MODBUS RTU is set for the communication mode and the Clear to send flag unit is in the RUN mode Master Turns ON during sending data based on SEND RECV communication instruction Sending active flag Turns OFF when the sending process is completed Reports completion result of sending data in genera purpose communication or master communication Normal completion 0 Abnormal completion 1 Sending done result flag Note 1 Each contact is used for reading the ope
83. etect sequential receptions e n cases where it is necessary to process sequentially received data constantly execute the GPRECYV instruction in combination with the reception done copy flag X4 X5 X6 X7 e Referring to the reception done copy flag X4 X5 X6 X7 you can confirm whether there are lately received data Reception buffer data eee Iin the case of sequential receptions the reception done flag X0 X1 X2 X3 remains ON An tex ernie 2 rae rr ear a a Reception done flag XO X1 X2 X3 Execute GPRECV instruction copy flag l l Reception done i X4 X5 X6 X7 1 scan time i After always executing GPRECV instruction confirm whether there are lately received data referring to the l i reception done copy flag X4 X5 X6 X7 l General Purpose Communication 9 4 5 GPRECV General Purpose Communication Receiving Instruction E Instruction format RO GPRECV US DT200 D T209 i Di Setting li Specify the operation unit US SS D1 Specify the initial address of the data area to save the received data Note 1 Specify the final address of the data area to save the received data Note 2 Note 1 Device that can be specified for D1 are WX WY WR WL DT LD Note 2 Device that can be specified for D2 are WX WY WR WL DT LD KEY POINTS e Specify the port targeted for communication using UNITSEL instruction immediately before
84. f characters is set DT101 Strings of the No of bytes specified by GPSEND instruction DT102 l are sent in ascending order from lower bytes DT103 DT104 p KEY POINTS e The start code and the end code specified in the configuration menu are automatically added to the sent data Do not include the start code or the end code into sent data e The maximum volume of data that can be sent is 4 096 bytes If the start code is set to valid the maximum size is 4 096 bytes including the start code and the end code e itis also possible to send binary data 9 6 9 3 Sending Operation 9 3 3 GPSEND General Purpose Communication Sending Instruction E Instruction format RO GPSEND US DT101 S ri D Pi Specify the operation unit US SS Note 1 Specify the header of the source node data area Note 2 1 to 4094 1 to 4096 Specify the No of sent bytes n pecify the No of sent bytes Note 1 Note 3 Specify the device area in the source node to save the execution Note 4 result one word Note 1 When a K constant integer with a symbol is specified for the No of sent bytes n select SS for operation unit i When a U constant integer without a symbol or an H constant hexadecimal integer select US for operation unit i Note 2 Device that can be specified for S are WX WY WR WL DT LD Note 3 If a negative value is specified the end code is not automatically added to the sent
85. f the CPU with built in SCU or the serial communication unit eCheck the communication parameters with PMGET instruction Note Is a communication cassette attached Is the communication mode set correctly Transmission is not possible For the serial communication unit the ERROR LED turns on Review the program Isn t transmission prohibited by CTS signal Y14 or Y16 when using a communication cassette with RS 232C 5 wire type Does an operation error occur when GPSEND instruction is executed Is the setting for the communication conditions Check the configuration COM the same as the one for the device settings of the CPU with built in SCU communicated or the serial communication unit Transmission is not possible Is the setting of the method for detecting eCheck the communication reception done the same as the one for the parameters with PMGET instruction device communicated Note Isn t reception error occurring Isn t the reception buffer FULL error occurring If the error occurs the operation cannot be restarted without performing channel reset e Check the communication For the serial parameters and operation status communication unit the monitor information with PMGET ERROR LED turns on Isn t the operation mode set to a mode other instruction Note than general purpose communication with PMSET instruction Note For checking communication parameters with PMGET instruction
86. g Examples of setting the range of use in the case of PLC link 0 e The figure below indicates a case where the link relay range of use is set to 50 50 words WLO WL49 and the link register range of use is set to 100 100 words LDO LD99 Receive area Used Receive area Internal relay Not used Receive area Receive area Internal relay e If all the link relays are used in the PLC link O area set the link relay range of use to 64 64 words and all the link register range of use to 128 128 words 6 8 6 3 Setting Items for PLC Link 6 3 5 Starting No for Link Relay Send Area and Sending Size e The memory areas for link relays are divided into send areas and receive areas e The link relays are transmitted from the send area to the receive area of a different PLC Link relays with the same numbers as those on the sending side must exist in the receive area on the receiving side E g Example of setting the starting No for link relay send area and the sending size in the case of memory block No 0 Station no 1 Station no 2 Station no 3 Station no 4 Send area Receive area Receive area Receive area Send area a no and Ea ee Setting items range Memory block numbers for link relays and link registers to be O or 1 used Maximum station no to be used 0 to 16 for PLC link words area words 6 9 PLC Link 6 3 6 Starting No for Link Register Send Area and
87. g 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 configuration Up to 16 SEND RECV instructions can be executed simultaneously for different COM ports 7 3 MEWTOCOL COM Master Communication RECV 7 3 2 RECV Instruction When MEWTOCOL COM is Used E Instruction format RO i REGV US U1 oT400 uz orio oro St SZ n D1 Dz Specify the operation unit US SS Specify the partner station no Specify the device initial address of the source node data area in the partner 0 99999 node Note 1 Note 2 Items k ae Specify the device initial address of the receiver node data area in the source Note1 node Note1 Specify the device area in the source node to save the execution result code one word Note 4 Note 1 Transmission methods vary by the type of device to be specified for the operands S2 and D1 Device to be specified for S2 and D1 Transmission method 16 bit device WX WY WR WL DT LD 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 b
88. gnal name Sent Data 2 RD Received Data RD Received Data Received Data 2 RD Received Data 2 RD l g 3 18 3 4 Wiring for Communication Cassettes COM 1 to COM 4 Ports 3 4 5 Communication Cassette AFP7CCS1M1 RS 232C 1 Channel RS 485 1 Channel Insulated Type E Settings for termination resistance selector switch A termination resistance selector switch is located on the RS 485 side of the surface of Communication Cassette AFP7CCS1M1 Turn ON the switch only when it is the end unit ill 4 D go m 2 O 3 e 4 o 5 o 6 m O sD I f 5D J O AD 8 O sal IiE Terminal Functions that Signal Ports that can be part can be allocated direction allocated s in the software 8 Received data COM 2 Note 1 Terminal No 1 and Terminal No 3 and Terminal No 2 and Terminal No 4 are respectively connected inside Note 2 Do not connect anything to Terminals No 5 and No 6 3 19 Wiring the COM Port mE Example of wiring AFP7CCS1M1 RS 485 Partner 1 cerminan Tenma Signal name Functions Terminal Signal name No part symbol a 18 Transmission ne 0 Frensmission ine C ee Transmission tne RS 485 Partner 2 a re rrsisson ine ae E at ee EEN rise 8 RD ReceivedData RD RS 232C partner e se signal Ground se A Received Data sD SentData sc Signal Ground 3 20 3 I O Allocatio
89. inal Block 3 2 1 Suitable Wires and Tools A screw down connection type for terminal block is used for the communication port Use the following items for wiring E Suitable wires strand wire Size Nominal cross sectional area AWG 28 to 16 0 08 mm to 1 25 mm E Pole terminal with a compatible insulation sleeve If a pole terminal is being used the following models should be used Cross Manufacturer sectional With insulating Without insulating area sleeve sleeve AWG 24 Al 0 25 6 BU A 0 25 7 AWG 22 Al 0 34 6 TQ A 0 34 7 Phoenix Contact AWG 20 Al 0 5 6 WH A 0 5 6 0 75 mm AWG 18 Al 0 75 6 GY A 0 75 6 awewie A E S E Pressure welding tool for pole terminals Model no Manufacturer Phoenix Contact CRIMPFOX 6 1212034 Screwdriver for terminal block To tighten the terminals use a screwdriver by Phoenix Contact model No SZS 0 4 x 2 5 product No 1205037 blade size 0 4 x 2 5 or our screwdriver part No AFP0806 The tightening torque should be 0 22 to 0 25 N m Wiring the COM Port 3 2 2 Applicable Cable Use a cable as prescribed below E Suitable wires strand wire For RS 232C RS 422 communication Conductor Insulator _ Cable ee diam Classifi Cross sectional Resistance cation view value Muer at 20 C iii appropriate cable Shielded Shiela covero 3 mm _ lao Max Vinyl Max Approx Onamba Co Ltd MUI COre Con Qs msu AWG22 58 8 Okm chlo
90. ink no station yet to be added Where Max station no 2 Relays registers are equally allocated and Scan time for each PLC is set at 5 ms 2 units connected to the link no station yet to be added Where Max station no 2 Where 32 relay points and 2W registers are equally allocated and scan time for each PLC is set at 1 ms 6 4 PLC Link Response Time Calculation process Ttx 0 096 Each Pem 23 4 8 x 4 71 bytes Tpc Ttx x Pem 0 096 x 71 6 82 ms Each Ts 1 6 82 7 82 ms Tit 0 096 x 13 2 x 16 4 32 ms Ttx 0 096 Each Pem 23 4 8 x 4 71 bytes Tpc Ttx x Pem 0 096 x 71 6 82 ms Each Ts 5 6 82 11 82 ms Tit 0 096 x 13 2 x 16 4 32 ms Ttx 0 096 Each Ts 5 6 82 11 82 ms Tit 0 096 x 13 2 x 15 4 13 ms Tik 0 96 400 0 67 5 407 ms Note Default value for the addition waiting time 400 ms Ttx 0 096 Each Pem 23 8 16 x 4 119 bytes Tpc Ttx x Pem 0 096 x 119 11 43 ms Each Ts 5 11 43 16 43 ms Tit 0 096 x 13 2 x 8 2 79 ms Ttx 0 096 Each Pcm 23 32 64 x 4 407 bytes Tpc Ttx x Pem 0 096 x 407 39 072 ms Each Ts 5 39 072 44 072 ms Tit 0 096 x 13 2 x 2 1 632 ms Ttx 0 096 Each Pem 23 1 1 x 4 31 bytes Tpc Ttx x Pem 0 096 x 31 2 976 ms Each Ts 1 2 976 3 976 ms Tit 0 096 x 13 2 x 2 1 632 ms Response time of 1 transmission cycle
91. ion of memories are required e Settings should be performed by the programming tool FPWIN GR7 e The following procedure describes the case that the serial communication unit has been already registered in the I O map Kai PROCEDURE 1 Select Options gt FP7 Configuration 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 SCUI y KE HEA BEAS COM2R E coat BEE PLOY BE 1 ERE 9600bps FR By HUF sit AbyFEyk 1Eyb RS CS HEH izaan 0 hii ESTX Eh ne lies TE CR RIRES 0 EF LADERE DRAE LAO FAFAU p YALVARDI I DAES O PLOY ARAT oR 0 Yl L A 0 DLS 21S E 0 YY LX S PAS 0 YAY Liked Z 0 UYALI AXIER ES 0 YD LIAR EH X 0 ELZ 5 Set conditions assigned to each item in PLC link settings and press OK button The settings are registered in the project REFERENCE For details of PLC link settings please see explanation on the next page onward PLC Link 6 2 3 List of Setting Items E List of setting items COM1 settings Sarna tens Settings when the PLC link g function is used Communication mode PLC link Set a specific station no for PLC to be rs fo SSS
92. istance selector switch On the surface of Communication Cassette AFP7CCM2 is located a termination resistance selector switch e When RS 422 is used Turn ON the switch e When RS 485 is used Turn ON the switch only when it is the end unit 3 12 3 4 Wiring for Communication Cassettes COM 1 to COM 4 Ports E Terminal layout in the setting of RS 485 cH f O S 4 O 5 ii 2 RD in RI 3 O R 4 422 LI 5 o e o I7 py L Oo Terminal LED part Terminal Functions that can Signal Ports that can be no Symbol part be allocated direction allocated Symbol in the software COM 1 3 485 R Transmission line A ee e ee eee 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 Do not connect anything to Terminals No 5 through No 9 E Example of wiring in the setting of RS 485 AFP7CCM1 Partner 1 Terminal Terminal part aaa Pt vs mms e me 2 S Transmission tine O ER a Signal name Transmission line Transmission line Transmission line Partner 2 Transmission line gt ee Terminal Signal name Transmission line Transmission line 3 13 Wiring the COM Port E Terminal layout in the setting of RS 422 CS 1 5D e O 5 2 RD e a
93. mmunicating with When RS CS is X14 For COM 1 Port ne Clear to send from COM 1 port 0 SPO valle IN monitor Cannot send from COM 1 port 1 ian 1P l Block COM 1 The RTS signal can be controlled with Y14 X15 Note 1 The general purpose communication reception done copy flag is effective after the execution of the RECV instruction until one of the following instructions is executed This flag does not remain ON across several scans Execute 1 END instruction scan header and 2 RECV instruction 4 1 Input Output Signals Used for Communication E Output signal Effective Description operation mode Output Communication signal port For COM 1 Port Reports the results of sending in master For COM 2 Port Sending don communication or general purpose purpose communication result l Y2 For COM 0 Port Normal completion 0 Abnormal completion 1 communication ee 2 Undefined T not turn on undefined Default setting is a yas For COM 1 Port E It turns on 1 during sending in the general Banc For COM 2 Port communication ieee communication mode purpose l ne YA For COM 0 Port nee Sending done 0 Sending 1 a aera C Undefined a not turn on undefined Default setting is i For COM 1 Port Master It turns on 1 during sending in the master communication ti d For COM 2 Port communication mode Sending active Sendina done 0 Sendina 1 For COM 0 Port fiag ending done 0 Sending w e Undefined o n
94. multiple contacts Specifies a range in word units WC Turns ON or OFF the contact WCS Specifies only one point Write contact area WCP Specifies multiple contacts WCC Specifies a range in word units Read data area RD Reads the contents of a data area Write data area Writes data to a data area Register or Reset MC Registers the contact to be monitored contacts monitored Register or Reset MD Registers the data to be monitored data monitored Monitoring start Monitors a registered contact or data using MC and MD Preset contact area SC Embeds the area of a specified range in a 16 point on off pattern fill command as eset data area SD Writes the same contents to the data area of a specified range fill command Read the status of PLC RT Reads the specifications of the programmable controller and error codes if an error occurs Abort Aborts reception of multiple frame responses before completion Note Some devices are not accessible due to format restrictions of MEWTOCOL COM communication commands 7 2 2 List of MEWTOCOL7 Commands E Commands to be used eR Read data area MMRD Reads the contents of a data area REFERENCE e For details of MEWTOCOL commands please see 11 2 MEWTOCOL COM Format and 11 3 MEWTOCOL7 COM Format 7 3 MEWTOCOL Master Slave Communication 7 3 MEWTOCOL COM Master Communication RECV 7 3 1 Read Data from an External Device E In
95. n I O Allocation 4 1 Input Output Signals Used for Communication 4 1 1 I O Allocation of CPU Unit E Input signal Effective Description operation mode Communication port For COM 1 Port General When the unit completes the data reception o For COM 2 Port Purpose it turns on 1 enera communication purpose Waiting for data reception 0 Reception er Reception communication For COM 0 Port done flag completed 1 For COM 1 Port General It turns on 1 if there are copied data when purpose GPRECV instruction is executed It turns off Bsns communication 0 when END instruction is executed X5 For COM 2 Port purpose Bec nuon ay communication done copy Reading completed 1 X6 For COM 0 Port flag No data to be read 0 For COM 1 Port General For COM 2 Port purpose It turns on 1 when the unit is set to the General communication general purpose communication mode It purpose For COM 0 Port ae to send turns off 0 in other modes communication x nousa e not use tnis a For COM 1 Port Master It turns on 1 when the unit is set to modes For COM 2 Port communication other than the PLC link mode or general MEWTOCOL ok as Clear to send purpose communication mode It turns off 0 MODBUS RTU For COM 0 Port flag in other modes incite cup i0 12 A nr Resatdone a once the resetting operation is purpose Resetting done 1 commiMicangn E wo nate Status of the CTS signal sent from the Bes device co
96. n done flag XO X1 X2 X3 OFF ON GPSEND instruction OFF execution Receive bu ffer No of bytes received specified using GPRECV instruction 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 header overwrites the data in the reception buffer e 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 flag X0 X1 X2 X3 does not turn OFF immediately following the execution of GPRECV instruction It will be turned off at the beginning of the next scan or later e f there are no received data following execution of GPRECV instruction the reception done copy flag X4 X5 X6 X7 turns OFF p KEY POINTS e The data without the Code STX at the reception is saved in the reception buffer and the reception done flag turns on when the end code is received 9 16 9 5 Sending Receiving Flag Operation e However if the code STX is added in the middle of the data the data are saved from the beginning of the reception buffer Sending process Sending done flag and GPSEND instruction are related as follows a 2 Da 2s we we eae SCU send buffer ON GPSEND instruction OFF execution ON General purpose communication Sending active flag OFF Y8 Y9 YA YB
97. nit GT Power Supply and COMO Port E Example of wiring in the case of GT02 5V DC type FP7 CPU unit GT02 GTO2L series COM 0 port terminal GT power supply terminal 5V DC type No From 5 V part symbol Fomov Ov terminal SD RD Received Data a Leg Received Data Pe 3 Signal Grounal a a ee to GT terminal to GT terminal supply E Example of wiring in the case of GT series 24V DC type FP7 CPU unit GT series COM 0 port terminal GT power supply terminal 24V DC type Terminal Signal name From 24V part symbol re ee RD Received Data From OV terminal a Receiver nas Ro a swaro se 4 ee es to GT terminal to GT terminal e The terminal layout on the display side differs for the existing models GT01 series 3 7 Wiring the COM Port 3 4 Wiring for Communication Cassettes COM 1 to COM 4 Ports 3 4 1 Communication Cassette AFP7CCS1 RS 232C 1 Channel Insulated Type E Terminal layout cH FF 1 SDi SD i 7 Ro pm 2 m 56 L3 o 04 s oO 6 LL 7 o i 8 o Bmg Terminal Functions Signal Ports that can be part that can be direction allocated Symbol allocated in the software PLC SD Sent Data External device RD Received PLC External device eos SG Signal Ground aik E C t Note Do not connect anything
98. nnections 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 connections 1 to 16 A maximum of 15 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 System connections 1 to 4 User connections 1 to 16 General purpose ats p p There is no restriction communication 1 3 4 Unit to be Used and Applicable Versions of CPU Unit and FPWIN GR7 MEWTOCOL COM master MODBUS RTU master MEWTOCOL COM slave MEWTOCOL7 COM slave MODBUS RTU slave For using the unit the following versions of CPU unit and FPWINGR7 are required Applicable versions Unit type CPU unit FPWINGR7 FP7 Serial Communication Unit Ver 1 2 or later Ver 1 3 or later C 1 8 1 3 Restrictions on Units Combination 1 3 5 Restrictions on Consumption Current Including other units the consumption current should be within the allowable capacity of a power supply unit E Unit s consumption current table 24 V Product name Model number Consumption current mA 196k steps Built in Ethernet AEP7CPS4E 200 mA or less function 120k steps Built in Ethernet AFP7CPS3E 200 mA or less function 120k steps No Ethernet function AFP7CPS3 200 mA or less RS 232C x 1ch
99. on c cc cccccecececccecececcecececeaeceees 1 8 1 3 1 Restrictions on the Number of Installed Units 00 ee eeeeeeeeeeeees 1 8 1 3 2 Restrictions on the Combination of Extension Cassettes Communication Cassetes harani perc a clas cardtamesea tiie Ci teavast deus esaamentsbecacrenistlaalion 1 8 1 3 3 Restrictions on Communication Functions to be Used 5 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 ccccccccceececeeeceeeeeeeeeeeeseeeeees 1 9 2 Names and Functions of Parts cccccccceccecsecsccscesceeceass 2 1 2 1 Names and Functions of Parts c cccccccececcccecececcceccececeeacsueaeavenes 2 2 2 1 1 Communication Port of CPU Unlit ccc ccccecccecccceceueueueneneneneaes 2 2 2 1 2 Parts Names and Functions of Serial Communication Unit 2 3 3 Wiring the COM PONE siciiesteeecncwtebesnssecenseatveenseteetnccesehesesten 3 1 3 1 Attaching a Communication Cassette ccccccccceecceeeseeeeeeeeeeeeneeseeees 3 2 z1 ATTACHMENT INSIFUCTION Sx sccsccesk cexesseck seve codcsciv cue aaa a aa aaa 3 2 Table of Contents 3 2 Wiring of COM Port Terminal BIOCK ccccccccceeceseeeeeeeeseeeseeeeseeeeas 3 3 3 21 Slitable Wires and TOONS o 3ceccnist castor io sient ieee saued aelabwendeteeradis 3 3 32 2 APPiCaDE GCaD Aen een ee ee ee eee ee ee a 3
100. on GPRECV instruction to a given data register DT203 H 35 E Sample program e When the reception done flag X0 turns ON the reception program is started up by the GPRECV instruction ein the UNITSEL instruction specify the slot No U0 and the COM port No U1 ein the GPRECYV instruction specify and execute the header of the data table where the received message is saved DT200 and the final address DT209 XO x DF R100 GPRECV execution conditions Reception done flag ON Settings for communication port S1 Slot 0 Built in CPU UO S2 COM1 U1 GPRECV processing S1 Header of A Received Data DT200 S2 Terminator of Received Data DT209 GPRECV US DT200 DT209 S1 S2 Note The unit number and COM port number in the above program is applied when the COM 1 port of the CPU unit is used 9 9 General Purpose Communication E I O allocation CPU Unit COM port no Explanation General purpose communication Reception done flag Turns ON when the receiving process is completed in the general purpose communication mode Turns ON when the GPRECYV instruction is executed and the received data have been copied into the specified operation memory Turns OFF when there are no applicable data General purpose communication Reception copy done flag General purpose communication Reception done flag Turns ON when the receiving process is completed in the g
101. one reset CH1 Y10 Request to reset CH1 E Allocation of I O signals Signal name COM 0 COM 1 COM 2 COM 3 COM 4 Request to reset CH Y12 Reset done X12 Note 1 The above I O numbers are those for the slot number 0 CPU with built in SCU and the COM 1 port The I O numbers actually used vary according to the slot number where the unit is installed and the starting word number 10 9 Troubleshooting 10 10 11 Specifications Specifications 11 1 Communication Function Specifications 11 1 1 CPU Unit Communication Specifications E USB port for tool software o tems scription S O Standard USB2 0 FULL SPEED Communication function MEWTOCOL COM slave MEWTOCOL7 COM slave E COMO Port Items Description Interface 3 wire 1 channel RS 232C 15m Note Baud rate 300 600 1200 2400 4800 9600 19200 38400 57600 115200 230400 bit s Communication method Half duplex transmission Synchronous method Start stop synchronous system Communication tonmat 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 O character by character MEWTOCOL COM master slave MEWTOCOL7 COM slave MODBUS RTU master slave general purpose communication modem initialization Communication function Note 1 When communication is performed at a baud rate of
102. or D2 are WX WY WR WL DT LD Saved as one word in the specified area Normal completion Communication port is being used for master communication Communication port is being used for slave communication No of master communication instructions that can be used simultaneously has been exceeded Sending timeout Response reception timeout Received data error A _ m _ A OuaRWN OO 8 8 8 4 MODBUS RTU Master Communication SEND 8 4 MODBUS RTU Master Communication SEND 8 4 1 Write Data into an External Device E Instructions In master communication PLC has the sending right and executes communication by sending commands to devices that support MODBUS RTU and receiving responses Messages in accordance with the protocol are automatically generated by PLC In the user program reading and writing can be done simply by specifying the station no and memory address and executing SEND RECV instructions PLC External device rting Modbus RTU Command message SHEP ORIG OeRuS DT100 100 Hex 01 10 00 00 00 02 04 00 64 00 00 CRC 40001 100 k DT101 0 40002 0 ee Wewadaens nor Hex 01 10 00 00 00 02 CRC Response message A E Sample program e Send commands from the COM1 port of the CPU unit and write the content of PLC s data register DT100 DT101 into the data area of an external device station no 1 40001 40002 e Confirm that the unit is in the master mode
103. ot turn on undefined Default setting is Ld By turning on 1 Y10 Y12 the communication channel can be reset Y10 For COM 1 Port 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 General Request to when this signal rises Y11 For COM 2 Port reset CH This function can be used to delete i a EEA unnecessary received data or to clear errors before starting normal reception 1 Sending canceled 2 Reception canceled Y12 For COM 0 Port 3 Re set communication parameters 4 Clear error information only for errors that can be cleared eva fe Undefined not turn on undefined Default setting is a By turning on 1 this output RTS is NA __ _ When RSICS is Transmission from the device communicating one Output RTS with is permitted 0 SELO VAIG In Y14 For COM 1 Port l ee a Communication signal Transmission from the device communicating Cacelie with is prohibited 1 COM 1 Monitor the CTS signal from the device l communicating with using X14 Undefined x not turn on undefined Default setting is pe Note 1 When transmission is completed within one scan it turns off when the GPSEND instruction is executed in A subsequent scan NOTE e Each contact in the table above is used for reading the operation status Do not write over it with a user program excluding Y10 Y12
104. ote 3 Operand D1 is specified by combining two hexadecimal digits of MODBUS function code with two hexadecimal digits of partner station no E g Specify H100A when MODBUS function code is 16 Preset Multiple Registers and station no is 10 Note 4 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 5 Device that can be specified for D3 are WX WY WR WL DT LD Saved as one word in the specified area Normal completion Communication port is being used for master communication Communication port is being used for slave communication No of master communication instructions that can be used simultaneously has been exceeded Sending timeout Response reception timeout Received data error 1 bit device Bit X Y R L DT n LD n transmission OuaRWN O 8 12 8 4 MODBUS RTU Master Communication SEND 8 4 3 SEND Instruction MODBUS Function Code Unspecified Type E Instruction format RO i i ri D1 D2 D3 E Operand Items Settings Setting range Pi Specify the operation unit US SS Specify the header of the source node data area Note 1 Specify the No of sent data 1 127 words 1 2040 bits Note 2 Specify the partner station no HO HF7 0 247 Note 3 D1 D2 Specify the initial address of the receiver node data area HO HFFFF 0 65535 Note 4 in the partner node
105. ow byte of of reception error reception error code Unsigned 16 bit cycle bit9 Number of transmission data error bit8 Communication parameter setting error ie Seung GITO COAG bit0 Mode setting change error A mode number that cannot be set or changed is specified Parameter number which data outside the range is specified p gt SU Obp ayer pene Effective only when the communication parameter setting error occurs No operation D 6 Modem initialization During initialization status Initialization completed Initialization failed 10 8 10 4 Clearing Errors Using User Programs 10 4 Clearing Errors Using User Programs 10 4 1 Clearing Errors Using User Programs e Each error can be cleared by user programs e Refer to error codes correct error factors and clears the errors E Clearing unit by UCLR instruction e Executing the dedicated instruction UCLR clears errors occurred in a unit Example Program to clear errors of a unit installed in the slot No 1 R100 DF UCLR Unit clear Slot No request E Resetting communication ports by I O signals e Communication ports can be reset by turning on the reset request signals Y10 to Y13 with user programs when a communication error occurs e The signals X0 to X13 turns on when the reset is completed Then turn off the reset request signals Y10 to Y13 R100 X10 Bee eee DF es Reset CH1 l Request to CH1 error Reguestta ree reset an error reset d
106. r buying a Panasonic product Before you use the product please carefully read the installation instructions and the users manual and understand their contents in detail to use the product properly Types of Manual e There are different types of user s manual for the FP7 series as listed below Please refer to a relevant manual for the unit and purpose of your use e The manuals can be downloaded on our website http industrial panasonic com ac e dl_center manual Unit name or purpose of oe Purp Manual name Manual code FP7 Power Supply Unit FP7 CPU Unit Users Manual Hardware WUME FP7CPUH FP7 CPU Unit Command Reference Manual WUME FP7CPUPGR FP7 CPU Unit i ni FP7 CPU Unit Users Manual WUME FP7CPULOG Logging Trace Function FP7 CPU Unit Users Manual Security Function WUME FP7CPUSEC Instructions for Built in FP7 CPU Unit Users Manual LAN Port LAN Port Communication WUME FP7LAN Instructions for Built in COM Port FP7 Extension Cassette FP7 series Users Manual SCU communication WUME FP7COM Communication RS 232C RS485 type FE EREN ION CASSEE FP7 series Users Manual Communication Communication WUME FP7CCET cassette Ethernet type Ethernet type FP7 Extension Function Cassette FP7 Analog Cassette Users Manual vea ae Analog Cassette p g FP7 Digital Input Output Unit FP7 Digital Input Output Unit Users Manual WUME FP7DIO FP7 Analog Input Unit FP7 Analog Input Unit Users Manual WUME FP7AIH
107. ration status Do not write over it with a user program 7 9 MEWTOCOL Master Slave Communication 7 10 KEY POINTS Specify the port targeted for communication using UNITSEL instruction immediately before SEND RECV instruction Master communication is only valid when MEWTOCOL or MODBUS is selected Confirm that the Master communication Clear to send flag XC XF for the targeted channel is ON and execute SEND RECV instruction You cannot 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 configuration Up to 16 SEND RECV instructions can be executed simultaneously for different COM ports 7 4 MEWTOCOL COM Master Communication SEND 7 4 2 SEND Instruction When MEWTOCOL COM is Used E Instruction format RO 5 fi D1 D2 D3 Setting me ee ato a Specify the operation unit US SS La Specify the header of the source node data area Note 1 Pe 1 507 words P aas Specify the No of sent data or 1 bit Specify the partner station no Note 2 Note 3 Specify the initial address of the receiver node data area in the partner 0 99999 node
108. ride 0 3mm 6 6mm ONB D6 x 0 3 mm cable ductor W FY ator or larger E Suitable wires strand wire For RS 485 communication sama Classifi0c Cross sectional Resistance Thick Cable oi value ness diam cable at 20 C 1 25 mm Hitachi Cable Ltd Max Poly Max Approx KPEV S1 25 mm x oe 16 8 O km ethylene 0 6mm 8 5 mm 1P Shielded Shield or larger l l O Belden Inc 9860 twisted Con TAE pair ductor 0 5 mm Hitachi Cable Ltd awe20 Max Poly Max Approx KPEV S0 5 mm x r larder 33 4 O km ethylene 0 5mm 7 8 mm 1P g Belden Inc 9207 M Poly 2 ax ionnated Max Approx VCTFO 75 mm x 2C 25 1 O km 0 6mm 6 6 mm JIS biphenyl e Use shielded twisted pair cables e Use only one type of transmission cable Do not mix more than 1 type e Twisted pair cables are recommended in noisy environments e When using shielded cable with crossover wiring for the RS 485 transmission line grounded one end 3 4 3 2 Wiring of COM Port Terminal Block 3 2 3 Wiring Method E Wiring method 1 Remove a portion of the wire s insulation _ 7 mm 2 Insert wire into terminal hole until it stops Tighten screw clockwise to fix wire in place The tightening torque 0 22 to 0 25 N m 2 3 to 2 5 kgf cm E Precautions on wiring The following precautions should be observed to avoid broken or disconnected wires e When removing the wire s insulation be careful not to scratch the core wir
109. rming settings to be connected Perform settings for Re initialize while start up modem initialization performing settings Modem initialization Note 1 In general purpose communication the following setting items need not to be specified Station no PLC link 9 3 General Purpose Communication 9 3 Sending Operation 9 3 1 Overview of Sending Operation E Instructions Sending in the general purpose communication is performed by formulating a data table for sending on the given operation memory and subsequently executing GPSEND instruction PLC External device Send message data DT100 U5 ABCDE CR 00001 ttt eeeee DT101 BA 00002 J eee nnaes DT102 DC Send data based on GPSEND gt eea anaana DT103 E instruction essc aceeeeee E Sample program e Confirm that the unit is in the general purpose communication mode X8 and that the general purpose sending process is not in progress for the same port Y8 and start up the sending program e n the SSET instruction convert a given message into an ASCII text string and specify the number of strings to be sent in the data register DT100 and the message to be sent from the data register DT101 e n the UNITSEL instruction specify the slot No UO and the COM port No U1 ein 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 RO X8 Y8 R101 R100 GP
110. rpose Y8 Y9 YA YB communication communication GPSEND Sending active flag Turns OFF when the sending process is completed Reports completion result of sending data in genera purpose YO Y1 Y2 YJ a Gometeetlt communication or master communication g Normal completion 0 Abnormal completion 1 Note 1 Each contact is used for reading the operation status Do not write over it with a user program Note 2 When the sending time is shorter than the scan time the General purpose communication Sending active flag Y8 Y9 YA turns OFF when the GPSEND instruction is executed in the subsequent scan following data sending completion In all cases it is turned ON for at least one scan time 9 5 General Purpose Communication p KEY POINTS e Specify the port targeted for communication using UNITSEL instruction immediately before GPSEND instruction e Maintain the ON conditions for GPSEND instruction until sending is completed and the general purpose communication sending active flag Y8 Y9 YA YB turns OFF 9 3 2 Contents of Sent Data Strings data sent by the GPSEND instruction are converted into ASCII text and saved ina given data register E Sent data table e Once the sent data are converted into strings data using the SSET instruction the No of characters is saved in the header area The sent data are saved starting with lower bytes of the subsequent address DT100 After executing SSET instruction the No o
111. rt of the CPU unit is used 8 9 MODBUS RTU Master Slave Communication E Timing chart Master communication a Conditions to enable execution of SEND Clear to send flag instruction XC XD XE XF Confirm ON Clear to send flag XC XD XE XF ON Sending active flag YC YD YE YF OFF Master communication Confirm OFF rrr rere ec errr eee cere ree ere er ee eet te Sendingactive tag sn 2 a YC YD YE YF Sending active flag YC YD YE YF Sending data ON Sending done OFF Execute SEND Sending done result flag YO Y1 Y2 Y3 Normal completion OFF Abnormal completion ON Master communication Sending done result flag YO Y1 Y2 Y3 Sending data Response reception processing E I O allocation EEEa CPU Unit Master Turns ON when MEWTOCOL COM MEWTOCOL 7 or communication Clear MODBUS RTU is set for the communication mode and the unit to send flag is in the RUN mode Master Turns ON during sending data based on SEND RECV communication instruction Sending active flag Turns OFF when the sending process is completed Reports completion result of sending data in general purpose communication or master communication Normal completion 0 Abnormal completion 1 Sending done result flag Explanation Master Turns ON when MEWTOCOL COM MEWTOCOL 7 or communication MODBUS RTU is set for the communication mode and the unit Clear to send flag is in the RUN mode Mast
112. s on in each of the other PLCs connected to the network e 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 Station no 1 Station no 2 Station no 3 Station no 4 Send area Receive area Receive area RS485 6 2 6 1 Operation of PLC link MEWNET W0O 6 1 2 Operation of Link Relays and Link Registers Link relay If the link relay LO in unit No 1 is turned on the status change is fed back to the link relay LO with the same number in other units and RO in the other units is output No 3 Link register foo t No 2 Link register No 4 Link register e RO Fo mv K100 LD0 No 1 Link register r 100 o wo E Link register If the constant 100 is written into LDO of the source station no 1 LDO of the other station no 2 is also changed to the constant 100 PLC Link 6 2 Configuration Required for PLC Link 6 2 1 Setup Procedure For CPU with built in SCU ein order to use the PLC link function setting of communication conditions and allocation of memories are required e Settings should be performed by the programming tool FRPWIN GR7 Ta PROCEDURE 1 From the menu bar select Option gt FP7 Configuration The FP7 Configuration dialog box appears 2 From the left pane of the dialog box select Buil
113. s that can be cleared By turning on 1 this output RTS is controlled Transmission from the device communicating with is permitted 0 Transmission from the device communicating with is prohibited 1 Monitors the CTS signal from the device communicating with using X14 X16 Do not turn on undefined Default setting is 0 General purpose communication MEWTOCOL MODBUS RTU General purpose communication When RS CS is set to valid in Communication Cassette COM 1 COM 3 Note 1 When transmission is completed within one scan it turns off when the GPSEND instruction is executed in a subsequent scan Note 2 The I O numbers actually allocated are the numbers based on the starting word number allocated to the unit Example When the starting word number for the unit is 10 the sending done result flag for COM 1 port is Y100 NOTE e Each contact in the table above is used for reading the operation status Do not write over it with a user program excluding Y10 Y14 and Y16 4 5 I O Allocation 4 2 Registration in I O Map 4 2 1 Settings Using FPWIN GR7 For CPU with built in SCU e For the CPU with built in SCU there is no need to set with FPWIN GR7 because the following fixed areas are allocated No of occupied words Unit type Model number a of occupied points 2 words 32 Ea 2 words 32 points CPU Unit CPU with built in SCU WXO WX1 Fixed WY0 WY1 Fixed 4 2 2
114. structions In master communication PLC has the sending right and executes communication by sending commands to devices that support MEWTOCOL and receiving responses Messages in accordance with the protocol are automatically generated by PLC In the user program reading and writing can be done simply by specifying the station no and memory address and executing SEND RECV instructions External device supporting eae MEWTOCOL COM Command message DT100 100 01 RD0040000401 BCC Cr DT00400 100 _ _ _ _ _ gt DT101 0 DT00401 0 ae eee ea ne a e 01 RD64000000 BCC Cr ma cetnenes 7 Response message s EJ sepanapnaneasewness Specify and read station no and address based on RECV instruction E Sample program e Send commands from the COM1 port of the CPU unit read data from the data area of an external device station no 1 DT400 DT401 and write the content into PLC s data register DT100 DT101 e 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 ein the UNITSEL instruction specify the slot No UO and the COM port No U1 e ln the RECV instruction specify and execute the partner station no U1 initial address Starting conditions for RECV execution Clear to send flag ON RO XC K DF gt Master Master Execute Sending active flag OFF communication communication RECV A
115. t Note 3 code one word Note 1 Operand S1 is specified by combining two hexadecimal digits of MODBUS function code with two hexadecimal digits of partner station no E g Specify HO30F when MODBUS function 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 Transmission Values that can be specified in higher for D1 method bytes of S1 H1 Read Coil Status 01 16 bit device Register H2 Read Input Status 02 WX WY WR WL DT LD transmission H3 Read Holding Registers 03 H4 Read Input Registers 04 1 bit device Bit transmission H1 Read Coil Status 01 X Y R L DT n LD n H2 Read Input Status 02 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 that can be specified for D2 are WX WY WR WL DT LD Saved as one word in the specified area Normal completion Communication port is being used for master communication Communication port is being used for slave communication No of master communication instructions that can be used simultaneously has been exceeded Sending timeout Response reception timeout Received data error Ooa1hWwhd oO 8 7 MODBUS RTU Master Slave Communication 8 3 3 RECV Instruction MODBUS Function
116. t code With STX Without STX oe RSICS controlled No Yes Send Waiting 0 to 100 ms Modem initialization Invalid Valid Re initialization Note Communication conditions that can be set vary by the mode to be used PLC link MEWTOCOL communication MODBUS RTU general purpose communication 5 2 5 2 Setting Communication Conditions 5 2 Setting Communication Conditions 5 2 1 Settings Using FPWIN GR7 For CPU with built in SCU Applications and communication conditions for each communication port should be set using the tool software FPWIN GR7 Tagi PROCEDURE 1 From the menu bar select Option gt FP7 Configuration The FP7 Configuration dialog box opens 2 Select Built in SCU Setting items for Built in SCU appear m FP7 configuration Memory configuration CPU configuration Built in ET LAN Setting item Communication mode Station No Baud rate Data leneth Parity Stop bit RS CS Send waiting time Header STX Terminator setting Terminator judgement time Modem initialization Communication mode Station No Baud rate Data leneth Parity Stop bit RS CS Send waiting time Header STX Terminator setting Terminator judgement time Modem initialization Link relay link register memory block numbe l Setting description MEWTOCOL COM 1 9600bps 8 bits Odd 1 bit Disable 0 Disable CR 0 Not initialize WW MEWTOCOL COM A 1 9600bps
117. t 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 a FP7 configuration Memory configuration CPU igurat ion Setting item Setting description I Built in ET LAN Communication mode PLC link Unit number 1 Baud rate 9600bps Data length 8 bits Parity Odd Stop bit 1 bit RS CS Disable Receive wait time 0 Header STX Disable Terminator setting CR Terminator judgement time 0 Modem initialization Not initialize Link relay link register memory block numbe 0 Maximum unit number to use for PLC link 0 Range of link relays used 0 Rnage of link registers used 0 Link relay transmission start number 0 0 0 0 Link relay transmission size Link register transmission start number Link register transmission size Communication mode MEWTOCOL COM Unit number 1 Rard rate ARANE Communication mode Select the communication mode MEWTOCOL COM MEWTOCOL MODBUS general purpose communication PLC link 4 Specify conditions to be allocated to each setting item for Station no and PLC link settings under COM1 settings and press OK button The settings are registered in the project 6 2 Configuration Required for PLC Link 6 2 2 Setup Procedure For Serial Communication Unit ein order to use the PLC link function setting of communication conditions and allocat
118. t is on Lights when the configuration setting is incorrect or a communication error occurs Flashes when the factory acceptance test switch is on Flashing cycle 100 ms ERROR Red Flashes when an extension cassette 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 This is used to fix the unit to a DIN rail 5 Unit connector This is used to connect the internal circuit of an I O unit or advanced unit 6 Factory acceptance test switch This is used for factory acceptance test Do not turn it on Names and Functions of Parts 2 4 3 Wiring the COM Port Wiring the COM Port 3 1 Attaching a Communication Cassette 3 1 1 Attachment Instructions When an optional Communication Cassette is to be used attach it in the following procedures al PROCEDURE 1 Using a flathead screwdriver remove the cover on the side of the CPU unit The illustration is the CPU unit As for the Serial Communication Unit the attachment procedure is the same 3 2 3 2 Wiring of COM Port Terminal Block 3 2 Wiring of COM Port Term
119. te 1 In MEWTOCOL7 COM there is no master communication function 1 3 Functions of Units and Restrictions on Combination 1 2 Overview of Communication Functions 1 2 1 PLC Link Functions MEWNET WO0 E Overview of function e A system can be configured for the PLC link MEWNET WO e Exclusive internal relays link relays L and data registers link registers LD are shared between the connected PLCs e Among up to 16 PLCs data can be exchanged with 1 008 link relay points and 128 link register words ae no 1 Station no 2 Station no 3 Station no 4 No 1 semana Send area area Receive area area Receive area mumin Receive area No 2 No 2 al Qa Send area Sa te PS eaivearen Receive area No 3 No 3 eC Qe Receive area iran Send area K PLC PLC PLC E 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 e FP X0 L40MR L6OMR e FPOR RS485 type e FP Using Communication cassette RS 485 type e FP X Using Communication cassette RS 485 type e FP2 Multi Communication Unit Using Communication cassette RS 485 type 1 4 1 2 Overview of Communication Functions 1 2 2 MEWTOCOL Master Slave Communication m Overview of function e Execute communication using MEWTOCOL COM a communication protocol used by our PLC e In master communication PLC
120. ues in a specified block D 19 Link relay UO to 64 Link relay transmission size Specified number of transmission size words Starting number for Starting number for link register transmission D 20 link register UO to 127 Specified number of words Relative values in a transmission specified block D 21 Link register UO to 127 Link register transmission size Specified number of transmission size words Note 1 RS CS is selectable only when using a RS 232C cassette 1 ch 5 wire type Note 2 The modem is initialized at the time of setting when the power turns on PMGET instruction is executed or switching to the RUN mode However only the first initialization is executed except the time of repower on Note 3 The settings of D 14 to D 21 are available only when the communication mode for the COM 1 port is PLC link 10 7 Troubleshooting E SCU COM port operation status monitor information Operand Monitor Range information U0 MEWTOCOL COM U1 MEWTOCOL7 COM Operation mode U2 MODBUS RTU U8 General purpose communication U9 PLC link U 0 No communication cassette Communication U 232 RS 232C cassette detection U 422 RS 422 U 485 RS 485 bit9 Receive buffer FULL bit8 Receive buffer overflow bit2 Parity mismatch bit1 Stop bit undetected Frame error Reception error D 2 code bit0 Receive buffer overrun D 3 No of occurrences Number of detection of reception errors stored in the l
121. unication Description Reports the results of sending in master communication or general purpose communication Normal completion 0 Abnormal completion 1 Effective operation mode MEWTOCOL MODBUS RTU General purpose communication ve oo Undefined 7 not turn on undefined Default setting is Ys For COM 1 Port For COM 2 Port For COM 3 Port For COM 4 Port For COM 1 Port 2 For COM 2 Port For COM 3 Port E For COM 4 Port ve For COM 1 Port For COM 2 Port For COM 4 Port For COM 1 Port For COM 3 Port vie General purpose communication Sending active flag Master communication Sending active flag Request to reset CH Output RTS signal Y17 Undefined Y1F It turns on 1 during sending in the general purpose communication mode Note 1 Sending done 0 Sending 1 It turns on 1 during sending in the master communication mode Sending done 0 Sending 1 By turning on 1 Y10 Y13 the communication 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 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 error

Download Pdf Manuals

image

Related Search

Related Contents

00304 MAXCRYL ESP  FIELD CONTROLS TM-2000 User's Manual  User Guide - Mobiletech Blog  

Copyright © All rights reserved.
Failed to retrieve file