Cif Sdo Write Access - Mitsubishi Electric MELSEC-F FX3U-CAN User Manual

Hide thumbs Also See for MELSEC-F FX3U-CAN:
Table of Contents

Advertisement

FX
-CAN User's Manual
3U

10.2.3 CIF SDO write access

Description of CIF SDO write access is shown below.
The local FX
3U
Execution procedure: CIF SDO write access
1) Write the Node number and the Index / Sub-index of the target Object Dictionary to BFM #1001 to #1003.
2) Write the data length (in bytes) to be written, to BFM #1004, and the data to be written, to BFM #1005 to
# 1066.
3) Write the command code H0002 for SDO write access to BFM #1000.
When the command code H0002 is written to BFM #1000, the command is executed.
4) When the executed command is successful, H0003 is written to BFM #1000.
BFM No.
BFM #1000
BFM #1001
BFM #1002
BFM #1003
BFM #1004
BFM #1005 to #1066 Unused
Command Parameter Data Structure in BFM #1005 to #1066
BFM No.
BFM #1005
BFM #1006
BFM #1007
BFM #1008
BFM #1065
BFM #1066
Example Setting: When changing the NMT state of the whole network to state OPERATIONAL
Write to BFM #1000 to #1005 as follows according to the above-mentioned procedure.
Note
This procedure can only be performed when the FX
BFM No.
BFM #1000
BFM #1001
BFM #1002
BFM #1003
BFM #1004
BFM #1005
BFM #1006 to #1066
182
-CAN can be specified by its actual node number or by using "0".
→ If H000F or HFFFF is read from BFM #1000, refer to Section 10.9
FROM (Read Access)
H0003:
SDO write success
HFFFF:
CIF Busy
H000F:
Error
Node number (read back)
Index (read back)
Sub-index (read back)
Unused
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
FROM (Read Access)
SDO write success:
H0003
Node number (The FX
-CAN self):
3U
Index (Request NMT):
H1F82 (read back)
Sub-index (all nodes):
H80 (read back)
Unused
Description
Command H0002: SDO write
→ Refer to Section 10.9
Node number
Index
Sub-index
Data length (in byte)
Command parameter data
Low Byte
-CAN is set up as the master.
3U
Description
Command SDO write: H0002
H0
Node number (The FX
(read back)
Index (Request NMT):
Sub-index (all nodes):
Data length (1 byte):
Command parameter data (NMT service remote node): H05
Unused
10 Command Interface
10.2 SDO Request
TO (Write Access)
TO (Write Access)
-CAN self): H0
3U
H1F82
H80
K1

Advertisement

Table of Contents
loading

Table of Contents