background image

7 Modbus TCP/IP Messaging

38

YASKAWA

SIEP C730600 0E YAI Modbus TCP/IP Technical Manual

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.

Table 7.16 Example Write Single Register Response

Description

Data (Hex.)

Slave Address (Unit Identifier)

01

Function Code

06

Register Address

Upper

00

Lower

01

Register Values

Upper

00

Lower

03

Table 7.17 Example Write Single Register Error Response

Description

Data (Hex.)

Slave Address (Unit Identifier)

01

Error Code

86

Exception Code

21

16 (10 (Hex.)) Write Multiple Registers

This function code is used to write to a contiguous block of registers in the drive. The command specifies the
starting register address, the number of registers, and the values to be written. The command packs two bytes per
register. For each register in the command, the first byte contains the most significant bits, and the second byte
contains the least significant bits. The normal response returns the function code, starting address, and quantity of
registers written.

Table 7.18 Write Multiple Registers Command

Description

Byte No.

Data (Hex.)

Slave Address (Unit Identifier)

1

00 - FF

Function Code

1

10

Starting Register

 

*1

2

0000 - FFFF

Quantity of Registers

2

N

*2

Number of Data Bytes

1

N

*2

× 2

Register Values

N

*2

× 2

0000 - FFFF

Содержание SI-EM3D

Страница 1: ...YAI YASKAWA AC Drive Option Modbus TCP IP Technical Manual Model SI EM3D To properly use the product read this manual thoroughly and retain for easy reference inspection and maintenance Ensure the end...

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

Страница 3: ...re 11 Section Safety 11 Procedures to Install and Wire Options on a Drive 11 Procedure A 12 Procedure B 15 Procedure C 18 Procedure D 21 Communication Cable Specifications 26 Option Connection Diagram...

Страница 4: ...8 9 Rapid Spanning Tree Protocol RSTP 49 Convergence Time 49 Topology 49 Enabling RSTP 49 RSTP Monitor U6 96 50 10 Troubleshooting 51 Drive Side Error Codes 51 Fault 51 Minor Faults and Alarms 52 bUS...

Страница 5: ...o SIEP C730600 0E This book The technical manual contains detailed information about the option Access the following sites to obtain the technical manual U S http www yaskawa com Europe http www yaska...

Страница 6: ...obey can cause serious injury or death or cause damage to the drive or option and will void warranty Yaskawa is not responsible for modifications of the product made by the user NOTICE Damage to Equi...

Страница 7: ...GA500 GA700 GA800 or HV600 make sure that the option software version is PRG 0383 or later Note Refer to the option package labeling in the field designated PRG four digit number to identify the optio...

Страница 8: ...ge to the option or other parts 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 num...

Страница 9: ...rent screwdrivers for different screw sizes 4 Option Components Option PCB Components A Connector CN5 B Installation hole C LED NS 1 D LED MS 1 E Ground terminal FE and installation hole 2 F Port 2 LE...

Страница 10: ...up diagnostic process to complete before you verify the LED states The operational status of the option LEDs after the power up diagnostic LED sequence is complete are described in Table 4 2 Table 4...

Страница 11: ...rnal components of an energized drive it can cause serious injury or death WARNING Electrical Shock Hazard Do not use damaged wires put too much force on the wiring or cause damage to the wire insulat...

Страница 12: ...tor CN5 C Not available for communication option installation Figure 5 1 Drive Components with Option Install the Option Use this procedure to install the option DANGER Electrical Shock Hazard Do not...

Страница 13: ...er 3 Install the option A into the CN5 A connector C on the drive and use one of the included screws B to put it in place A Option B Included screw C Connector CN5 A Figure 5 4 Install the Option 4 Us...

Страница 14: ...solate communication cables from main circuit wiring and other electrical and power lines A Route wires through the openings provided on the left side of the front cover 1 B Use the open space provide...

Страница 15: ...on a Z1000 drive Prepare the Drive for the Option Correctly wire the drive as specified by the manual packaged with the drive Make sure that the drive functions correctly Refer to the drive manuals fo...

Страница 16: ...is energized it will cause serious injury or death from electrical shock 1 Remove the keypad B and front cover A Shut off power to the drive and wait for the time specified on the drive warning label...

Страница 17: ...unding terminal FE B Included screws C Ground wire Figure 5 12 Connect the Ground Wire 5 Firmly connect the Ethernet communication cable to the option modular connector CN1 port 1 or port 2 Isolate co...

Страница 18: ...n software version is PRG 0383 or later Correctly wire the drive as specified by the manual packaged with the drive Make sure that the drive functions correctly Refer to the drive manuals for more inf...

Страница 19: ...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 cover Refer to the drive manuals fo...

Страница 20: ...rt 2 Isolate communication cables from main circuit wiring and other electrical and power lines Make sure that you firmly connect the cable end Refer to Figure 5 28 Refer to Communication Cable Specif...

Страница 21: ...ted Drive Parameters on page 27 for correct option performance Procedure D This section shows the procedure to install and wire the option on an HV600 drive Prepare the Drive for the Option Before you...

Страница 22: ...el at a minimum The internal capacitor 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 me...

Страница 23: ...CP IP Technical Manual 23 A Drive front cover B Keypad Figure 5 21 Remove the Front Cover and Keypad 2 Put the LED label B in the correct position on the drive front cover A A Drive front cover B LED...

Страница 24: ...t one end of the included ground wire C to the ground terminal on the drive Tighten the screw to a correct tightening torque 0 5 N m to 0 6 N m 4 4 in lb to 5 3 in lb Note Route ground wire through th...

Страница 25: ...ll the Option 6 Use one of the remaining included screws B to connect the ground wire A to the ground terminal and installation hole on the option Tighten the screw to a correct tightening torque 0 5...

Страница 26: ...cause ESD damage to the drive circuitry 8 Reattach the drive front cover A and the keypad B Refer to the drive manuals for more information NOTICE Do not pinch cables between the front covers and the...

Страница 27: ...communication are represented in hexadecimal numbers No Hex Name Description Default Range b1 01 0180 Frequency Reference Selection 1 Selects the input method for frequency reference 0 Keypad 1 Analo...

Страница 28: ...01 Torque Control Selection to determine whether the value is read as the Torque Limit value or the Torque Reference value d5 01 0 Torque Limit d5 01 1 Torque Reference In A1 02 6 Control Method Selec...

Страница 29: ...ignificant octet Note This parameter is only effective when F7 13 0 Address Mode at Startup Static All IP Addresses must be unique You must cycle power to the drive for the changes to take effect For...

Страница 30: ...ull port 1 is set to Half and port 2 is set to Full When 5 Auto Half port 1 is set to Auto and port 2 is set to Half When 6 Auto Full port 1 is set to Auto and port 2 is set to Full When 7 Full Half p...

Страница 31: ...Shows first option fault Refer to page 52 for more information U6 99 Current Fault Shows current option fault Refer to page 52 for more information 7 Modbus TCP IP Messaging Modbus TCP IP Overview Th...

Страница 32: ...bit7 Multi Function Input 4 bit8 Multi Function Input 5 bit9 Multi Function Input 6 bit A Multi Function Input 7 bit B Multi Function Input 8 bit C F Reserved 0002 Frequency Reference Units are deter...

Страница 33: ...ex 001D Digital output option DO A3 output value binary 001E 001F Reserved Table 7 3 Drive Registers No Modbus Register Drive Registers Register Name Bit Description 2000 4B Drive Status U1 12 0 1 Dur...

Страница 34: ...S4 EF4 2 External Fault 5 input terminal S5 EF5 3 External Fault 6 input terminal S6 EF6 4 External Fault 7 input terminal S7 EF7 5 External Fault 8 input terminal S8 EF8 6 Cooling fan Error FAn 7 Ov...

Страница 35: ...Function Differences Depending on the Setting of H5 11 Table 7 5 Enter Command Function Differences Depending on the Setting of H5 11 H5 11 Settings H5 11 0 H5 11 1 Time when the parameter settings ar...

Страница 36: ...he least significant bits Table 7 6 Read Multiple Registers Command Description Byte No Data Hex Slave Address Unit Identifier 1 00 FF Function Code 1 03 Starting Register 2 0000 FFFF Quantity of Regi...

Страница 37: ...ter Upper 01 Lower 09 Last Register Upper 00 Lower 00 Table 7 11 Example Read Multiple Registers Error Response Description Data Hex Slave Address Unit Identifier 02 Error Code 83 Exception Code 02 06...

Страница 38: ...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 Table 7...

Страница 39: ...esses 0001 Hex and 0002 Hex in a drive with the slave address unit identifier 01 Hex Table 7 22 shows examples of responses indicating that the write command has been executed successfully The command...

Страница 40: ...uantity of Registers to Write 2 N 2 Write Byte Count 1 N 2 2 Write Register Values N 2 2 0000 FFFF 1 M Quantity of Registers to Read range is 1 16 2 N Quantity of Registers to Write range is 1 16 Tabl...

Страница 41: ...iption Data Hex Slave Address Unit Identifier 01 Error Code 97 Exception Code 02 Modbus TCP IP Exception Codes When an error occurs remove the cause and restart communications The response message wil...

Страница 42: ...A controlled connection is defined as one in which a master commands the drive by writing to register 01 Hex After this write the option will begin a timer The timer will be reset upon subsequent wri...

Страница 43: ...re 8 2 Modbus TCP Page View Table 8 1 Modbus TCP Page Description Network Monitor Description Current Connections Current number of open connections Control Connection Delta Time The time between the...

Страница 44: ...Subnet Mask of the option Gateway Address The Gateway IP Address that the option will use MAC Address MAC Address of the option Address Mode Either static IP address or DHCP Link Status Active if the...

Страница 45: ...odified To change either of these values you must be logged into the page first Figure 8 4 Ring Page View RSTP Figure 8 5 Ring Page View RSTP Ring Protocol After setting the setting value to ENABLED c...

Страница 46: ...idge Alternate This port is an alternate path to the root bridge Backup This port is an alternate path away from the root bridge Disabled This port does not have an active link N A RSTP is disabled St...

Страница 47: ...ducing emails about reoccurring errors The timer helps limit the amount of emails sent regarding the same intermittent condition and helps to reduce network traffic by reducing emails about reoccurrin...

Страница 48: ...Read or Set command is given Status will display Waiting while the action is being carried out then Read Successful or Write Successful is displayed when finished Settings Page The Settings page sets...

Страница 49: ...nd when the network changes e g path failures and restorations Take special care when using parameter F7 16 Timeout Value Communication Timeout Loss and be sure to give RSTP enough time for convergenc...

Страница 50: ...e first two digits belong to port 1 and the last two digits belong to port 2 The first and third digits represent port role while the second and fourth digits represent port state The possible port ro...

Страница 51: ...l interference from the controller Option is damaged If there are no problems with the wiring and the error continues to occur replace the option Connection Time out The PLC needs to communicate with...

Страница 52: ...r warning conditions via drive monitor parameters on the drive keypad as shown in Table 10 1 Table 10 1 Option Fault Monitor Descriptions Status Fault Declared Status Value U6 98 U6 99 Description No...

Страница 53: ...ween 450 and 630 kW 4 To use AI A3 and DI A3 input statuses as monitors connect the options to one of CN5 A CN5 B or CN5 C 11 Option Installation Verify the following installation conditions to make s...

Страница 54: ...ss Setting Programmable from drive keypad or network Communication Speed Programmable from drive keypad or network 10 100 Mbps auto negotiate Number of Connections Modbus TCP IP 10 Web page connection...

Страница 55: ...e The wheelie bin symbol on this product its manual or its packaging identifies that you must recycle it at the end of its product life You must discard the product at an applicable collection point f...

Страница 56: ...IEP C730600 0E YAI Modbus TCP IP Technical Manual Revision History Date of Publication Revision Number Section Revised Content May 2021 YAI All Updated instructions to support YAI software June 2020 F...

Страница 57: ...YASKAWA SIEP C730600 0E YAI Modbus TCP IP Technical Manual 57...

Страница 58: ...777 Avenida 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 30...

Отзывы: