Panasonic FP0H Series User Manual

Panasonic FP0H Series User Manual

Com communication programmable controller
Hide thumbs Also See for FP0H Series:
Table of Contents

Advertisement

Quick Links

WUME-FP0HCOM-06
2022.5
panasonic.net/id/pidsx/global
Programmable Controller
FP0H Control Unit
User's Manual
COM Communication

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FP0H Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Panasonic FP0H Series

  • Page 1 Programmable Controller FP0H Control Unit User's Manual COM Communication WUME-FP0HCOM-06 2022.5 panasonic.net/id/pidsx/global...
  • Page 2 (MEMO) WUME-FP0HCOM-06...
  • Page 3 ● This manual describes communication functions via “RS-232C / RS-485” port installed in FP0H Control Unit and communication cassette. ● There are different types of users manuals related to the FP0H series. Please refer to a relevant manual for the unit and purpose of your use.
  • Page 4 ● Do not undertake construction (such as connection and disconnection) while the power supply is on. It could lead to an electric shock. ● If the equipment is used in a manner not specified by the Panasonic, the protection provided by the equipment may be impaired.
  • Page 5: Table Of Contents

    Table of Contents 1 Unit Functions and Restrictions on Combination ......1-1 1.1 Unit Functions and Features...............1-2 1.1.1 Unit Functions .................. 1-2 1.1.2 Names and Functions of Parts............1-2 1.1.3 Restrictions on Communication Functions to be Used ....1-3 1.2 Overview of Communication Functions ..........1-4 1.2.1 PLC Link Function (MEWNET-W0) ..........
  • Page 6 4.2.4 Ranges of Link Relays and Link Registers to be Used ....4-5 4.2.5 Link Relay Transmission Start Number and Sending Size ....4-5 4.2.6 Link Register Transmission Start Number and Sending Size ..4-6 4.3 Response Time of PLC Link ...............4-9 4.3.1 Response Time of One Transmission Cycle ........
  • Page 7 8.1.3 F146 REC [MEWTOCOL Master Receiver (Serial Communication)]................8-6 8.1.4 F145 SEND [MODBUS Master Send: Function Code Specification (Serial Communication)] ..............8-9 8.1.5 F146 RECV [MODBUS Master Receiver: Function Code Specification (Serial Communication)] ..........8-14 8.1.6 F145 SEND [MODBUS Master Send: No Function Code Specification (Serial Communication)] ..........
  • Page 8 (MEMO) viii WUME-FP0HCOM-06...
  • Page 9: Unit Functions And Restrictions On Combination

    1 Unit Functions and Restrictions on Combination 1.1 Unit Functions and Features...............1-2 1.1.1 Unit Functions .................. 1-2 1.1.2 Names and Functions of Parts............1-2 1.1.3 Restrictions on Communication Functions to be Used ....1-3 1.2 Overview of Communication Functions ..........1-4 1.2.1 PLC Link Function (MEWNET-W0) ..........
  • Page 10: Unit Functions And Features

    1.1 Unit Functions and Features 1.1 Unit Functions and Features 1.1.1 Unit Functions ■ Removable serial communication cassettes are used ● Can be selected from four communication cassettes (sold separately) that conform to communication standards RS-232C and RS-485. ● One communication cassette can be attached to the control unit. ■...
  • Page 11: Restrictions On Communication Functions To Be Used

    1.1 Unit Functions and Features 1.1.3 Restrictions on Communication Functions to be Used ● When a communication port that is built in the control unit as standard equipment or a communication cassette is used, the following restrictions are applied depending on functions to be used.
  • Page 12: Overview Of Communication Functions

    RS-485 ■ Purpose of PLC link function (MEWNET-W0) This is used when using the following models and link functions of Panasonic FP series PLCs. 1:1 communication is also possible via RS-232C port. ● FP-X0 (L40MR / L60MR) ● FP0R (RS-485 type) ●...
  • Page 13 MEWTOCOL RS-485 master function ■ Purpose of MEWTOCOL master communication (example) This is used for connection with devices that support MEWTOCOL (Panasonic PLC protocol). ● Programmable controller FP series ● Displacement sensor HL series ● Eco-power meter KW series ■...
  • Page 14: Modbus Rtu Master / Slave Communication

    1.2 Overview of Communication Functions 1.2.3 MODBUS RTU Master / Slave Communication ■ Overview of function ● Used for communication with other devices that support the MODBUS RTU protocol. ● Master communication is performed when the master unit sends commands to slave units, and the slave unit returns responses (response messages) according to the instructions.
  • Page 15: General-Purpose Communication

    1.2 Overview of Communication Functions 1.2.4 General-Purpose Communication ■ Overview of function ● General-purpose communication is used when PLC performs communication in accordance with the protocol of the connected device. ● A user program should process the creation and transmission of command messages to connected devices, and the reception of responses therefrom.
  • Page 16 (MEMO) WUME-FP0HCOM-06...
  • Page 17: Wiring Of Com Port

    2 Wiring of COM Port 2.1 Installation of Extension (Communication) Cassette ......2-2 2.1.1 Precautions When Installing Extension (Communication) Cassette 2-2 2.1.2 Installing Extension (Communication) Cassette ......2-2 2.2 Wiring of the COM Port Terminal Block ..........2-3 2.2.1 Suitable Wires and Tools ..............2-3 2.2.2 Applicable Cable ................
  • Page 18: Installation Of Extension (Communication) Cassette

    2.1 Installation of Extension (Communication) Cassette 2.1 Installation of Extension (Communication) Cassette 2.1.1 Precautions When Installing Extension (Communication) Cassette ● The installation must be carried out when the power supply is off. If the power supply is on, it may cause faults. ●...
  • Page 19: Wiring Of The Com Port Terminal Block

    To tighten terminals, use a screwdriver from Phoenix Contact (model No. SZS 0,4 x 2,5, product No. 1205037, blade size 0.4 x 2.5) or a screwdriver from Panasonic (order No. AFP0806). The tightening torque should be 0.22 to 0.25 N・m.
  • Page 20: Applicable Cable

    2.2 Wiring of the COM Port Terminal Block 2.2.2 Applicable Cable The following cables should be used. ■ Suitable wires (strand wire): RS-485 communication wire Conductor Insulator Cable Classifica Cross-sectional Sample Size Resistan Materia Thickn tion view appropriate cable diam. (at 20°C) Sumiden Hitachi 1.25...
  • Page 21 2.2 Wiring of the COM Port Terminal Block ■ Precautions on wiring The following precautions should be observed to avoid broken or disconnected wires. ● When removing the wire’s insulation, be careful not to scratch the core wire. ● Do not twist the core wires to connect them. ●...
  • Page 22: Wiring Of The Control Unit (Gt Power Supply, Com0 Port)

    2.3 Wiring of the Control Unit (GT Power Supply, COM0 Port) 2.3.1 Handling of GT Power Supply Terminal A GT power supply terminal can be used as a power supply terminal for Panasonic programmable display GT02 / GT02L series. ■...
  • Page 23 2.3 Wiring of the Control Unit (GT Power Supply, COM0 Port) Indication on the Description unit ■ Wiring example (connection with GT series, 5V type) FP0H control unit COM0 port terminal / GT02/GT02L series, GT power supply terminal 5V DC type Terminal Signal name Terminal section code...
  • Page 24: Wiring Of Com Port Of A Communication Cassette

    2.4 Wiring of COM Port of a Communication Cassette 2.4 Wiring of COM Port of a Communication Cassette 2.4.1 AFP0HCCS1 (RS-232C 1ch Non-Insulated Type) ■ Terminal layout Terminal Allocated function Signal direction Port allocated on the software code PLC → External SD: Send Data device PLC ←...
  • Page 25: Afp0Hccs2 (Rs-232C 2Ch Non-Insulated Type)

    2.4 Wiring of COM Port of a Communication Cassette 2.4.2 AFP0HCCS2 (RS-232C 2ch Non-Insulated Type) ■ Terminal layout Terminal Allocated function Signal direction Port allocated on the software code PLC → External SD: Send Data device COM1 PLC ← External RD: Receive Data device PLC →...
  • Page 26: Afp0Hccs1M1 (Rs-485 1Ch Insulated + Rs-232C 1Ch Non-Insulated Type)

    2.4 Wiring of COM Port of a Communication Cassette ■ Terminal layout Terminal code Allocated function Port allocated on the software Transmission line (+) Transmission line (-) COM1 Transmission line (+) Transmission line (-) N.C. ■ Example of wiring Connection destination 1 AFP0HCCM1 Code Signal name...
  • Page 27 2.4 Wiring of COM Port of a Communication Cassette ■ Terminal layout Terminal Allocated function Signal direction Port allocated on the software code Transmission line (+) COM1 Transmission line (-) PLC → External Send Data device PLC ← External COM2 Receive data device Signal Ground...
  • Page 28 (MEMO) 2-12 WUME-FP0HCOM-06...
  • Page 29: Setting And Confirmation Of Communication Conditions

    3 Setting and Confirmation of Communication Conditions 3.1 Setting of Purpose and Communication Conditions ......3-2 3.1.1 Purpose to be Set for Each Port ............3-2 3.1.2 Communication Conditions to be Set for Each Port......3-2 3.2 Communication Conditions Settings ...........3-4 3.2.1 System Register Settings..............
  • Page 30: Setting Of Purpose And Communication Conditions

    3.1 Setting of Purpose and Communication Conditions 3.1 Setting of Purpose and Communication Conditions 3.1.1 Purpose to be Set for Each Port ■ List of available functions by communication port (●: Available; ○: Conditional; Blank : Not available) Main unit Cassette Available communication functions COM0...
  • Page 31 3.1 Setting of Purpose and Communication Conditions Communication port Setting range Default Remark Receive buffer capacity in general- 0 to 2048 2048 purpose communication (Note 1) For terminator (end code) judgment time, select 0.01 ms to 100 ms (by 0.01 ms), or transfer time of approx.
  • Page 32: Communication Conditions Settings

    3.2 Communication Conditions Settings 3.2 Communication Conditions Settings 3.2.1 System Register Settings Purposes and communication conditions of each communication port should be set using tool software. Select Option>System register settings from the menu bar. The "PLC Configuration" dialog box opens. Select any "COM Port"...
  • Page 33 3.2 Communication Conditions Settings Set the transmission format of COM1 port to “Data length: 8 bits; Parity: None; Stop bit: 2”. Set the baud rate of COM1 port to 19200 bps. Set the unit No. of COM1 port to No.3. ■...
  • Page 34 (MEMO) WUME-FP0HCOM-06...
  • Page 35: Plc Link

    4 PLC link 4.1 Operation of PLC Link MEWNET-W0 ..........4-2 4.1.1 Operation Overview of PLC Link............4-2 4.1.2 Roles of Link Relays and Link Registers ......... 4-2 4.2 Setting Items for PLC Link ..............4-4 4.2.1 Unit Number Setting................. 4-4 4.2.2 Setting of the Largest Unit Number..........4-4 4.2.3 Memory Block No.
  • Page 36: Operation Of Plc Link Mewnet-W0

    4.1 Operation of PLC Link MEWNET-W0 4.1 Operation of PLC Link MEWNET-W0 4.1.1 Operation Overview of PLC Link ● “Link relays (L)” and data registers “link registers (LD)” are shared between connected PLCs. ● In the case of link relays, if the link relay contact of one PLC turns ON, the same link relays also turn ON in all PLCs on the same network.
  • Page 37 4.1 Operation of PLC Link MEWNET-W0 RS-485 No.2 Link register No.3 Link register No.4 Link register LD 0 LD 0 LD 0 F0 MV K100 LD0 No.1 Link register LD 0 ■ Link register When a constant 100 is written into LD0 of the master unit (No. 1), the content of LD0 of every other unit is also changed to constant 100.
  • Page 38: Setting Items For Plc Link

    4.2 Setting Items for PLC Link 4.2 Setting Items for PLC Link 4.2.1 Unit Number Setting ● In a PLC link that connects multiple PLCs on the same transmission line, a unit number must be assigned to each PLC for identification. ●...
  • Page 39: Ranges Of Link Relays And Link Registers To Be Used

    4.2 Setting Items for PLC Link Structure of a link area 4.2.4 Ranges of Link Relays and Link Registers to be Used ● Specify the ranges of memory areas of link relays and link registers to be actually used. ● Link relays and link registers that are not to be used for linking may be used in place of internal relays and data registers.
  • Page 40: Link Register Transmission Start Number And Sending Size

    4.2 Setting Items for PLC Link Example) Setting of the link relay transmission start number and sending size (in the case of memory block No. 0) ■ List of setting items (for PLC link setting) Unit No. and setting method Setting item Setting range No.1...
  • Page 41 4.2 Setting Items for PLC Link ■ List of setting items (for PLC link setting) Unit No. and setting method Setting item Setting range No.1 No.2 No.3 No.4 Memory block No. of link relays and 0 or 1 link registers to be used Max.
  • Page 42 4.2 Setting Items for PLC Link ● If a mistake is made when allocating a link area, be aware that an error will result, and communication will be disabled. ● Avoid overlapping send areas. In the following example, there is an overlapping area between link relays No. 2 and 3. This will cause an error and disable communication.
  • Page 43: Response Time Of Plc Link

    4.3 Response Time of PLC Link 4.3 Response Time of PLC Link 4.3.1 Response Time of One Transmission Cycle The maximum value of one transmission cycle time (T) can be calculated using the following formula. ■ Calculation formula (1) Ts (transmission time per unit) Calculation Ts = Scan time + Tpc (PLC link sending time) formula...
  • Page 44: Response Time When There Are Units That Have Not Been Added To The Link

    4.3 Response Time of PLC Link One transmission cycle Condition Calculation process time (T) Tpc=Ttx×Pcm=0.096×71≈6.82 ms Relays / registers are evenly allocated, and Each Ts=1+6.82=7.82 ms =130.44 ms Each PLC scan time = 1 ms Tlt=0.096×(13+2×16)=4.32 ms Ttx=0.096 16-unit link with all units added Each Pcm=23+(4+8)×4=71 bytes T max.=Ts+Tlt+Tso Max.
  • Page 45: Mewtocol Master-Slave Communication

    5 MEWTOCOL Master-Slave Communication 5.1 List of MEWTOCOL Supported Commands ........5-2 5.1.1 List of MEWTOCOL Commands ............5-2 5.2 MEWTOCOL-COM Master Communication (RECV)......5-3 5.2.1 For Type without Ethernet Function ..........5-3 5.2.2 For Type with Ethernet Function ............5-5 5.3 MEWTOCOL-COM Master Communication (SEND)......5-8 5.3.1 For Type without Ethernet Function ..........
  • Page 46: List Of Mewtocol Supported Commands

    5.1 List of MEWTOCOL Supported Commands 5.1 List of MEWTOCOL Supported Commands 5.1.1 List of MEWTOCOL Commands ■ Commands to be used Type of instruction Code Description Reads the ON / OFF state of contacts. (RCS) ● Specifies only one point. Read contact area (RCP) ●...
  • Page 47: Mewtocol-Com Master Communication (Recv)

    5.2 MEWTOCOL-COM Master Communication (RECV) 5.2 MEWTOCOL-COM Master Communication (RECV) 5.2.1 For Type without Ethernet Function ■ Procedure PLC has the transmission right in master communication, and master communication is performed by sending commands to, and receiving responses from, devices that support MEWTOCOL.
  • Page 48 5.2 MEWTOCOL-COM Master Communication (RECV) Code Description Transfer method and Specify the number of words in higher words of control data. the number of transfer Range: H1 to H1FD (1 word to 509 words) words Specify a COM port No. for the higher 4 bits in lower words of control data. COM port No.
  • Page 49: For Type With Ethernet Function

    5.2 MEWTOCOL-COM Master Communication (RECV) 5.2.2 For Type with Ethernet Function ■ Procedure PLC has the transmission right in master communication, and master communication is performed by sending commands to, and receiving responses from, devices that support MEWTOCOL. Data can be read by specifying unit numbers and memory addresses and executing F146 (RECV) instruction in a user program, because PLC automatically creates messages according to the protocol.
  • Page 50 5.2 MEWTOCOL-COM Master Communication (RECV) Specification of the F0 MV DT10 transfer method and the number of transfer words ① ④ Specification of the COM F0 MV H1001 DT11 port number of a master unit ② ③ ④ R913C F469 Specification of the UNITSEL communication port...
  • Page 51 5.2 MEWTOCOL-COM Master Communication (RECV) ● Other F145 (SEND) / F146 (RECV) instructions cannot be executed at the same time to a communication port during master communication. Confirm that the “SEND/RECV instruction execution flag” is ON, and execute the instructions. ●...
  • Page 52: Mewtocol-Com Master Communication (Send)

    5.3 MEWTOCOL-COM Master Communication (SEND) 5.3 MEWTOCOL-COM Master Communication (SEND) 5.3.1 For Type without Ethernet Function ■ Procedure PLC has the transmission right in master communication, and master communication is performed by sending commands to, and receiving responses from, devices that support MEWTOCOL.
  • Page 53 5.3 MEWTOCOL-COM Master Communication (SEND) Code Description Specify the number of words in higher words of control data. Number of transfer words Range: H1 to H1FB (1 word to 507 words) Specify a COM port No. for the higher 4 bits in lower words of control data. COM port No.
  • Page 54: For Type With Ethernet Function

    5.3 MEWTOCOL-COM Master Communication (SEND) 5.3.2 For Type with Ethernet Function ■ Procedure PLC has the transmission right in master communication, and master communication is performed by sending commands to, and receiving responses from, devices that support MEWTOCOL. Data can be written by specifying unit numbers and memory addresses and executing F145 (SEND) instruction in a user program, because PLC automatically creates messages according to the protocol.
  • Page 55 5.3 MEWTOCOL-COM Master Communication (SEND) Specification of the F0 MV DT10 transfer method and the number of transfer words ① ④ Specification of the COM F0 MV H1001 DT11 port number of a master unit ② ③ ④ R913C F469 Specification of the UNITSEL communication port...
  • Page 56 5.3 MEWTOCOL-COM Master Communication (SEND) ● Other F145 (SEND) / F146 (RECV) instructions cannot be executed at the same time to a communication port during master communication. Confirm that the “SEND/RECV instruction execution flag” is ON, and execute the instructions. ●...
  • Page 57: Modbus Rtu Master-Slave Communication

    6 MODBUS RTU Master-Slave Communication 6.1 List of MODBUS RTU Supported Commands ........6-2 6.1.1 List of MODBUS Function Codes ............ 6-2 6.1.2 Device No. Correspondence Table ..........6-2 6.2 MODBUS RTU Master Communication (RECV) ........6-3 6.2.1 For Type without Ethernet Function ..........6-3 6.2.2 For Type with Ethernet Function ............
  • Page 58: List Of Modbus Rtu Supported Commands

    6.1 List of MODBUS RTU Supported Commands 6.1 List of MODBUS RTU Supported Commands 6.1.1 List of MODBUS Function Codes ■ Supported commands (●: Available, Blank: Not available) FP0H supported Remarks functions Code Name (MODBUS) Name (Reference No.) Slave Master Read Coil state Read Y / R coils ●...
  • Page 59: Modbus Rtu Master Communication (Recv)

    6.2 MODBUS RTU Master Communication (RECV) 6.2 MODBUS RTU Master Communication (RECV) 6.2.1 For Type without Ethernet Function ■ Procedure PLC has the transmission right in master communication, and master communication is performed by sending commands to, and receiving responses from, devices that support MODBUS-RTU.
  • Page 60 6.2 MODBUS RTU Master Communication (RECV) Code Description Specify a MODBUS command for Bit 11 to Bit 8 of control data. H1: Command 01 (Read coil state) MODBUS command H2: Command 02 (Read input state) H3: Command 03 (Read hold register) H4: Command 04 (Read input register) MODBUS unit No.
  • Page 61: For Type With Ethernet Function

    6.2 MODBUS RTU Master Communication (RECV) 6.2.2 For Type with Ethernet Function ■ Procedure PLC has the transmission right in master communication, and master communication is performed by sending commands to, and receiving responses from, devices that support MODBUS-RTU. Data can be read by specifying unit numbers and memory addresses and executing F146 (RECV) instruction in a user program, because PLC automatically creates messages according to the protocol.
  • Page 62 6.2 MODBUS RTU Master Communication (RECV) Code Description SEND/RECV This is inserted to confirm that no SEND / RECV instruction is in progress for instruction execution the same port. Turns ON when an instruction is executable. flag Specify the communication port of the master unit. To perform serial Communication port of communication, specify the serial communication port (K0).
  • Page 63 6.2 MODBUS RTU Master Communication (RECV) (Note 1) The Nos. in brackets indicate devices that are compatible with existing FP-X / FPsigma. WUME-FP0HCOM-06...
  • Page 64: Modbus Rtu Master Communication (Send)

    6.3 MODBUS RTU Master Communication (SEND) 6.3 MODBUS RTU Master Communication (SEND) 6.3.1 For Type without Ethernet Function ■ Procedure PLC has the transmission right in master communication, and master communication is performed by sending commands to, and receiving responses from, devices that support MODBUS-RTU.
  • Page 65 6.3 MODBUS RTU Master Communication (SEND) Code Description Specify a MODBUS command for Bit 11 to Bit 8 of control data. H5: Command 05 (Force a single coil) or Command 15 (Force multiple coils) MODBUS command H6: Command 06 (Preset a single register) or Command 16 (Preset multiple registers) (Note 1) HD: One-bit transfer by Command 15...
  • Page 66: For Type With Ethernet Function

    6.3 MODBUS RTU Master Communication (SEND) 6.3.2 For Type with Ethernet Function ■ Procedure PLC has the transmission right in master communication, and master communication is performed by sending commands to, and receiving responses from, devices that support MODBUS-RTU. Data can be written by specifying unit numbers and memory addresses and executing F145 (SEND) instruction in a user program, because PLC automatically creates messages according to the protocol.
  • Page 67 6.3 MODBUS RTU Master Communication (SEND) Code Description SEND/RECV This is inserted to confirm that no SEND / RECV instruction is in progress for instruction execution the same port. Turns ON when an instruction is executable. flag Specify the communication port of the master unit. To perform serial Communication port of communication, specify the serial communication port (K0).
  • Page 68 6.3 MODBUS RTU Master Communication (SEND) ■ Special relays / special data registers COM0 COM1 COM2 SEND/RECV instruction execution flag R9134 R913C (R9044) R9144 (R904A) SEND/RECV instruction execution end R9135 R913D (R9045) R9145 (R904B) flag SEND/RECV instruction end code DT90123 DT90124 DT90125 (Note 1)
  • Page 69: General-Purpose Communication

    7 General-Purpose Communication 7.1 Overview of Sending Data ..............7-2 7.1.1 Overview of Sending Data (For Type without Ethernet Function)7-2 7.1.2 Overview of Sending Data (For Type with Ethernet Function) ..7-3 7.1.3 Send Data Area ................7-5 7.2 Receiving Data from External Devices ..........7-6 7.2.1 Receiving Data from External Devices (For Type without Ethernet Function)...
  • Page 70: Overview Of Sending Data

    7.1 Overview of Sending Data 7.1 Overview of Sending Data 7.1.1 Overview of Sending Data (For Type without Ethernet Function) Communication with external devices is handled through the data registers. When data to be sent is stored in the data register (DT) used as a send buffer, and F159 (MTRN) instruction is executed, the data is outputted from the COM port.
  • Page 71: Overview Of Sending Data (For Type With Ethernet Function

    7.1 Overview of Sending Data Code Description Sending data Data in the send buffer is sent from COM1 port. ● Do not include the terminator (end code) in the send data. The terminator is added automatically. ● When the header (start code) is set to “STX” in system register No.413 or 414, do not add the header to send data.
  • Page 72 7.1 Overview of Sending Data ⓐ ( ) F253 SSET H8000 ” DT100 ABCDEFGH ⓑ “ ② ③ ① F469 ⓒ UNITSEL ④ ⑤ F159 MTRN DT100 DT100 ⓓ ⑦ ③ ⑥ Code Description Send area size Specify "H8000". (Storage area size not specified) Input a character constant to be sent.
  • Page 73: Send Data Area

    7.1 Overview of Sending Data 7.1.3 Send Data Area Send data is stored as follows in a given memory area (e.g. data register DT). The number of send data bytes is stored in the starting word. The value is switched to “0” when transmission is complete.
  • Page 74: Receiving Data From External Devices

    7.2 Receiving Data from External Devices 7.2 Receiving Data from External Devices 7.2.1 Receiving Data from External Devices (For Type without Ethernet Function) Data received from a COM port is stored in a “receive buffer” specified by the system register, and the “reception done”...
  • Page 75: Receiving Data From External Devices (For Type With Ethernet Function

    7.2 Receiving Data from External Devices ■ Special relays COM0 COM1 COM2 Reception done flag during general- R9132 (R903E) R913A (R9038) R9142 (R9048) purpose communication Transmission done flag during general- R9133 (R903F) R913B (R9039) R9143 (R9049) purpose communication (Note 1) The Nos.
  • Page 76 7.2 Receiving Data from External Devices R913A ⓐ ( ) ① ⓑ F10 BKMV DT201 DT204 ③ ② F469 ⓒ UNITSEL ④ ⑤ ⓓ F159 MTRN DT100 ⑥ ⑦ ⑧ Code Description Reception done flag R9132: COM0 port; R913A: COM1 port; R9142: COM2 port Specify the area of data stored in a receive buffer.
  • Page 77: Receive Data Area

    7.2 Receiving Data from External Devices ● Note that the reception done flag (R913A) changes even while a scan is in progress. (e.g., if the reception done flag is used multiple times as an input condition, there is a possibility of different statuses existing within the same scan.) As a protective measure, replace it with an internal relay at the beginning of the program.
  • Page 78: Flag Operations In Transmission / Reception

    7.3 Flag Operations in Transmission / Reception 7.3 Flag Operations in Transmission / Reception 7.3.1 When the Header is Set to “No STX” and the Terminator to “CR” ■ When receiving data: The reception done flag, the transmission done flag, and the F159 (MTRN) instruction are related as follows: ●...
  • Page 79: When The Header Is Set To "Stx" And The Terminator To "Etx

    7.3 Flag Operations in Transmission / Reception ■ Special relays / special data registers COM0 COM1 COM2 Reception done flag during general- R9132 (R903E) R913A (R9038) R9142 (R9048) purpose communication Transmission done flag during general- R9133 (R903F) R913B (R9039) R9143 (R9049) purpose communication (Note 1) The Nos.
  • Page 80 7.3 Flag Operations in Transmission / Reception ● If there are two headers, data following the second header is overwritten and the data is stored in the receive buffer. ● The reception done flag R913A is turned OFF by the F159 (MTRN) instruction. Therefore, if F159 (MTRN) is executed at the same time as the reception of the terminator, the reception done flag will not be detected.
  • Page 81: Instruction References

    8 Instruction References 8.1 Communication Instruction ..............8-2 8.1.1 F145 SEND / F146 RECV Instructions: Common Items (Serial Communication)................8-2 8.1.2 F145 SEND [MEWTOCOL Master Send (Serial Communication)].. 8-3 8.1.3 F146 REC [MEWTOCOL Master Receiver (Serial Communication)]................8-6 8.1.4 F145 SEND [MODBUS Master Send: Function Code Specification (Serial Communication)] ..............
  • Page 82: Communication Instruction

    8.1 Communication Instruction 8.1 Communication Instruction 8.1.1 F145 SEND / F146 RECV Instructions: Common Items (Serial Communication) ■ System register settings Use tool software to set the communication mode of the COM port used. Mode System register No. 412 MEWTOCOL master Computer link MODBUS master MODBUS RTU...
  • Page 83: F145 Send [Mewtocol Master Send (Serial Communication)]

    8.1 Communication Instruction ■ Other restrictions These instructions cannot be executed on special internal relays (R9000 and up) or special data registers (DT90000). 8.1.2 F145 SEND [MEWTOCOL Master Send (Serial Communication)] ■ Instruction format For Type without Ethernet Function For Type with Ethernet Function ●...
  • Page 84 8.1 Communication Instruction ■ Devices that can be specified (indicated by ●) Constant Index Operand modifier (Note 1) ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●...
  • Page 85 8.1 Communication Instruction Destination unit number selection On unit firmware Ver. 1.8 or later, adding a specification of HEE (238) for the destination unit number allows for communication to be carried out regardless of destination unit number. ■ Specifying the storage area of a destination unit by using [D] and [n] Specify "0"...
  • Page 86: F146 Rec [Mewtocol Master Receiver (Serial Communication)]

    8.1 Communication Instruction Name Description Turns ON when the [D] device No. is not 0. Turns ON when a communication cassette is not attached to the target COM port. 8.1.3 F146 REC [MEWTOCOL Master Receiver (Serial Communication)] ■ Instruction format For Type without Ethernet Function For Type with Ethernet Function ●...
  • Page 87 8.1 Communication Instruction ■ Devices that can be specified (indicated by ●) Constant Index Operand modifier (Note 1) ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●...
  • Page 88 8.1 Communication Instruction Destination unit number selection On unit firmware Ver. 1.8 or later, adding a specification of HEE (238) for the destination unit number allows for communication to be carried out regardless of destination unit number. ■ Specifying [S2] as the starting address of the source data area Specify “0”...
  • Page 89: F145 Send [Modbus Master Send: Function Code Specification (Serial Communication)]

    8.1 Communication Instruction Name Description Turns ON when a communication cassette is not attached to the target COM port. 8.1.4 F145 SEND [MODBUS Master Send: Function Code Specification (Serial Communication)] ■ Instruction format For Type without Ethernet Function For Type with Ethernet Function ●...
  • Page 90 8.1 Communication Instruction ■ Devices that can be specified (indicated by ●) Constant Index Operand modifier (Note 1) ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●...
  • Page 91 8.1 Communication Instruction In this process, there is no response message from a destination unit. ■ Specifying a COM port number for the F469 (UNITSEL) instruction (only for the type with Ethernet Function) Specifying HE in the upper four bits of [S1] of F145 (SEND) enables operand [S2] for the F469 (UNITSEL) instruction.
  • Page 92 8.1 Communication Instruction [F145(SEND), H1607, WR3, H7788, K1] (Note 1) Reads WR3 word data and sets it as write data. Command 15 (force multiple coils) ● Example 3) Transfer from COM1 of 64 bits of data from WR3 0th bit to WR6 Fth bit to bit address H7788 of unit number 7 [F145(SEND), H1507, WR3, H7788, K64] [S1]:...
  • Page 93 8.1 Communication Instruction Command 16 (preset multiple registers) ● Example 4) Transfer from COM1 of 3 words of data from DT3 to DT5 to address H7788 in unit number 7 [F145(SEND), H1607, DT3, H7788, K3] (Note 1) If multiple points are specified for n, the command will be corrected automatically. (Note 2) Write resistor number maximum is 127 (7FH) (due to MODBUS protocol limits) Data number (byte number) is calculated as 2 bytes for write resistor number.
  • Page 94: F146 Recv [Modbus Master Receiver: Function Code Specification (Serial Communication)]

    8.1 Communication Instruction 8.1.5 F146 RECV [MODBUS Master Receiver: Function Code Specification (Serial Communication)] ■ Instruction format For Type without Ethernet Function For Type with Ethernet Function ● When using both the serial communication and Ethernet communication within a program, specify the serial communication port using the F469 (UNITSEL) instruction before executing the F146 (RECV) instruction.
  • Page 95 8.1 Communication Instruction Constant Index Operand modifier (Note 1) ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● (Note 1) A character constant cannot be specified. ■...
  • Page 96 8.1 Communication Instruction [S2] of F469 (UNITSEL) Port number COM0 COM1 COM2 ■ MODBUS command specification example Command 01 (read coil state) ● Example 1) Reading 1 bit from unit number 17 bit address H7788 connected to COM1, and writing to master unit DT100 bit 0 [F146(RECV), H1111, H7788, K1, DT100] ●...
  • Page 97 8.1 Communication Instruction Command 02 (read input state) ● Example 3) Reading 1 bit from unit number 17 bit address H7788 connected to COM1, and writing to master unit DT100 bit 0 [F146(RECV), H1211, H7788, K1, DT100] ● Example 4) Reading 64 bits (4 words) from unit number 17 bit address H7788 connected to COM1, and writing to master unit DT100 starting at bit 0 [F146(RECV), H1211, H7788, K64, DT100] Command 03 (read hold register)
  • Page 98: F145 Send [Modbus Master Send: No Function Code Specification (Serial Communication)]

    8.1 Communication Instruction Command 04 (read input register) ● Example 6) Reading 6 words from unit number 17 address H7788 connected to COM1, and writing to master unit starting at DT100 [F146(RECV), H1411, H7788, K6, DT100] ■ Flag Operands Name Description Turns ON when the [S1] control data value is outside the specified range.
  • Page 99 8.1 Communication Instruction F469 UNITSEL F145 SEND DT10 DT20 K100 ■ Operands Operands Settings Specify the starting number of the area (2 words) that stores control data. Specify the transfer method. Word transfer: Specify the number of send words. Bit transfer: Specify the bit number of a master unit and that of a destination unit. Specify the COM port No of a master unit and the unit number of a destination S1+1 unit.
  • Page 100 8.1 Communication Instruction [S1+1]: H0 (fixed) Unit No. (H00 to H63) Select a COM port (0 to 99) (H1/H2/HF/HE) COM port selection (upper four bits) Port number specified for the F469 (UNITSEL) Port number COM1 COM2 COM0 instruction ■ MODBUS command specification Depending on the transfer method specified for operand [S1] and the device type specified for operand [S2], the function code of MODBUS command to be sent varies.
  • Page 101 [S2] of F469 (UNITSEL) Port number COM0 COM1 COM2 ● This is convenient to write data into Panasonic’s PLC via MODBUS RTU. ● For MODBUS reference Nos. and device Nos., see "6.1.2 Device No. Correspondence Table". ■ MODBUS command specification example Sending command 05 (single Y/R write) ●...
  • Page 102 8.1 Communication Instruction [S1+1]: DT11 H0 fixed COM port selection Unit no. (H00 to H63) (0 to 99) [S1]: DT10 (DT10=0001H, DT11=1007H) MODBUS command [S2]: WR3 (WR3=1234H) Slave address [D]: DT0 [n]: K1000 Command (06H) Write start number (H) 03 Write start number (L) E8 Command conversion Write data (H)
  • Page 103 8.1 Communication Instruction (Note 1) When sending command 15, set [S1] transfer method specification to word units (H0). (Note 2) Status change start number will be set to write target coil number. (destination unit) (Note 3) Change coil number will change write bit number to HEX. (Note 4) Due to MODBUS protocol limits, change coil number maximum is 2032 (07F0H).
  • Page 104: F146 Recv [Modbus Master Receiver: No Function Code Specification (Serial Communication)]

    8.1 Communication Instruction Name Description Turns ON when the COM port specification of control data specified in [S1+1] is not MODBUS mode. Turns ON when the [D] area is DT during transfer in bit units. Turns ON when the [D] device number is not 0. 8.1.7 F146 RECV [MODBUS Master Receiver: No Function Code Specification (Serial Communication)] ■...
  • Page 105 8.1 Communication Instruction Operands Settings Specification of a Specify the starting address of the device in the source data area of a destination unit destination unit. Specification of a Specify the device starting address of the receive data storage area in master unit the master unit.
  • Page 106 S1=K0 (serial communication port) and S2=K1 (COM1). [S2] of F469 (UNITSEL) Port number COM0 COM1 COM2 ● This is convenient to read data from Panasonic PLC via MODBUS-RTU. ● For MODBUS reference Nos. and device Nos., see "6.1.2 Device No. Correspondence Table". 8-26 WUME-FP0HCOM-06...
  • Page 107 8.1 Communication Instruction ■ MODBUS command specification example Sending command 01 (Y/R coil read) ● Example 1) Sending command from COM1 to read 1 bit (Y17) of destination unit number 17 and to transfer read bit data to 5th bit of master unit DT100 [F146(RECV), DT10, WY0, K1, DT100] [S1]: DT10...
  • Page 108 8.1 Communication Instruction [S1+1]: DT11 H0 fixed COM port selection Unit no. (H01 to H63) (1 to 99) [S1]: DT10 (DT10=0004H, DT11=1011H) MODBUS command [S2]: WY0 [n]: K1 Slave address [D]: DT100 Command (01H) Read start number (H) 00 Read start number (L) 10 Command conversion Read count (H) Read count (L)
  • Page 109 8.1 Communication Instruction [F146(RECV), DT10, WX0, K1, DT100] [S1]: DT10 Transfer in word units Specifies the send word count (H001 to H07F) [S1+1]: DT11 H0 fixed COM port selection Unit no. (H01 to H63) (1 to 99) [S1]: DT10 (DT10=0004H, DT11=1011H) MODBUS command [S2]: WX0 Slave address...
  • Page 110 8.1 Communication Instruction (Note 1) When reading word units with command 03 set [S1] transfer method specification to word units (H0). (Note 2) The read start number specifies the read location data number. (Destination unit: DT500) (Note 3) The read number will be the specified number of words. (6-word reading) Sending command 04 (WL/LD read) ●...
  • Page 111: F159 Mtrn [General-Purpose Communication Instructions (Serial Communication)]

    8.1 Communication Instruction (Note 1) When reading word units with command 04 set [S1] transfer method specification to word units (H0). (Note 2) The read start number specifies the read location data number. (Destination unit: LD100) (Note 3) The read number will be the specified number of words. (6-word reading) (Note 4) If LD is specified, it is 07D0H(LD0) onward.
  • Page 112 8.1 Communication Instruction For Type with Ethernet Function ● When using both the serial communication and Ethernet communication within a program, specify the serial communication port using the F469 (UNITSEL) instruction before executing the F159 (MTRN) instruction. F469 ( ) UNITSEL F159 MTRN DT100...
  • Page 113 8.1 Communication Instruction Items Description Operation mode Operation mode of COM port can be switched between “general-purpose communication mode” and “computer link mode”. switching ■ System register settings ● Using the system register, it is required to set to “general-purpose communication mode” in COM port.
  • Page 114 8.1 Communication Instruction ● When the header (start code) is set to “STX” in system register, do not add the header to send data. The header is added automatically. Example: When 8-byte data “ABCDEFGH” is sent with [S] as DT100 ■...
  • Page 115 8.1 Communication Instruction ■ Operations when data is received When the reception done flag is OFF, operation takes place as follows when data is sent from an external device. Items Description Incoming data is stored in ascending order from the lower-order byte of the 2nd- Storage of receive word area of the receive buffer.
  • Page 116: Character String Instructions

    8.2 Character String Instructions 8.2 Character String Instructions 8.2.1 F253 SSET (Character Constant → ASCII Code Conversion: with Storage Area Size) ■ Instruction format ■ Operands Items Settings Storage area size (permissible range: K1 to K32767, H8000) Character constant to be converted (permissible range: 0 to 256 characters) Starting device address of the destination ■...
  • Page 117 8.2 Character String Instructions ■ Processing Example 1) When a string "ABC1230 DEF" (11 characters including a space) is to be converted S1...K12 S2... "ABC1230 DEF" D...DT0 (Note 1) Data outside the range in the destination (*) (bytes higher than DT7) does not change. Storage area size Number of characters Example 2) With the 16 characters from A to P as one set, when 16 sets (256...
  • Page 118 8.2 Character String Instructions Storage area size Number of characters Example 4) When a string “ABC1230 DEF” (11 characters including a space) is to be converted S1...H8000 S2... “ABC1230 DEF” D...DT0 (Note 1) Data outside the range in the destination (*) (bytes higher than DT6) does not change. No.
  • Page 119 8.2 Character String Instructions ■ Flag operations Name Description Turns ON when the area is exceeded in index modification. R9007 Turns ON when the accessible range is exceeded if the storage area size starting with D is secured. R9008 (ER) Turns ON when a value outside the permissible range is specified for S1.
  • Page 120: Ethernet Instruction (Only For Type With Ethernet Function)

    8.3 Ethernet Instruction (Only For Type with Ethernet Function) 8.3 Ethernet Instruction (Only For Type with Ethernet Function) 8.3.1 [F469 UNITSEL] (Communication Unit Slot Port Specification) ■ Instruction format ■ Operands Items Settings Unit communication port (K0: Serial communication) (Note 1) Ignored when S1=K0 (Note 1) If you use the F145 SEND, F146 RECV, or F159 MTRN instruction to enable port number specification...
  • Page 121 8.3 Ethernet Instruction (Only For Type with Ethernet Function) [S1] Unit type [S2] Slot number Serial communication Invalid ■ Program example Example) Specification of serial communication ■ Specifying a COM port number for F469 (UNITSEL) instruction If you use the F145 SEND, F146 RECV, or F159 MTRN instruction to enable port number specification in F469 UNITSEL, you can specify a COM port number for operand [S2].
  • Page 122: Special Instruction

    8.4 Special Instruction 8.4 Special Instruction 8.4.1 SYS1 (Communication Condition Setting) ■ Instruction format (Note 1) In the example shown in the figure above, the transmission format and baud rate of the COM1 port are set as below. Character bit length: 8; Parity bit: Odd parity; Stop bit: 1 Baud rate: 19200 bps ■...
  • Page 123 8.4 Special Instruction ■ Precautions on programming ● Enclose the first and second keywords in double quotation marks (”). ● Separate the first keyword and second keyword with a comma (,) without inserting a space. ● Insert space characters in front of the first keyword so that the total number of characters of the first and second keywords is 12.
  • Page 124 8.4 Special Instruction First keyword Second keyword Ports to be used Baud rate COM0: COM0 port 1200: 1200 bps 19200: 19200 bps 230400: 230400 bps COM1: COM1 port 2400: 2400 bps 38400: 38400 bps COM2: COM2 port 4800: 4800 bps 57600: 57600 bps TOOL: COM0 port 9600: 9600 bps...
  • Page 125 8.4 Special Instruction Settings (For indirect specification of unit numbers) Port: COM0 / Unit number: Value set in DT0 Exampl “COM2No,D0123” Settings (For indirect specification of unit numbers) Port: COM2 / Unit number: Value set in DT0123 ■ Specifying the communication conditions (response time of COM port) ●...
  • Page 126 8.4 Special Instruction Exampl “˽˽˽˽COM1,ETX” Settings Port: COM1 / Terminator: ETX Exampl “˽˽˽˽˽COM1,CR” Settings Port: COM1 / Terminator: CR Exampl “˽COM2,NOTERM” Settings Port: COM2 / Terminator: No terminator Exampl “˽˽˽COM2,TIME” Settings Port: COM2 / Terminator: Enables end time ■ Specifying the communication conditions (end time) ●...
  • Page 127 8.4 Special Instruction Setting example Exampl “˽˽˽COM1,RTS1” Settings Port: COM1 / RS (Request to Send) control: Disables communication Exampl “˽˽˽COM1,RTS0” Settings Port: COM1 / RS (Request to Send) control: Enables communication ■ Flag operations Name Description Set when non-keyword text or an out-of-range value is specified for the first and second keywords.
  • Page 128 (MEMO) 8-48 WUME-FP0HCOM-06...
  • Page 129: Troubleshooting

    9 Troubleshooting 9.1 What to Do If an Error Occurs.............9-2 9.1.1 Communication Error Occurs (RS-232C) ........9-2 9.1.2 Communication Error Occurs (RS-485) ........... 9-2 WUME-FP0HCOM-06...
  • Page 130: What To Do If An Error Occurs

    9.1 What to Do If an Error Occurs 9.1 What to Do If an Error Occurs 9.1.1 Communication Error Occurs (RS-232C) ■ Object Control unit Cassette Product no. Communication interface COM0 COM1 COM2 Control RS-232C (3-wire) x 1 channels ● Unit standard equipment AFP0HCCS1...
  • Page 131 9.1 What to Do If an Error Occurs Allocated communication port no. Product no. Communication interface Control unit Cassette mounting part COM0 COM1 COM2 RS-485 x 1 channel ● AFP0HCCS1M1 RC-232C x 1 channel ● ■ Situation The connection or setting may be incorrect. ■...
  • Page 132 (MEMO) WUME-FP0HCOM-06...
  • Page 133: Description

    10 Description 10.1 Communication Function Specifications ...........10-2 10.1.1 Communication Specifications of the Control Unit ......10-2 10.1.2 Communication Cassette Specifications........10-2 10.2 List of System Registers ..............10-4 10.3 List of Special Relays (COM Communication)........10-12 10.4 List of Special Data Registers (COM Communication) .....10-21 10.5 Error Codes Table ................10-26 10.5.1 List of MEWTOCOL-COM Communication Error Codes ....
  • Page 134: Communication Function Specifications

    10.1 Communication Function Specifications 10.1 Communication Function Specifications 10.1.1 Communication Specifications of the Control Unit ■ USB port (for tool software) Items Description Standard USB2.0 FULL SPEED Communication MEWTOCOL-COM (slave) function ■ COM0 port Items Description Interface RS-232C (3-wire type)×1ch (non-insulated) Transmission (Note 1) 15 m...
  • Page 135 10.1 Communication Function Specifications Specifications Item AFP0HCCS1 AFP0HCCS2 AFP0HCCM1 AFP0HCCS1M1 (Note 3) RS-232C: Max. 15 m Transmission distance (Note 4) (Note 5) RS-485: Max. 1200 m Baud rate 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400 bit/s Communication Half-duplex transmission method Synchronous Start stop synchronous system...
  • Page 136: List Of System Registers

    10.2 List of System Registers 10.2 List of System Registers ■ Memory allocation Name Default Setting range and description [FP0H mode] C32: 24K, 32K words (Note 1) Sequence program area size C32E: 24K, 32K, 40K, 64K words (Note 2) [FPsigma mode] 24K, 32K words C32: 4096, 8192 (Note 1)
  • Page 137 10.2 List of System Registers (Note 1) The default and setting range of System register No. 7 differ depending on the value of System register No.1. System register No.7 System register No.1 Default Setting range FP0H mode FPsigma mode 4096 points 0 to 256 248 (Fixed) 8192 points...
  • Page 138 10.2 List of System Registers Name Default Setting range and description Stop operation when calculating error Stop Stop/Run occurs Stop operation when network error Stop Stop/Run occurs (C32ET/C32EP only) The self-diagnostic error is not notified in case of battery error, and the "ERR/ ALM"...
  • Page 139 10.2 List of System Registers ■ PLC link W0-1 setting Name Default Setting range and description Size of link relays 0 to 64 words Size of link data registers 0 to 128 words Send area starting word address of 64 to 127 link relay Size of link relays used for send area 0 to 64 words...
  • Page 140 10.2 List of System Registers Name Default Setting range and description Direction distinction (X3, X4) Reset input (X5) J-point positioning start input of pulse output CH2 (X3) Not Set X4 as High Speed Counter Addition input (X4) CH3: Addition input (X4) Reset input (X5) Not Set X4 as Subtraction input (X4) High Speed...
  • Page 141 10.2 List of System Registers ■ Controller output settings (PLS/PWM) for FPsigma mode Name Default Setting range and description Positioning control mode FPsigma compatible FPsigma compatible instruction mode (Fixed) setting instruction mode (Note 1) Pulse/PWM output settings Not selectable (Note 2) (Y0 to YC) (Note 1) If the no.
  • Page 142 10.2 List of System Registers (Note 1) Available on FP0H Ver.1.9 or later ■ COM0 / COM1 / COM2 port setting Name Default Setting range and description Unit No. 1 to 99 Computer Link General-purpose communication Communication Mode Computer Link PLC Link MODBUS RTU Modem connection...
  • Page 143 10.2 List of System Registers Name Default Setting range and description (COM2) Terminator judgement time (x 0.01 ms) (Note 1) The range of the system register no. 416/418/420 varies according to the value of the system register no. 0. System registerNo.0 System register no.
  • Page 144: List Of Special Relays (Com Communication)

    10.3 List of Special Relays (COM Communication) 10.3 List of Special Relays (COM Communication) Only special relays related to communication by COM0 port of the main control unit and by COM port of a communication cassette are listed below. WR900 (specification in word units) Relay No.
  • Page 145 10.3 List of Special Relays (COM Communication) (Note 1) R9030 to R903F changes even while a scan is in progress. The same function is also allocated to the special internal relay indicated in brackets. WR904 (specification in word units) Relay No. Name Description Turns ON when the general-purpose communication function...
  • Page 146 10.3 List of Special Relays (COM Communication) (Note 1) R9040 to R904F changes even while a scan is in progress. The same function is also allocated to the special internal relay indicated in brackets. WR905 (specification in word units) Relay No. Name Description Turns ON when transmission error occurs in PLC link...
  • Page 147 10.3 List of Special Relays (COM Communication) Relay No. Name Description When the unit is stopped, an error has occurred, or PLC link is not established: OFF When Unit No.10 Unit is normally communicating in PLC link mode: ON R9069 No.10 When the unit is stopped, an error has occurred, or PLC link is not established: OFF...
  • Page 148 10.3 List of Special Relays (COM Communication) Relay No. Name Description Turns OFF in PROG. mode. Turns ON when Unit No.8 is in RUN mode. R9077 Unit No.8 Turns OFF in PROG. mode. Turns ON when Unit No.9 is in RUN mode. R9078 Unit No.9 Turns OFF in PROG.
  • Page 149 10.3 List of Special Relays (COM Communication) Relay No. Name Description When the unit is stopped, an error has occurred, or PLC link is not established: OFF When Unit No.7 is normally communicating in PLC link mode: ON R9086 Unit No.7 When the unit is stopped, an error has occurred, or PLC link is not established: OFF When Unit No.8...
  • Page 150 10.3 List of Special Relays (COM Communication) Relay No. Name Description Turns ON when Unit No.2 is in RUN mode. R9091 Unit No.2 Turns OFF in PROG. mode. Turns ON when Unit No.3 is in RUN mode. R9092 Unit No.3 Turns OFF in PROG.
  • Page 151 10.3 List of Special Relays (COM Communication) Relay No. Name Description Turns ON when transmission is done during general-purpose COM0 port transmission done R9133 communication. flag during general-purpose (R903F) Turns OFF when transmission is requested during general- communication purpose communication. Indicates the executability of F145 (SEND) or F146 (RECV) instruction to COM0 port.
  • Page 152 10.3 List of Special Relays (COM Communication) WR914 (specification in word units) Relay No. Name Description Turns ON when a transmission error occurs during data R9140 communication. COM2 port communication error flag (R9047) Turns OFF when transmission is requested using an F159 (MTRN) instruction.
  • Page 153: List Of Special Data Registers (Com Communication)

    10.4 List of Special Data Registers (COM Communication) 10.4 List of Special Data Registers (COM Communication) Only special data registers related to communication by COM0 port of the main control unit and by COM port of a communication cassette are listed below. Register No.
  • Page 154 10.4 List of Special Data Registers (COM Communication) Register No. Name Description DT90140 Number of receptions of PLC link 0 PLC link 0 reception interval (current value) (x 2.5 DT90141 DT90142 PLC link 0 reception interval (min. value) (x 2.5 ms) DT90143 PLC link 0 reception interval (max.
  • Page 155 10.4 List of Special Data Registers (COM Communication) Register No. Name Description DT90177 No. of transmission errors DT90178 No. of procedure errors DT90179 No. of duplicate master units DT90180 Reserved for system to DT90218 Register No. Name Description Unit No. switch from DT90220 DT90219 0: Unit Nos.
  • Page 156 10.4 List of Special Data Registers (COM Communication) Register No. Name Description System DT90233 registers 42 and 43 System DT90234 registers 44 and 45 System DT90235 registers 46 and 47 Register No. Name Description System DT90236 registers 40 and 41 System DT90237 registers 42...
  • Page 157 10.4 List of Special Data Registers (COM Communication) Register No. Name Description System DT90249 registers 42 and 43 System DT90250 registers 44 and 45 System DT90251 registers 46 and 47 DT90252 Reserved for system to DT9029 The slot number specified for the F469 (UNITSEL) instruction is stored.
  • Page 158: Error Codes Table

    Logging trace error Invalid command was executed during the logging trace operation. Unsupported SD card error The card is not an industrial SD card manufactured by Panasonic. Server disabled error A command was executed when the target server was disabled.
  • Page 159: Mewtocol-Com Format

    10.6 MEWTOCOL-COM Format 10.6 MEWTOCOL-COM Format 10.6.1 MEWTOCOL-COM Command Type ■ Command message (1) Header (start code) ● Commands must always have a “%” (ASCII code: H25) or a “<” (ASCII code: H3C) at the beginning of a message. ● An expansion header “<” is supported to send a single frame of up to 2048 characters, as well as general “%”.
  • Page 160: Mewtocol-Com Response Format

    10.6 MEWTOCOL-COM Format (4) Check code ● This is a BCC (block check code) for error detection using horizontal parity. The BCC should be created so that it targets all of the text data from the header (start code) to the last text character.
  • Page 161 10.6 MEWTOCOL-COM Format (4) Check code ● This is a BCC (block check code) for error detection using horizontal parity. ● BCC starts from the header and checks each character in sequence, using the exclusive OR operation, and replaces the final result with character text. (5) Terminator (end code) ●...
  • Page 162: Modbus Rtu Format

    10.7 MODBUS RTU Format 10.7 MODBUS RTU Format 10.7.1 MODBUS RTU Command Format ■ MODBUS RTU command format START ADDRESS FUNCTION DATA CRC CHECK 3.5-Character 8 bits 8 bits n*8 bits 16 bits 3.5-Character time time ADDRESS (Unit 8 bits, 0 to 247 (decimal) No.): Note) 0 = Broadcast address FUNCTION:...
  • Page 163 10.7 MODBUS RTU Format ■ Response in abnormal status In case a parameter disabled to be processed is found in a command (except transmission error) Slave address (Unit No.) 1, 2, or 3 Function code + 80H Error code ■ Error code contents 1.
  • Page 164 (MEMO) 10-32 WUME-FP0HCOM-06...
  • Page 165 Record of Changes Manual number can be found at the bottom of the cover page. Date Manual No. Record of Changes Sep. 2017 WUME-FP0HCOM-01 1st Edition 2nd Edition Version upgrade of the unit firmware (Ver. 1.1) ● COM port numbers can be specified with a Nov.
  • Page 166 [Scope of warranty] In the event that Panasonic Industrial Devices SUNX confirms any failures or defects of the Products by reasons solely attributable to Panasonic Industrial Devices SUNX during the warranty period, Panasonic Industrial Devices SUNX shall supply the replacements of the Products, parts or replace and/or repair the defective portion by free of charge at the location where the Products were purchased or delivered to your premises as soon as possible.
  • Page 167 (MEMO) WUME-FP0HCOM-06...
  • Page 168 Panasonic Industry Co., Ltd. Panasonic Industrial Devices SUNX Co., Ltd. https://panasonic.net/id/pidsx/global Please visit our website for inquiries and about our sales network. Panasonic Industrial Devices SUNX Co., Ltd. 2022 May, 2022 WUME-FP0HCOM-06...

This manual is also suitable for:

Afp0hccs1Afp0hccs2Afp0hccm1Afp0hccs1m1

Table of Contents