Siemens MICROMASTER 420 Operating Instructions Manual page 41

Canopen option module
Hide thumbs Also See for MICROMASTER 420:
Table of Contents

Advertisement

Issue 01/05
You must proceed as follows to write into a MICROMASTER parameter via the
SDO<->parameter channel:
Firstly, the parameter number of the PKW object, specified as a decimal number,
must be converted into a hexadecimal value.
After this, 2000H must be added to the hexadecimal parameter value. This is then
the object number that is used for the SDO access operation (reading or writing).
The numerical sequence after the point in the specification of the PKW object
generally corresponds to the subindex number of the CANopen object. It only has
to be converted from a decimal number into a hexadecimal number. In order to be
able to write into the parameter, in addition, the data type - e.g. unsigned 16 (U16)
- must be taken from the MICROMASTER parameter list.
The following diagram again clearly shows how to work with the SDO parameter
channel:
Reading
Reading
objects via SDO
Reading an
NO
object from
the object list
Section 3.1
Take a parameter
number from the
MICROMASTER
parameter list
Convert
parameter number
into a hexadecimal value
Add 2000H
to the converter
hexadecimal value
Take the access type
from the
MICROMASTER
parameter list
Object can
be read acc. to the
MICROMASTER
parameter list
?
Object cannot
be read
YES
Enter the object index
(parameter No. in hex
+ 2000H) and sub-index
in the telegram acc. to
Table 3-5
Fig. 3-10
Reading / writing PKW objects via SDO
CANopen Option Module
Operating Instructions
6SE6400-5BC00-0BP0
YES
?
Object index,
sub-index
from the list,
Section 3.1
Access type
from list,
Section 3.1
Object can be
NO
read acc. to list,
Section 3.1
?
YES
Telegram structure
acc. to Table 3-5
Data transfer using CANopen
Write
Writing
objects via SDO
Writing an
NO
object from the
object list,
Section 3.1
?
Take a parameter
number from the
MICROMASTER
parameter list
Convert
parameter number
into a hexadecimal value
Add 2000H
from the converted
hexadecimal value
Take the access type
from the
MICROMASTER
parameter list
Object can
be written into acc.
NO
to the MICROMASTER
parameter list
?
Object cannot
be written into
YES
Telegram structure
acc. to Table 3-3
YES
Object index,
sub-index
from the list,
Section 3.1
Access type
from list,
Section 3.1
Object can
be written
into acc. to list,
Section 3.1
?
YES
Telegram structure
acc. to Table 3-3
41

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Micromaster 440Micromaster 430

Table of Contents