Toshiba IPE002Z 0x17 Read/Write Multiple Registers function, Function Code = 17h

Page 69

E6581741

8.7. "23 (0x17) Read/Write Multiple Registers" function

The "Read/Write Multiple Registers" service is reserved for setting up the IO Scanning service (see "IO Scanning" section)

Request format:

Byte

Meaning

0

Function Code = 17h

1

Starting Address Hi

2

Starting Address Lo

3

No. of Registers Hi (0)

4

No. of Registers Lo (1 - 100)

5

Byte Count (B = 2 × No. of Registers)

6

First Register Data (Hi)

7

First Register Data (Lo)

・・・

・・・・・・・・・・・・・・・・

B+4

Last Register Data (Hi)

B+5

Last Register Data (Lo)

Response format:

Byte

Meaning

0Function Code = 17h

1Starting Address Hi

2Starting Address Lo

3No. of Registers Hi (0)

4No. of Registers Lo (1 - 100)

Exception response format:

Byte Meaning

0Function Code = 97h Exception Code =

01(Illegal Function)

102 (Illegal Data Address)

03(Illegal Data Value)

04(Slave Device Failure)

Notes

As for the EEPROM parameter, first the data is written to RAM, after that the data is written to EEPROM. Some EEPROM parameters cannot be changed during the inverter is running.

When write to EEPROM parameter that will change inverter status from stop to run, the inverter must be in the state that it cannot run.

For example: To write to EEPROM, the inverter must open ST-CC. (display shows "OFF") If not, the data is only written to RAM.

The Life of EEPROM is approximately 100,000 times. Avoid writing a command more than 100,000 times to the same parameter of the Inverter.

Please access only parameters in document.

- 68 -

Image 69
Contents Tosvert VF-MB1/S15 Introduction Handling in generalNetwork control Table of Contents 10.3 10.210.4 12.1Overview Connector to the inverter LED indicator SeeNames and functions OutlineEthernet switch RJ45 connector pin layoutExample of connection to an EtherNet/IP and Modbus TCP Daisy chain topology Star topologyLED indicator Communication parameters Parameters0,0 Display only These fields are effective settings at c504 = 0.0Monitor of the EtherNet error No error/clear error C536 Chars No Parameter Character Ex Ascii Ex Details of the parameter setting Device name c081-c096C081 ‘V’ 56H C082 ‘F’ 46H C083 ‘M’ C084 ‘B’ 42H C085 ‘1’ 31H C086 ‘-‘Assigning IP addresses c504, c505-c516 C504 IP mode CommentsCase of EtherNet/IPTM protocol Network error detection c100 c103, c523Parameter Value VF-MB1/S15EtherNet/IP Master Byte ValueReset No data is returned from the drive Frequency priority Emergency stop Always enable, E trip Fault resetBit Function Forced DC Braking Jog runReserved Electric power quantity 4.3. fa23 Communication commandSpecified data output 4.4. fa07 frequency reference from internal optionEmergency stop No emergency Stop status Standby InitializationCompleted, not failure stop 4.9. fd03 Output current FE06 Input terminal function selection 7 f117Output terminal function selection 1A f130 Bit TB Name Function ParameterOutput TB Function select 2A f131 Output TB Function select F132Objects Class Code Object Class Hex DecSupported Objects Instance Services Class ServiceIdentity Object Class AttributesAdapted from document CIP the CIP Networks Library Attribute 5 State DescriptionsBit Called Definition UnsupporteedMessage Router Object 0x0E GetAttributeSingle Read one attributeInstance Attribute Output Assembly Instance Type Size Assembly ObjectInput Assembly Instance Type Size See belowClass Services Connection Manager ObjectInstance 1 Attribute Motor Data Object Refer to 4.6.1 Run/Stop Event Matrix Control Supervisor ObjectE6581741 Control Supervisor State Transition Diagram Run/Stop Event MatrixState of the drive 0x0E GetAttributeSingle AC/DC Drive Object 0x2AParameter Objects Range Address accessed0x4000-0x4FFF 0x0000-0x0FFF 0x7000-0x7FFF 0xF000-0xFFFF 32767Communication No 0003 Instance ID 0x0001-0xFFFF 655350x0E GetAttributeSingle 0x10 SetAttributeSingle Port Object 0xF4 0x01 GetAttributeAll 0x0E GetAttributeSingleRead all attributes Read one attribute Number of services Optional service list List of optional service codesTCP/IP interface Object 0xF5 Bit 5-31 System reserved Only 16 characters in 64 characters can be set in the drive Ethernet link object 0xF6 Bit 7-31 System reserved Shorts Bit 7-31System reserved Instance 2 AttributeOutput Instance Configuration of the assembliesInput Instance Instance name Number Hex SizeInstance 70 CIP basic speed control input Instance 20 CIP basic speed control outputInstance 71 CIP extended speed control input Instance 21 CIP extended speed control outputInstance 150 Native drive input Instance 100 Native drive outputInstance 100 mapping Byte Bit Instance 150 mapping Byte Bit⑤ Fault reset Instance Byte Hex ④ Preset speed 1 with forward running sr1 Instance Byte HexExamples of Instance 100/150 ① Stop Byte Hex ② Forward running 60Hz Instance Byte 15 14 13 12 HexInstance 151 Native drive input Instance 101 Native drive outputInstance 101 mapping Byte Bit Instance 151 mapping Byte BitExamples of Instance 101/151 Output Instance 0x0003 Input Instance Cmod is 0x0000Output Instance 0x0268 Input Instance F268 is 60.0Hz 0x1770 Instance 152 Native drive input Instance 102 Native drive outputInstance 102 mapping Bit Byte Instance 152 mapping Bit ByteInstance 105 Toshiba specific output Instance 155 Toshiba specific inputInstance 105 mapping Bit Byte Output Instance 0x0000 0x0003 Input Instance Cmod is Examples of Instance 105/155About EDS file Integration in RSLogixCreate a new project Add a EtherNet/IP scanner to the I/O configuration E6581741 Configure the VF-MB1/S15 EtherNet/IP module E6581741 Download the program to the PLC Select the Download Once again, select the Download Edit the I/O scan data E6581741 E6581741 Modbus TCP frames Modbus TCP serverDrive Modbus servers List of Modbus functions supported0x03 Read Holding Registers function Function Code = 83h Exception Code =Illegal Function Illegal Data Address Illegal Data Value 0x06 Write Single Register function Byte MeaningFunction Code = 86h Exception Code = 0x10 Write Multiple Registers function 0x17 Read/Write Multiple Registers function Function Code = 17hFunction Code = 97h Exception Code = 0x2B Read Device identification function Obj Length 18-24 Value IPE002Z Obj Length 27-30 Value 0106 Exception response formatFunction Code = ABh Exception Code = Parameter data IO Scanning service PresentationPeriodic variables Defining the hardware configuration Example of the setup with PL7Bootp configuration Mode Configuring Modbus messagingPLC Configuring periodic variablesOperation panel Fmod Command & Setpoint selection Local/RemoteEtherNet/IP-Modbus TCP WiringOption error Disconnection error of network cableUnusual diagnosis WebServer Access to the webserverWeb pages structure State of the drive can be confirmed on this Drive monitor Main menu MonitoringDrive parameters Main menu Monitoring Input the write value to popup window Modbus scanner Main menu Network Setup Network parameters Main menu Network SetupEthIP scanner Main menu Network Setup Administration Main menu Network Setup You can check TCP/IP status on this 88E TCP/IP statistics Main menu Diagnostics