Toshiba IPE002Z instruction manual Port Object 0xF4, 0x01 GetAttributeAll 0x0E GetAttributeSingle

Page 37

E6581741

4.10. Port Object (0xF4)

Class code 0xF4.

The Port Object enumerates the CIP ports present on the device.

One instance exists for each CIP port.

Class Attributes

Instance

Attribute ID

Access

Name

Data type

Details

Value

 

1

Get

Revision

UINT

Revision of this object

1

 

2

Get

Max Instances

UINT

Maximum instance number of an

1

 

 

 

 

 

object currently created in this class

 

 

 

 

 

 

level of the device.

 

 

3

Get

Number of Instances

UINT

Number of object instances currently

1

 

 

 

 

 

created at this class level of the

 

 

 

 

 

 

device.

 

 

6

Get

Max ID of class

UINT

The attribute ID number of the last

9

 

 

 

attributes

 

class attribute of the class definition

 

 

 

 

 

 

implemented in the device.

 

0

7

Get

Max ID of instance

UINT

The attribute ID number of the last

7

 

 

 

attribute

 

instance attribute of the class

 

 

 

 

 

 

definition implemented in the device.

 

 

8

Get

Entry Port

UINT

Returns the instance of the Port

1

 

 

 

 

 

Object that describes the port

 

 

 

 

 

 

through which this request entered

 

 

 

 

 

 

the device.

 

 

9

Get

All Ports

STRUCT

Array of structures containing

0000

 

 

 

 

of

instance attributes 1 and 2 from

0000

 

 

 

 

Port Type

each instance.

0000

 

 

 

 

Port

 

0200

 

 

 

 

Number

 

 

Note: Attribute 9

 

 

 

 

 

00 00 00 00 -> port type = 0 (Connection terminated)

/ instance number = 0 (class)

 

00 00 02 00 -> port type = 2 (TCP/IP Port)

/ port number = 2

 

Class Services

Service Code

Service Name

0x01

Get_Attribute_All

0x0E

Get_Attribute_Single

Description of Service

Read all attributes

Read one attribute

Instance 1 Attribute

Instance

Attribute ID

Access

Name

Data type

Details

Value

 

1

Get

Port Type

UINT

Enumerate the type of port.

0

 

 

 

 

 

(0 = TCP/IP)

 

 

2

Get

Port Number

UINT

CIP port associated with this port

2

 

 

 

 

 

(identify each communication port).

 

 

 

 

 

 

Value ‘1’ is reserved.

 

 

3

Get

Link Object

STRUCT

Identify Object attached to this port.

02 00

 

 

 

 

of

For EtherNet/IP, this path

20 F5

 

 

 

 

UINT

corresponds to TCP/IP Interface

24 01

1

 

 

 

Padded

object.

 

 

 

 

EPATH

 

 

 

4

Get

Port Name

SHORT_

String which names the port.

0B 45

 

 

 

 

STRING

11, EtherNet/IP

74 68

 

 

 

 

 

 

65 72

 

 

 

 

 

 

4E 65

 

 

 

 

 

 

74 2F

 

 

 

 

 

 

49 50

 

7

Get

Node address

Padded

Node number of this device on port.

-

 

 

 

 

EPATH

The range within this data type is

 

 

 

 

 

 

restricted to a Port Segment.

 

Instance Services

Service Code

Service Name

0x01

Get_Attribute_All

0x0E

Get_Attribute_Single

Description of Service

Read all attributes

Read one attribute

- 36 -

Image 37
Contents Tosvert VF-MB1/S15 Handling in general IntroductionNetwork 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 optionStandby Initialization Emergency stop No emergency Stop statusCompleted, 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 F132Class Code Object Class Hex Dec ObjectsSupported Objects Instance Services Class ServiceIdentity Object Class AttributesAdapted from document CIP the CIP Networks Library Attribute 5 State DescriptionsBit Called Definition Unsupporteed0x0E GetAttributeSingle Read one attribute Message Router ObjectInstance Attribute Output Assembly Instance Type Size Assembly ObjectInput Assembly Instance Type Size See belowConnection Manager Object Class ServicesInstance 1 Attribute Motor Data Object Refer to 4.6.1 Run/Stop Event Matrix Control Supervisor ObjectE6581741 Run/Stop Event Matrix Control Supervisor State Transition DiagramState 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 65535 0x0001-0xFFFF0x0E GetAttributeSingle 0x10 SetAttributeSingle 0x01 GetAttributeAll 0x0E GetAttributeSingle Port Object 0xF4Read all attributes Read one attribute List of optional service codes Number of services Optional service listTCP/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 BitOutput Instance 0x0003 Input Instance Cmod is 0x0000 Examples of Instance 101/151Output 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 155 Toshiba specific input Instance 105 Toshiba specific outputInstance 105 mapping Bit Byte Output Instance 0x0000 0x0003 Input Instance Cmod is Examples of Instance 105/155Integration in RSLogix About EDS fileCreate 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 supportedFunction Code = 83h Exception Code = 0x03 Read Holding Registers functionIllegal Function Illegal Data Address Illegal Data Value Byte Meaning 0x06 Write Single Register functionFunction Code = 86h Exception Code = 0x10 Write Multiple Registers function Function Code = 17h 0x17 Read/Write Multiple Registers functionFunction Code = 97h Exception Code = 0x2B Read Device identification function Obj Length 27-30 Value 0106 Exception response format Obj Length 18-24 Value IPE002ZFunction Code = ABh Exception Code = Parameter data Presentation IO Scanning servicePeriodic 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 WiringDisconnection error of network cable Option errorUnusual 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