Professional Documents
Culture Documents
SP-03-018 Interface Specification, MC-LINK-DN With B-Series Software
SP-03-018 Interface Specification, MC-LINK-DN With B-Series Software
SP-03-018 Interface Specification, MC-LINK-DN With B-Series Software
Document number
SP-03-018
Revision 1 2 3
Date 2003.11.14 2009-04-22 2009-05-15
Prepared by JanL CN CN
Checked by A.Leren JanL JanL
Approved by JanL CN CN
SP-03-018 Rev. 3
Micro-control as Interface Specification, MC-LINK-DN with B-series Software Page 2 of 17
Table of Contents
1. General ........................................................................................................................................ 3
1.1 Revision history ........................................................................................................................ 3
1.2 Purpose .................................................................................................................................... 3
1.3 References ............................................................................................................................... 3
1.4 Terms and abbreviations .......................................................................................................... 3
1.5 Quick startup guide................................................................................................................... 4
2. System description .................................................................................................................... 4
2.1 Introduction ............................................................................................................................... 4
2.2 Different system types .............................................................................................................. 4
2.2.1 Duplex system ................................................................................................................... 4
2.2.2 Simplex system ................................................................................................................. 4
2.2.3 Polled system .................................................................................................................... 4
2.3 Optional system features.......................................................................................................... 5
2.3.1 Multiple radio frequencies ................................................................................................. 5
2.3.2 Multiple remote controls .................................................................................................... 5
2.3.3 Multiple select functions .................................................................................................... 6
2.3.4 Dynamic polling ................................................................................................................. 6
2.4 Optional hardware features ...................................................................................................... 6
2.4.1 E-stop relay output ............................................................................................................ 6
2.4.2 Remote stop relay output .................................................................................................. 6
2.4.3 Function relay outputs ....................................................................................................... 7
2.4.4 Radio/Cable switch............................................................................................................ 7
3. Interface specification ............................................................................................................... 7
3.1 General ..................................................................................................................................... 7
3.1.1 Compliance ....................................................................................................................... 7
3.1.2 EDS-file ............................................................................................................................. 7
3.1.3 Byte to word mapping........................................................................................................ 8
3.1.4 Error handling.................................................................................................................... 8
3.2 Uplink data................................................................................................................................ 8
3.2.1 Duplex and Simplex systems ............................................................................................ 8
3.2.2 Polled systems .................................................................................................................. 9
3.3 Downlink data ......................................................................................................................... 11
3.3.1 Simplex systems ............................................................................................................. 11
3.3.2 Duplex systems ............................................................................................................... 12
3.3.3 Polled systems ................................................................................................................ 12
3.4 How to configure DeviceNet ................................................................................................... 13
3.4.1 Troubleshooting DeviceNet configuration ....................................................................... 13
4. Hardware description .............................................................................................................. 14
4.1 Setup file................................................................................................................................. 14
4.2 Configuration switches ........................................................................................................... 14
4.3 DeviceNet connector .............................................................................................................. 15
4.4 Indicators on DeviceNet interface module.............................................................................. 15
4.5 Indications on 4-digit LED module on MC-LINK-DN .............................................................. 16
4.6 Error conditions ...................................................................................................................... 17
SP-03-018 Rev. 3
Micro-control as Interface Specification, MC-LINK-DN with B-series Software Page 3 of 17
1. General
1.1 Revision history
Revision Description
1 First revision.
2 New FW revision of Anybus-module and new EDS-file. Added chapter 3.1.2.
3 Changed chapter 3.1.2 to specify difference between old and new revision.
1.2 Purpose
This document will be used by both customers and Micro-control as when developing and
maintaining the MC-LINK-DN and the DeviceNet master software.
This document only describes how the data exchange and error handling in this
communication link is handled. The layout of the user data from/to the remote controls is
described in a separate document specific for that remote control. Note that the interface
specification is not complete without this document.
1.3 References
[1] SP-99-016 Module specification, MC-LINK-PM.
Made by: Micro-control as, homepage www.micro-control.no
[2] DeviceNet specifications
Made by: ODVA, homepage www.odva.org or www.devicenet.org
SP-03-018 Rev. 3
Micro-control as Interface Specification, MC-LINK-DN with B-series Software Page 4 of 17
2. System description
2.1 Introduction
The MC-LINK-DN works as a communication link between one or more remote controls and a
DeviceNet network. Switches and buttons on the remote control are read by the DeviceNet as
digital inputs. Joystick positions are read as analogue inputs. In the same way, LED’s and
LCD-displays on the remote control are controlled by setting digital outputs, analogue outputs
and ASCII data from the DeviceNet Master.
SP-03-018 Rev. 3
Micro-control as Interface Specification, MC-LINK-DN with B-series Software Page 5 of 17
In a polled system all remote controls shares the available communication channel
bandwidth. This means that many simultaneous remote controls increases the systems
response time.
A polled system may be configured with the following optional system features:
• Dynamic polling, see chapter 2.3.4.
When configured with multiple remote controls, the MC-LINK-DN works like this:
• First the MC-LINK-DN scans all configured remote controls, searching for a remote to
communicate with.
• When a suitable remote is found, the MC-LINK-DN locks to this remote. It then functions
like a regular simplex or duplex system, and does not communicate with the other
remotes.
• When the MC-LINK-DN becomes unlocked, it resumes scanning, and may start to
communicate with another remote.
When scanning, MC-LINK-DN is configured to lock to a remote control in one of two ways:
• If the remote is equipped with a base select function, this digital function must be active for
the MC-LINK-DN to lock to this remote control.
• If the remote is not equipped with a base select function, the MC-LINK-DN will lock to the
first found remote control. These remote controls will then be served in a “first come first
serve” basis.
Once locked to a remote control, the MC-LINK-DN will stay locked until one of the following:
• The base select function is deactivated on the remote control.
• The remote control communication has been down for a configurable timeout. This
function may also be disabled.
SP-03-018 Rev. 3
Micro-control as Interface Specification, MC-LINK-DN with B-series Software Page 6 of 17
SP-03-018 Rev. 3
Micro-control as Interface Specification, MC-LINK-DN with B-series Software Page 7 of 17
The remote stop relay will only be deactivated by the stop function on a remote control if the
remote control has an operative radio link with the MC-LINK-DN. If the radio link for any
reason is inoperative (eg. due to a empty battery), the stop function will not deactivate the
remote stop relay. This makes the remote stop relay unsuited as an emergency stop.
Remote stop is NOT emergency stop, and should not be used as such!
In polled systems with remote stop relay, there is a single relay used for all remotes.
3. Interface specification
3.1 General
3.1.1 Compliance
The MC-LINK-DN unit is a DeviceNet slave fully compliant with the current DeviceNet
standards. See http://www.odva.org for a detailed description of DeviceNet.
The MC-LINK-DN supports all transfer modes specified by the DeviceNet specification:
• Strobed
• Polled
• Change Of State
• Cyclic
The DeviceNet interface module has been tested by ODVA’s authorized Independent Test
Lab and found to comply with ODVA Conformance Test Software Version A12.
3.1.2 EDS-file
The MC-LINK-DN is delivered with two different EDS-files. You should select EDS-file
depending on the revision of the DeviceNet interface module.
For revision B (labelled ART#4004-B) the EDS-file MC-LINK-DN_1_x.eds should be used.
For revision C (labelled ART#4004-C) the EDS-file MC-LINK-DN_2_x.eds should be used.
SP-03-018 Rev. 3
Micro-control as Interface Specification, MC-LINK-DN with B-series Software Page 8 of 17
• For each valid data update, the DeviceNet master should increment the message
counter.
• This message counter is transferred via the DeviceNet network to the MC-LINK-DN.
• The MC-LINK-DN continuously checks this counter. If the DeviceNet master fails to
update this counter within a configurable timeout, it means that the DeviceNet master has
stopped, or communication is faulty. The MC-LINK-DN detects this error condition, brings
the system to a safe state and indicates “E010”. See chapter 4.6.
A similar error handling procedure should be implemented in the DeviceNet master for the
uplink data transfer.
SP-03-018 Rev. 3
Micro-control as Interface Specification, MC-LINK-DN with B-series Software Page 9 of 17
MC-LINK-DN status
Value Interpretation
0 Remote absent.
1 Remote present. Uplink data area contains valid data from the remote control.
7 Emergency stop. The emergency stop switch has been activated on the remote
control. LED display shows “E007”. See chapter 4.6.
0xA DeviceNet master failure. LED display shows “E010”. See chapter 4.6.
0xB Failure in DeviceNet interface module. LED display shows “E011”. See chapter 4.6.
0xF Polled systems, see chapter 3.2.2.
Whenever the MC-LINK-DN status is different from 1, the uplink data area contains all 0’s.
The DeviceNet master should then bring the system to a safe state.
If the MC-LINK-DN is configured for multiple remote controls, the remote control number is:
Remote control number
Value Interpretation
0 The MC-LINK-DN is not locked to a remote control.
1-8 The MC-LINK-DN is locked to remote control number 1 to 8.
If the MC-LINK-DN is only configured for a single remote control, the remote control number is
always 0.
SP-03-018 Rev. 3
Micro-control as Interface Specification, MC-LINK-DN with B-series Software Page 10 of 17
MC-LINK-DN status
Value Interpretation
0 or 1 Simplex or duplex system. See chapter 0.
0xA DeviceNet communication failure. LED display shows “E010”. See chapter 4.6.
0xB Failure in DeviceNet interface module. LED display shows “E011”. See chapter 4.6.
0xF Polled system normal mode.
Whenever the MC-LINK-DN status is different from 0xF, the remote control status is set to 0
and the uplink data area contains all 0’s. The DeviceNet master should then bring the system
to a safe state.
Whenever the remote control status is different from 1, the uplink data area contains all 0’s.
The DeviceNet master should then bring the system to a safe state.
SP-03-018 Rev. 3
Micro-control as Interface Specification, MC-LINK-DN with B-series Software Page 11 of 17
In a system without dynamic polling, the remote control number will be fixed. In systems with
dynamic polling, the remote control number will vary as the different remotes are included or
excluded in the polling operation.
Failing to do so may lead to a dangerous situation if one of the units (the MC-LINK-DN or the
DeviceNet master) is reconfigured for instance to support more terminals, without
reconfiguring the other.
SP-03-018 Rev. 3
Micro-control as Interface Specification, MC-LINK-DN with B-series Software Page 12 of 17
SP-03-018 Rev. 3
Micro-control as Interface Specification, MC-LINK-DN with B-series Software Page 13 of 17
SP-03-018 Rev. 3
Micro-control as Interface Specification, MC-LINK-DN with B-series Software Page 14 of 17
4. Hardware description
The MC-LINK-DN consists of the following major units:
• MC-LINK-PM. See reference [1] for a description of jumpers and indicators.
• DeviceNet interface module.
• Radio module. See appropriate module specification for a description of jumpers and
indicators.
• 4-digit LED module.
• Optional relay module(s), see optional features described in chapter 2.4.
These parameters can only be changed by MC. The easiest way to do this is to order a new
processor from MC with the new parameters. Reference [1] describes how to replace the
processor.
SP-03-018 Rev. 3
Micro-control as Interface Specification, MC-LINK-DN with B-series Software Page 15 of 17
The MC-LINK-DN uses maximum 30mA of supply current from the DeviceNet power supply.
SP-03-018 Rev. 3
Micro-control as Interface Specification, MC-LINK-DN with B-series Software Page 16 of 17
When configured for up to 4 remote controls and old fashion display, the display shows:
Display Comment
“000 ” No remote control communication. The number of 0’s indicates the number of
remote controls scanned by the MC-LINK-DN.
“ 0 ” Simplex or duplex operation. Locked to a remote control, but does not
communicate with this remote control. The position of the 0 indicates the remote
control number as shown on the label below the display.
“ - ” Simplex or duplex operation. Communicate with a remote control. The position of
the “-“ indicates the remote control number as shown on the label below the
display.
“-0- ” Polled operation. Each digit indicates a single remote control number as shown
on the label below the display. A “-“ indicates that the MC-LINK-DN
communicates with the remote control. A “0” indicates that it doesn’t
communicate.
When configured for multiple remote controls, advanced display and simplex or duplex
operation, each digit has a separate interpretation like this:
Position Value Comment
“X ” <blank> Unit is not configured with multiple select functions.
1-8 Base unit number received from DEVICENET MASTER.
“ X ” <blank> Unit is not locked to a remote control.
1-8 Remote control number this unit is locked to.
“ X” 0 Does not communicate with a remote control.
- Communicates with the indicated remote control.
When configured for multiple remote controls, advanced display and polled operation, each
digit corresponds to one of the 4 possible simultaneous remote controls:
Value Comment
<blank> Unit is not configured to communicate with this remote control. For instance
shown on remote control 3 and 4 on a system with 2 simultaneous remotes.
1-8 Communicates with remote control number 1 to 8.
0 Does not communicate with a remote control.
SP-03-018 Rev. 3
Micro-control as Interface Specification, MC-LINK-DN with B-series Software Page 17 of 17
SP-03-018 Rev. 3