Manual ILC 151
Manual ILC 151
Manual ILC 151
User manual
User manual
Installing, starting up, and operating the ILC 151 GSM/GPRS Inline con-
troller
2015-10-09
Revision: 03
Order No.:
This is the safety alert symbol. It is used to alert you to potential personal injury
hazards. Obey all safety measures that follow this symbol to avoid possible
injury or death.
There are three different categories of personal injury that are indicated with a
signal word.
DANGER This indicates a hazardous situation which, if not avoided, will
result in death or serious injury.
WARNING This indicates a hazardous situation which, if not avoided, could
result in death or serious injury.
CAUTION This indicates a hazardous situation which, if not avoided, could
result in minor or moderate injury.
This symbol together with the signal word NOTE and the accompanying text
alert the reader to a situation which may cause damage or malfunction to the
device, hardware/software, or surrounding property.
This symbol and the accompanying text provide the reader with additional
information or refer to detailed sources of information.
How to contact us
Internet Up-to-date information on Phoenix Contact products and our Terms and Conditions can be
found on the Internet at:
phoenixcontact.com
Make sure you always use the latest documentation.
It can be downloaded at:
phoenixcontact.net/products
Subsidiaries If there are any problems that cannot be solved using the documentation, please contact
your Phoenix Contact subsidiary.
Subsidiary contact information is available at phoenixcontact.com.
PHOENIX CONTACT
Please observe the following notes
PHOENIX CONTACT
Table of contents
1 Foreword ....................................................................................................................................9
1.1 Purpose of this user manual ..................................................................................9
1.2 Intended use..........................................................................................................9
1.3 General safety notes..............................................................................................9
1.4 Disposal...............................................................................................................10
1.5 Hardware and software requirements..................................................................10
4 The Inline controller under PC Worx program creation and example projects .......................89
4.1 Creating a new project.........................................................................................89
4.2 GSM settings in PC Worx ....................................................................................92
4.3 GPRS settings in PC Worx ..................................................................................94
4.4 Example projects .................................................................................................96
4.4.1 Example: sending/receiving an SMS text message .............................96
4.4.2 Example: active IP communication ......................................................98
4.4.3 Example: passive IP communication ..................................................100
1 Foreword
This user manual helps you to start up and operate the ILC 151 GSM/GPRS Inline control-
ler.
In the following, the term Inline controller is used in general.
The Inline controller is a modular small-scale controller that can be used for small and me-
dium-sized applications. The device conforms to IP20 protection and is intended for use in
a closed control cabinet or control box (terminal box) with IP54 protection or higher.
This device is designed for use in industrial environments.
The Inline controller is only to be used as specified in the latest user documentation. Phoe-
nix Contact accepts no liability if the controller is used for anything other than its designated
use.
NOTE:
The IP20 degree of protection (IEC 60529/EN 60529) of the device is intended for a clean
and dry environment. Do not subject the device to mechanical and/or thermal loads that
exceed the specified limits.
1.4 Disposal
Do not dispose of the device with household waste, it should instead be disposed of in
accordance with the currently applicable national regulations. The device can also be re-
turned to Phoenix Contact.
Both software tools can be used to operate the ILC 151 GSM/GPRS in general. However,
to utilize the full range of functions of the ILC 151 GSM/GPRS, we recommend that you
use the PC Worx software with the specified version or later.
For the ordering data for hardware, software, and additional documentation, please refer
to Section Technical data and ordering data on page 111.
The Inline controller is a class 100 modular small-scale controller with integrated Ethernet
and INTERBUS connections. In addition, the ILC 151 GSM/GPRS has a built-in quad-band
modem.
IEC 61131 control perfor- The Inline controller is consistently configured and programmed in accordance with
mance IEC 61131 using the PC Worx automation software. PC Worx can be operated via the net-
work (Ethernet). The powerful processor can be programmed in all five IEC 61131 program-
ming languages and ensures fast processing of control tasks.
Integrated Ethernet con- The integrated Ethernet connection (via twisted pair cable) ensures Ethernet connectivity.
nection Throughout the Ethernet network, the Inline controller can be accessed via TCP/IP or
UDP/IP.
Integrated communication functions enable direct and effective data exchange via Ether-
net. The Ethernet connection provides universal options for communicating with the Inline
controller. Using the IP_USEND and IP_URCV communication blocks, information, e.g.,
necessary coupling variables, can be exchanged between Inline controllers via Ethernet.
This enables distributed, modular automation solutions to be configured.
The existing IEC 61131-5 blocks have therefore been extended to include a TCP/IP mode
and a UDP/IP mode.
When using the AX OPC server provided in the AUTOMATIONWORX Software Suite, Inline
controller data is available in the Ethernet network in a standardized format and can be used
for the different visualization packages.
Modbus functionality The Modbus/TCP (UDP) communication protocol can be used via the Ethernet interfaces
of the Inline controller. The Inline controller can be used as a Modbus/TCP client and/or as
a Modbus/TCP server (as of firmware Version 4.40 and AUTOMATIONWORX Software
Suite Version 1.82 AddOn V1). For additional information, please refer to the
AH EN MODBUS/TCP application note.
Integrated INTERBUS con- An Inline local bus as well as an INTERBUS remote bus can be connected via the
nection INTERBUS connection. In this way, you can create a complete INTERBUS system (maxi-
mum of 4 remote bus levels) using the Inline controller as a distributed controller.
The I/O level is connected to the Inline controller via INTERBUS.
Parameterization memo- The Inline controller can be operated using a plug-in parameterization memory in the form
ry/SD card of an SD card. This memory can be used to save programs and configurations which belong
to your project.
The plug-in parameterization memory is optional and is not required in order to operate the
Inline controller.
The parameterization memory is not supplied as standard with the Inline controller.
Only use a parameterization memory provided by Phoenix Contact (for ordering data, see
Section Accessories on page 118).
Mobile communication Mobile communication networks can be used for wireless telephony and data transmission.
networks
GSM services such as GPRS and SMS are used for data transmission within the mobile
communication networks.
GSM GSM is the abbreviation for Global System for Mobile Communication.
GSM is a standard for fully digital mobile communication networks that is mainly used for
telephony, line-switched and packet-switched data transmission as well as for short text
messages (SMS).
The GSM modem integrated in the ILC 151 GSM/GPRS enables the following functions to
be performed:
Sending and receiving SMS text messages
Remote maintenance of the ILC 151 GSM/GPRS via CSD or GPRS
Permanent GPRS connection for GPRS operation without application program (see Ta-
ble GPRS parameters in PC Worx on page 94)
TCP/IP connection via the application program using the corresponding function blocks
(see Function blocks for TCP/IP and UDP/IP communication on page 65)
The PC Worx software provides the MOBILE_CONNECT, SMS_SEND, and
SMS_RECEIVE function blocks to enable communication by SMS via the GSM network
using the ILC 151 GSM/GPRS.
In practice, the number of available time slots within a frame is limited by the technical ca-
pabilities of the mobile station and the mobile communication networks. The maximum data
transmission speed that can be reached is 53.6 kbps. It depends on the signal-to-noise ra-
tio, the current network load, and the allocated time slots. This is roughly equivalent to the
speed of a V.90 telephone modem.
GPRS is also particularly suitable for remote control tasks. The major advantages of GPRS
with regard to remote control tasks are good network coverage and availability of GSM, as
well as low investment costs compared to other transmission methods. GPRS, for example,
is also used for vehicle positioning.
The PC Worx software provides the GPRS_CONNECT function block which can be used
to establish a GPRS connection via the ILC 151 GSM/GPRS. The TCP/IP blocks enable
communication via this GPRS connection using the TCP/IP protocol.
The ILC 151 GSM/GPRS Inline controller can be used as a distributed controller of an Inline
station which is connected to an Ethernet system. A single Inline local bus (Figure 2-1) as
well as a complete INTERBUS system with a maximum of 4 remote bus levels (Figure 2-2)
can be connected to the Inline controller.
RESET MRESET
STOP
RUN / PROG
LNK ACT
Ethernet 8510A001
Figure 2-1 Connected Inline local bus
RESET MRESET
1.
STOP
RUN / PROG
LNK ACT
BA RD UL US 1 D 1 1 1 1 D 1 1 1 1 D 1 D 1 D
2 2 2 2 2 2 2 2 2 2 2
RC LD UM
DO8 DI8 DI2 DI2 DI2
2.
INTERBUS
Remote bus levels BA
RC
RD
LD
UL US
UM
1
DO8
D
2
1
2
1
2
1
2
1
DO8
D
2
1
2
1
2
1
2
1
DI2
D
2
1
DI2
D
2
1
DI2
D
2
3.
INTERBUS
BA RD UL US 1 D 1 1 1 1 D 1 1 1 1 D 1 D 1 D
2 2 2 2 2 2 2 2 2 2 2
RC LD UM
DO8 DO8 DI2 DI2 DI2
4.
INTERBUS 8510B002
Installation notes
1. The Inline controller conforms to the requirements of n protection and can be installed
in a Zone 2 potentially explosive area. The Inline controller is a category 3G item of
equipment.
The Inline controller meets the requirements of EN 60079-0:2009 and
EN 60079-15:2010.
2. The Inline controller must only be installed, started up, and maintained by qualified spe-
cialist personnel.
3. Please follow the installation instructions given in the user manual and the package slip.
4. When installing and operating the device, the applicable safety regulations (including
national safety regulations), accident prevention regulations, as well as general techni-
cal regulations must be observed.
5. For the safety data, please refer to the corresponding documentation (user manual,
package slip) and the certificates (declaration of conformity and other approvals, if ap-
plicable).
6. Access to the circuits inside the Inline controller is not permitted. Do not repair the Inline
controller yourself but replace it with an approved controller of the same type.
Repairs may only be performed by the manufacturer. The manufacturer is not liable for
damage resulting from noncompliance.
7. The IP20 (EN 60529) degree of protection of the device is intended for use in a clean
and dry environment.
8. Do not subject the Inline controller to mechanical strain and/or thermal loads that ex-
ceed the limits specified in the product documentation.
9. The Inline controller is not designed for use in atmospheres with a danger of dust ex-
plosions. If dust is present, install the device in suitable, approved housing. Please note
the surface temperature of the housing.
Installation in Zone 2
1. Observe the specified conditions for use in potentially explosive areas.
2. Install the device in a suitable, approved housing (with at least IP54 protection accord-
ing to EN 60529) that meets the requirements of EN 60079-15.
3. In potentially explosive areas, only snap the device onto the DIN rail and remove it from
the DIN rail and connect and disconnect the cables when the power is disconnected.
4. Connect the DIN rail to protective earth ground.
5. Only connect devices to the supply and signal circuits in Zone 2 that are suitable for op-
eration in potentially explosive areas of Zone 2 and for the conditions at the installation
location.
6. The RJ45 connector must have a fully functional snap-in hook for safe operation. Re-
pair any damaged connectors immediately.
7. For safe operation with the plug-in parameterization memory (SD card), this must be
fully plugged and snapped in. In potentially explosive areas, use the SD card as main
memory only. Don't insert or remove the SD card during operation.
8. The HF cable to the antenna must be suitable for the ambient conditions. Install the ca-
ble so that it is protected against mechanical damage, corrosion, chemical stress, and
negative effects from heat or UV radiation. The same applies to the antenna which is
connected to the cable and which functions as a cable termination.
9. The antenna itself must satisfy the requirements of EN 60079-0 with regard to the hous-
ing and electrostatic charge.
Restrictions/limit values
1. Only Inline terminals that are approved for use in potentially explosive areas
may be snapped onto the Inline controller.
Before using the Inline terminal in a Zone 2 potentially explosive area, check whether
this Inline terminal has been approved for installation within this area.
For a list of terminals that are approved for Zone 2 potentially explosive areas, please
refer to the AH EN IL EX ZONE 2 application note.
2. Please make sure that the maximum permissible current of 4 A flowing through poten-
tial jumpers UM and US (total current) is not exceeded when using the Inline controller
in potentially explosive areas.
3. Also make sure that the maximum permissible current of 2 A flowing through potential
jumper UL is not exceeded.
4. The maximum permissible current for each spring-cage contact is 2 A.
The Inline controller is supplied in an ESD bag together with a package slip with installation
instructions. Please read the complete package slip carefully before unpacking the Inline
controller.
NOTE:
To avoid possible damage to the module, unpack and pack the Inline controller in accor-
dance with the ESD regulations.
1 12
2 I10
I9
3 er
/F
/GP
151 2700
ILC -No.:
xx
RS
GSM 977
4
Q I8
TR Q3 I7
AV F2AIL
R1DY 4F
UL P
FR B3SA
U S
FF
UM
ET
ES
MR OP
ST
5 11
T
SE
RE G
RO
N/P
RU T
AC
K
LN
7
10
9
8
Figure 2-3 Structure of the Inline controller
The SIM card is not supplied as standard with the Inline controller.
The diagnostics and status indicators are used for quick local error diagnostics.
I2
I9 I10
GSM/PWR/PLC I11 I12
I13 I14
GSM
I15 I16
AV TR
UL
US FR
UM FF I1
I10
I9
/GPR
S I12
GSM 977 I2 I11 4
151 2700 I1
ILC r-No.: x 1
I1
Orde : xx/xx .xx.xx
.xx.xx
E I4 I13 6
/FW .xx O1 I3 I1
HW dr.: xx QE2 I15
MAC
Ad
GSM
QD1 4 I5
I6 I1 I2
Q I8
TR Q3 I7
AV FA2IL
R1DY 4 I3
UL
FR 3A
BS
PF I4
US
FF
ET UM
MR
ES
OP
I5 I6
ST
T
SE
RE
N/P
RO
G
I7 I8
RU
A CT
K
LN
E
Q1 Q2
Q3 Q4 O1/IL
RDY FAIL
BSA PF
The reset button on the Inline controller (see 4 in Figure 2-3 on page 17) can only be oper-
ated with a pointed object (e.g., a pen) and is therefore protected against accidental activa-
tion.
If you carry out a voltage reset simultaneously as you press the reset button, this resets the
Inline controller to its default settings.
How to proceed
Hold down the reset button and switch the supply voltage of the Inline controller off and on
again. Release the reset button only after the FF (yellow) LED starts flashing.
The Inline controller has been initialized successfully and reset to its default settings only
after the FR (green) and RDY (green) LEDs are flashing. The control function is in the
READY/STOP state, a program is not processed. This process may take around 1 minute.
The parameterization memory can be used to save programs and configurations which be-
long to your project. In addition, application-specific data can also be stored on the param-
eterization memory. See Section Parameterization memory and Internet Explorer on
page 52.
The Inline controller has an integrated parameterization memory.
In addition, it is possible to use a plug-in parameterization memory in the form of an SD card.
The SD card can be used as main memory or additional memory for the Inline controller, see
Section 3.6.
The SD card is optional and is not required in order to operate the Inline controller.
A B
4
TH 97
1 E 00
>Click<
15 27
ILC -No. /xxx xx
er xx x.
Ord W xx.x
/F r.: RX
HW Add NWO
C O
MA MATI
TO
AU
Order No.
SD FLASH 88 120 256MB
29
256MB
Figure 2-5 Inserting (A) and removing (B) the parameterization memory
Inserting the SD card The Inline controller has an SD card holder with push-push technology.
Insert the parameterization memory (SD card) into the slot (Figure 2-5, A).
Applying light pressure, push the parameterization memory into the slot until it engages
with a click in the card holder.
Removing the SD card Applying light pressure, push the parameterization memory into the slot until the snap-
on mechanism releases the parameterization memory and partially ejects it from the
slot (Figure 2-5, B). Remove the parameterization memory.
For additional information on the parameterization memory, please refer to Section Func-
tions of the plug-in parameterization memory (SD card) on page 47 and Section Param-
eterization memory and Internet Explorer on page 52.
The mode selector switch is used to define the operating state of the application program.
The RUN/PROG and STOP positions have a toggle button function and the MRESET posi-
tion a pushbutton function. After releasing the button in the MRESET position, it returns to
the STOP position.
Operating Explanation
mode
RUN/PROG The controller is in the RUN state. The application program is pro-
cessed.
The PC Worx/PC Worx Express software can be used for program and
configuration modifications as well as for the online monitoring func-
tion.
I10
I9
/GPR
S I12
GSM 977 I2 I11 4
151 2700 I1
ILC -No.: .xx 1
I1
er xx
Ord : xx/x x.xx.x
x.xx E I4 I13 6
/FW .x O1 I3 I1
HW dr.: xx QE2 I6 I15
AC
Ad
QD1 4
M
GSM Q I5
I8
TR Q3 I7
AV FA2IL
R1DY 4F
UL P
FR B3SA
US
FF
UM
ET
ES
MR OP
ST
T
SE
RE G
RO
N/P
RU T
AC
K
LN
Antenna
GSM/GPRS- P IB
SMA Modem
UL+
Q1...4 DI1...16
B UANA
UL
16 x DI C
7,5V 24V
4x
24V 24V US DO
UM
UL US
A
UM
ETH
PWR
Key:
Microprocessor Converter
The gray areas in the basic circuit diagram represent electrically isolated areas:
A: Ethernet interface
B: Logic
C: I/O
Other symbols used are explained in the IL SYS INST UM E user manual.
For notes and instructions on mounting and removing Inline terminals, please refer to the
IB IL SYS PRO UM E user manual (for INTERBUS), the IL SYS INST UM E Inline instal-
lation manual or the Inline system manual for your bus system.
NOTE:
Before mounting or removing the controller, make sure that the supply voltage is switched
off and cannot be switched on again by unauthorized persons.
An Inline station is set up by mounting the individual components side by side. No tools are
required. Mounting the components side by side automatically creates potential and bus
signal connections between the individual station components.
The controller is mounted perpendicular to the DIN rail.
Mounting location Like all other terminals in the Inline product range, the Inline controller has IP20 protection
and is designed for use in a closed control cabinet or control box (terminal box) with IP54
protection or higher.
Fix the DIN rail on which the Inline controller is mounted in several places, especially in
the area around the Inline controller. This makes it easier to remove the Inline controller.
End brackets Mount end brackets on both sides of the Inline station. The end brackets ensure that the In-
line station is correctly mounted. End brackets secure the Inline station on both sides and
keep it from moving from side to side on the DIN rail. Phoenix Contact recommends using
CLIPFIX 35-5 end brackets (Order No. 3022276).
End plate The mechanical end of an Inline station is the end plate. It has no electrical function. It pro-
tects the station against ESD pulses and the user against dangerous contact voltages. The
end plate is supplied together with the Inline controller and does not need to be ordered sep-
arately.
NOTE:
When mounting or removing the Inline controller it must be tilted. This means that no Inline
terminal should be installed directly to the right of the Inline controller during mounting and
removal. The terminal must be removed prior to mounting or removing the Inline control-
ler. Otherwise, the snap-in hooks and jumper contacts will be damaged.
Mounting position Mount the Inline controller horizontally (as shown in Figure 2-8 on page 25). The specified
temperature range (see Ambient conditions on page 115) is only guaranteed if the Inline
controller is mounted in this position.
Mounting When mounting the Inline controller, proceed as shown in Figure 2-8:
Disconnect the power to the station.
Place the Inline controller onto the DIN rail from above (Figure 2-8, A) and push down
(Figure 2-8, B).
Then attach all the electronics bases required to set up the station. Observe the infor-
mation provided in the aforementioned user manuals.
Make sure that all featherkeys and keyways on adjacent terminals are securely inter-
locked.
A B
Once all the bases have been snapped on, insert the connectors in the corresponding
bases.
First, place the front connector shaft latching in the front snap-on mechanism
(Figure 2-9, A).
Then press the top of the connector towards the base until it snaps into the back snap-
on mechanism (Figure 2-9, B).
A
Figure 2-9 Snapping on the Inline controller (2)
Removal When removing the Inline controller from the DIN rail, proceed as shown in Figure 2-11 on
page 27 and Figure 2-12 on page 27:
Disconnect the power to the station.
Unlike other Inline terminals, the Inline controller is removed by tilting it away from the DIN
rail. This requires the Inline terminal to the right to be removed prior to removing the Inline
controller. The right connector of the Inline controller must also be removed.
Remove the third and fourth connectors to access the right base latch.
It is therefore recommended that all connectors be removed prior to removing the Inline
controller.
If Inline terminals are installed next to the Inline controller (see Figure 2-10):
Remove the following connectors:
All connectors of the terminal that is directly connected (A1 to A4)
The adjacent connector of the following terminal (B1)
Remove the directly adjacent Inline terminal (A).
A1...A4 B1
RESET MRESET
STOP
RUN / PROG
LNK ACT
Figure 2-10 Connectors to be removed if terminals are installed next to the Inline con-
troller
Insert a tool in the base latches of the Inline controller and pull gently upwards
(Figure 2-12, A). Pull out the Inline controller from the DIN rail (Figure 2-12, B and C).
B
A
Figure 2-12 Removing the Inline controller (2)
Replacing the Inline con- If you want to replace an Inline controller within an Inline station, proceed as described
troller above (removing and mounting). Make sure that the terminal to the right is not installed
when removing and mounting the Inline controller. Only reinstall this terminal once the Inline
controller is mounted.
In particular, make sure that all featherkeys and keyways on adjacent terminals are se-
curely interlocked.
For communication with the Inline controller, the following communication path is available:
A standardized Ethernet interface is available for connecting the Ethernet network. The
Ethernet network is connected via an RJ45 socket.
Transmit data + T+ 1
RJ45 Pin 1
Transmit data - T- 2
Pin 2
Receive data + R+ 3
Pin 3
4 Pin 4
5 Pin 5
Receive data - R- 6 Pin 6
7 Pin 7
8 Pin 8
I10
S I9
M/G 7
PR I12
GS 97
151 : 2700 I2 I11 4
ILC r-No. x .xx 1
I1 I1
Orde W: xx/xx.xx.xx
.xx.xx
E I4 I13 6
/F .: xx O1 I3 I1
HW Addr QE2 I6 I15
MAC QD1 4 I5
GSM Q I8
TR Q3 I7
AV FA2IL
1Y
RD
UL 4
PF
FR 3A
BS
US
FF
UM
T
SE
MRE OP
ST
T
SE
RE G
RO
N/P
RU T
AC
K
LN
The interface is able to switch over the transmitter and receiver automatically (auto cross-
over).
NOTE:
Disconnect power to the Inline controller before inserting/removing the SIM card.
The controller only supports 3 V SIM cards. In the event of older SIM cards, please contact
your provider.
You will receive a SIM card from the provider on which all important data for your connec-
tion is stored.
If the SIM card has been supplied in credit card format, simply detach the small sec-
tion of the card and remove any protruding parts of plastic.
I10
S I9
PR
M/G 7 I12
GS 97 I11 4
151 : 2700 x I2
ILC -No. xx xx.x 1
I1 I1
er
Ord W: xx/x .xx.xx
.xx. I4 I13 6
/F xx O1 E 2 I3 I1
HW Addr.: QE I6 I15
MA
C QD1 I5
GSM Q4 I8
TR Q3 I7
AV FA2IL
R1DY 4
UL PF
FR 3A
BS
US
FF
ET UM
ES
MR OP
ST
T
SE
RE G
RO
N/P
RU T
AC
K
LN
Inserting the SIM card Place a SIM card in the card holder as shown in Figure 2-15. The SIM card must be po-
sitioned with the diagonal edge at the top towards the controller.
Applying light pressure, use a screwdriver to push the SIM card into the card holder as
far as possible (A: push-push technology).
Removing the SIM card Using a screwdriver, push the SIM card into the card holder as far as possible. When
you remove the screwdriver, the SIM card will protrude slightly from the card holder (A:
push-push technology).
Remove the SIM card.
PIN code The SIM card can be protected by a PIN code with up to 8 digits.
To specify the PIN code, either use a parameter of the MOBILE_CONNECT function
block (see Section 3.13.1, MOBILE_CONNECT function block) or enter it in the Device
Details in PC Worx under Extended Settings/GSM Settings (see Section 4.2, GSM
settings in PC Worx).
For additional information on the function blocks, please refer to the online help for
PC Worx.
2.14 Antenna
In most cases, the ILC 151 GSM/GPRS Inline controller is operated as a fixed installation
within a wireless network for mobile devices. It is therefore important to supply the device
with a stable and undisturbed antenna signal.
To ensure a stable and undisturbed antenna signal, observe the following notes:
Do not install the antenna inside buildings.
Reflections are more likely to occur within buildings, leading to destructive interfer-
ence. This may temporarily weaken the signal strength meaning that communication
will no longer be possible.
The antenna should be at least 2.5 m away from power lines. Otherwise the voltage
induced in the antenna cable may cause the input amplifiers of the GSM receiver to
be overdriven resulting in communication no longer being possible.
The necessary safety distance from high-voltage cables must be observed.
Install the antenna cable according to the relevant antenna installation instructions. In
particular, observe the maximum cable length (influenced by cable attenuation) and
the bending radius of the cable.
7735A015
Connect the antenna cable with an SMA connector to the antenna connection of the In-
line controller. Tighten the nut at the antenna connection by hand only.
I10
S I9
M/G 7
PR I12
GS 97 I11 4
151 : 2700 .xx
I2 I1
ILC r-No. x 1
I1
Orde W: xx/xx.xx.xx
.xx.xx E I4 I13 6
O1 I3 I1
HW
/F .: xx
QE2 I15
Addr QD1 4
I6
MAC GSM Q I5
I8
TR Q3 I7
AV FA2IL
1Y
RD
UL 4
PF
FR 3A
BS
US
FF
SE
T UM
MRE OP
ST
T
SE
RE G
RO
N/P
RU T
AC
K
LN
2.15 INTERBUS
Observe the information in the Configuring and installing the INTERBUS Inline product
range user manual IB IL SYS PRO UM E when creating an Inline system (local bus
and/or remote bus).
Please note that the Inline controller does not support the following functions:
Switching of devices
Single-channel diagnostics
FO diagnostics/optical regulation
Logical addressing
Only INTERBUS devices with SUPI 3 and SUPI 3 OPC protocol chip or later can be used
with INTERBUS as local bus/remote bus devices.
The local bus is automatically created by directly connecting I/O modules to the Inline con-
troller.
Connect the remote bus to the Inline controller using the IBS IL 24 RB-T-PAC branch termi-
nal (Order No. 2861441; including accessories).
The first branch terminal must be placed directly after the Inline controller. In terms of
topology, it opens a remote bus.
If additional branch terminals are used after the first branch terminal, they must be in-
stalled directly one after the other (see also notes in the terminal-specific data sheet). In
terms of topology, the additional branches are remote bus branches with the branch ter-
minal being the first device in the corresponding remote bus branch.
A maximum of 3 branch terminals can be connected to the Inline controller, each of which
opens a remote bus (see Figure 2-2 on page 14).
Choose a power supply unit that is suitable for the currents in your application. The selection
depends on the bus configuration, the resulting maximum currents, and the type of supply
(separate supply of UILC, UM, and US, or supply from a power supply unit).
A power supply without a fall-back characteristic curve must be used for correct op-
eration of the Inline controller (see Figure 2-19).
When the Inline controller is switched on, an increased switch-on current is temporarily
triggered. The Inline controller behaves like a capacitive load when it is switched on.
Some electronically controlled power supplies have a fall-back characteristic curve (see
Figure 2-18). They are not suitable for operation with capacitive loads.
A primary-switched power supply (without fall-back characteristic curve) from the
QUINT POWER range (see current catalog from Phoenix Contact at phoenixcon-
tact.net/products) is recommended for Inline controller operation.
24 24
I OUT I OUT
IN [A] [ A]
Figure 2-18 Overload range with fall-back characteristic Figure 2-19 Overload range without fall-back charac-
curve teristic curve
Supply the Inline controller using external 24 V DC voltage sources. The permissible voltage
ranges from 19.2 V DC to 30 V DC (ripple included).
Only use power supplies that are suitable for operation with capacitive loads (increased
switch-on current) (see Section Sizing of the power supply on page 34).
1. Connect the power supplies to the connector for power supply as shown in Figure 2-20.
2. Insert the connector in the Inline controller.
3. Switch on the power supplies.
4. The UL, UM, and US LEDs light up and, after around 10 seconds, the FR and RDY
LEDs start flashing.
The Inline controller is now fully initialized.
If the LEDs do not light up or start flashing, there may be a serious fault on the Inline control-
ler.
In this case, please contact Phoenix Contact.
GSM
1 2 AV TR
UL
1.1 2.1 US FR
UM FF
I15 I16
I10
1.2 /GP
GSM 977
151 2700
ILC -No.:
er xx
RS
x.xx
.xx
2.2 1
I1
I2
I9
I12
I11 4
I1
I13 6
Ord : xx/x x.xx.x O1 E I4 I1
/FW .x I3
HW ddr.: xx QE2 I15
MA
C
1.3
A
2.3 GSM
AV
TR
QD1 4
Q3
Q
F2AIL
R1DY 4F
I5
I7
I6
I8
UL P
FR B3SA
US
1.4 MR
ES
ET
ST
OP
2.4 UM
FF
US +
-
T
SE
RE G
/P RO
R UN
T
AC
LN
K
+ +
UILC -
- UM
1.2 24 V DC 24 V supply The 7.5 V communications power (UL) for the ILC and the connected local bus
(UILC) devices is generated from this voltage. The 24 V analog voltage (UANA) for the
local bus devices is also generated.
NOTE:
Protect the supply voltage externally according to the connected
load (local bus devices) with 2 A, maximum. Make sure the exter-
nal fuse blows in the event of an error.
2.1, 2.2 24 V DC 24 V main The main voltage is routed to the local bus devices via the potential jumpers.
(UM) voltage
NOTE:
(main power)
Protect the supply voltage externally according to the connected
load (local bus devices) with 8 A, maximum. Make sure the exter-
nal fuse blows in the event of an error.
1.3 LGND Logic ground The potential is reference ground for the communications power.
reference po-
tential
2.3 SGND Segment The reference potential is directly routed to the potential jumper and is, simul-
ground refer- taneously, reference ground for the main and segment supply.
ence potential
1.4, 2.4 FE Functional Functional earth ground must be connected through the power supply. The
earth ground contacts are directly connected to the potential jumper and FE springs on the
(FE) bottom of the housing. The Inline controller is grounded when it is snapped onto
a grounded DIN rail. Functional earth ground is only used to discharge interfer-
ence.
NOTE:
The maximum total current flowing through the potential jumpers is 8 A.
The segment supply and main supply must have the same reference potential. An electri-
cally isolated voltage area is not possible.
NOTE:
The 24 V segment supply has protection against polarity reversal and transient surge volt-
age.
It does not have short-circuit protection.
The user must provide short-circuit protection. The rating of the fuse connected upstream
must be such that the maximum permissible load current of 8 A is not exceeded (total cur-
rent at UM and US).
NOTE:
The 24 V main supply has protection against polarity reversal and transient surge voltage.
It does not have short-circuit protection.
The user must provide short-circuit protection. The rating of the fuse connected upstream
must be such that the maximum permissible load current of 8 A is not exceeded (total cur-
rent at UM and US).
NOTE:
The 24 V ILC supply has protection against polarity reversal and transient surge voltage.
These protective elements are only used to protect the power supply unit.
The rating of the fuse connected upstream must be such that the maximum permissible
load current of 2 A is not exceeded.
2.16.7 Jumpers
Terminals 1.3 and 2.3 on connector 1 can be jumpered if the communications power and
the segment voltage are not to be electrically isolated.
4
1 2
3.4
I1
4.4
.xx
x.xx I13 6
1.2 2.2
er xx I4
Ord : xx/x x.xx.x
/FW .x O1 E 2 I3 I1
HW dr.: xx QE I6 I15
MAC
Ad
QD1
GSM Q4 I5
I8
TR Q3 I7
AV FA2IL
R1DY 4F
1.3 2.3 UL P
FR B3SA
US
FF
UM
ET
ES
MR OP
ST
1.4
T
2.4
SE
RE G
RO
N/P
RU T
AC
K
LN
The outputs are supplied with 24 V DC from the segment supply (US).
The inputs are supplied with 24 V DC from the main supply (UM).
The outputs have protection against ground connection interrupt and must be wired ac-
cordingly.
8510A004
Figure 2-22 Basic wiring of an output with a load (L)
In order to work with the Inline controller, the following version of PC Worx is required:
PC Worx Version 6.20 or later
(part of the AUTOMATIONWORX Software Suite 2012 1.70)
PC Worx Express Version 6.20 or later
(part of the AUTOMATIONWORX Software Suite 2012 1.70)
Recommended:
To utilize the full range of functions of the ILC 151 GSM/GPRS, we recommend that you
use the PC Worx software with the specified version or later.
For information on installing and using PC Worx, please refer to the corresponding quick
start guide. It can be downloaded at phoenixcontact.net/products and is supplied with the
software.
By default, the Inline controller has no preset IP address. Initial setting of the IP address can
be carried out with the PC Worx/PC Worx Express software using the DCP protocol or by
means of a BootP server. The IP address can be changed later with the
PC Worx/PC Worx Express software via the serial connection, Ethernet or the DCP proto-
col.
The ILC 151 GSM/GPRS as of firmware Version 4.20 and as of PC Worx Version
6.30.767 (part of the AUTOMATIONWORX Software Suite 1.81 including AddOn V1)
supports the DCP protocol.
The IP address is assigned via the DCP protocol in the PC Worx/PC Worx Express software
via the Device Details window:
Select the IP Settings tab.
Enter the IP address of the Inline controller.
Bootstrap protocol In an Ethernet network, BootP is used to assign an IP address to a BootP client using a
(BootP) BootP server. For this example (ILC 151 GSM/GPRS in the default settings), the Inline con-
troller (BootP client) sends a Boot_Request as a broadcast in the network. The MAC ad-
dress of the transmitter is sent with the Boot_Request to provide unique identification. If the
BootP server has been activated in PC Worx, PC Worx responds with a Boot_Reply.
PC Worx uses this Boot_Reply to inform the Inline controller of its IP address and subnet
mask. You must make sure that:
The BootP server knows the MAC address sent by the BootP client.
A corresponding IP address and subnet mask have been assigned in PC Worx for the
MAC address.
Once the IP data has been transferred to the Inline controller successfully, PC Worx sends
a corresponding acknowledgment message.
PC/network adapter To determine whether your network permits the IP settings used in the example project (see
Figure 3-3 on page 44), proceed as follows:
In the Windows Control Panel, check the settings for your PC network adapter.
If necessary, adjust these settings so that the Inline controller can be accessed in your
network via the IP address used in the example project.
If your network does not permit the use of the IP address used in the example project, adjust
the settings in the project information accordingly (see Figure 4-2 on page 89).
BootP is activated by default for communication with the Inline controller via Ethernet. Ini-
tial setting of the IP address can be carried out with the PC Worx software manually by
means of a BootP server. The IP address can be changed later via Ethernet using the
PC Worx software.
I10
I9
GPRS I12
GSM/ 977 I2 I11 4
151 2700 I1
ILC r-No.: .xx.xx 1
I1 I13 6
Orde : xx/xxx .45.xx O1 E I4 I1
.A0 I3
QE2
/FW
HW dr.: 00 I6 I15
C Ad QD1 4
MA
GSM Q I5
I8
TR Q3 I7
AV FA2IL
1Y
RD
UL 4
PF
FR 3A
BS
US
FF
T
UM
SE
MRE OP
ST
ET
RES
OG
N/PR
RU T
AC
K
LN
Perform a cold restart for the controller. To do this, switch the supply voltage off and
then on again after about 2 seconds.
The controller is assigned the IP address which is specified in the project for the controller.
The following message appears in the message window in the Bus Configurator tab:
The IP address is now permanently stored in the internal parameterization memory of the
Inline controller.
For additional information on setting the IP address with PC Worx, please refer to the
quick start guides for the PC Worx version used.
The time and date for the internal system clock of the Inline controller can be set under Ex-
tended Settings in the Device Details window for the controller in PC Worx.
To set the realtime clock, proceed as described in the quick start guide for the PC Worx
version used.
This function is available for Inline controllers with firmware versions 4.40 as of AUTO-
MATIONWORX Software Suite Version 1.82 AddOn V1.
The plug-in parameterization memory can be used as main memory or additional memory.
Figure 3-6 shows how you should proceed in order to use the SD card as main memory or
additional memory.
Setting in PC Worx:
Preferably, use the SD card inserted before PLC start-up
SD card is main memory
external SD card
SD card inserted after PLC start-up
as main memory
Setting in PC Worx:
Use external SD card SD card inserted before/after PLC start-up
SD card is additional memory
as additional memory
8385A019
Figure 3-6 Procedure for using the SD card as main memory or additional memory
Information on using the SD card as main memory or additional memory is provided in the
sections below.
This function is available for Inline controllers with firmware versions 4.40 as of AUTO-
MATIONWORX Software Suite Version 1.82 AddOn V1.
If the SD card is used as main memory, all application-specific data is stored on the SD card.
The SD card is recognized during initialization of the Inline controller.
If the SD card is to be used as main memory by the controller, make sure that the SD
card has been inserted before switching on the controller.
Removing the SD card The SD card must not be removed during operation of the Inline controller.
during operation
NOTE: Potential data loss
If the SD card is removed during operation, data may be lost.
Do not remove the SD card during operation.
Should the SD card be accidentally removed during operation, the Inline controller indicates
an error, stops processing the application program, and switches to the READY state. The
FAIL LED indicates an error. If an online connection to PC Worx is established, the message
window indicates that the SD card was unintentionally inserted or removed.
Changing operating For changing operating modes (operating the Inline controller with/without SD card), please
modes note the following:
Change: operation without To change the Inline controller mode from operation without SD card to operation with SD
SD card operation with card, proceed as follows:
SD card Switch off the supply voltage of the Inline controller.
Insert the SD card, see Section 2.8.1 Inserting/removing the parameterization memo-
ry.
Switch on the supply voltage of the Inline controller.
Change: operation with SD To change the Inline controller mode from operation with SD card to operation without SD
card operation without card, proceed as follows:
SD card Switch off the supply voltage of the Inline controller.
Remove the SD card, see Section 2.8.1 Inserting/removing the parameterization
memory.
Switch on the supply voltage of the Inline controller.
Settings in PC Worx Figure 3-7 shows the settings in PC Worx for using the SD card as main memory.
In the Device Details window, select the Use of external SD card setting under Ex-
tended Settings.
In the Settings area, select the Preferably, use the external SD card as main memory
setting from the drop-down list.
Click on the Send button (hidden by the drop-down list in Figure 3-7) to send the set-
ting to the Inline controller.
Restart the Inline controller.
Default setting The Preferably, use the external SD card as main memory setting is activated by default
in PC Worx.
If you do not change this setting, the following applies:
If the SD card is already inserted before starting up the Inline controller (see also
Figure 3-6 on page 47), the SD card is used as main memory. All application-specific
data is stored on the SD card.
If the SD card is inserted after starting up the Inline controller (see also Figure 3-6 on
page 47), the SD card is used as additional memory (see Section 3.5.2). All applica-
tion-specific data is stored on the internal parameterization memory of the Inline con-
troller.
This function is available for Inline controllers with firmware versions 4.40 as of
AUTOMATIONWORX Software Suite Version 1.82 AddOn V1.
If the SD card is used as additional memory, all application-specific data is stored on the in-
ternal parameterization memory of the Inline controller. If you use an SD card with license
key, the license is used nonetheless.
Use as additional memory The SD card is used as additional memory (see also Figure 3-6 on page 47), if:
The SD card is inserted after starting up the Inline controller.
or
You have selected the Use the external SD card as additional memory setting in
PC Worx (default setting).
Inserting/removing the SD The SD card may be inserted or removed before starting up the Inline controller or during
card operation.
Settings in PC Worx Figure 3-8 shows the settings in PC Worx for using the SD card as additional memory.
In the Device Details window, select the Use of external SD card setting under Ex-
tended Settings.
In the Settings area, select the Use external SD card as additional memory setting
from the drop-down list.
Click on the Send button (hidden by the drop-down list in Figure 3-8) to send the set-
ting to the Inline controller.
The Inline controller must be restarted in order to activate the setting.
It is useful to create a new directory in the sddisk directory where log files should be stored:
Access the Inline controller via FTP.
Double-click on the sddisk directory to open it.
In the sddisk directory, right-click to open the context menu and select New, Folder.
Enter a name for the directory to be created (Logfile in the example in Figure 3-10).
To access the directories on the SD card, use the FILE function blocks in PC Worx (see
Section 3.11 and online help for PC Worx).
If you program your application program accordingly, the log files are stored in the Log-
file.txt file and in the Logfile directory. You can then access the file using the FILE_OPEN
function block.
Figure 3-11 shows a FILE_OPEN function block for opening the Logfile.txt file in the \sd-
disk\Logfile directory.
Figure 3-11 Opening the Logfile.txt file using the FILE_OPEN function block
Always specify the complete path and file name in the Variable Properties dialog (right
in Figure 3-11).
To delete files or store user-specific files on the internal parameterization memory, proceed
as follows:
The FTP functionality must be activated in Internet Explorer. See Section Internet Explor-
er FTP functionality on page 53.
The file structure, which is stored on the parameterization memory, is displayed in the Inter-
net Explorer window.
Data may only be copied or deleted on the parameterization memory. Do not edit any files
as Internet Explorer does not store modified data.
For the current state to be displayed, refresh the display after every action by means of
the View, Refresh command.
Activate this setting in Internet Explorer under Tools, Internet Options, Advanced.
To protect the Inline controller against unauthorized access, it may be necessary to deacti-
vate the FTP server. The CPU_Set_Value_Request service with Var ID 0172hex is used for
this. The FTP server can be activated or deactivated with this service. The FTP server is de-
activated as soon as the corresponding service has been executed.
When you activate the FTP server, the setting is not actually activated until the controller has
been restarted. The set FTP server state is stored retentively and mapped to the
ETH_SRV_FTP_ACTIVE system variable.
Value range for the CPU_Set_Value_Request service:
Var Count 1
Var ID 0172hex
Value 0000hex Deactivate FTP server
0001hex Activate FTP server
This function is available for Inline controllers with firmware versions 4.40 as of AUTO-
MATIONWORX Software Suite Version 1.82 AddOn V1.
In order to prevent unauthorized FTP access to the parameterization memory, you can
specify a user name (maximum of twelve characters) and a password (maximum of twelve
characters) for access. By default, the user name for the Inline controller is anonymous
and no password is set (). This setting is also restored when the Inline controller is reset to
the delivery state.
The CPU_Set_Value_Request service with Var ID 019Ahex is used to specify the user name
and password.
Specifying a user name To specify a user name and password, proceed as follows:
and password Switch to the bus configuration workspace in PC Worx.
Select the ILC 151 GSM/GPRS controller in the Bus Structure window.
Select the CPU Service Editor tab in the Device Details window.
Open the ILC1xx_Service_Common.slb library.
Double-click to select the CPU_Set_Value_Request service.
In the CPU Request area for (* Var Count *), enter the value 1.
In the CPU Request area for (* Var ID ... *), enter the value 019A.
In the CPU Request area for (* Value ... *) (changed to (* length username & username
*) and (* length password & password *) in Figure 3-15), enter the desired user name
and password.
The length of the user name must be entered first followed by the individual characters of
the user name in hexadecimal ASCII format. The length of the password must then be en-
tered followed by the individual characters of the password in hexadecimal ASCII format.
Example (see Figure 3-34): user name USER (length 04), password PASS (length
04)
Charac- ASCII Charac- ASCII
ter ter
U 55 P 50
S 53 A 41
E 45 S 53
R 52 S 53
For the example, the ASCII characters 0455 5345 52 must be entered for the user name
USER (length of the user name followed by the individual characters of the user name) and
then the ASCII characters 04 5041 5353 must be entered for the password PASS (length
of the password followed by the individual characters of the password).
Figure 3-16 shows the settings for specifying the user name USER and the password
PASS in the CPU Request area.
Figure 3-16 Specifying the user name and password for FTP access
Click on the Send button to send the settings to the Inline controller.
The new user name and the new password are set.
Successful execution of the service is acknowledged in the CPU Confirmation area as fol-
lows:
<Cnf: CPU_Set_Value_Request>
82CB (*W1 : Confirmation_Code*)
0001 (*W2 : Parameter_Count*)
0000 (*W3 : Result*)
A dialog now appears for FTP access to the parameterization memory where you need to
enter the user name and password.
The contents of the parameterization memory are only displayed if the correct user name
and password have been entered.
Recommended:
If you want to access the parameterization memory using a web browser, disable the web
browser's cache.
Otherwise under certain circumstances, it is possible that the contents of the parameter-
ization memory will be displayed, despite access protection being activated, if data from
previous access without access protection is still located in the web browser's cache.
Removing the user name To remove the user name and password, proceed as described above but enter the value
and password 0000 in the CPU Request area for (* Value ... *), see Figure 3-17.
Figure 3-17 Removing the user name and password for FTP access
Deactivate To protect the Inline controller against unauthorized access, it may be necessary to deacti-
vate the HTTP server. To do this, proceed as follows:
Switch to the bus configuration workspace in PC Worx.
Select the Inline controller in the Bus Structure window.
Select the Extended Settings tab in the Device Details window.
Select the Web server setting under Extended Settings.
Select the Disabled setting from the drop-down list.
Click on the Send button (hidden by the drop-down list in Figure 3-18) to send the set-
ting to the Inline controller.
Restart the Inline controller.
If you have selected the Disabled setting, the HTTP server (web server) is deactivated.
HTTPS (see Section 3.6.5) is also deactivated.
The ILC 151 GSM/GPRS supports the Hypertext Transfer Protocol Secure (HTTPS) as of
firmware Version 4.20 and as of PC Worx Version 6.30.767 (part of the
AUTOMATIONWORX Software Suite 1.81 including AddOn V1).
The Hypertext Transfer Protocol Secure (HTTPS) can be used for HTTP server communi-
cation.
The settings to use HTTPS are made via the Device Details window.
Switch to the bus configuration workspace in PC Worx.
Select the Inline controller in the Bus Structure window.
Select the Extended Settings tab in the Device Details window.
Select the Web server setting under Extended Settings.
Select the HTTPS (Port 443) setting from the drop-down list.
Click on the Send button (hidden by the drop-down list in Figure 3-19) to send the set-
ting to the Inline controller.
Restart the Inline controller.
You can use the SMTPS method (e-mail via SMTP with SSL/TLS) to send e-mails securely.
In order to use the SMTPS method, you must import the IT library ( version 1_34) function
block library. It can be downloaded via the product at phoenixcontact.net/products.
For additional information on the function block library, please refer to the online help for
PC Worx.
Security certificates from the mail server are always accepted by the Inline controller and
not checked.
This function is available for Inline controllers with firmware versions 4.40 as of AUTO-
MATIONWORX Software Suite Version 1.82 AddOn V1.
Port 7 Value range for the CPU_Set_Value_Request service for port 7 (port for echo server):
Var Count 1
Var ID 0214hex
Value 0000hex Deactivate port 7
0001hex Activate port 7
If you deactivate port 7, the Inline controller will not be found by the AX OPC server.
Port 1962 Value range for the CPU_Set_Value_Request service for port 1962 (port for communication
with PC Worx):
Var Count 1
Var ID 0213hex
Value 0000hex Deactivate port 1962
0001hex Activate port 1962
Port 41100 Value range for the CPU_Set_Value_Request service for port 41100 (port for OPC and
debug mode in PC Worx):
Var Count 1
Var ID 0192hex
Value 0000hex Deactivate port 41100
0001hex Activate port 41100
The file system of the Inline controller supports the journaling function. As a result, voltage
failures during write processes do not destroy the file system. However, the access speed
becomes slower.
Code 02CBhex
Var Count 0001hex
Var ID 0194hex
Value 0001hex Activate journaling function
0000hex Deactivate journaling function
To ensure GPRS availability over a longer period of time, the GPRS watchdog of the
ILC 151 GSM/GPRS can be activated.
If the GPRS watchdog is activated, all four levels will always be active.
The GPRS watchdog can be activated or deactivated via the CPU_Set_Value_Request ser-
vice with Var ID 0190hex.
Value range for the CPU_Set_Value_Request service:
Code 02CBhex
Var Count 0001hex
Var ID 0190hex GSM settings
GSM index 0007hex GPRS watchdog
Value 0001hex Activate GPRS watchdog
0000hex Deactivate GPRS watchdog
000Ahex Period of time for the Level 2 watchdog
in min
(default value: 10 min)
001Ehex Period of time for the Level 3 watchdog
in min
(default value: 30 min)
Only values > 0000hex are valid for Level 2 and 3 watchdogs.
The value for the Level 2 watchdog must be lower than the value for the Level 3 watchdog.
The function blocks are used to access files from within the application program. Some of
the blocks support multiple instantiation. This means that it is possible to work with a number
of different files within the same project. The blocks perform the standard functions that are
required for typical file access operations.
The FILE_NOTIFY block is available in addition to the blocks for typical file access opera-
tions. This block can be used to detect files that have been modified in a directory containing
user files. These modifications may include:
Deletion of one or more files
Writing one or more new files
Modification of one or more existing files
Both modifications made to this directory via FTP (remote) and modifications made locally
via function blocks or firmware services can be detected.
The function blocks for handling files on the parameterization memory are described in
the PC Worx online help.
The function blocks are used to establish Ethernet communication between two communi-
cation partners.
The IP communication blocks listed below enable IEC 61131-5-compliant communication
between controllers via Ethernet or communication between controllers and Ethernet de-
vices via TCP/IP or UDP/IP.
Implement all time and connection monitoring in the application program.
The function blocks support a maximum of 8 TCP/IP or UDP/IP communication connec-
tions.
GSM functionality The function blocks are used to send and receive SMS text messages via a mobile commu-
nication network.
The function blocks for GSM/GPRS mobile communication functions are described in the
PC Worx online help.
GPRS functionality The GPRS (General Packet Radio Service) mobile communication service can be used to
transmit data in GSM mobile communication networks. Data is transmitted using IP function
blocks (see Section Function blocks for TCP/IP and UDP/IP communication on page 65).
General The MOBILE_CONNECT function block is used to parameterize and diagnose the mobile
communication modem integrated in the ILC 151 GSM/GPRS.
The mobile communication modem is always switched on as soon as it has been parame-
terized or the ILC 151 GSM/GPRS has been supplied with voltage.
The function block provides the following diagnostic information:
Registration status
Signal strength of the mobile communication connection
Current provider
The function block can be used to parameterize the following:
PIN
Roaming registration
Service Center number (phone number of the SMS Center)
Please note:
The MOBILE_CONNECT function block is used to parameterize the device for sending
and receiving SMS text messages. As of PC Worx 6.0, these settings can also be made
under Extended Settings, GSM Settings in the Device Details window. When you
make the settings in PC Worx, it is not absolutely necessary to use the
MOBILE_CONNECT function block. In this case, however, the diagnostic function of the
function block will not be available.
If you have made GSM settings in the extended settings, they will be overwritten as soon
as the MOBILE_CONNECT function block is called with the corresponding parameteriza-
tion. The current settings depend on whether the MOBILE_CONNECT function block was
called last or GSM settings were transmitted by PC Worx.
Function block
Function description If the ENABLE input is set to TRUE, an attempt is made to parameterize the mobile commu-
nication modem. The modem is configured with the parameters specified at the PARAME-
TER input.
Once the mobile communication modem has been registered successfully in the mobile
communication network, the VALID output is set to TRUE. If an error occurred during pa-
rameterization, the ERROR output is TRUE. The STATUS output shows the details of the
error as an error code. The PROVIDER output shows the name of the current provider as a
STRING. The SIGNAL_STRENGTH output indicates the RSSI (Received Signal Strength
Indicator) value. Refer to the description of the SIGNAL_STRENGTH output for increments
of the RSSI value.
Input parameters
The output states of the function block will only be updated cyclically if
ENABLE is TRUE. If ENABLE is set to FALSE and there is no error
present, the outputs will no longer be updated cyclically.
0...254: Reserved
255dec: Reset of mobile communication modem (see also description of EN-
MODE INT
ABLE input)
255: Reserved
This string is used to specify the following parameters for the mobile communica-
tion modem:
PIN (number up to eight digits)
Roaming registration allowed: Yes (TRUE) / No (FALSE)
Service Center number of the provider (phone number of the SMS Center) in
international format (e.g., +495235300)
Syntax: PIN;roaming registration,Service Center number;
PARAMETER STRING Example: 1111;true;+495235300;
Output parameters
ERROR BOOL The ERROR state is independent of the ENABLE input state.
STATUS WORD Error value of the function block (see Table 3-9 on page 69).
RSSI value:
0 -113 dBm or less
1 -111 dBm
2...30 -109 dBm ... -53 dBm (2 dBm per increment)
31 -51 dBm or more
SIGNAL_STRENGTH INT 99 Not known or not measurable
Input/output parameters
Value Meaning
SIM card with activated PIN request inserted, however a PIN has not been
transferred to the controller yet.
0x10 Remedy:
Parameterization using PC Worx or the MOBILE_CONNECT function
block.
0x14 Modem could not be started up properly
0x15 Wrong PIN
PIN has been entered incorrectly three times. The PUK code must be entered
0x16 now. The PUK code cannot be entered via the ILC 151 GSM/GPRS. Use a
mobile phone, for example, to enter the PUK code.
Re-registration failed. Signal strength too weak at the current location or SIM
0x17
card is not activated.
0x18 Abort for unknown reasons
0x19 Roaming provider rejected
0x1A Performing firmware update for GSM modem, controller not ready to operate
0x1E Error when switching operating state (MODE)
0x1F Unknown operating state (MODE)
0x23 Modem information not up to date
Error transferring parameters (group error message, could not transfer all pa-
0x28
rameters)
0x29 Error transferring the Service Center number
0x2A Error transferring the roaming parameter
Incorrect PIN value in PARAMETER:
Letter or another invalid character entered
0x2B
More than eight digits entered
Semicolon is missing
Incorrect roaming value in PARAMETER:
0x2C Value not set to true or false
Semicolon is missing
Incorrect value for the Service Center number in PARAMETER:
0x2D Phone number not entered in international format (e.g., +49...)
Semicolon is missing
General The SMS_SEND function block is used to send SMS text messages.
Function block
Function description The SMS_SEND function block can be used to send SMS text messages via the mobile
communication modem of the ILC 151 GSM/GPRS. The function block can be instantiated
multiple times. Using the ID input, a maximum of 100 SMS_RECEIVE function blocks can
be addressed.
A password request has been implemented as a safety function. The password must be
specified at the SMS_RECEIVE function block.
Input parameters
The ID is used to assign SMS text messages to a specific receiver, if several re-
ceive blocks are used within the application. The function block on the receive side
ID UINT
outputs the SMS text message only if the ID parameterized at the block matches
the ID of the SMS text message received.
The block places the specified ID in front of the SMS text to be sent (see SMS for-
mat on page 74).
If the SMS text message is sent from another device (not from an
ILC 151 GSM/GPRS, but from a mobile phone, for example), the re-
quired SMS format must be implemented by the user.
ID format: ID<YY>;
ID value range (YY =): 0...99dec
The block places the specified password in front of the SMS text to be sent (see
SMS format on page 74).
PASSWORD STRING
If the SMS text message is sent from another device (not from an
ILC 151 GSM/GPRS, but from a mobile phone, for example), the re-
quired SMS format must be implemented by the user.
Output parameters
TRUE: An error has occurred. Details are provided by the STATUS output.
FALSE: No error. STATUS contains the current value of the internal processing.
ERROR BOOL After a timeout of at least 5 seconds, the block acknowledges itself and
then sets ERROR to FALSE and READY to TRUE.
STATUS WORD Error value of the function block (see Table 3-12 on page 74).
Value Meaning
0x0A Wrong data type at DATA input
0x0B Password at PASSWORD input too long
0x0C Too many characters at DATA input
0x0D Too many characters at NUMBER input
0x0E Timeout during transmission
0x0F Too many characters at ID input
0x10 No phone number created at the NUMBER input of the block
0x11 The password string contains an invalid character (Figure 3-23 on page 75).
SMS format The SMS_RECEIVE block expects an SMS text message in a specific format that supports
additional parameters preceding the actual message text, as described below. The
SMS_SEND block must create and send the SMS text message in accordance with this for-
mat.
If the SMS text message is sent from another device (not from an ILC 151 GSM/GPRS,
but from a mobile phone, for example), the required SMS format must be implemented by
the user.
For additional information on the password and ID, please refer to the descriptions of the
PASSWORD and ID inputs (see Table 3-10 on page 72).
The sent SMS text message has the following format, for example:
Without ID and without password: SMS text
With ID = 3 and without password: ID<3>;SMS text
Without ID and with password HELLO: PTC<HELLO>;SMS text
With ID = 3 and password HELLO: ID<3>;PTC<HELLO>;SMS text
Permissible character set The figure below shows the character set for SMS text messages that is supported as of
firmware Version 3.54.
The complete character set of the SMS specification has not been implemented. The fol-
lowing characters are not available:
, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
, , ,
General The SMS_RECEIVE function block is used to receive SMS text messages.
Function block
Function description The SMS_RECEIVE function block is used to receive SMS text messages via the mobile
communication modem integrated in the ILC 151 GSM/GPRS. The function block can be in-
stantiated multiple times. Due to the maximum value range of the ID (0...99; see also ID
input at the SMS_SEND function block) we recommend generating no more than 100 in-
stances of the SMS_RECEIVE block.
A password request has been implemented as a safety function. The password must be
specified at the SMS_RECEIVE function block. The password must match the password for
the SMS_SEND block with the same ID.
If the incoming SMS text message is sent from another device (not from an
ILC 151 GSM/GPRS, but from a mobile phone, for example), the required SMS format
must be implemented by the user.
Input parameters
ID format: ID<YY>;
ID value range (YY =): 0...99dec
Optional password
If a password is specified for this input, the block will only receive SMS text mes-
sages that have an identical password. If no password is specified, the function
block can only receive SMS text messages without a password.
If the passwords do not match (no password/incorrect password), the
SMS_RECEIVE function block will discard the SMS text message.
PASSWORD STRING
We recommend using password protection for security reasons.
Output parameters
Input/output parameters
Value Meaning
The data type at the DATA output does not have the expected format (field
0x01
consisting of two strings).
0x02 The value at the ID input is greater than 99.
The ID has been assigned twice, at least two SMS_RECEIVE blocks have an
0x03
identical ID.
General This function block is used to activate/deactivate the GPRS (General Packet Radio Service)
mobile communication service in a GSM network.
Function block
Function description Once you have successfully registered in the GSM network and activated GPRS using the
GPRS_CONNECT function block, data can be transmitted in the mobile communication
network using IP blocks via a TCP/IP connection.
The GPRS parameters can be set in PC Worx in the Device Details window (see
Figure 3-27 on page 81).
The use of GPRS is registered with the provider using the mobile communication modem
integrated in the ILC 151 GSM/GPRS. To do this, the mobile communication modem must
be registered in the mobile communication network. After configuring the Inline controller,
this can be done automatically via the MOBILE_CONNECT function block or the GSM Set-
tings in PC Worx.
Requirements To register the modem in the mobile communication network of the ILC 151 GSM/GPRS
(GSM Settings) and to use GPRS with the mobile communication modem integrated in the
ILC 151 GSM/GPRS (GPRS Settings), the following settings must be made in PC Worx.
Mobile communication network registration can be checked via the status of the VALID out-
put of the MOBILE_CONNECT function block. After successful registration, the function
block returns the name of the current provider as a string at the PROVIDER output.
GPRS activation can be checked via the status of the VALID output of the
GPRS_CONNECT function block. After successful activation, the function block returns the
IP address assigned by the provider as a string at the IP_ADD output.
Input parameters
Output parameters
Input/output parameters
Value Meaning
The PPP stack could not establish a connection to the partner within 60 sec-
onds.
Possible causes:
0xff01 Incorrect GPRS password or user name.
GPRS APN (Access Point Name) is not supported by the provider.
Poor network quality. In case of poor network quality, it may be necessary
to acknowledge the error automatically.
A data call has higher priority than the GPRS connection.
Possible reasons:
0xff02 The GPRS connection has been interrupted due to a data call on the mo-
bile communication modem.
A data call is active and an attempt was made to activate GPRS.
0xff03 Unknown error in the network.
0xff04 At present, the device is not registered with a provider.
0xff05 The APN could not be set.
Internal error code.
0xeexx
Please contact your nearest Phoenix Contact representative.
Internal error code.
0xefxx
Please contact your nearest Phoenix Contact representative.
The function blocks are used to establish PCP communication between the Inline controller
and PCP devices in INTERBUS.
The Inline controller supports connections up to a maximum of sixteen PCP devices.
3.15 Alignment
The alignment of the data elements in the Inline controller memory can result in data gaps
when storing data in the memory. The compiler automatically fills these gaps with padding
bytes during the compilation process in order to prevent incorrect processing.
The disadvantage of the automatic filling of data gaps becomes apparent when data is
transmitted from the Inline controller to another controller. If this controller does not know the
memory algorithm of the Inline controller, it will interpret the received data incorrectly.
It is therefore useful to program the filling of data gaps in your application program. Data
transmissions to other controllers can therefore be taken into consideration. For example,
use byte arrays with an even number of bytes and/or word arrays in order to avoid data gaps
in your application program.
Please observe the following notes for program creation:
Create data types in flat structures, i.e., do not nest user-defined data types.
Insert padding bytes manually in order to ensure the uniform size and layout of the data
types.
When inserting padding bytes, observe the memory alignment method of the control-
lers used in the application (1-byte, 2-byte or 4-byte alignment).
Program example with The following program example shows how data gaps are filled.
data gaps
Size: 4 bytes Size: 4 bytes Size: 2 bytes Size: 6 bytes Size: 8 bytes
Align: 2 bytes Align: 2 bytes Align: 1 byte Align: 2 bytes Align: 2 bytes
Struct1 receives a padding byte after the ByteElement so that the WordElement is at a
WORD address (address that can be divided by 2 leaving no remainder). The alignment of
the overall structure is based on the data type used with maximum alignment. In this case,
the WordElement specifies the alignment.
The size of Struct2 is calculated based on the elements used and the resulting alignment.
The corresponding number of padding bytes is inserted so that the size of the data type with
the value of the alignment can be divided by 2 leaving no remainder (data type size modulo
alignment = 0).
Struct3 does not receive any padding bytes as the maximum alignment corresponds to one
byte.
Due to the padding byte that belongs to the Struct2 structure, the Struct3 structure starts at
an even address in Struct4.
Array1 receives 2 padding bytes corresponding to two consecutive Struct2 structures.
Program example without The following program shows an example of how to fill data gaps in your application pro-
data gaps gram. Fill data gaps, which are to be expected due to the memory alignment, with applica-
tion data (padding bytes in Figure 3-30).
Start PC Worx.
Select the New Project... command from the File menu to create a new project using
a template.
In the New Project dialog, select the ILC 151 GSM/GPRS... template according to
the version of the Inline controller you are using.
Save the project using an appropriate name (UM_ILC_151_GSM_GPRS in the exam-
ple in Figure 4-2).
Check the IP address settings of the ILC 151 GSM/GPRS controller and adapt them to
your network environment, if required (see Section Assigning the IP address for the
controller on page 42).
For additional information, please refer to the quick start guide or the online help for
PC Worx.
The parameters required to establish a GSM connection to the mobile communication net-
work can be specified in PC Worx using the MOBILE_CONNECT function block or under
GSM Settings on the Extended Settings tab in the Device Details window.
Parameter Description
PIN The PIN is a number up to eight digits that is used to unlock the
SIM card.
Service Center The Service Center number is the phone number of the SMS
Phone Number Center to which the SMS text messages are sent. From there, the
SMS text messages are further distributed.
Parameter Description
Roaming The Roaming parameter indicates whether the mobile communi-
cation modem of the ILC 151 GSM/GPRS is allowed to register in
the mobile communication network of a third-party provider via
roaming.
Roaming allowed: check box activated
Roaming not allowed: check box deactivated
Allowed Phone Num- Up to ten allowed phone numbers can be used to establish a re-
bers mote maintenance connection to the ILC 151 GSM/GPRS via
CSD.
The strings specified here are compared with the string of the call-
ing number. If an allowed number completely matches the calling
number or an allowed number is part of the calling number, a dial-
up connection can be established to the ILC 151 GSM/GPRS.
By specifying parts of a number it is possible to activate several
phone numbers with one entry. For example, 175 permits all
numbers that include this combination.
CHAP CHAP is a protection mechanism requiring the input of both a
user name and a password. The user name and the password are
requested when establishing a remote maintenance connection.
They need to be entered before a dial-up connection is started.
The GSM parameters are stored retentively and will still be available after the supply volt-
age has been switched off and then on again. If other GSM parameters (PARAMETER in-
put: PIN/Service Center number/roaming) are transmitted to the controller using the
MOBILE_CONNECT function block, the data stored previously will be overwritten and the
current data will be stored retentively on the ILC 151 GSM/GPRS.
GPRS can be used when you activate it via the GPRS_CONNECT function block. Registra-
tion in the GSM mobile communication network is done via the MOBILE_CONNECT func-
tion block or via the GSM settings (see Section GSM settings in PC Worx on page 92).
Data is transmitted in the mobile communication network using IP blocks via a TCP/IP con-
nection.
The GPRS parameters are set in PC Worx in the Device Details window (see Figure 4-8).
Parameter Description
APN Access Point Name
Access point to the network
This data
GPRS User Name User name for the selected access point
depends on
GPRS Password Password for the selected access point the provider.
Primary/Secondary IP address of the primary and secondary DNS
DNS Server servers of the provider
Parameter Description
GPRS On at Startup If this check box is enabled, GPRS is activated after startup of the
ILC 151 GSM/GPRS and a connection is established to the se-
lected mobile communication network. This means that GPRS is
activated independently of the application program and the
GPRS_CONNECT function block.
The ILC 151 GSM/GPRS tries to keep the GPRS connection ac-
tive, even if it is set to the STOP state.
If this check box is disabled and the ILC 151 GSM/GPRS is set to
STOP state, the GPRS connection will be interrupted.
Activate Port Filter If this check box is enabled, a port filter is activated blocking the
ports between 0...2000 as well as port 41100. This ensures there
is no unauthorized access to the ILC 151 GSM/GPRS using
PC Worx. Port 80 is an exception. This port will not be blocked,
thereby allowing access to the web server independently of the
port filter.
This section provides a few example projects which have been created with PC Worx (Ver-
sion 6.00 Service Pack 3). You can program these projects easily by yourself. You can also
use these examples as a basis for your own applications.
For additional information on PC Worx and in particular the function blocks used in these
examples, please refer to the quick start guide for the software and the online help.
Description/programming The MOBILE_CONNECT function block can be used to parameterize and diagnose the
GSM modem.
If you want to avoid parameterization, e.g., because it has been implemented with PC Worx,
the string ;;; or ;true;; must be specified as a parameterization string at the PARAME-
TER input.
Successful registration in the GSM mobile communication network is indicated with a TRUE
signal at the VALID output following a TRUE signal at the ENABLE input.
The GSM modem is now ready for operation. The SMS service can now be used.
Before sending an SMS text message, it is recommended to check whether the modem is
registered in the GSM mobile communication network. To do this, AND the VALID output of
the MOBILE_CONNECT function block with the READY output of the SMS_SEND function
block. The ANDing result is linked to the REQUEST input of the SMS_SEND function block.
In addition, the SEND_Request variable is linked to the ANDing.
To attempt to send an SMS text message, the SEND_Request variable is set to TRUE di-
rectly from the application. A successful transmission attempt is indicated with a pulse
(edge change: FALSE TRUE FALSE) at the DONE output of the SMS_SEND function
block.
To receive SMS text messages, the ENABLE input at the SMS_RECEIVE function block
must be set to TRUE. In this case, all SMS text messages received by the GSM modem
which contain the specified combination of ID and password will be read. A positive edge at
the NDR output (FALSE TRUE) indicates that an SMS text message has been received.
It is useful to immediately evaluate the received SMS text message within the same PLC
cycle as it is received or to copy it to another location. If this is not done, a new SMS text
message received in the next PLC cycle will possibly overwrite the SMS text message pre-
viously received.
Description/programming The MOBILE_CONNECT function block can be used to parameterize and diagnose the
GSM modem.
If you want to avoid parameterization, e.g., because it has been implemented with PC Worx,
the string ;;; or ;true;; must be specified as a parameterization string at the PARAME-
TER input.
Successful registration in the GSM mobile communication network is indicated with a TRUE
signal at the VALID output following a TRUE signal at the ENABLE input.
The GSM modem is now ready for operation. The GPRS service can now be used.
IP communication can be activated when GPRS availability is indicated at the VALID output
of the GPRS_CONNECT function block. The IP_Enable variable can be used to control IP
communication from the application.
The ILC 151 GSM/GPRS (client) actively accesses a server specified with the string at the
PARTNER input of the IP_CONNECT function block. Owing to the transmission times in the
network, each timeout time is set to 5000 milliseconds.
Description/programming The MOBILE_CONNECT function block can be used to parameterize and diagnose the
GSM modem.
If you want to avoid parameterization, e.g., because it has been implemented with PC Worx,
the string ;;; or ;true;; must be specified as a parameterization string at the PARAME-
TER input.
Successful registration in the GSM mobile communication network is indicated with a TRUE
signal at the VALID output following a TRUE signal at the ENABLE input.
The GSM modem is now ready for operation. The GPRS service can now be used.
IP communication can be started when GPRS availability is indicated at the VALID output
of the GPRS_CONNECT function block.
The ILC 151 GSM/GPRS (server) is waiting to be addressed by a communication partner
via the port specified at the PARTNER input of the IP_CONNECT function block. Owing to
the transmission times in the network, each timeout time is set to 5000 milliseconds.
This section describes the special program functions of the PC Worx software that are avail-
able for the Inline controller.
The Inline controller has a register set which is used for diagnostics and easy control of the
bus system. The diagnostic data is stored in the diagnostic status register and the diagnos-
tic parameter register. These registers are available to the application program as system
variables (system flags, global variables).
Operating states, error states, and additional information about the INTERBUS system can
be evaluated in the application program.
For additional information on diagnostics, please refer to the following user manual:
INTERBUS Diagnostics Guide
IBS SYS DIAG DSC UM E Order No. 2747293
The following system variables can be used to read the local digital input and output states
and to write the local digital output states.
Table 5-1 System variables of the status register for local digital inputs and outputs
Table 5-1 System variables of the status register for local digital inputs and outputs
System variable Type Meaning
ONBOARD_OUTPUT_BIT0 BOOL State of local output OUT1
ONBOARD_OUTPUT_BIT1 BOOL State of local output OUT2
ONBOARD_OUTPUT_BIT2 BOOL State of local output OUT3
ONBOARD_OUTPUT_BIT3 BOOL State of local output OUT4
ONBOARD_OUTPUT_OVERLOAD_0_3 BOOL Overload of one of the local outputs
Information on the operating state of the Inline controller is stored in the diagnostic status
register. Every bit in the diagnostic status register is assigned a certain Inline controller
state.
The following system variables can be used to read the diagnostic status register informa-
tion.
The diagnostic parameter register provides additional information on the error indicated in
the diagnostic status register. The following information is stored in the diagnostic parame-
ter register:
Error location
Error code
15 8 7 0
3 1
Segment number Position in the segment
Special case: if an interface error cannot be located, the value 128 is indicated in the di-
agnostic parameter register, i.e., bit 7 is set.
The diagnostic parameter register is rewritten whenever an error occurs. The diagnostic pa-
rameter register contains the value 0 if no errors are detected.
There is a separate group of system variables for the IEC 61131 runtime system.
The system variables listed below show the states of the diagnostic status register on the
control processor of the Inline controller.
Table 5-6 System variables of the power storage and realtime clock
The bit error rate is particularly relevant if communication takes place via GPRS connection
or a data link is established via CSD. To evaluate the bit error rate, it is recommended that
you determine the individual bit error rates within a certain period of time during communi-
cation and generate a mean value.
The mean value of the bit error rate for the data link during the last hour is calculated au-
tomatically and indicated via the BER system variable.
If the mean bit error rate is above the value 1 during communication, permanent GPRS com-
munication is only possible to a limited extent and is characterized by multiple aborts at IP
level.
In this case, check whether the antenna and the antenna cable have been installed correctly
(see Section 2.14 Antenna) and select an alternative installation location, if required.
General data
CE conformance According to R&TTE Directive 1999/5/EC
Dimensions 85 mm x 120 mm x 69 mm
Weight 285 g, approximately
Connection data for connectors
Connection method Spring-cage terminals
Conductor cross section 0.2 mm2 to 1.5 mm2 (solid or stranded), 24 - 16 AWG
General supply
Use a power supply without fall-back characteristic curve (see Section Sizing of the power supply on page 34).
24 V main supply UM
Connection technology Spring-cage terminals
Nominal value 24 V DC
Tolerance -15%/+20% (according to EN 61131-2)
Ripple 5%
Current consumption at nominal voltage (typical) 6 mA + 7 mA for each input set
Current consumption at nominal voltage (maximum) 8A
Continuation Through potential routing
Protective measures
Surge voltage Input protective diodes (can be destroyed by permanent overload)
Pulse loads up to 1500 W are short circuited by the input protective diode.
Polarity reversal Parallel polarity protection diodes; in the event of an error the high current
flowing through the diodes causes the fuse connected upstream to blow.
NOTE:
Provide external protection for the 24 V area. The power supply unit must be able to supply four times (400%) the nominal current of the external
fuse, to ensure that the fuse blows safely in the event of an error.
24 V segment supply US
Connection technology Spring-cage terminals
Nominal value 24 V DC
Tolerance -15%/+20% (according to EN 61131-2)
Ripple 5%
Current consumption at nominal voltage (typical) 10 mA + 10 mA for each output set + load
Current consumption at nominal voltage (maximum) 8A
Continuation Through potential routing
24 V segment supply US
Protective measures
Surge voltage Input protective diodes (can be destroyed by permanent overload)
Pulse loads up to 1500 W are short circuited by the input protective diode.
Polarity reversal Parallel polarity protection diodes; in the event of an error the high current
flowing through the diodes causes the fuse connected upstream to blow.
NOTE:
Provide external protection for the 24 V area. The power supply unit must be able to supply four times (400%) the nominal current of the ex-
ternal fuse, to ensure that the fuse blows safely in the event of an error.
24 V supply UILC
Connection technology Spring-cage terminals
Nominal value 24 V DC
Tolerance -15%/+20% (according to EN 61131-2)
Ripple 5%
Maximum permissible voltage range including all tolerances 19.2 V DC to 30.0 V DC (ripple included)
Current consumption at nominal voltage (minimum) 80 mA (no-load operation, i.e., no local bus devices connected,
bus inactive)
Current consumption at nominal voltage (typical) 215 mA
Current consumption at nominal voltage (maximum) 880 mA (380 mA communications power + 500 mA analog power supply)
Protective measures
Surge voltage Input protective diodes (can be destroyed by permanent overload)
Pulse loads up to 1500 W are short circuited by the input protective diode.
Polarity reversal Serial diode in the lead path of the power supply unit; in the event of an error
only a low current flows. In the event of an error, no fuse trips in the external
power supply unit.
NOTE:
Observe the current consumption of the Inline terminals
Observe the logic current consumption of each device when configuring an Inline station. It is specified in every terminal-specific data sheet.
The current consumption can differ depending on the individual terminal. The permissible number of devices that can be connected therefore
depends on the specific station structure.
Protection by the external power supply unit
Ensure protection of 2 A through the external power supply unit.
INTERBUS
Number of I/O points 4096, maximum
Number of data words 256, maximum
Number of bus segments 32, maximum
Transmission speed 500 kbps or 2 Mbps
This speed is automatically set according to the connected Inline terminals. Only use terminals with a uniform transmission speed in the overall
connected Inline system (local bus and remote bus).
Network interface
Type Ethernet
10Base-T and 100Base-TX
Speed 10 Mbits (10Base-T), 100 Mbits (100Base-TX)
half duplex, full duplex, auto negotiation
This speed cannot be set manually. It is set automatically by means of auto negotiation.
Modbus/TCP
Number of I/O points 16,384, maximum (internal Modbus/TCP client)
Digital inputs
Number 16
Input design According to EN 61131-2 type 1
Definition of the switching thresholds
Maximum low-level voltage 5 V DC
Minimum high-level voltage 15 V DC
Nominal input voltage 24 V DC
Permissible range -0.5 V < UIN < +30 V DC
Nominal input current at 24 V 7 mA, typical; 15 mA, maximum
Hardware filter times (typical)
Inputs I1 to I16
Signal change 0 -> 1 5 ms
Signal change 1 -> 0 5 ms
Permissible cable length to the sensor 30 m (to ensure conformance with EMC Directive 2004/108/EC)
Use of AC sensors AC sensors in the voltage range < UIN are limited in application (according to
the input design)
Digital outputs
Number 4
Output design Protected outputs according to EN 61131-2
Nominal output voltage 24 V DC
Nominal output current 500 mA
Nominal current Inom per channel 0.5 A
Total current 2A
Nominal load
Ohmic 12 W
Lamp 12 W
Inductive 12 VA (1.2 H)
Switching frequency with nominal inductive load 0.5 Hz (1.2 H), maximum
Behavior in the event of inductive overload Output may be damaged
Please note that the number of write access operations to the parameterization memory is limited.
We recommend that you limit the number of write access operations to the parameterization memory in your application program by first stor-
ing data in the mass storage and/or the memory for retentive data (NVRAM). Write access operations to the parameterization memory for small
volumes of data (bits, bytes) should not be possible in your application program. Data should only be transferred from the mass storage/mem-
ory for retentive data to the parameterization memory if the mass storage/memory for retentive data is full, i.e., data must be deleted first to
enable further write access operations.
Realtime clock
Accuracy 1 min./week, maximum
Power reserve 10 days
Charging time for the power storage 24 hours
Ambient conditions
Degree of protection IP20 (EN 60529:1991)
Permissible temperature (operation) -25C to +55C
Permissible temperature (storage/transport) -25C to +85C
This temperature range is only guaranteed if the Inline controller is mounted horizontally.
Mechanical tests
Vibration resistance according to EN 60068-2-6, IEC 60068-2-6 5g (operation)
Shock testing according to EN 60068-2-27, IEC 60068-2-27 25g
GSM
This device complies with Part 15 of the following FCC standard: FCC ID: RI7GE864Q2.
Frequencies 850 MHz, 900 MHz, 1800 MHz, 1900 MHz (EGSM)
Transmission power 2 W at 850 MHz and 900 MHz
1 W at 1800 MHz and 1900 MHz
SIM interface 3 V SIM card
Transmission speed Automatic adjustment
DCE/DCE 300 baud ... 14.4 kBaud
Fax 2400 baud ... 14.4 kBaud
GPRS 300 bps ... 85.6 kbps
Compatibility V.34, V.32, V.22bis, V.110
GPRS compatibility GPRS class 10, class B
Coding scheme: CS1 ... CS4
4 time slots for receiving data
2 time slots for sending data
Command set compatibility AT standard command set and extended
V.250 basic command set
Antenna connection 50 impedance SMA antenna socket
Bandwidth 70 MHz (850 MHz), 80 MHz (900 MHz)
170 MHz in DCS and 140 MHz (PCS band)
VSWR values 2:1
Approvals
For the latest approvals, please visit phoenixcontact.com or phoenixcontact.net/products.
6.2.1 Products
6.2.2 Accessories
6.2.3 Software
6.2.4 Documentation
The following tables provide error information concerning the mobile communication con-
nection or the mobile communication modem integrated in the ILC 151 GSM/GPRS:
Table 3-9 on page 69 (MOBILE_CONNECT function block)
Table 3-12 on page 74 (SMS_SEND function block)
Table 3-16 on page 78 (SMS_RECEIVE function block)
Table 3-20 on page 83 (GPRS_CONNECT function block)
For additional information on errors, their causes, and remedies, please refer to the online
help for the PC Worx function blocks described in Section 3, The Inline controller under
PC Worx general.
The firmware (integrated software on the Inline controller) can be updated using the Ether-
net interface. Such firmware updates are exclusively used for adding new functions that are
implemented within the scope of continuous product improvement. No firmware update is
required for normal system operation.
To update the firmware, please proceed as described in the Firmware update ILC
1.../3..., RFC 4... application note. It can be downloaded at
phoenixcontact.net/products.
Unshielded cables are used to connect the I/O devices and the supply voltage to the Inline
controller.
Connect these cables to the relevant Inline connectors using the spring-cage connection
method. You may connect cables with a connection cross section of 0.2 mm2 to 1.5 mm2
(24 - 16 AWG).
Inline wiring is normally done without ferrules. However, it is possible to use ferrules. If us-
ing ferrules, make sure they are properly crimped.
Push a screwdriver into the actuation shaft of the appropriate terminal point (Figure A-1,
A) so that you can insert the wire into the spring opening.
Phoenix Contact recommends the SFZ 1-0,6x3,5 screwdriver (Order No. 1204517).
Insert the wire (Figure A-1, B). Remove the screwdriver from the opening. This clamps
the wire.
After installation, the wires and the terminal points should be marked.
A4 Derating
105
P [%]
100
95
90
85
80
75
70
65
60
0 10 20 30 40 50 60
T [C]
Key:
B1 List of figures
Section 2
Figure 2-1: Connected Inline local bus ..................................................................14
Figure 2-2: Remote bus levels ..............................................................................14
Figure 2-3: Structure of the Inline controller ..........................................................17
Figure 2-4: Diagnostics and status indicators .......................................................18
Figure 2-5: Inserting (A) and removing (B) the parameterization memory .............21
Figure 2-6: Mode selector switch ..........................................................................22
Figure 2-7: Internal basic circuit diagram ..............................................................23
Figure 2-8: Snapping on the Inline controller (1) ...................................................25
Figure 2-9: Snapping on the Inline controller (2) ...................................................25
Figure 2-10: Connectors to be removed if terminals are installed next to the
Inline controller ....................................................................................26
Figure 2-11: Removing the Inline controller (1) .......................................................27
Figure 2-12: Removing the Inline controller (2) .......................................................27
Figure 2-13: Ethernet interface ................................................................................28
Figure 2-14: Connecting the Ethernet cable to the Inline controller .........................28
Figure 2-15: Inserting the SIM card .........................................................................29
Figure 2-16: Installation of the PSI-GSM/UMTS-QB-ANT antenna .........................31
Figure 2-17: Antenna connection with SMA connector ...........................................32
Figure 2-18: Overload range with fall-back characteristic curve .............................34
Figure 2-19: Overload range without fall-back characteristic curve .......................34
Figure 2-20: Supply voltage connection ..................................................................35
Figure 2-21: Terminal point assignment of connectors 2 to 4 ..................................38
Figure 2-22: Basic wiring of an output with a load (L) ..............................................39
Section 3
Figure 3-1: DCP: setting the IP address ................................................................42
Figure 3-2: Starting IP address assignment via DCP ............................................43
Figure 3-3: Entering the MAC address ..................................................................44
Figure 3-4: Activate BootP button .......................................................................45
Figure 3-5: Message window following BootP .......................................................45
Section 4
Figure 4-1: File, New Project... menu ..................................................................89
Figure 4-2: Project information after creating a new project ..................................89
Figure 4-3: Bus Configuration button ..................................................................90
Figure 4-4: ILC 151 GSM/GPRS: Device Details IP Settings ..............................90
Figure 4-5: File, Save Project As / Zip Project As... menu ...................................90
Figure 4-6: Save/Zip project as dialog ................................................................91
Figure 4-7: GSM Settings in PC Worx (Extended Settings) ...................................92
Figure 4-8: GPRS Settings in PC Worx (Extended Settings) .................................94
Section 5
Figure 5-1: Error location in the diagnostic parameter register ...........................105
Appendix A
Figure A-1: Connecting unshielded cables ..........................................................122
Figure A-2: Derating curve for the ILC 151 GSM/GPRS ......................................123
Section 2
Table 2-1: Inline controller operating modes.........................................................22
Table 2-2: Terminal point assignment...................................................................38
Section 3
Table 3-1: GPRS watchdog levels ........................................................................62
Table 3-2: Overview of the function blocks ...........................................................64
Table 3-3: Overview of the function blocks ...........................................................65
Table 3-4: Overview of the function blocks ...........................................................66
Table 3-5: Overview of the function blocks ...........................................................66
Table 3-6: Inputs of the MOBILE_CONNECT function block ................................68
Table 3-7: Outputs of the MOBILE_CONNECT function block .............................69
Table 3-8: Input/output of the MOBILE_CONNECT function block .......................69
Table 3-9: Error values of the STATUS output (ERROR = TRUE) ........................69
Table 3-10: Inputs of the SMS_SEND function block..............................................72
Table 3-11: Outputs of the SMS_SEND function block...........................................74
Table 3-12: Error values of the STATUS output (ERROR = TRUE) ........................74
Table 3-13: Inputs of the SMS_RECEIVE function block ........................................77
Table 3-14: Outputs of the SMS_RECEIVE function block .....................................77
Table 3-15: Inputs/outputs of the SMS_RECEIVE function block ...........................78
Table 3-16: Error values of the STATUS output (ERROR = TRUE) ........................78
Table 3-17: Input of the GPRS_CONNECT function block .....................................81
Table 3-18: Outputs of the GPRS_CONNECT function block.................................82
Table 3-19: Input/output of the GPRS_CONNECT function block ..........................82
Table 3-20: Error values of the STATUS output (ERROR = TRUE) ........................83
Table 3-21: Overview of the function blocks ...........................................................84
Section 4
Table 4-1: GSM parameters in PC Worx...............................................................92
Table 4-2: GPRS parameters in PC Worx.............................................................94
Section 5
Table 5-1: System variables of the status register for local digital inputs
and outputs ........................................................................................103
Appendix A
Table A-1: Installation error causes and remedies ..............................................121
D H
Hardware requirements............................................... 10
Delivery state ........................................................ 20, 44
HTTP server
Derating .................................................................... 123
Activating/deactivating the HTTP server................ 58
Diagnostic parameter register ................................... 105
Using HTTPS ........................................................ 59
Diagnostic status register.......................................... 104
Diagnostics and status indicators................................ 17
Diagnostics indicators ................................................. 18 I
Digital inputs ............................................................... 38 Inline local bus ............................................................ 14
Digital outputs ............................................................. 38 Input/output parameters
DIN rail ........................................................................ 24 GPRS_CONNECT .......................................... 81, 82
Download changes ..................................................... 46 MOBILE_CONNECT ............................................. 68
SMS_RECEIVE ............................................... 77, 78
E SMS_SEND .................................................... 72, 74
INTERBUS.................................................................. 33
Electronics base.................................................... 17, 25
IP20............................................................................. 24
End bracket................................................................. 24
End plate............................................................... 17, 24
Error causes.............................................................. 121 L
Error diagnostics ......................................................... 18 Local bus..................................................................... 33
Ethernet ...................................................................... 28
P
Parameterization memory ........................................... 20
PIN code ..................................................................... 29
Ports............................................................................ 60
Power supply .............................................................. 34
Connection ............................................................ 35
Power supply sizing .................................................... 34
Power supply without fall-back characteristic curve ... 34,
111
R
Realtime clock............................................................. 46
Remote bus................................................................. 33
Removal................................................................ 24, 26
Replacement............................................................... 27
Reset button.......................................................... 17, 20
S
SD card
Additional memory................................................. 49
Functions............................................................... 47
Memory for log files ............................................... 50
Setting the IP address
BootP .................................................................... 43
DCP....................................................................... 42
SIM card...................................................................... 29
SIM card slot ............................................................... 17
Sizing of the power supply .......................................... 34
SMS format ................................................................. 74