03 CAN Bus Rev E2
03 CAN Bus Rev E2
DISCLAIMER
NOTE!
This is not official PDF file from Sandvik and is not upkept, the information in the
presentation can be old and false
The files have not been checked through and they can also include false information.
The correct information source is the manual and documentation provided for the
1
machine In the Toolman!
CAN BUS & MACHINE CONTROL IN GENERAL
DECEMBER 2019 – REV E
CONTENTS
• Machine Control
• Questions / Test
3
HOW TO CONTROL A MACHINE ?
1 +
Communication
BUS
CAN
DI DI CAN
PLC PLC
Sandvik UG-machines implement wide array of DO DO
- - -
-
HOW TO CONTROL A MACHINE ?
1 +
2 + +
- -
-
3 + 4 +
Communication
BUS
DI CAN CAN
DI DI
PLC DO
PLC PLC DO
DO
- - - - -
-
HOW TO CONTROL A MACHINE ?
1 +
2 + +
- -
-
3 + 4 +
Communication
BUS
DI CAN CAN
DI DI
PLC DO
PLC PLC DO
DO
- - - - -
-
DIRECT CONTROL
Control system built with fully passive components, for example a
flashlight
1 +
Practical when:
- System is technically very simple
- Demands for Output control are very simple
- -
-
3 + 4 +
Communication
BUS
DI CAN CAN
DI DI
PLC DO
PLC PLC DO
DO
- - - - -
-
RELAY CONTROL LOGIC
Control system which adds electro-mechanical and possibly
active components for the control
Practical when:
- System is technically getting more complex
- Demands for Output control are moderate - -
- When it is practical to build separate control and
power circuits
- -
-
3 + 4 +
Communication
BUS
DI CAN CAN
DI DI
PLC DO
PLC PLC DO
DO
- - - - -
-
PLC CONTROL
PLC is abreviation for Programmable Logic Controller
PLC is a computer which can read inputs and send power to outputs by its programming.
OUTPUT 1
DIGITAL INPUT 1
INPUT 3
OUTPUT 3
S1
S2
POWER MODULE
+ -
14
Time Delayed/Filtered
DIGITAL INPUT - DI
Rising Edge Lowering Edge
When the voltage rises to 24 Volts, the
Programmable Logics sees the situation as
number 1 and can act accordingly. 24V
1
There are different ways in logic programming
to see the input status as 1
0
- From the rising edge – MOST COMMON
- From the lowering edge 0V
- Time filtered input Time
Input Output
- Different voltage levels
1 PLC 1
There are different levels of voltage which the
PLC sees as 1, for example:
2 2
(0 = 0…5V , 1 = 5….24 V) 3 3
PWR
GND
Equal potentials ! No flowing of ground
potentials in machine !
ANALOG INPUT – AI - CURRENT
System powered ON Possible disturbance
Analog input can be made as an voltage input
or current input mA
20
Common one is 4-20 mA current input, in
Sensor reading
current input the resistance of the wiring is level, 0…100 %
naturally negated
4
0…4 mA are seen as zero and this negates
false inputs from very small inducted currents Time
Input Output
4…20 mA is usually comparable linearly to the
1 PLC 1
sensors reading area
2 2
When the signal goes a lot over 20 mA, the 3 3
system can report an error
PWR
GND
ANALOG INPUT – AI - VOLTAGE Possible disturbance
Analog input can be made as an voltage input
or current input V
5
One way to read the sensor level is to read the
Sensor reading
voltage level level, 0…100 %
PWR
GND
PT100
ANALOG INPUT – PT100 & PT1000
PT100 is a resistor which has the resistance
varying linearly depending of the temperature.
At 0 degrees the resistance is 100 ohms, when
it goes up the temperature increases
Temperature
sensors from -200….+800 degrees of C
Resistance
ANALOG INPUT – PT100
OUTPUTS
20
DIGITAL OUTPUT - DO
When the program has the necessary inputs it
turns the output on to full 24 Volts
24V
Several different types of outputs by
construction:
- Relay powered outputs (Inside Omron
1
PLCs)
- Electronically controlled outputs (FPVC, 0V
IFM) Time
Input Output
Relay powered outputs can have normal relay
1 PLC 1
related faults like outputs welding on etc.
2 2
Important thing is to have equal grounding on 3 3
machines control system. If potentials are
PWR
GND
flowing, then false outputs can be caused
DIGITAL OUTPUT – DO GROUNDING
Grounding output does not provide power to
output 24 V
Grounding output provides ground for the
supply and this closes the electric circuit
Input Output
1 PLC 1
2 2
3 3
PWR
GND
POTENTIAL FREE CONTROL
Potential Free Input/Output is a “relay
connection” inside the PLC which is only used
to connect
24 V
As potential free, the contacts will not have
anything to do with the potentials of the PLC
Potential Free
1.1
1.2
PWR
GND
PLC
RELAY CONTROL OMRON Relay output
Is visible for the user as an output, but 24 V
internally in the module there is a relay 1.1
PLC
GND
Single output on a card can fail if the relay fails
OUTPUT 1
DIGITAL INPUT 1
INPUT 3
OUTPUT 3
S1
S2
POWER MODULE
+ -
Practical when:
- System requires more complex control for Outputs
- When multiple actions are required to be controlled by
multiple single inputs with different working logics
- -
-
3 + 4 +
Communication
BUS
DI CAN CAN
DI DI
PLC DO
PLC PLC DO
DO
- - - - -
-
COMMUNICATION BUSSES AND DECENTRALIZATION
Decentralized systems allows distribution of IO and
different ways of controlling functions.
Communication
BUS
PLC PLC DI CAN
DI CAN
PLC PLC DO
DO
- - -
-
PLC PLC DO
There are different PLCs and DO
It is important to understand
the basic functional principles
of this communication and
how to do troubleshooting on
the system
BINARY SYSTEM – COMPUTER COMMUNICATION
When humans communicate, we use ABCDEFGH
differnet sounds which will form up IJKLMNOPQ
words with different meanings
RSTUVWXYZ
Words form up sentences and
sentences deliver messages
34
BINARY SYSTEM – COMPUTER COMMUNICATION
ABCDEFGHIJKLM
Our letters form up more than 20
NOPQRSTUVWXYZ
different sounds with different
stresses etc. 01000001 00100000 01000010 00100000
01000011 00100000 01000100 00100000
When all of these variations are 01000101 00100000 01000110 00100000
combined, we understand a 01000111 00100000 01001000 00100000
message of the person trying to send 01001001 00100000 01001010 00100000
it 01001011 00100000 01001100 00100000
01001101 00100000 01001110 00100000
When building a computer, this sort 01001111 00100000 01010000 00100000
of variations in base of 01010001 00100000 01010010 00100000
communication would make the 01010011 00100000 01010100 00100000
system extremely complex 01010101 00100000 01010110 00100000
01010111 00100000 01011000 00100000
01011001 00100000 01011010
35
BINARY SYSTEM – COMPUTER COMMUNICATION
For computer language, we simplify
the base of the communication to ABCDEFGH
practically two letters, 0 and 1 IJKLMNOPQ
RSTUVWXYZ
0 and 1 practically means that we
only need 2 states on the machine, 01001001 00100000 01001100
for example power on or power off 01001001 01001011 01000101
00100000 01000010 01001001
This is technically simple to create 01000111 00100000 01010100
and quite robust communication way 01001001 01010100 01010011
for computers
36
BINARY SYSTEM – COMPUTER COMMUNICATION
With different combinations of ones and zeros, we can
communicate, as long as we just agree how do we do it
37
BINARY SYSTEM – HOW MANY ”MARKS” WE NEED?
Binary is a numerical system with base number 2,
comparing to our Decimal system with base number of
10
In binary:
A B C
0 1 10
Aid Calculus:
BINARY SYSTEM
For mathematical conversions from binary to Dec system:
Example 1: Example 2:
1 0 1 1 1 1 1 1
3 2 1 0 3 2 1 0
1 × 2 + 0 × 2 +1 × 2 +1 × 2 1 × 2 +1 × 2 + 1× 2 + 1× 2
8 + 0 + 2 + 1 8 + 4 + 2 + 1
11 15
Aid Calculus:
EVERY DAY EXAMPLES OF BITS
If we think about 8-bit system, it means that 28 = 256 different status
informations
IPv4 addresses of the Internet are informed with four 8-bit marks, for
example:
196.162.0.2 11000000 . 10100010 . 00000000 . 00000010
When talking about graphic adapted of the computer, 8-bit refers to the
amount of colors capable of being displayed:
8-bits: 28 = 256 different colors
16-bits: 216 = 65 536 different colors
EVERY DAY EXAMPLES OF BITS Aid Calculus:
The 8-bit consoles like Commodore 64 games are significantly more
entertaining and better than the modern day Call Of Duties, NHLs, etc…
NUMBER SYSTEM – KILOS, MEGAS, TERAS
When talking about bigger numbers it is more easier
to use multiplier at front of the basic unit.
For example:
I want to buy 5 500 grams of delicious Tampere
made black sausages
Communication
Communication between these two PLCs happen BUS
with sending these 0 and 1 signals between each DI
PLC
CAN
DI
PLC
CAN
DO
other
DO
010000111011001011100111101110101011101
CAN BUS
CAN BUS
COMMUNICATION
COMMUNICATION
45
POWER MODULE POWER MODULE
WHAT IS THE CAN BUS ?
CAN Bus is communication way which is based physically
to voltage difference between two wires, and depending on
how the voltages are, we read 0 or 1
4 +
PLC PLC DO
DO
Physically they are exactly the same, but how the 0 CAN CAN HIGH
NODE 2
and 1 signals are sent is different
CAN LOW
For example for CANopen the message can be built CAN CAN HIGH
like: NODE 3
HELLO EVERYONE, MY TEMPERATURE IS 25 CAN LOW
DEGREES
CAN CAN HIGH
NODE 4
CAN LOW
0110101010011010101001101010100110101010011010101001101010100110
Start of message &
Priorisation
1. Start of message & Priorization
- Every CAN Message has a priority, more
2. Actual message
+ stuff bits
- Message itself is in ”middle” of the bit burst, its
0….8 bytes
lenght varies depending of the message, but
Message
maximum lenght is 8 bytes (64 bits)
CRC Check
to actual message, then entire message will be
rejected and it is requested again from the sender
CAN BUS STRUCTURE
CAN BUS has two wires which are used for the communication: CAN High and CAN Low
120 Ω 120 Ω
120 Ω 120 Ω
CAN HIGH CAN LOW CAN HIGH CAN LOW CAN HIGH CAN LOW
In the module, XJ4.1 and XJ4.2 are the same potential (CAN1H),
XJ4.3 and XJ4.4 are also same potential (CAN1L)
NOTE! (CAN1H and CAN1L are different)
CAN1H
ELECTRONICS
CAN1H
FOR CAN
CAN1L COMMUNICATION
CAN1L
CAN BUS COMMUNICATION PRINCIPLE
CAN Nodes communicate by voltage changes at High and Low wires
Similar ground levels are important for the different CAN Nodes, with floating ground levels the
reference of the voltage 0 can also possibly disturb the message check that GND is always in
good condition
120 Ω 120 Ω
CAN HIGH CAN LOW CAN HIGH CAN LOW CAN HIGH CAN LOW
Do we measure it from the bottom of the water, of from the water surface ?
120 Ω 120 Ω
CAN HIGH CAN LOW CAN HIGH CAN LOW CAN HIGH CAN LOW
120 Ω 120 Ω
CAN HIGH CAN LOW CAN HIGH CAN LOW CAN HIGH CAN LOW
0 0 1 1 0 0 0 1 0 0 1 1 0 0 0 1
120 Ω 120 Ω
CAN HIGH CAN LOW CAN HIGH CAN LOW CAN HIGH CAN LOW
0 0 1 1 0 0 0 1 0 0 1 1 0 0 0 1
HIGH- LOW
3,0
2,0
1,0
0
0 0 1 1 0 0 0 1
DIFFERENTIAL SIGNAL IN CAN BUS
DISTURBANCE
Differential signal is used for more robust
communication in CAN bus
CAN HIGH
0
0 0 1 1 1
TWISTED PAIR CABLINGS
If external strong magnetic field is present, it can
cause interference to the signals
Magnetic Field
Induced Noise Current
Many ladies like to twist their hair, but this is done with 3 loops of hair.
When men invented the twisting pair, they are more simple and ugly than the beautiful
women with the things what they do, so men only ”twisted two things”.
The more beautiful and more complex women way of twisting the hair is not suitable for
more simple men and their technical requirements.
Do not attempt to twist 3 wires together in CAN Bus cablings, there is only two.
TWISTED PAIRS IN CAN BUS
Magnetic Field
Induced Noise Current
When doign any rewiring etc for the CAN wiring, then twist the wires together
everywhwere where they are not in their jackets.
120 Ω 120 Ω
CAN HIGH CAN LOW 1 000 kbit/s CAN HIGH CAN LOW 1 000 kbit/s
120 Ω 120 Ω
Example: CAN HIGH CAN LOW 1 000 kbit/s CAN HIGH CAN LOW 1 000 kbit/s
250 kbit/s
Bus doesn’t work 24 V GND
250 kbit/s
24 V GND
CAN BUS COMMUNICATION SPEED & LENGHT
3,0
CAN Bus speed limits the physical length of the
2,0
bus cabling
1 000 kbit /s 00 00 1 1 1 1 00 00 00 1 1 BUS speed is also defined from total system delay,
500 kbit /s 0 0 1 1 0 0 0 1 which can cause the system to act slower than it is
theorethically possible. Delay is formed also from
250 kbit /s 0 1 0 ? the speed of electromagnetic fields passing by the
wiring
MAX BUS BUS SPEED
LENGHT (M) (KBIT/S) Effects on speed:
40 1000 Skin effects
100 500 Proximity to other circuts
200 250 Dielectric loss
500 100
Radiation loss
Speed of Software
1000 50
CAN BUS COMMUNICATION SPEED
Speed can be configured in some modules with jump wires
Internal connection of the module
CAN1H
ELECTRONICS
CAN1H
FOR CAN
CAN1L COMMUNICATION
CAN1L
BR1 BR2
TERMS
BIT RATE = Speed of the BUS
BAUD RATE = Same thing, different words
COMMUNICATION DATA AMOUNT
3,0
Depending of the speed of the bus, we
2,0
can deliver different amount of
messages in the bus
1,0
In same CAN Bus every Node will need to have different address
120 Ω 120 Ω
CAN HIGH CAN LOW 1 000 kbit/s CAN HIGH CAN LOW 1 000 kbit/s
ID: 1 ID: 1
ID: 2 CAN NODE 1 500 kbit/s ID: 2 CAN NODE 2 500 kbit/s
120 Ω 120 Ω
CAN HIGH CAN LOW 1 000 kbit/s CAN HIGH CAN LOW 1 000 kbit/s
ID: 1 ID: 1
ID: 2 CAN NODE 1 500 kbit/s ID: 2 CAN NODE 2 500 kbit/s
CAN LOW
When reading diagrams you might see following extra
informations of the node IDs: CAN CAN HIGH
NODE 2
CAN LOW
Binary: 01100100
Dec: 100
Hex: 0x64
CLOCK SYSTEM
Our clock has base number of 60, which comes from the
mathematical system of ancient Babylonians (about
2000…500 BC) who had 60 as their base number. This
is called sexagesimal system, more about that in
Wikipedia
SPEED & ADDRESS – OTHER MODULES
When changing modules on the
machine, it is important that their speed
and address is correct before they have
been fitted back to the machine
CAN1H
ELECTRONICS
CAN1H
FOR CAN
CAN1L COMMUNICATION
CAN1L
BR1 BR2
NMT MASTER
CAN
Every CAN Bus needs NMT Master which has the NODE 1
CAN HIGH
their internal program and do the work what they are CAN LOW
suppose to do
CAN CAN HIGH
NODE 2
While doing this they will be continuously sending
CAN LOW
out Heartbeat signal to the Master, informing that
they are alive CAN CAN HIGH
NODE 3
For example, at below FS2 nodes is not transmitting CAN LOW
Hearbeat message:
CAN CAN HIGH
NODE 4
CAN LOW
HEARTBEAT =
CAN
A signal from CAN Node NODE 5
CAN HIGH
The master on that bus (DM2) does not see the FS2
CAN
due to the missing Heartbeat, this makes fault NODE 5
CAN HIGH
Operational
Node is up and running normally, everything is OK
from CAN Bus point of view. Some logic of blinking
lights or Op text at the screen of the module display.
Stopped
Not in use at UG rigs. So much things have gone
wrong in the bus communication that the module
shutted down from communication point of view.
Modules would show St if it would be used.
DIFFERENT NMT STATES – IFM MODULES
At these points it is necessary to have somewhere a connection point, from where the wiring is done to the
module. This wiring is called DROP LINE
This wiring will need to be as short as possible as it causes interference to the system
120 Ω 120 Ω
CAN HIGH CAN LOW CAN HIGH CAN LOW CAN HIGH CAN LOW
Screen creates Faraday’s cage around the wires and it will also give some amount of mechanical
protection for the internal wiring
87
RESISTORS IN SERIES - THEORY
Quick theory of ohm measurements:
If we have resistors in series, then total resistance is their sum, for example:
200 Ω 70 Ω
Basic guidelines:
R is always bigger than single
100 Ω 100 Ω resistor of the group
10Ω 50Ω 10Ω
Passing current is always
lower in series
100Ω + 100 Ω = 200 Ω 10Ω + 50Ω + 10Ω = 70Ω
RESISTORS IN PARALLER THEORY
Quick theory of ohm measurements:
If we have resistors in paraller, then inverse value (1/R) of total resistance is sum of inverse values
of the resistances in connection. Example of the calculation below:
Resistance calculation:
60 Ω 55 Ω
…
1/R=
1/100 + 1/200 + 1/300 =
0,01 + 0,005 + 0,003 = If
0,01833
𝑅1 =𝑅2 = 𝑅3 =𝑅𝑛
R = 1 / 0,01833
R = 54,6 Ω Then:
1/R= 100 Ω R=
1/120 + 1/120 =
120 Ω 0,0083 + 0,0083 =
200 Ω Basic guidelines:
0,016633
R always lower than smallest Rn
120 Ω R = 1 / 0,016633 300 Ω
R = 60 Ω More Resistors less resistance
SAME SIZE RESISTORS IN PARALLER THEORY
Quick theory of ohm measurements equal size resistors in paraller:
If R1 = R2 = R3 = Rx then:
Theory of the calculation: In same way the
R = R1 / amount of R
calculation can be scaled
up or down, depending of
100 Ω
the amount of resistors as
long as they are same
sized.
300 Ω R = Rx / n
Practical applications in
CAN Busses are usually
Rn = 300 ohm
300 Ω n=3
related with 1, 2 or 3
resistors in paraller in
300 Ω R = 300 / 3 system.
R = 100 ohm
RESISTORS IN CAN BUS
91
WHY TO HAVE THE RESISTORS ?
If built correctly, CAN Bus will always have end
resistors of 120 ohms at the end of the
communication lines
120 Ω 120 Ω
CAN HIGH CAN LOW 1 000 kbit/s CAN HIGH CAN LOW 1 000 kbit/s
120 Ω 120 Ω
CAN HIGH CAN LOW 1 000 kbit/s CAN HIGH CAN LOW 1 000 kbit/s
120 Ω 120 Ω
CAN HIGH CAN LOW 1 000 kbit/s CAN HIGH CAN LOW 1 000 kbit/s
120 Ω 120 Ω
CAN HIGH CAN LOW CAN HIGH CAN LOW CAN HIGH CAN LOW
120 Ω 120 Ω
120 Ω 120 Ω
MEASURING OHMS FROM CAN BUS
If there would be connection If we only see 120 Ω when
mistake and accidentally third measuring, then we do not
resistor would have been have connection to other
added, then resistance would resistor or it is broken.
be:
120Ω / 3 = 40 ohms
120 Ω 120 Ω
HOW BIG EFFECT THE NODES HAVE TO CALCULATION?
Without Nodes:
With Nodes:
Bigger differences will come already from the end resistor tolerances, measuring
leads etc…
CAN BUS STRUCTURE – END RESISTORS
Resistors are usually visible outside the module connectors or connected straight to terminal
strips of the module.
Sandvik uses module RLU and Epec PLCs in some applications, and they can have resistor
inside the module.
CAN BUS TERMINATION WAYS
Usually termination is done with 120 Ω resistor,
STANDARD TERMINATION this is called standard termination
SPLIT TERMINATION
Practically when the frequency increases, then
60 Ω impedance of the capacitor changes linearly
towards short circuit
60 Ω
By selecting a correct size Capacitor
(C ~ 10…100 nF), the interference frequencies
lead to the ground and thus filtered off from the
system
MULTIPLE CAN BUSSES
CAN CAN HIGH
If a single CAN Bus would be wired through the NODE 1
105
EXAMPLE OF DIFFERENT CAN BUSSES BLOCK DIAGRAM
CAN BUS COMMUNICATION 1
PT1000 PT1000
POWER MODULE
106
POWER MODULE POWER MODULE
DIFFERENT CAN BUSSES
Internal connection of the module
CAN1H
ELECTRONICS
CAN1H
FOR CAN1
CAN1L COMMUNICATION
CAN1L
COMPUTER &
MEMORY
CAN2H
ELECTRONICS
CAN2H
FOR CAN2
CAN2L COMMUNICATION
2 physically separate busses which are independent
CAN2L
from each other
DC2:
-Controller for Drilling Valves CAN1 HIGH
BC2
CAN1 LOW
CAN1 HIGH
BS2
BS2 CAN1 LOW BS2:
- Sensors at the boom
CAN1 HIGH
FS2 FS2:
- Sensors at the feed
DC2 CAN1 LOW
108
BC2
DM2
COMMON TERMS IN CAN BUS
Node Device attached to the bus, for example PLC or computer
NMT Master Master module responsible for starting of the devices and
”monitoring”
Twisted pair CAN High and Low twisted around each other
Drop Line CAN wiring to module which is ”off” from the main route of wiring
ACTUAL MESSAGE OF CANOPEN AND J1939
Main Point:
More technical than
the simplification, but
difference of the
busses:
Different layout and
insides of the
messages
DIFFERENCE OF CANOPEN AND J1939
Main Point:
Different message
structure
Messages form up of
voltage changes
FILL
FILL
FILL
CAN MESSAGE PRIORISATIONS A B OUTPUT
0 0 0
OUTPUT
Every CAN Messages start with ”a fight”, this A
OUTPUT
Priorisation function in CAN Bus can be seen
B
C
&
as logical AND-function, where 0 is dominant
A B C OUTPUT
0 0 0 0
So this means that all of the bits will need to
0 1 0 0
be 1 that the message would be 1, if the
0 0 1 0
message is 0, then end result is 0 0
0 1 1 0
dominant 1 0 0 0
1 1 0 0
Example of different AND-functions at right, 1 0 1 0
with 2 inputs and with 3 inputs 1 1 1 1
CAN MESSAGE PRIORISATIONS
Example 3 CAN Nodes which are sending Node 1
messages with different priorities, one has Node 2
Node 3
& CAN Bus
priority 177, second 813, third 218:
+5V
114
SIGNAL REFLECTION AS A TERM
Many materials state that one purpose for end
STANDARD TERMINATION resistors is preventing the signal reflections
120 Ω
This is quite complex situation theorethically and
works outside the ”common understanding of
electrics”
SPLIT TERMINATION
SWG
SCOPE
MEANING OF SIGNAL REFLECTION
If the ends of the cable is shorted, then signal form
changes
CAN CAN
NODE NODE
MEANING OF SIGNAL REFLECTION
STANDARD TERMINATION
In short: The energy of the signal from the
transmitting unit is reflected back to the sender and
120 Ω the wave form suffers
As the signal wave goes forward in the bus line and arrives to the readily loaded
section of the bus, then mismatch in impedances causes reflection for the voltage
to backwards in the bus
120 Ω 120 Ω
CAN HIGH CAN LOW CAN HIGH CAN LOW CAN HIGH CAN LOW
> X XX
XX
with internal up&down counters or just up
co toma e/bo
Re and ally
or s > X
au h tim
mm tic ot
wit
se
>X X
XX
er r r s
counter
ors XX
t b , or
Rx erro
y
err s >
Tx
Rx error
If amount of errors rises over certain treshold,
Tx
CAN Node can end up in BUS OFF state
ERROR
BUS OFF
PASSIVE Tx errors > XXX
OTHER COMMUNICATION WAYS
CAN Bus is very limited from amount of data
what it can deliver
Example:
- CAN Bus data amount 500 kilobits / second
- Ethernet data amount 100/1000 Mbits per
second
126
HOW TO APPROACH THE BUS PROBLEM
STEP 1:
Use the main screen to identify
trouble area 1
STEP 2:
Check the documentation for actual
structure of bus (diagnostic views are
not the correct structure for the bus) 2
- Corroded connector
STEP 3: - Broken cable in boom
- Power off from module
Identify different fault cases, list them 3 2
and start removing them until you find - Circuit breaker tripped
- etc……..
the problem
MULTIMETER MEASUREMENTS
128
MEASURING OHMS IN CAN BUS
INSTRUCTIONS: RESULTS:
- Turn OFF power ~ 0 Ω = Bus wires broken to both end
~ 40 Ω = One resistor too much in bus
- Measure correct BUS
~ 60 Ω = Both resistors found, bus intact
~ 120 Ω = One resistor only seen in
measurement
~ xx kΩ = Power is probably ON while
measuring
CAN HIGH CAN LOW CAN HIGH CAN LOW CAN HIGH CAN LOW
CAN HIGH CAN LOW CAN HIGH CAN LOW CAN HIGH CAN LOW
CAN HIGH CAN LOW CAN HIGH CAN LOW CAN HIGH CAN LOW
120 Ω
120 Ω
• Something else ?
136
WHAT ABOUT OSCILLOSCOPE ?
OSCILLOSCOPE IMAGE OF ONE CAN BUS
Overshoot So, what are you
going to do ?
CAN LOW 2 5
SHIELD 5 1
In Bedrock rigs, connector pin-lay outs can be found from end of the Cabin diagram.
CONNECTOR LAY-OUTS
MOST COMMON FAULTS IN BUS
1. CONNECTOR
- Corroded or damaged connector
- Too much protective grease
Boom Swing
Boom Lift
1. SGW
- Does basic diagnostics on the BUS, similiar checks as
with Multimeter and indicates with lights the status of the
BUS
2. Logger
- Logs all the CAN Bus date which can then be used by
designers to check if something is wrong there
3. RLU
- Repeater Logger Unit, same functionality as Logger
with less memory and acts as a CAN Repeater as well
4. Fluke 179
- Basic multimeter
SGW KIT
152
SGW – SANDVIK GATEWAY
Functions as RS to CAN converter in DL machines
156
LOGGER – BG00508068
CAN-Logger
2 x DT04-6P
160
RLU – REPEATER LOGGER UNIT – BG00360378
8…36V, -40…+85 C Diagnostic LEDs:
ARM Cortex-M4 100MHz, 512 kB Flash, 128kB RAM Leds green: Power is switched ON
Freescale MK20DX512ZVLL10 Is CAN Trafic: Led blinks according to the
Mass storage 4 (…64) GB eMMC load
MMA8451QR1 3-axis accelerometer (same as IKL) If error msgs, led blinks red
Current consumption <30 mA @ 24 V If logging active, both leds blink yellow
once every few seconds
CAN, 120 ohm 2W resistors at both side
Repeater
Terminates BUS from both ends, cleans and filters
the messages going through the RLU and ”cleans”
the signal shape. Negative effect: slows down the
bus
166
QUESTIONS / TEST
167
QUESTION 1
What are the ohms for the USE:
system if it is operational and Paper and Pen
working well + power is OFF ?
CAN HIGH CAN LOW CAN HIGH CAN LOW CAN HIGH CAN LOW
USE:
Schematics of the machine
Paper and Pen
QUESTION 3
CAN CAN HIGH
At right CAN NODE 1 is sending message 0011 NODE 1
to the bus. CAN LOW
CAN LOW
USE:
Pen and Paper
QUESTION 5
Calculate in binary system:
1
2
3
4
5
USE:
Pen and Paper
QUESTION 6
At right there is VCH
component.
USE:
Pen and Paper
QUESTION 6
At picture, what has been done to
CAN Bus cable wiring and why ?
QUESTION 7
CAN CAN HIGH
Open up schematics from DD422i, and draw CAN NODE 1
Bus structure to paper from DM1 to FS with roughly CAN LOW
the same logic as at right in picture. Also add cable CAN CAN HIGH
markings and connectors to the picture. NODE 2
CAN LOW
QUESTION 8:
Purpose of Hearbeat signal ?
QUESTION 9:
Purpose and meaning of Node ID ?
QUESTION 10
• Basic rules when fixing the CAN Bus on a machine, what do you need to take in
consideration:
1
2
3
4
5
CAN HIGH CAN LOW 1 000 kbit/s CAN HIGH CAN LOW 1 000 kbit/s
ID: 1 ID: 1
ID: 2 CAN NODE 1 500 kbit/s ID: 2 CAN NODE 2 500 kbit/s
CAN1 LOW
What are ohms at CAN2 and
CAN1 side if the resistors in CAN2 HIGH
DC2 CAN1 HIGH
CAN1 HIGH
FS2
CAN1 LOW
QUESTION 12 – PLC PROGRAM
If Digital Input 1 is 24 Volts, then we follow PT1000 value, if not we do not care of it
If Input 3 is ON, we turn on Output 1 and 2, but force Output 3 to be OFF
If Input 3 is OFF, we turn on Output 1
If PT1000 shows value of 20…50 degrees we turn on Output 1
If PT1000 shows value of 30…70 degrees we turn on Output 3, if nothing else is stopping us
OUTPUT 1
DIGITAL INPUT 1 QUESTION:
ANALOG INPUT 2 INPUT COMPUTER OUTPUT OUTPUT 2
What needs to
MODULE & MEMORY MODULE
happen that
PT1000
INPUT 3
OUTPUT 3 Output 3 is
S1
S2
turned ON by the
POWER MODULE
program ? And
what else
happens ?
+ -
CAN LOW
Ohms ?
CAN CAN HIGH
NODE 3
CAN LOW
120 Ω 120 Ω
CAN HIGH CAN LOW 1 000 kbit/s CAN HIGH CAN LOW 1 000 kbit/s
ID: 1 ID: 1
ID: 2 CAN NODE 1 500 kbit/s ID: 2 CAN NODE 2 500 kbit/s
CAN HIGH CAN LOW CAN LOW CAN HIGH CAN HIGH CAN LOW
How are you suppose to connect the CAN Bus cable screen according to
the picture below ?
120 Ω 120 Ω
CAN HIGH CAN LOW 1 000 kbit/s CAN HIGH CAN LOW 1 000 kbit/s
If you need to fix CAN Bus cabling and it will end up having a Drop Line.
What points you need to consider when fixing this sort of bus structure
with whatever spares you have at your hands ?
120 Ω 120 Ω
CAN HIGH CAN LOW CAN HIGH CAN LOW CAN HIGH CAN LOW
In your machine you have a CAN Bus with speed of 1000 kbit/s and 250
kbit/s.
What is the weakness of 1000 kbit/s Bus comparing to 250 kbit/s and what
do you need to take in consideration when fixing it ?
QUESTION 23
What should be done to the
CAN wiring in this picture to
make it work better ?
QUESTION 24
Why the CAN Bus below does not work ?
120 Ω 120 Ω
CAN HIGH CAN LOW CAN HIGH CAN LOW CAN HIGH CAN LOW