Download  Print this page

Sdo Request; Cif Sdo Read Access - Mitsubishi Electric MELSEC L-Series User Manual

Programmable logic controllers.
Hide thumbs

Advertisement

Command Interface
5.1

SDO Request

The NMT Master Startup process uses SDOs. An error may be returned by the CIF (command interface)
if during command execution the NMT Master accesses the remote node at the same time.
5.1.1

CIF SDO read access

Execution procedure: CIF SDO read access
● Write the command code 0004
● Write the Node number and the Index / Sub-index of the target Object Dictionary to Un\G1001
to Un\G1003.
● After writing all the necessary parameters turn ON Y(n+1)7 in order to trigger the command
execution. If the command execution is finished, X(n+1)7 will be turned ON.
● If the access has been successful, Un\G1000 will contain "5" and Un\G1001 to Un\G1003 will
contain the node number, index and sub index for verification purposes. The length of the read
data (in byte) will be stored in Un\G1004. Un\G1005 to Un\G1066 will contain up to 124 data bytes.
Buffer memory allocation
Address
(Decimal)
1000
1001
1002
1003
1004
1005–1066
Tab. 5-2:
Node number 0 is accessing the local ME3CAN1-L modules Object Dictionary, regardless of its real node address. This is
useful as the configuration of the local node can be programmed independently from the node address.
Result data structure in Un\G1005 to Un\G1066
Address
(Decimal)
1005
1006
1007
1008
:
:
1065
1066
5 – 2
H
Description
Transmit message
Command 0004
: SDO read
H
Node number
Index
Low byte: Sub index
High byte: Reserved
Unused
Unused
Buffer memory allocation for CIF SDO read access
Description
High Byte
2nd data byte
1st data byte
4th data byte
3rd data byte
6th data byte
5th data byte
8th data byte
7th data byte
:
:
122nd data byte
121st data byte
124th data byte
123rd data byte
for SDO read access to Un\G1000.
Receive message
0005
000F
FFFF
Node number
Index (read back)
Sub index (read back)
Data length (read back)
Result data
Tab. 5-3:
Low Byte
Result data structure
:
:
SDO Request
: SDO read success
H
: Error (Refer to section 5.4)
H
: CIF Busy
H
(read back)
MITSUBISHI ELECTRIC

Advertisement

Table of Contents

   Related Manuals for Mitsubishi Electric MELSEC L-Series

   Related Content for Mitsubishi Electric MELSEC L-Series

This manual is also suitable for:

Canopen me3can1-l

Comments to this Manuals

Symbols: 0
Latest comments: