background image

7 Modbus TCP/IP Messaging

YASKAWA

SIEP C730600 0IB Modbus TCP/IP Technical Manual

31

Table 7.11 Example Read Multiple Registers Error Response

Description

Data (Hex.)

Slave Address (Unit Identifier)

02

Error Code

83

Exception Code

02

06 (06 (Hex.)) Write Single Register

This function code is used to write to a single register in the drive. The command specifies the address of the
register to be written and the value to write. The normal response is an echo of the request, returned after the
register contents have been written.

Table 7.12 Write Single Register Command

Description

Byte No.

Data (Hex.)

Slave Address (Unit Identifier)

1

00 - FF

Function Code

1

06

Register Address

2

0000 - FFFF

Register Values

2

0000 - FFFF

Table 7.13 Write Single Register Response

Description

Byte No.

Data (Hex.)

Slave Address (Unit Identifier)

1

00 - FF

Function Code

1

06

Register Address

2

0000 - FFFF

Register Values

2

0000 - FFFF

Table 7.14 Write Single Register Error Response

Description

Byte No.

Data (Hex.)

Slave Address (Unit Identifier)

1

00 - FF

Error Code

1

86

Exception Code

1

Refer to Modbus TCP/IP Exception Codes.

Examples of Register Write Command

Table 7.15

lists command examples when writing register value 0003 (Hex.) to register address 0001 (Hex.) in a

drive with the slave address (unit identifier) 01 (Hex.).

Table 7.16

shows examples of responses indicating that the write command has been executed successfully. The

command specifies the value and the register address to write to.

Table 7.17

shows examples of an error response when writing to a register. The exception code is 21 (Hex.)

(indicating an invalid value).

Table 7.15 Examples of Register Write Command

Description

Data (Hex.)

Slave Address (Unit Identifier)

01

Function Code

06

Register Address

*1

Upper

00

Lower

01

Register Values

Upper

00

Lower

03

*1

This option is set up to use PLC based (holding) register addressing (base 1). The drive will automatically convert the register
address to one more than the address sent over the network before it will respond.

When writing the register address 0001 (Hex.) from the PLC:

1.

The PLC sends out a command specifying the register address 0000 (Hex.) to the network.

2.

The drive automatically convert the register address 0000 (Hex.) to 0001 (Hex.).

3.

The drive responds the value of register address 0001 (Hex.) to the PLC.

Содержание JOHB-SMP3-MA

Страница 1: ...AWA AC Drive Option Modbus TCP IP Technical Manual Model JOHB SMP3 To correctly use the product read this manual thoroughly and keep it for easy reference inspection and maintenance Make sure that the...

Страница 2: ...This Page Intentionally Blank 2 YASKAWA SIEP C730600 0IB Modbus TCP IP Technical Manual...

Страница 3: ...nication Connector 10 Option LED States 10 5 Installation Procedure 11 Section Safety 11 Settings for the DIP Switch S1 12 Procedures to Install and Wire Options on a Drive 12 Procedure A 12 Procedure...

Страница 4: ...Page 38 Parameter Access Page 38 Settings Page 39 9 Troubleshooting 39 Drive Side Error Codes 39 Fault 39 Minor Faults and Alarms 40 bUS Fault Tolerance 40 bUS Fault Auto Restart 40 bUS Fault Delay 40...

Страница 5: ...The manual is packaged together with the product YASKAWA AC Drive Option Modbus TCP IP Technical Manual Manual No SIEP C730600 0I This book The technical manual contains detailed information about the...

Страница 6: ...ll cause serious injury or death The manufacturer is not responsible for injuries or damage to equipment WARNING Electrical Shock Hazard Do not modify the drive or option circuitry Failure to obey can...

Страница 7: ...ify the option software version For Yaskawa Customers in the North or South America Regions If your drive series is not shown in the Compatible Products section refer to the web page below to confirm...

Страница 8: ...e shipping company immediately NOTICE Damage to Equipment Do not use damaged parts to connect the drive and the option Failure to comply could damage the drive and option Make sure that the model numb...

Страница 9: ...label has transparent background and white letters Please make sure that you use the correct label for Z1000 HV600 or FP605 Installation Tools You can use these tools to install the option to the driv...

Страница 10: ...connect the included ground wire to the separately sold communication option case model JOHB GA50 Communication Connector Option connections CN1A Port 1 and CN1B Port 2 are connection points for cust...

Страница 11: ...When all indicators are OFF measure for dangerous voltages to make sure that the drive is safe If you do work on the drive when it is energized it will cause serious injury or death from electrical sh...

Страница 12: ...ings for the DIP Switch S1 Procedures to Install and Wire Options on a Drive Procedures to install and wire the option are different for different drive models Refer to Table 5 1 to check the procedur...

Страница 13: ...ou can only install this option into the CN5 A connector on the drive control board 1 Shut off power to the drive and wait for the time specified on the drive warning label at a minimum Make sure that...

Страница 14: ...les from main circuit wiring and other electrical and power lines Make sure that you firmly connect the cable end Refer to Communication Cable Specifications on page 19 for more information 8 Reattach...

Страница 15: ...ive circuitry 1 Shut off power to the drive and wait for the time specified on the drive warning label at a minimum Make sure that the charge indicator LED is unlit then remove the keypad and front co...

Страница 16: ...Install the Option DANGER Electrical Shock Hazard Do not examine connect or disconnect wiring on an energized drive Before servicing disconnect all power to the equipment and wait for the time specifi...

Страница 17: ...les to CN1B Port 2 K and or CN1A Port 1 L Isolate communication cables from main circuit wiring and other electrical and power lines Make sure that you firmly connect the cable end Refer to Communicat...

Страница 18: ...itor stays charged after the drive is de energized The charge indicator LED extinguishes when the DC bus voltage decreases below 50 Vdc When all indicators are OFF measure for dangerous voltages to ma...

Страница 19: ...m 4 4 lbf in to 5 3 lbf in 8 Firmly connect the Ethernet communication cables to CN1B Port 2 I and or CN1A Port 1 J Isolate communication cables from main circuit wiring and other electrical and powe...

Страница 20: ...rameters These parameters set the drive for operation with the option Make sure that the parameter settings in this table are correct before you start network communications Note Hex MEMOBUS addresses...

Страница 21: ...d availability of this parameter is different for different product series 1000 Series Parameter is available when A1 02 3 6 7 Control Method Selection Closed Loop Vector PM Advanced Open Loop Vector...

Страница 22: ...ve for the changes to take effect For non 1000 series drives you can set F6 15 1 Comm Option Parameters Reload Reload Now 1 0 255 F7 04 03E8 IP Address 4 Sets the static fixed IP address Sets the four...

Страница 23: ...ries drives you can set F6 15 1 Comm Option Parameters Reload Reload Now 2 0 2 F7 14 03F2 Duplex Mode Selection Sets duplex mode settings Port 1 CN1A Port 2 CN1B 0 Half Half Half Duplex Half Duplex 1...

Страница 24: ...epresentative for more information 0000 FFFF Hex U4 82 U4 84 Expert MAC Address 3 Shows the third MAC Address U4 82 First octet Second octet U4 83 Third octet Fourth octet U4 84 Fifth octet Sixth octe...

Страница 25: ...for control have been specially mapped to provide higher speed access to increase network performance Use these registers for the best response times Table 7 2 and Table 7 3 show all data that are re...

Страница 26: ...bit 6 Enables the function in bit 7 bit 7 Fault Relay Output Terminal MA MB MC varies by drive model bit 8 F Reserved 000A Pulse train output Units 1 1 Hz setting range 0 32000 000B 000E Reserved 000F...

Страница 27: ...2007 4F Terminal A2 Input Level Monitor U1 14 2008 46 DC Bus Voltage Monitor U1 07 2009 C0 Error Signal 1 0 Reserved 1 Undervoltage Uv1 2 Control Power Supply Undervoltage Uv2 3 Soft Charge Circuit F...

Страница 28: ...0900 Hex or 0910 Hex These registers can be written to only An error will occur if the user attempts to read from these registers Table 7 4 Types of Enter Commands Register Number Hex Description 090...

Страница 29: ...gateway between a Modbus TCP IP network and a Modbus serial line This field is set by the Modbus master in the command and must be returned with the same value in the response by the slave This is som...

Страница 30: ...Hex Table 7 11 shows examples of an error response when reading multiple registers The exception code is 02 Hex indicating a register number error Table 7 9 Example Read Multiple Registers Command De...

Страница 31: ...Code 1 Refer to Modbus TCP IP Exception Codes Examples of Register Write Command Table 7 15 lists command examples when writing register value 0003 Hex to register address 0001 Hex in a drive with th...

Страница 32: ...2 0000 FFFF Quantity of Registers 2 N 2 Number of Data Bytes 1 N 2 2 Register Values N 2 2 0000 FFFF 1 This option is set up to use PLC based holding register addressing base 1 The drive will automati...

Страница 33: ...cally convert the starting register 0000 Hex to 0001 Hex 3 The drive responds the value of register address 0001 Hex to the PLC Table 7 22 Example Write Multiple Registers Response Description Data He...

Страница 34: ...en reading registers 0001 Hex and 0002 Hex and then writing register values 0103 Hex and 0258 Hex to register addresses 0102 Hex and 0103 Hex in a drive with the slave address unit identifier 01 Hex T...

Страница 35: ...ory Data Error the master attempted to write to a parameter other than A1 00 Language Selection A1 01 Access Level Selection A1 02 Control Method Selection A1 03 Initialize Parameters A1 04 Password A...

Страница 36: ...eb page through a self contained web server at port 80 Type the IP address of the option into a web browser to access the home page Example http 192 168 1 20 If you do not know the IP address use moni...

Страница 37: ...8 Web Interface YASKAWA SIEP C730600 0IB Modbus TCP IP Technical Manual 37 Network Page Figure 8 3 Network Page View Chart Page Figure 8 4 Chart Page View...

Страница 38: ...8 Web Interface 38 YASKAWA SIEP C730600 0IB Modbus TCP IP Technical Manual Email Alerts Page Figure 8 5 Email Alerts Page View Parameter Access Page Figure 8 6 Parameter Access Page View...

Страница 39: ...ors Correct the wiring An existing short circuit or communications disconnection Check disconnected cables and short circuits and repair as needed A data error occurred due to electric interference Pr...

Страница 40: ...N5 B or CN5 C Connect the option to the correct option port PSE JOHB SMP3 Protocol Set Error Invalid DIP switch S1 setting Set the option DIP switch S1 as shown in Figure 5 2 Monitor U4 75 Communicati...

Страница 41: ...e user in network troubleshooting U6 98 displays the first declared fault since the last power cycle U6 98 is only cleared upon drive power up U6 99 displays the present option status U6 99 is cleared...

Страница 42: ...h other devices it is ultimately the responsibility of the user to ensure compliance with CE standards Verify that conditions meet European standards after setting up the device EMC Directive Complian...

Страница 43: ...al panel C Cable clamp conductive Figure 10 5 Ground Area 11 Specifications Specifications Table 11 1 Option Specifications Items Specifications Model JOHB SMP3 Supported Messages Read Multiple Regist...

Страница 44: ...lammable gas or dust Radioactive materials or flammable materials including wood Dangerous gases or fluids Salt Direct sunlight Falling objects Altitude Up to 1000 m 3281 ft Note This option can be us...

Страница 45: ...e of Publication Revision Number Section Revised Content June 2022 1 All Addition Information on FP605 2 Addition For Yaskawa Customers in the North or South America Regions 10 Revision Reviewed and c...

Страница 46: ...a Piraporinha Diadema S o Paulo 09950 000 Brasil Phone 55 11 3585 1100 Fax 55 11 3585 1187 www yaskawa com br YASKAWA EUROPE GmbH Hauptstra e 185 65760 Eschborn Germany Phone 49 6196 569 300 Fax 49 61...

Отзывы: