DeviceNet_A1_ots
DeviceNet_A1_ots
User Documentation
Description 1
Definition of
DeviceNet 2
MICROMASTER Connecting up to
DeviceNet 4
DeviceNet Option Module
Starting up the
DeviceNet Module 5
Diagnostics and
Troubleshooting 7
Appendix 8
MICROMASTER 4 09.01
Edition A1
Further information can be obtained from Internet website:
http://www.siemens.de/micromaster
Approved Siemens Quality for Software and Training Other functions not described in this document may be
is to DIN ISO 9001, Reg. No. 2160-01 available. However, this fact shall not constitute an obligation
to supply such functions with a new control, or when
The reproduction, transmission or use of this document, or its servicing.
contents is not permitted unless authorized in writing. We have checked that the contents of this document
Offenders will be liable for damages. All rights including rights correspond to the hardware and software described. There
created by patent grant or registration of a utility model or may be discrepancies nevertheless, and no guarantee can be
design are reserved. given that they are completely identical. The information
contained in this document is reviewed regularly and any
© Siemens AG 2001. All Rights Reserved. necessary changes will be included in the next edition. We
welcome suggestions for improvement.
MICROMASTER® is a registered trademark of Siemens Siemens handbooks are printed on chlorine-free paper that
DeviceNetÔ is a trademark of Open DeviceNet Vendor has been produced from managed sustainable forests. No
Association (O.D.V.A.) solvents have been used in the printing or binding process.
Document subject to change without prior notice.
Definitions, warnings
Qualified personnel
For the purpose of this Instruction Manual and product labels, a "Qualified person"
is someone who is familiar with the installation, mounting, start-up and operation of
the equipment and the hazards involved.
He or she must have the following qualifications:
Ø Trained and authorized to energize, de-energize, clear, ground and tag circuits
and equipment in accordance with established safety procedures.
Ø Trained in the proper care and use of protective equipment in accordance with
established safety procedures.
Ø Trained in rendering first aid.
Safety guidelines
This manual contains notices intended to ensure your personal safety, as well as to
protect products and connected equipment against damage. Information relating to
your personal safety is highlighted by a warning triangle. Warnings about property
damage are displayed without a warning triangle. Depending on the degree of risk
involved, safety-related information is presented in the following categories:
DANGER
! For the purpose of this documentation and the product warning labels, "Danger"
indicates that death, severe personal injury or substantial damage to property will
result if proper precautions are not taken.
WARNING
! For the purpose of this documentation and the product warning labels, "Warning"
indicates that death, severe personal injury or substantial damage to property can
result if proper precautions are not taken.
CAUTION
! With a warning triangle, "Caution" indicates that minor personal injury can result if
proper precautions are not taken.
CAUTION
Without a warning triangle, "Caution" indicates that material damage can result if
proper precautions are not taken.
ATTENTION
indicates that an undesirable effect or state can occur if attention is not paid to the
advice given.
NOTE
For the purpose of this documentation, "Note" indicates important information
relating to the product or highlights part of the documentation for special attention.
User documentation
WARNING
! Before installing and commissioning, please read these safety instructions and
warnings carefully and all the warning labels attached to the equipment. Make sure
that the warning labels are kept in a legible condition and replace missing or
damaged labels.
Proper use
Please note the following:
WARNING
Table of Contents
1 Description ................................................................................................................ 9
2 Definition of DeviceNet............................................................................................. 11
8 Appendix.................................................................................................................... 55
8.1 Technical Data ............................................................................................................ 55
8.2 EMC Information ......................................................................................................... 55
1 Description
The DNM communication option module (DeviceNetÔ Module) is for linking the
MICROMASTER 4 series drives to higher-level automation systems via DeviceNet.
MICROMASTER
DeviceNet defined WARNING!
DANGEROUS
ACHTUNG!
SPANNUNG
Combined Module/
DISCHARGE ENTLADEZEIT
MNS
Network Status
(MNS) LED
Removable
DeviceNet
Connector
Technical Data
A standard DeviceNet Combined Module/Network Status LED provides the user
with fast information regarding the instantaneous status of the DeviceNet option
module. More detailed diagnostic information can be directly read-out of the
DeviceNet option module diagnostics memory using a diagnostics parameter.
The DeviceNet option module is technically described by DeviceNet as an isolated
node with transceiver powered by the DeviceNet network. This means that the
module is powered by both the DeviceNet network and the MICROMASTER 4
drive. In this case, the transceiver and half of the optocouplers are powered by the
network and the rest of the module is powered by the MICROMASTER 4 drive
which is connected to an AC line.
The DeviceNet option module uses a DeviceNet standard pluggable 5-pin open
connector.
The DeviceNet option module operates at 125, 250 and 500 kBaud.
Functionality
Ø The MICROMASTER 4 DeviceNet option module supports both DeviceNet
Explicit Messages and I/O Messages to implement the equivalent of the
process data and parameter data portions of drive communications.
Ø The MICROMASTER 4 DeviceNet option module supports the Predefined
Master/Slave Connection Set as defined in the DeviceNet specification. Poll
I/O messages are supported.
Ø The MICROMASTER 4 DeviceNet option module follows the DeviceNet Device
Profile for the Communication Adapter (Device Type 12). The Communication
Adapter Profile was chosen so that all the flexibility and advanced features of
the MICROMASTER 4 Drive could be used by the DeviceNet master by using
vendor specific assemblies.
Ø The vendor specific PKW object is used to read and change drive parameters
by the master using DeviceNet. The explicit messaging channel is used. Using
this PKW object, the user has free access to all parameters in the base drive
via DeviceNet. Examples include: Reading-out detailed diagnostic information,
fault messages etc. Thus, without influencing the performance of the process
data transfer, additional information can be requested by a higher-level system
(for example a PC) for drive visualization.
2 Definition of DeviceNet
Definition
DeviceNet is an international, open fieldbus standard maintained by the Open
DeviceNet Vendor Association (O.D.V.A.). The DeviceNet communication link is
based on a broadcast-oriented, communications protocol – the Controller Area
Network (CAN). DeviceNet has been standardized by CENELEC as EN 50325
The actual CAN data telegram consists of the protocol header, the CAN identifier,
up to 8 bytes of useful data and the protocol trailer. However, the methods used by
DeviceNet allow a useful data area to be any reasonable length. If data longer than
8 bytes is required, a fragmentation protocol allows the data to be sent as series of
telegrams.
General Information
When transferring useful data on DeviceNet, a differentiation is made between
process data (PZD) and parameter data (PKW).
The process data area for MICROMASTER 4 drives consists of up to 10 words
(depending on the model number of the MICROMASTER 4 drive). Normally only
process data is used to communicate to the drive by sending and receiving PZD
data. This process data is sent by a DeviceNet method called ²polled I/O².
The DeviceNet option module groups these 10 words into 4 choices:
(1) the first 4 PZD words in a freely assignable (BICO) form
(2) the first 6 PZD words in a freely assignable (BICO) form
(not available on the MICROMASTER 420 drive)
(3) the first 8 PZD words in a freely assignable (BICO) form
(not available on the MICROMASTER 420 drive)
(4) the first 10PZD words in a freely assignable (BICO) form
(not available on the MICROMASTER 420 drive)
Entirely separate from the process data, the PKW data is used for parameter
access. It is normally not used by DeviceNet– since drive commissioning is
performed by DriveMonitor/STARTER, Drive ES or other means.
Using the vendor specific PKW object (which will be described later), the PKW
useful data area consists of:
(1) 2 words or 4 bytes for parameter value read tasks
(called a “Get” DeviceNet service)
(2) 4 words or 8 bytes for parameter value change tasks
(called a “Set” DeviceNet service)
(3) 3 words or 6 bytes for parameter value responses.
Assembly #120
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Control word 1 (LOW BYTE)
1 Control word 1 (HIGH BYTE)
2 Reference PZD WORD 2 (LOW BYTE)
3 Reference PZD WORD 2 (HIGH BYTE)
4 Reference PZD WORD 3 (LOW BYTE)
5 Reference PZD WORD 3 (HIGH BYTE)
6 Control word 2 (LOW BYTE)
7 Control word 2 (HIGH BYTE)
Assembly #121
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Control word 1 (LOW BYTE)
1 Control word 1 (HIGH BYTE)
2 Reference PZD WORD 2 (LOW BYTE)
3 Reference PZD WORD 2 (HIGH BYTE)
4 Reference PZD WORD 3 (LOW BYTE)
5 Reference PZD WORD 3 (HIGH BYTE)
6 Control word 2 (LOW BYTE)
7 Control word 2 (HIGH BYTE)
8 Reference PZD WORD 5 (LOW BYTE)
9 Reference PZD WORD 5 (HIGH BYTE)
10 Reference PZD WORD 6 (LOW BYTE)
11 Reference PZD WORD 6 (HIGH BYTE)
Assembly #122
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Control word 1 (LOW BYTE)
1 Control word 1 (HIGH BYTE)
2 Reference PZD WORD 2 (LOW BYTE)
3 Reference PZD WORD 2 (HIGH BYTE)
4 Reference PZD WORD 3 (LOW BYTE)
5 Reference PZD WORD 3 (HIGH BYTE)
6 Control word 2 (LOW BYTE)
7 Control word 2 (HIGH BYTE)
8 Reference PZD WORD 5 (LOW BYTE)
9 Reference PZD WORD 5 (HIGH BYTE)
10 Reference PZD WORD 6 (LOW BYTE)
11 Reference PZD WORD 6 (HIGH BYTE)
12 Reference PZD WORD 7 (LOW BYTE)
13 Reference PZD WORD 7 (HIGH BYTE)
14 Reference PZD WORD 8 (LOW BYTE)
15 Reference PZD WORD 8 (HIGH BYTE)
Assembly #123
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Control word 1 (LOW BYTE)
1 Control word 1 (HIGH BYTE)
2 Reference PZD WORD 2 (LOW BYTE)
3 Reference PZD WORD 2 (HIGH BYTE)
4 Reference PZD WORD 3 (LOW BYTE)
5 Reference PZD WORD 3 (HIGH BYTE)
6 Control word 2 (LOW BYTE)
7 Control word 2 (HIGH BYTE)
8 Reference PZD WORD 5 (LOW BYTE)
9 Reference PZD WORD 5 (HIGH BYTE)
10 Reference PZD WORD 6 (LOW BYTE)
11 Reference PZD WORD 6 (HIGH BYTE)
12 Reference PZD WORD 7 (LOW BYTE)
13 Reference PZD WORD 7 (HIGH BYTE)
14 Reference PZD WORD 8 (LOW BYTE)
15 Reference PZD WORD 8 (HIGH BYTE)
16 Reference PZD WORD 9 (LOW BYTE)
17 Reference PZD WORD 9 (HIGH BYTE)
18 Reference PZD WORD 10 (LOW BYTE)
19 Reference PZD WORD 10 (HIGH BYTE)
Normally, control word 1 will be received by the drive as the first word in the I/O
consumed connection.
Normally, control word 2 will be received by the drive as the fourth word in the I/O
consumed connection.
Assembly #170
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Status word 1 (LOW BYTE)
1 Status word 1 (HIGH BYTE)
2 Actual value PZD WORD 2 (LOW BYTE)
3 Actual value PZD WORD 2 (HIGH BYTE)
4 Actual value PZD WORD 3 (LOW BYTE)
5 Actual value PZD WORD 3 (HIGH BYTE)
6 Status word 2 (LOW BYTE)
7 Status word 2 (HIGH BYTE)
Assembly #171
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Status word 1 (LOW BYTE)
1 Status word 1 (HIGH BYTE)
2 Actual value PZD WORD 2 (LOW BYTE)
3 Actual value PZD WORD 2 (HIGH BYTE)
4 Actual value PZD WORD 3 (LOW BYTE)
5 Actual value PZD WORD 3 (HIGH BYTE)
6 Status word 2 (LOW BYTE)
7 Status word 2 (HIGH BYTE)
8 Actual value PZD WORD 5 (LOW BYTE)
9 Actual value PZD WORD 5 (HIGH BYTE)
10 Actual value PZD WORD 6 (LOW BYTE)
11 Actual value PZD WORD 6 (HIGH BYTE)
Assembly #172
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Status word 1 (LOW BYTE)
1 Status word 1 (HIGH BYTE)
2 Actual value PZD WORD 2 (LOW BYTE)
3 Actual value PZD WORD 2 (HIGH BYTE)
4 Actual value PZD WORD 3 (LOW BYTE)
5 Actual value PZD WORD 3 (HIGH BYTE)
6 Status word 2 (LOW BYTE)
7 Status word 2 (HIGH BYTE)
8 Actual value PZD WORD 5 (LOW BYTE)
9 Actual value PZD WORD 5 (HIGH BYTE)
10 Actual value PZD WORD 6 (LOW BYTE)
11 Actual value PZD WORD 6 (HIGH BYTE)
12 Actual value PZD WORD 7 (LOW BYTE)
13 Actual value PZD WORD 7 (HIGH BYTE)
14 Actual value PZD WORD 8 (LOW BYTE)
15 Actual value PZD WORD 8 (HIGH BYTE)
Assembly #173
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Status word 1 (LOW BYTE)
1 Status word 1 (HIGH BYTE)
2 Actual value PZD WORD 2 (LOW BYTE)
3 Actual value PZD WORD 2 (HIGH BYTE)
4 Actual value PZD WORD 3 (LOW BYTE)
5 Actual value PZD WORD 3 (HIGH BYTE)
6 Status word 2 (LOW BYTE)
7 Status word 2 (HIGH BYTE)
8 Actual value PZD WORD 5 (LOW BYTE)
9 Actual value PZD WORD 5 (HIGH BYTE)
10 Actual value PZD WORD 6 (LOW BYTE)
11 Actual value PZD WORD 6 (HIGH BYTE)
12 Actual value PZD WORD 7 (LOW BYTE)
13 Actual value PZD WORD 7 (HIGH BYTE)
14 Actual value PZD WORD 8 (LOW BYTE)
15 Actual value PZD WORD 8 (HIGH BYTE)
16 Actual value PZD WORD 9 (LOW BYTE)
17 Actual value PZD WORD 9 (HIGH BYTE)
18 Actual value PZD WORD 10 (LOW BYTE)
19 Actual value PZD WORD 10 (HIGH BYTE)
Normally, status word 1 will be sent by the drive as the first word in the I/O
produced connection.
Normally status word 2 will be sent by the drive as the fourth word in the I/O
produced connection.
For the response telegram (drive ® DeviceNet master), you can take the
significance of the response ID from Table 3-2. It also corresponds to the
definitions in the “PROFIBUS profile variable-speed drives“. Supplement “Version
3.0“ to this profile should be used. Depending on the task ID, only certain
response IDs are possible. If the response ID has the value 7 (task cannot be
executed), then an error number is deposited in parameter value1 (PWE1).
Response Significance
ID
0 No response
1 Transfer parameter value for non-indexed parameters (word)
2 Transfer parameter value for non-indexed parameters (double word)
3 Transfer descriptive element (not supported by DNM)
4 Transfer parameter value (array word) for indexed parameters2
5 Transfer parameter value (array double word) for indexed parameters 2
6 Transfer the number of array elements
7 Task cannot be executed (with error number)
8 No operator change rights for the PKW interface
2 The required element of the indexed parameter is specified in IND
Error numbers for the response ‘task cannot be executed’ (drive parameters). The
error numbers are transferred in the PWE1 word of the response.
No. Significance
0 Illegal parameter No. (PNU) If the PNU does not exist
1 Parameter value cannot be changed If the parameter is a read-only parameter
2 Upper or lower limit exceeded -
3 Erroneous sub-index -
4 No array For tasks for indexed parameters to a non-
indexed parameter.
For example: task: ‘Change parameter value
(word, array)’ for non-indexed parameter
5 Incorrect data type Mix-up between word and double word
6 Setting not allowed (can only be reset) -
7 Descriptive element cannot be changed Task not possible for MICROMASTER 4
11 No status as master control Change request without status as master
control (see P0927)
12 Key word missing Drive parameter: ‘Access key’ and/or ‘special
parameter access’ not correctly set
17 Task cannot be executed as a result of the Drive state doesn’t permit the presently issued
operating state task
101 Parameter No. presently de-activated Dependent on drive status
102 Channel width too low Parameter response too long for telegram
103 Incorrect index number Index response from base unit did not match
index requested
104 Invalid parameter value Parameter permits only certain values
106 Task is not implemented -
200/ Modified minimum/maximum not Minimum/maximum can be further limited in
201 reached/exceeded operation
204 Available access authorization does not cover -
modification of parameters
Parameter ID (PKE)
Bit No.: 15 12 11 10 0
AK PNU
Task ID
Byte 1 Byte 0
Binary value 0 1 1 0 0 0 1 1 1 1 0 0 0 1 0 0
HEX value 6 3 C 4
Parameter ID (PKE)
Bit No.: 15 12 11 10 0
AK PNU
Response ID
Byte 1 Byte 0
Binary value 0 1 0 0 0 0 1 1 1 1 0 0 0 1 0 0
HEX value 4 3 C 4
Parameter ID (PKE)
Bit No.: 15 12 11 10 0
AK PNU
Task ID
Byte 1 Byte 0
Binary value 1 1 1 0 0 1 0 0 1 0 1 1 0 0 1 1
HEX value E 4 B 3
Bit 12..15: Value = 14 (= “E” hex); change parameter value (word) and
store in the EEPROM
Bit 0..11: Value = 1203 (= “4B3” hex); parameter number without set
parameter change report
Parameter ID (PKE)
Bit No.: 15 12 11 10 0
AK PNU
Task ID
Byte 1 Byte 0
Binary value 0 0 0 1 0 1 0 0 1 0 1 1 0 0 1 1
HEX value 1 4 B 3
Bit 12..15: Value = 1 (= “1” hex); transfer parameter value for non-
indexed parameters (word)
Bit 0..11: Value = 1203 (= “4B3” hex); parameter number without set
parameter change report
The index is an 8-bit value, and for DeviceNet, is always transferred in the least
significant byte (bits 0 to 7) of the parameter index (IND). The most significant
byte (bits 8 to 15) of the parameter index (IND) has the “Page Select” bit (bit 15)
and seven bits (bits 8 to 14) of 0. If this most significant byte (high byte) = 00, then
the PKE requests the P or r base board parameters P0000 to P1999. If this most
significant byte (high byte) is = 80 hex, then the PKE requests base board
parameters P2000 to P3999.
For an indexed parameter, the required index is transferred. The significance of the
indices can be taken from the Section “Parameter list” of the drive Instruction
Manual.
For a descriptive element, the number of the required element is transferred. The
significance of the descriptive elements can be taken from the “PROFIBUS profile
variable-speed drives“. Supplement “Version 3.0“ to this profile should be used.
Parameter index(IND)
Bit No.: 15 14 8 7 0
Byte 3 Byte 2
Binary value 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
HEX value 0 0 0 2
Parameter index(IND)
Bit No.: 15 14 8 7 0
Byte 3 Byte 2
Binary value 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
HEX value 0 0 0 0
The parameter value (PWE) is always transferred as double word (32 bit). Only
one parameter value can be transferred in a telegram.
A 32-bit parameter value is comprised of PWE1 (least significant word) and PWE2
(most significant word).
A 16-bit parameter value is transferred in PWE1 (least significant word). In this
case, PWE2 (most significant word), must be set to 0.
Bits 0..15: Parameter value for 16-bit parameter or low component for 32-
bit parameter
Bits 16..31: Value = 0 for 16-bit parameter or high component for 32-bit
parameter
Bits 0..15: Parameter value for 16-bit parameter or low component for 32-
bit parameter
Bits 16..31: Value = 0 for 16-bit parameter or high component for 32-bit
parameter
4 Connecting up to DeviceNet
Assignment of plug in connector
The DNM option module uses the open style 5-position (COMBICON – Phoenix)
connectors to provide the physical connection to the bus. Refer to the DeviceNet
Specification.
Table 4-1 PIN-Assignment for DeviceNet Connector
Removable Network
Connector
(Female Contacts)
Device Connector
Fixed on DNM
(Female Contacts)
NOTE
Thin cable may be used as trunk. Maximum distance is 100 meters (328 feet) for
any baud rate.
Bus Termination
To guarantee fault-free operation of the DeviceNet bus, the bus cable must be
terminated using bus terminating resistors at both ends of the trunk as described in
the DeviceNet specifications.
The resistor requirements are:
Ø 121 ohm
Ø 1% Metal Film
Ø ¼ Watt
Ground Connection
Grounding of the DeviceNet bus is described in the DeviceNet specification. The
specification follows:
“DeviceNet should be grounded at ONE location. Grounding at more then one
location may produce ground loops, while not grounding the network will increase
sensitivity to ESD and outside noise sources. The single grounding location should
be at a power tap. Sealed DeviceNet power taps are designed to accommodate
grounding. Grounding near the physical center of the network is also desired.”
“The trunk drain/shield should be attached to the power supply ground or V- with a
copper conductor that is either solid, stranded, or braided. Use a 1” copper braid or
a #8 AWG wire that is less than 3 meters/10 feet in length. This should then be
attached to a good earth or building ground (such as an 8 foot stake driven into the
ground, attached to building iron or to the cold water plumbing).”
“If the network is already grounded, do NOT connect the grounding terminal of the
tap or ground of the supply to earth. If more than one supply is on the network,
then connect the drain wire/shield at ONE supply only, preferably near the physical
center of the network.”
Regulator
V+
CAN+
Shield
CAN-
V-
Figure 4-1
The following parameters must be set to start up the DeviceNet optional board:
Parameter Description
P0918 DeviceNet MAC ID (node address of the drive)
P2040 Process data telegram failure time
P2041 Communication board functions
(for setting other DeviceNet characteristics)
P0719 Command/Setpoint source selection (for simple applications)
P0700 Selection of command source (for complex applications)
P1000 Selection of frequency setpoint (for complex applications)
r2050 Process data setpoint selection (BICO) (for complex applications)
P2051 Selection of process data actual values (BICO)
P0927 Modification source for parameters
r2053 Software version and other software information of the DNM
(see Section 7.4)
r2054 Communication board diagnostics (see Section 7.3)
Important NOTE
Parameter settings directly affecting DeviceNet (P0918 and P2041) do not take
effect until the converter has been restarted cold again. This cold restart must be
initiated by switching the power off and then on again.
NOTE
Some of the examples show only 4 PZD words which is the maximum capability of
the MICROMASTER 420. Other models of the MICROMASTER 4 family will have
a larger capability. The DNM has the capability of handling up to 10 PZD words
depending on the capability of the attached base MICROMASTER 4.
NOTE
r2050 also acts as a display parameter by which the setpoints received from the
DeviceNet master can be checked. These displays are always in decimal – for
example if r2050.00 = 1150, this would be 047E in hex.
The default setting for all bits is 1, that is parameters can be modified from all
sources.
TXID = 05 (range 01 to FF hex = 1 to 255) should be incremented by PLC logic before each new
request
Command = 01 (always 01) execute transaction block
Port = 00 (range 00 to 01) DeviceNet port of scanner for command
(00 = Channel A, 01 = Channel B)
Size = 0A hex (choice of 0A hex for Get Single or 0E hex for Set Single)
Service = 0E hex (choice of 0E hex = 14 for Get Single or 10 hex = 16 for Set Single)
MAC ID = 03 (range 00 to 3F hex = 0 to 63) address of drive set in P0918
Class = 64 hex (always 64 hex) class number of PKW object
Instance = 01 (always 01)
Attribute = 01 (always 01)
PKE = 63C4 hex (range 0000 to FFFF hex) 63C4 hex = Read array parameter r964.002 – for more
details, refer to PKE Example 1: Read value of parameter r964.002 section 3.2.7
previously
IND = 0002 hex (range low byte = 00 to FF hex = 0 to 255), high byte = 0 (may be non-zero in future)
0002 hex = index 2 – for more details, refer to example 1 in the Parameter index (IND)
section 3.2.9 previously
TXID = 06 (range 01 to FF hex = 1 to 255) should be incremented by PLC logic before each new
request
Command = 01 (always 01) execute transaction block
Port = 00 (range 00 to 01) DeviceNet port of scanner for command
(00 = Channel A, 01 = Channel B)
Size = 0E hex (choice of 0A hex for Get Single or 0E hex for Set Single)
Service = 10 hex (choice of 0E hex = 14 for Get Single or 10 hex = 16 for Set Single)
MAC ID = 03 (range 00 to 3F hex = 0 to 63) address of drive set in P0918
Class = 64 hex (always 64 hex) class number of PKW object
Instance = 01 (always 01)
Attribute = 01 (always 01)
PKE = E4B3 hex (range 0000 to FFFF hex) E4B3 hex = Set non-indexed parameter P1203 – for more
details, refer to PKE Example 2: Set value of parameter P1203 section 3.2.8 previously
IND = 0000 hex (range low byte = 00 to FF hex = 0 to 255), high byte = 0 (may be non-zero in future)
0000 hex = index 0 – for more details, refer to example 2 in the Parameter index (IND)
section 3.2.9 previously
PWE = 0063 hex new 16 bit value of parameter P1203 – high word is not used for 16 bit values and is set
to 0 -- for more details, refer to example 2 in the Parameter value (PWE) section 3.2.12
previously
Warnings
Table 7-1 Warnings Displayed on the Drive
Alarm- Description
number
A700 Cause: DeviceNet idle condition warning.
A zero length PZD data telegram has been received through the poll I/O
message channel. The alarm will be reset when a normal length PZD data
telegram is received.
Extra Information: The telegram is ignored. Data which was last sent remains
valid. Depending on the communication failure monitoring setting (P2040),
fault F0070 can be initiated.
Remedy: Check the DeviceNet bus master. Some PLCs will send an idle
condition when they are put in the “program” mode.
A701 Cause: CAN error warning
Erroneous DeviceNet CAN messages are received or sent and the internal
hardware fault counter has exceeded the alarm limit. The CAN hardware chip
detects and clears this condition.
Extra Information: The erroneous CAN messages are not used. Data which
was last sent remains valid. If the erroneous data is process data, depending
on the telegram failure monitoring setting (P2040), fault F0070 can be
initiated. There is no response in the drive if the PKW Object or other
DeviceNet explicit messages are erroneous.
Remedy:
Ø Check and if required correct parameter P2041.02 (baud rate) for every
bus node.
Ø Check the cable connection between the bus nodes
Ø Check the cable shielding. Follow DeviceNet specifications
Ø Replace the DNM
Faults
Table 7-2 Faults Displayed on the Drive
Fault Description
number
F070 Cause: The communication failure monitoring time, set by parameter P2040,
has expired. The drive monitors this time.
Extra Information: Also refer to alarms A700, A701, A702.
Remedy:
Ø Check if DeviceNet master has stopped or is in „program“ mode.
Ø Check the cable connection between the bus nodes
Ø Check the cable shielding. Follow DeviceNet specifications
Ø Check and if the communication monitoring time has been set too short in
parameter P2040.
Ø Replace the DNM
Standard Diagnostics
P2041.03 = 0
Parameter Description
r2054.00 Configuring error ID
If an invalid value or an illegal combination of parameter values is contained
in the CB parameters, the drive goes into a alarm condition with alarm A711.
The cause can be determined using this CB diagnostics parameter:
0: No error
1: Invalid DeviceNet MAC ID (slave address - range 0 to 63) (P0918)
2: Invalid DeviceNet polled I/O produced connection path (P2041.00)
3: Unsupported produced connection path (P2041.00) – it is valid but the
attached MICROMASTER 4 model cannot support the length
4: Invalid DeviceNet polled I/O consumed connection path (P2041.01)
5: Unsupported consumed connection path (P2041.01) – it is valid but the
attached MICROMASTER 4 model cannot support the length
6: Invalid DeviceNet baud rate (P2041.02)
(>100: other diagnostic mode active, see Software-Failure Diagnostic
later in this section)
r2054.01 DeviceNet channel allocation
This display is a hexadecimal number. Each bit is a channel. Bit coding:
Bit 0: 1 = Explicit Channel allocated
Bit 1: 1 = I/O Poll Channel Channel allocated
Examples:
Ø r2054.01 = 1 means only Explicit Channel is allocated.
Ø r2054.01 = 2 means only I/O Poll Channel is allocated.
Ø r2054.01 = 3 means both Explicit and I/O Poll Channels are allocated.
r2054.02 DeviceNet IDLE Indicator
0: Device is not in IDLE condition.
Ø A non-zero length POLL command was the latest data received.
1: Device is in IDLE condition. Also refer to alarm A700 in section 7.2.
Ø A zero length POLL command was the latest data received.
r2054.03 Counter for PZD telegrams received error-free since power on.
r2054.04 Counter for telegrams transmitted since power on.
r2054.05 Counter for all telegrams received error-free since power-on.
This counter includes all DeviceNet messages, including those not directed
to this DNM.
r2054.06 Status of DeviceNet bus voltage sensor:
0: bus voltage steady off
1: bus voltage just turned on
2: bus voltage steady on
3: bus voltage just turned off
Parameter Description
r2053.00 module type (2 = DeviceNet)
r2053.01 version (11 = version 1.1) this is the same version displayed to DeviceNet
r2053.02 for factory use only
r2053.03 year of software
th
r2053.04 day / month (2404 = 24 of April) of software
8 Appendix
Suggestions
To
Corrections
Siemens AG
Automation & Drives For Publication/Manual:
Group
MICROMASTER
SD VM 4 DeviceNet Option Module
P.O. Box 3269
D-91050 Erlangen
Federal Republic of Germany
Fax: ________ /
Siemens AG
Automation and Drives Group (A&D)
Standard Drives (SD) Division
Postfach 3269, D-91050 Erlangen © Siemens AG, 2001
Federal Republic of Germany Subject to change without prior notice