Delta AHCPU560-EN2 Series Operation Manual page 63

Ethernet/ip
Table of Contents

Advertisement

Mode
SerCode (Service Code)
ClassId (Class number)
InstId (Instance number)
AttrId (Attribute number)
Size (Parameter type)
Data (Starting value)
Don (Completion bit )
Error (Error bit )
ErrCode (Error code)
Value (Return Data)
Setups for the explicit message connection:
0: UCMM: do not create a CIP connection.
1: Connected then close conn; after the transmission is done, close the
connection.
2. Connected then keep conn; after the transmission is done, keep the
connection.
EtherNet/IP standard service code is similar to the function code. The
service codes specify the actions going to take. Delta products support
the following service codes.
0x01 – read every Attribute;
0x0E – read a single one Attribute;
0x05 – reset from the adapter;
0x10 – write a single one Attribute
Attribute is the basics of the EtherNet/IP, used for identifying
configurable parameters (Class) within a device.
Attribute is the basics of the EtherNet/IP, used for identifying
configurable parameters (Instance) within a device.
Attribute is the basics of the EtherNet/IP, used for identifying
configurable parameters (Attribute) within a device.
If the scanner wants to write a parameter data to the adapter, the
parameter type should be also written in. The unit for this parameter is
byte. When the Size is 1, it means the parameter type is BYTE. When
the Size is 2, it means the parameter type is WORD. When the Size is 4,
it means the parameter type is DWORD.
If the scanner wants to write a parameter data to the adapter, the
parameter to be written can be typed or can use the starting register
address. The scanner will send the values in the Data to the adapter.
The Data length is determined by the Size. The storing order of the
values in the Data will be little-endian first and then big-endian. If
Data=D0, Size=4, the D0 little-endian will be stored first and then the D0
big-endian, D1 little-endian and then D1 big-endian.
When the operation is complete, the Don bit will be On.
While an error occurs, an Error bit will be On, and an error code will be
shown in the ERRCode.
Error codes (refer to the following table)
16#00 indicates a successful communication.
After the function blocks are executed successfully, the AH10EN-5A will
put the read value to the parameter assigned registers, low bytes first
and the high bytes.
Chapt er 5 Pro gram mi ng
WORD
WORD
WORD
WORD
WORD
WORD
WORD
BOOL
BOOL
WORD
WORD
5_
5 - 3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents