IFM Electronic CR3105 User manual

Device manual
CANremote
GSM quad-band modem
for CANopen networks
(without/with GPS receiver)
CR3105
CR3106
7390697 / 01 09 / 2014
UK

Device manual CR3105/CR3106
2
Contents
1 Preliminary note � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 4
1�1 Symbols used� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 4
1�2 Warning signs used � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 4
1�3 Further documentation � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 4
2 Safety instructions � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 5
2�1 General� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 5
2�2 Air traffic � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 5
2�3 Explosive substances� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 5
2�4 Electronic devices � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 5
2�5 Antenna(s) � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 5
2�6 Loss/theft of the SIM card � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 5
3 Functions and features � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 6
3�1 Applications � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 6
3�2 Products of the ifm remote maintenance portfolio � � � � � � � � � � � � � � � � � � � 6
4 Installation� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 7
5 Electrical connection� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 8
5�1 Operating voltage and CAN interface� � � � � � � � � � � � � � � � � � � � � � � � � � � � � 8
5�2 Serial interface � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 8
5�3 Antenna(s) � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 9
6 Operating and display elements � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 10
6�1 LEDs� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 10
7 Set-up � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �11
7�1 SIM card � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �11
7�1�1 SIM card for the direct online data transmission � � � � � � � � � � � � � � � �11
7�2 Opening the lid � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 12
7�3 Inserting the SIM card � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 12
7�4 Removing the SIM card � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 13
7�5 Setting up the device with the CANremote_Configurator� � � � � � � � � � � � � 14
7�5�1 Connection� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 14
7�5�2 Operating parameters � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 18
7�5�3 GSM parameters � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 19
7�5�4 GPRS parameters � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 21
7�5�5 Transferring parameters to the connected device � � � � � � � � � � � � � � 23
7�5�6 Saving parameters on the hard disk � � � � � � � � � � � � � � � � � � � � � � � � 23
7�5�7 Transferring the saved parameters to another device � � � � � � � � � � � 23
8 Operating modes and programming� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 24
8�1 Preliminary notes � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 24
8�2 Switch-on behaviour� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 24

UK
Device manual CR3105/CR3106
3
8�3 CANremote process data objects (PDOs) � � � � � � � � � � � � � � � � � � � � � � � � 24
8�3�1 PDO1 – modem status (CR3105 and CR3106)� � � � � � � � � � � � � � � � 25
8�3�2 PDO2 – GPS longitude and latitude (only CR3106) � � � � � � � � � � � � 26
8�3�3 PDO3 – UTC time (CR3105 and CR3106) � � � � � � � � � � � � � � � � � � � 26
8�4 Software libraries for CoDeSys 2�3 � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 27
8�4�1 Function block CAN1_CANREMOTE_MAIN � � � � � � � � � � � � � � � � � � 28
8�4�2 Function block CAN1_CANREMOTE_RXFILE � � � � � � � � � � � � � � � � 30
8�4�3 Function block CAN1_CANREMOTE_TXFILE � � � � � � � � � � � � � � � � 31
8�4�4 Function block CAN1_CANREMOTE_SMS � � � � � � � � � � � � � � � � � � 32
8�4�5 Function block CAN1_DATA_CACHE � � � � � � � � � � � � � � � � � � � � � � � 34
8�5 Real-time access to CoDeSys � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 36
8�5�1 Requirements for real-time access with CoDeSys� � � � � � � � � � � � � � 37
8�5�2 Initialising the connection� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 39
9 Technical data� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 40
9�1 CR3105 � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 40
9�2 CR3106 � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 42
10 Troubleshooting � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 44
10�1 GSM network search and troubleshooting � � � � � � � � � � � � � � � � � � � � � � � 44
11 Maintenance, repair and disposal � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 45
12 Approvals/standards � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 45
This document is the original instructions�
Licences and trademarks
Microsoft®, Windows®, Windows XP®, Windows Vista®and Windows 7®are registered trademarks of Microsoft
Corporation� All trademarks and company names are subject to the copyright of the respective companies�

Device manual CR3105/CR3106
4
1 Preliminary note
1.1 Symbols used
►Instruction
> Reaction, result
[…] Designation of pushbuttons, buttons or indications
→Cross-reference
Important note
Non-compliance can result in malfunction or interference�
Information
Supplementary note
1.2 Warning signs used
WARNING
Warning of serious personal injury�
Death or serious irreversible injuries may result�
CAUTION
Warning of personal injury�
Slight reversible injuries may result�
NOTICE
Warning of damage to property�
1.3 Further documentation
If the device is operated using the control program CoDeSys 2�3 and an ifm
controller, further documentation is available on the internet�
●Programming manual CoDeSys 2�3:
www.ifm.com → data sheet search → e.g. CR0020 → Download/Software¹
●System manual R360 (CoDeSys 2�3):
www.ifm.com → data sheet search→ e.g. CR0020 → Additional data
●NMEA protocol with the structure of the supported GPS datasets and structure
of the possible SMS commands:
www.ifm.com → data sheet search → e.g. CR3106 → Additional data
¹) Download area with registration

UK
Device manual CR3105/CR3106
5
2 Safety instructions
These instructions are part of the device� They contain information and illustrations
about the correct handling of the device and must be read before installation or
use�
2.1 General
Follow the operating instructions� Non-observance of the instructions, operation
which is not in accordance with use as prescribed below, wrong installation or
incorrect handling can affect the safety of operators and machinery�
The device must only be installed, connected and put into operation by a qualified
electrician�
Disconnect the device externally before handling it�
In case of malfunction of the device or queries please contact the manufacturer�
Tampering with the device can seriously affect the safety of operators and
machinery� This is not permitted and leads to an exclusion of liability and warranty�
2.2 Air traffic
The device must not be operated on board of aircraft�
Using it in an aircraft can affect the navigation and communication systems� An
offence can lead to legal action against the offender�
2.3 Explosive substances
In general, radio equipment must not be used in the vicinity of petrol stations, fuel
depots, chemical plants or blasting operations�
Do not transport and store any flammable gases, liquids or explosive substances
in the part of the vehicle where the device is installed�
2.4 Electronic devices
Operation can affect the function of electronic devices that are not correctly
shielded�
Disconnect the unit in the vicinity of medical equipment� Please contact the
manufacturer of the corresponding device or equipment in case of problems�
2.5 Antenna(s)
Operation without antenna(s) can lead to destruction of the device�
2.6 Loss/theft of the SIM card
To prevent misuse, immediately inform your network operator in case of loss or
theft of the SIM card or the device�

Device manual CR3105/CR3106
6
3 Functions and features
The device is a GSM modem with integrated CAN gateway for the direct
connection to the controller� The data is transmitted via the CAN bus according to
the CANopen specification�
The device can be directly integrated into the machine or the mobile equipment�
A 5-pole M12 connector is used for the CAN connection and voltage supply�
Operating principle
3.1 Applications
●Remote diagnosis of system states of the connected actuators
●Alarm messages as SMS, e-mail or fax (only unidirectional)
●Reading operational data of the system
●Location tracking of mobile machines (only possible with CR3106)
●Receiving and sending files via the ifm remote maintenance portal
To implement the applications ifm provides different chargeable communication
packages�
3.2 Products of the ifm remote maintenance portfolio
Communication packages (chargeable) Order no.
Real-time access / internet portal / GPS ¹ (Europe) ZC0029 ²
Real-time access ZC0030 ²
Internet portal ZC0031
Internet portal / GPS ¹ (Europe) ZC0032
Real-time access for device pool ZC0033 ²
Real-time access / portal on demand ZC0034 ²
Customer-specific set-up ZC0035

UK
Device manual CR3105/CR3106
7
Communication packages (chargeable) Order no.
File transfer (CANremoteWebClient) ZC0036
1) The GPS coordinates are graphically represented in Google Maps�
2) For real-time access a CoDeSys add-on (CANremote_Client) is necessary�
It is part of the DVD "ecomatmobile Software, tools and documentation" or can be downloaded�
Information about the available software tools at:
www.ifm.com → data sheet search → e.g. CR3106 → Download/Software*
*) Download area with registration
4 Installation
To ensure that the device is protected against electrical interference the housing
must be connected to the ground of the vehicle�
This is, for example, guaranteed when the device is fixed to the conductive parts
of the vehicle using the supplied brackets�
The screws under the 4 caps are used to fix the brackets�
Fixing variants
►Remove the 4 caps on the side of the device to fix the brackets�
►Choose the suitable mounting variant A or B depending on available space�
► Observe the safety instructions (→ 2 Safety instructions).

Device manual CR3105/CR3106
8
5 Electrical connection
5.1 Operating voltage and CAN interface
M12 connector (5 poles) Pin Potential
2
43
1
5
Operating voltage 1 GND
2 10���30 V DC
CAN interface 3 CAN_GND
4 CAN_H
5 CAN_L
NOTICE
Since the CAN interface of the device is electrically separated the potential
CAN_GND of all CAN participants must be linked�
Otherwise a safe device function is not ensured or the CAN interface can be
destroyed�
5.2 Serial interface
SUB-D plug (9 poles) Pin Potential
1
2
3
4
5
6
7
8
9
1 n�c�
GSM modem → PC 2 TxD
GSM modem ← PC 3 RxD
Dataset ready 4 DSR
Signal ground 5 GND
6���9 n�c�
The serial interface is only used for configuring the device using the software tool
"CANremote_Configurator"�
Information about the available software tools at:
www.ifm.com → data sheet search → e.g. CR3106 → Download/Software*
*) Download area with registration

UK
Device manual CR3105/CR3106
9
5.3 Antenna(s)
►When mounting the antenna(s) in vehicles avoid the vicinity of fuel tanks,
vessels with explosives or insufficiently screened electronic components (→ 2
Safety instructions)�
►Do not install the antenna(s) in enclosed metal constructions such as driver's
cabs (screening Faraday effect)�
►Do not extend or shorten the cable of the antenna(s)!
NOTICE
Operation without antenna(s) can lead to destruction of the device�
A good antenna signal is the prerequisite for a stable direct online transmission� In
case of problems change the position of the antennas or the mobile equipment if
necessary� A loosely tightened antenna connector also causes signal loss!
►Please observe the notes of the antenna manufacturer�

Device manual CR3105/CR3106
10
6 Operating and display elements
6.1 LEDs
LED Permanently lit Flashing Off
CAN green operational green preoperational portal mode
configurator
yellow downloader
ERROR red error during operation red error after power on no error
downloader programming mode
ON green operating voltage green portal mode power off
configurator
downloader
RS-232 green RS-232 connection green RS-232 or
connecting to portal
portal mode
configurator
orange downloader
GSM green GSM connection /
programming mode
yellow real-time mode –
orange downloader green file transfer mode
GPS* green GPS signal green finding GPS signal –
downloader
Configurator = CANremote_Configurator
Downloader = CANmem_com_Downloader
In the initialisation phase (about 5 s) the LEDs indicate no defined status�
*) only CR3106
If all LEDs flash simultaneously, the device is in the configuration mode (switch the
device off/on (reset) = back in normal operation)�
If all LEDs are constantly "On" simultaneously, the device is in the firmware update
mode (switch the device off/on (reset) = back in normal operation)�

UK
Device manual CR3105/CR3106
11
7 Set-up
7.1 SIM card
The device can only be operated with a valid SIM card (Subscriber Identity
Module)� You obtain this card as well as your personal identification number (PIN)
from your network operator or GSM service provider�
The PIN enables access to the device and the GSM network� With the card you
can also save messages (SMS) and telephone numbers�
The SIM card only functions with a valid PIN�The PIN is an integral part of
the device configuration� If the SIM card PIN does not match the PIN saved
in the device, the SIM card is blocked after 3 unsuccessful dial-up attempts
in the GSM network�
For the direct transmission via modem (online mode) you require a SIM card which
supports the GSM data service�
If you want to use the SIM card only in conjunction with the device, it is in some
cases possible to make 'data only' contracts with the provider�
In that case the online costs may be lower�
NOTICE
The SIM card and its contacts can be easily damaged by scratching or bending�
Therefore use the card carefully and avoid touching the contacts�
NOTICE
Always disconnect the device before you insert or remove the card�
7.1.1 SIM card for the direct online data transmission
The SIM card and the internet service provider for the direct online data
transmission must meet the following criteria:
●Global roaming active
●GPRS data transfer active
●Volume-based cost tariff
●The internet service provider (ISP) must supply the data for setting up
the device (→ 7.5.4 GPRS parameters).
Some telecommunication providers of prepaid contracts do not support the
direct online data transmission�

Device manual CR3105/CR3106
12
7.2 Opening the lid
The lid of the device is equipped with a special spring hinge�
1� Direction of pressure
►To open the lid slight pressure must be applied to the hinge�
When the device is mounted, use a screwdriver or a similar flat object to do so�
7.3 Inserting the SIM card
►Disconnect the device�
►Press the SIM eject button using a pointed object (e�g� ballpen)�
> The SIM card holder will then slightly protrude from the slot and can be
removed�
►Insert the SIM card of the network operator or of the GSM service provider into
the slot of the card holder�
1� Slot (SIM card holder)
2� SIM eject button
►Insert the card holder with the SIM card into the slot without much pressure
until you feel a stop�
NOTICE
When inserting the card, make sure that the SIM card holder is exactly in the
guides of the slot and that it is not jammed�

Device manual CR3105/CR3106
14
7.5 Setting up the device with the CANremote_Configurator
7.5.1 Connection
►Switch off the device�
►Connect the device to the serial interface of the PC or notebook via the SUB-D
connector�
►Start the software tool "CANremote_Configurator"�
> The window "Select COM-Port" opens automatically�
►Select the interface to be used for communicating with the device in the
window "Select COM-Port"�
Selection of the serial interface
►Acknowledge with [OK]�

UK
Device manual CR3105/CR3106
15
> In the window "Link to CANremote" you are requested to switch on the device�
►Switch on the device�
Request to switch on the device
> Connecting to the CANremote_Configurator�
> The message "Link to CANremote is ok" appears�
►Acknowledge with [OK]�
Successful connection

Device manual CR3105/CR3106
16
> Operating parameters are automatically read and shown in the tabs�
Automatic reading of the operating parameters
> The message "Parameter read is ok" appears�
►Acknowledge with [OK]�
Reading of the parameters successful

Device manual CR3105/CR3106
18
7.5.2 Operating parameters
Tab Operating-Parameters
Parameters Description
CAN-Baudrate Baud rate of the CAN bus system where the device is operated
CANopen-Stack [Use CANopen Stack]
Must be selected to enable the CANopen communication with the
controller� If the modem operates in the transparent mode, the selection is
not necessary
Node-ID Node ID of the device. For the Node ID (default) see the technical data (→
9)
CANopen SDO Segmented
Transfer
[Activate Protocol Optimization]
Must be selected if the device is only to be operated in the real-time mode
(remote access with CoDeSys)�
Otherwise, no debugging is possible with CoDeSys or the CoDeSys OPC
server in the real-time mode�
Operating Counters Counter for statistical evaluations� On delivery normally < 10�
SMS-Counters Counter for statistical evaluations� On delivery normally < 10�
Sleep Counter Settings are not relevant for the device�

UK
Device manual CR3105/CR3106
19
7.5.3 GSM parameters
Tab GSM-Parameters
Parameters Description
SIM-Card Enter the PIN of the SIM card�
NOTE
Observe the notes on the SIM card (→ 7.1)
Safety Enter a password, if needed� On delivery the password is "GSMONLIN"�
GSM Network Registration [Automatic registration]
After power on again the device automatically logs in to an available GSM
network� NOTE: In border regions the device may also log in to foreign
networks� Roaming charges may apply�
[Manual registration]
After power on again, the device tries to log in to the GSM network defined
under "Predefined GSM Operators"�
The code number of the provider is entered in the input field or selected
from the drop-down list of the providers�
When the CANremote_Configurator is installed for the first time the drop-
down list is empty�
Load the current provider list from the internet:
1� Open the menu "File"�
2� With an active internet connection of the computer click on [Check for
operator list updates]� The list is then automatically updated from the
internet�

Device manual CR3105/CR3106
20
Parameters Description
SMS-Parameter The requested data is usually supplied by the telecommunication provider�
The format for the number of the SMS centre must correspond to that
shown in the screenshot� Only numbers are entered in the other input fields�
All other input fields of this tab are not relevant and must not be activated�
This manual suits for next models
1
Table of contents