EasyManua.ls Logo

Magnescale MG80-EI - CIP Communication (Explicit Message)

Magnescale MG80-EI
73 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
35
6.1.2. CIP communication (Explicit message)
Use CIP communication (Explicit message) to send commands from scanner
(PLC of EtherNet/IP device) to the MG80-EI at intended timing.
Commands such as parameter change, Reset, Preset Call, etc. are performed by
CIP communication.
Communication with MG80-EI is done by Instance Class 0x4.
Instance 104 Output (Scanner:PLC→Adapter:MG80-EI) 16byte
Instance 105 Input (Adapter:MG80-EI→Scanner:PLC) 16byte
Use the following information for command with CIP communication.
CIP information for command transmission
CIP information
Value
Description
Path
Class
4
CIP class 0x4
Instance
104
CIP object instance 104
Attribute
3
CIP attributes
Service
16
CIP service 0x10SetAttribute-Single
Transmission data
16Byte
16-byte transmission command data
The transmission command is 16 bytes including the dummy.
The data structure of the command is shown below.
Data structure of command transmission
Offset
Label
Item
Description
0
INC
Transmission
count
Set different value from the value used in previous
command.
1
CMD
Command
number
Set the command number (Hex value) to be sent.
*Refer to the CIP communication command list for
details.
2
RSV1
Reserved
Unused, it is set to zero.
3
RSV2
Reserved
Unused, it is set to zero.
415
DATA1
DATA12
Transmission
data
12 bytes data
*The description of the transmission data changed
due to the command to be transmitted.
The dummy part is filled with zeros.
For details, refer to 6.1.3. CIP communication
command list.