Um en Ilc 191 Me X Without Atex Relevant Printing 8607 en 06
Um en Ilc 191 Me X Without Atex Relevant Printing 8607 en 06
Um en Ilc 191 Me X Without Atex Relevant Printing 8607 en 06
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 in-
jury 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 re-
sult 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 in-
formation or refer to detailed sources of information.
Table of contents
1 Foreword ....................................................................................................................................9
1.1 Purpose of this user manual .................................................................................. 9
1.2 Hardware and software requirements ............................................................... 9
1.3 General safety notes............................................................................................ 10
1.4 Intended use........................................................................................................ 10
1.5 Disposal .............................................................................................................. 11
B Appendixes.............................................................................................................................174
B1 List of figures .................................................................................................... 174
B2 List of tables ..................................................................................................... 178
B3 Index................................................................................................................. 181
1 Foreword
For the ordering data for hardware, software, and additional documentation, please refer
to Section “Technical data and ordering data” on page 159.
NOTE:
The IP20 degree of protection (IEC 60529/EN 60529) of the device is intended for use in
a clean and dry environment. Do not subject the device to mechanical and/or thermal
loads that exceed the specified limits.
1.5 Disposal
The symbol with the crossed-out trash can indicates that this item must be collected and
disposed of separately. Phoenix Contact or our service partners will take the item back for
free disposal. For information on the available disposal options, visit phoenixcontact.com.
Delete personal data before returning the item.
The ILC 191 ME/AN and ILC 191 ME/INC Inline controllers have the same appearance
and numerous identical functions.
The main differences between the Inline controllers are connectors 6 (ILC 191 ME/AN:
analog inputs, ILC 191 ME/INC: counter inputs) and 7 (ILC 191 ME/AN: analog outputs,
ILC 191 ME/INC: incremental encoder inputs), see from page 51 onwards.
In the following, the term Inline controller is used in general. Differences between the
controllers are mentioned explicitly where necessary.
IEC 61131 controller The Inline controller is consistently configured and programmed according to IEC 61131
performance using the PC Worx automation software. PC Worx can be operated via the network
(Ethernet). The powerful processor can be programmed in all five IEC 61131 programming
languages and ensures quick control task processing.
Integrated Ethernet The integrated Ethernet connection (via twisted pair cable) ensures Ethernet connectivity.
connection Throughout the Ethernet network, the Inline controller can be accessed via TCP/IP or
UDP/IP. The Inline controller has two fully implemented Ethernet connections, which are
switched inside the device.
Integrated communication functions enable direct and effective data exchange via
Ethernet. The Ethernet network 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 transparent
TCP/IP mode and a transparent UDP/IP mode.
When using the AX OPC server provided in the AUTOMATIONWORX Software Suite
Version 1.30 or later, Inline controller data is available in the Ethernet network in a
standardized format and can be used for the different visualization packages.
PROFINET device The PROFINET protocol can be used via the Ethernet interfaces of the Inline controller. In
functionality this case, the Inline controller can be used as a PROFINET device.
For information on how to configure the Inline controller as a PROFINET device in the
PC Worx software, please refer to Section “The Inline controller as a PROFINET device”
on page 63.
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 (from firmware version 4.42 or later and from
AUTOMATIONWORX Software Suite Version 1.82 AddOn V1).
For additional information, please refer to the AH EN MODBUS/TCP application note.
MRP The Media Redundancy Protocol (MRP) can be used via the Ethernet interfaces of the Inline
controller. The controller supports the MRP client function, which can be enabled or
disabled via PC Worx as an option. This function is disabled by default. If the function is
enabled, it remains enabled after the supply voltage is switched off and on. If the controller
has been reset to the delivery state, the MRP client function will also be disabled again. In
a ring with Media Redundancy Protocol, maximum switch-over times of up to 200 ms can
be expected.
Integrated INTERBUS An Inline local bus as well as an INTERBUS remote bus can be connected via the
connection INTERBUS connection. In this way you can create a complete INTERBUS system
(maximum 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.
RS-232 interface This interface can be used to either assign the IP address of the Inline controller and to
access the controller using the Diag+ diagnostic tool or to communicate with serial I/O
devices via function blocks.
RS-485/RS-422 interface An RS-485 network with several I/O devices can be created via the RS-485/RS-422
interface. The interface is operated in PC Worx via the RS485_422_INIT,
RS485_422_RECEIVE, and RS485_422_SEND function blocks, see Section “Function
blocks for RS-485/RS-422 communication” on page 99.
Parameterization The Inline controller can be operated using a plug-in parameterization memory in the form
memory/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 170).
AI
PWR
DO
A0
RS485/422
X1
MRESET
RESET
STOP
PWR
Slot Voltage
RUN/PROG
PRG PWR 24 V
LNK DO 24 V
DI 24 V
X2.1
PWM 5V
ACT
RS485/422
LNK
AI 0 - 10 V
X2.2 A0 0 - 10 V
ACT
Ethernet
Figure 2-1 Connected Inline local bus
D-32825 Blomberg
ILC 191 ME/AN RDY FAIL BSA PF
Order-No.: 2700074 FR E I1 I2 UA O1 O2
HW/FW: 00/100 UL FF I3 I4
MAC Addr. 8Block: US BF Q1 Q2 I5 I6 P1 P2
xx. xx. xx. xx
UM SF Q3 Q4 I7 I8 D1 D2 TxD RxD
AUTOMATIONWORX
PWM
AI
DI
A0
PWR
DO
RS485/422
1.
X1
MRESET
RESET
STOP
PWR
Slot Voltage
RUN/PROG
PRG PWR 24 V
LNK DO 24 V
DI 24 V
X2.1
PWM 5V
ACT
RS485/422
LNK
AI 0 - 10 V
X2.2 A0 0 - 10 V
ACT
2.
INTERBUS
INTERBUS
4.
INTERBUS
AUTOMATIONWORX US SF Q1 Q2 I5 I6 P1 P2
AUTOMATIONWORX US SF Q1 Q2 I5 I6 P1 P2
X1 X1
MRESET MRESET
RESET RESET
STOP
STOP
RUN/PROG PWR RUN/PROG PWR
Nr. Function Voltage Nr. Function Voltage
PRG PRG
X1 Power In 24 V X1 Power In 24 V
ACT ACT
X2 dig. Out 24 V X2 dig. Out 24 V
X2.1 X2.1
X3 dig. In 24 V X3 dig. In 24 V
LNK LNK
X4 PWM / PTO 5V X4 PWM / PTO 5V
X5 RS485/422 X5 RS485/422
ACT ACT
X6 analog In 0 - 10 V X6 analog In 0 - 10 V
X2.2 X2.2
X7 analog Out 0 - 10 V X7 analog Out 0 - 10 V
LNK LNK
D R1
TR
ESC Enter
X10 X11
24 V GND DI0 DI1 DI2 DI3 DI4 AO AI COM NC NO
0 10 20 30 40 50 60
Figure 2-3 The Inline controller for position control
A RUN/PROG
STP
MRESET
DISPLAY
LNK
USB LAN2
24VDC
+
REMOTE
-
PROFINET
PROFINET
C D-32825 Blomberg
ILC 191 ME/AN
Order-No.: 2700074 FR E I1 I2
RDY FAIL BSA
UA
PF
O1 O2
HW/FW: 00/100 UL FF I3 I4
MAC Addr. 8Block: US BF Q1 Q2 I5 I6 P1 P2
xx. xx. xx. xx
UM SF Q3 Q4 I7 I8 D1 D2 TxD RxD
AUTOMATIONWORX
DI
PWM
AI
PWR
DO
A0
RS485/422
X1
MRESET
RESET
STOP
PWR
Slot Voltage
RUN/PROG
PRG PWR 24 V
LNK DO 24 V
DI 24 V
X2.1
PWM 5V
ACT
RS485/422
LNK
AI 0 - 10 V
X2.2 A0 0 - 10 V
ACT
Figure 2-4 PROFINET device using the ILC 191 ME/AN as an example
Key:
A PROFINET controller (in the example: RFC 470 PN 3TX Remote Field Controller)
B Managed Switch
C PROFINET device (in the example: ILC 191 ME/AN)
For additional information on how to integrate the Inline controller into a PROFINET
network as a PROFINET device, please refer to Section “The Inline controller as a
PROFINET device” on page 63.
STP
MRESET
DISPLAY
B RUN/PROG
STP
MRESET
DISPLAY
USB
ACT
LNK
LAN2
ETHERNET ETHERNET ACT
USB
ACT
LNK
LAN2
24VDC 24VDC
+ +
REMOTE
REMOTE
- -
AI
PWR
DO
A0
RS485/422
X1
MRESET
RESET
STOP
PWR
Slot Voltage
RUN/PROG
PRG PWR 24 V
LNK DO 24 V
DI 24 V
X2.1
PWM 5V
ACT
RS485/422
LNK
ETHERNET ACT
X2.2
AI
A0
0 - 10 V
0 - 10 V
PROFINET
NOTE:
To avoid possible damage to the Inline controller, unpack and pack the controller in
accordance with the ESD regulations.
15
PF
O2
O1
BSA
UA
FAIL
1 I2
RDY
P2 TxD
RxD
14
I1 P1
I4 D2
E I3 D1
I6
I5
2
I8
I7
FR Q2
Q1
FF Q4
UL Q3
BF
US
rg SF
mbe UM
Blo N
25 E/A 074
A0
AI
28 M 700
RS485/422
D-3 91
PWM
1 .: 2
DI
ILC r-No /100 ck:
DO
3
PWR
e 00
Ord W: 8Blo
/F r.
HW Add xx ORX
C . W R
MA x. xx ION PW
.x T
xx OMA
T T
AU SE
RE
ET ge
STOP
ES lta
1 MR Vo
X
4 PR
G
RU
N/P
RO
G
Slo
PW
DO
t
24
V
24
24
V
13
K
LN
5
DI
M
5V
12
11
PW
T 22 V
AC 5/4 10
48 0-
RS
V
10
K AI 0-
6
LN
A0
10
AC
T
9
8
7
Figure 2-6 Structure of the ILC 191 ME/AN Inline controller
15
PF
A2
A1
BSA
B2
1 B1
C2 Z2
1
C1 2 Z1
FAIL C2
1
2
C1 3
C2
3
C1 4
RDY 4
C2
C1
RxD
I2 P2 TxD
14
I1 P1
I4 D2
E I3 D1
I6
I5
2
I8
I7
FR Q2
Q1
FF Q4
UL Q3
BF
US
rg SF
mbe UM
Blo NC 5
Encoder
25 E/I 7
M 7000
CNT
28
RS485/422
D-3 91
PWM
1 .: 2
DI
ILC r-No /xxx ck:
DO
3
PWR
e xx
Ord W: 8Blo
/F r.
HW Add xx ORX
C . W R
MA x. xx ION PW
.x T
xx OMA
UT T
A SE
RE
ET ge
STOP
ES lta
MR Vo
X1
4 PR
G
RU
N/P
RO
G
PW
Slo
DO
t
R
24
24
24
V
V
13
K
LN
5
DI
M
5V
12
11
PW
T 22
5/4 4V
AC 48 -2
RS 5
V
24
K T 5-
10
LN CN
r
de
6
co
En
A CT
9
8
7
Figure 2-7 Structure of the ILC 191 ME/INC Inline controller
A DO PWM B DO PWM
RDY AI RDY CNT
BSA E BSA
E
P1 P2 UA P1 P2 C11 C21
D1 D2 D1 D2 C12 C22
Q1 Q2 Q1 Q2
Q3 Q4 C13 C23
Q3 Q4
C14 C24
PLC/PWR/PN PLC/PWR/PN
BSA
PF
O1
O2
AO BSA
C2
1
A1
B1
PF
A2
B2
Z2
INC
UA 1
C1 2 Z1
FAIL FAIL 2
C2
C1 3
C2
FR RDY
PF FR RDY
C1
3
4
C2
4 PF
C1
UL FF RxD O1 O2 UL FF TxD
RxD A1 A2
I2 P2 TxD I2 P2
I1 I1 P1
P1 I4
I4 D2
US BF E I3
I6
D1
D2
US BF E I3
I6
D1 B1 B2
I5 I5
I8 I8
I7
UM SF FR
Q1
Q2
I7
UM SF FR
Q1
Q2 Z1 Z2
FF FF Q4
Q4 UL
UL Q3 Q3
BF BF
US US
SF rg SF
rg be UM
be UM om C
om N
5 Bl E/IN 075
Encoder
5 Bl /A 4
A0
CNT
E 07 82
AI
82 32 1 M 00
RS485/422
32 1 M 00
RS485/422
D-
PWM
D- 27
PWM
19 : 27 19 :
DI
ILC -No. /xxx ck:
DI
DO
DO
PWR
er xx
PWR
er 00
Ord W: 8Blo Ord W: 8Blo
/F r. /F r.
HW Add xx ORX HW Add xx ORX
C . R
ETH
C . R W
ETH MA . xx ON PW
W
MA . xx ON PW
. xx ATI . xx ATI
xx M xx M
TO
AU
TO
RES
ET
FAIL AU
RES
ET
FAIL
ET
ET tage
STOP
tage
STOP
ES ES
MR Vol MR Vol
X1 X1
LNK R OG S lot 24
V LNK N/P
R OG Slo
t
24
V
RU
N/P
V
I1 I2 RU V
I1 I2
R 24 R 24
PW PW
PR
G
24
V I3 I4 PR
G
DO 24
V I3 I4
K DO K
LN LN
DI 5V I5 I6 TxD RxD DI 5V I5 I6 TxD RxD
PW
M
2
I7 I8 PW
M
2
I7 I8
T V T 5/42 V
AC 5/42 10 AC 24
48 0- RS
48 5-
RS
ACT ACT
RS-485
V
RS-485
V 24
10 K T 5-
K AI 0- LN CN
LN
r
de
AC
T
A0
DI AC
T
En
co
DI
Figure 2-8 Diagnostics and status indicators of the ILC 191 ME/AN (A) and the
ILC 191 ME/INC (B)
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.
PF
O2
O1
BSA
MRESET
UA
FAIL
RDY
STOP
RxD
I2 P2 TxD
I1 P1
I4 D2
E I3 D1
I6
I5
I8
FR I7
Q2
Q1
FF Q4
UL Q3
BF
US
rg SF
be UM
om N
5 Bl E/A 074
A0
AI
RUN/PROG
82
32 1 M 00
RS485/422
D-
PWM
19 : 27
DI
er 00
Ord W: 8Blo
/F r.
HW Add xx ORX
C . W R
MA . xx ON PW
. xx TI
xx MA
TO T
AU SE
RE
ET
tage
STOP
ES
MR Vol
X1
G t V
RO Slo 24
N/P
RU V
R 24
PW
G V
PR 24
K DO
LN
DI 5V
M
PW 2
T 5/42 V
AC 48 0-
10
RS
V
10
K AI 0-
LN
A0
T
AC
Figure 2-9 Mode selector switch of the Inline controller, ILC 191 ME/AN illustrated
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 up to one minute,
approximately.
A B
PF
PF
O2 O2
O1 O1
A
BS A
BS
UA
UA
FAIL
FAIL
RDY
RDY
RxD
TxD RxD
I2 P2 TxD
I1 I2 P2
P1 I1
I4 D2 P1
I3 I4 D2
E D1 I3
I6 E D1
I6
I5
I8 I5
I8
FR I7
Q2 FR I7
Q1 Q2
FF Q4 Q1
UL FF Q4
Q3 UL
BF Q3
US BF
SF US
rg SF
be UM rg
om N be UM
5 Bl E/A 074 om
A0
N
5 Bl E/A 074
A0
AI
82
32 1 M
AI
00 82
RS485/422
32 1 M 00
RS485/422
D-
PWM
19 : 27 D-
PWM
19 : 27
DI
ILC -No. /100 ck:
DI
DO ILC -No. /100 ck:
DO
PWR
er 00
PWR
Ord W: 8Blo
>Click<
er 00
/F dr. Ord W: 8Blo
HW Ad xx ORX /F r.
C . W R HW Add xx ORX
MA . xx ON PW C
MA . xx ON
. W PW
R
. xx TI
xx MA . xx ATI
xx M
TO T
AU SE TO
SE
T
RE AU
RE
ET ET
tage
STOP
ES
tage
STOP
MR Vol ES
X1 MR Vol
X1
G t V
RO Slo 24 G
Slo
t V
N/P RO 24
RU N/P
V RU V
R 24 R 24
PW PW
G V
PR 24 PR
G V
K DO DO 24
LN K
LN
DI 5V DI 5V
M M
PW 2 PW
T V 2
AC 5/42 10 T 5/42 V
48
RS 0- AC 48 0-
10
V RS
10 V
K AI 0- K 0-
10
LN LN AI
A0 A0
T T
AC AC
Figure 2-10 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 as shown in Figure 2-10 (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 in the direction
shown in Figure 2-10 (B) until the snap-on mechanism releases the parameterization
memory and partially ejects it from the slot. Remove the parameterization memory.
μP IB
UL+
Q1...4
UANA
UL
24V
10V
C
7,5V 24V 8 x DI RS-485/ ADC DAC
RS-422
24V 24V PWM/
US
4 x DO PTO D
UM
A UL US
UA UM
AGND
ETH 2TX
PWR
Figure 2-11 Internal basic circuit diagram of the ILC 191 ME/AN
Key:
Microprocessor Inverter
Other symbols used are explained in the IL SYS INST UM E user manual.
μP IB
UL+
Q1...4
UANA
UL
C C
7,5V 24V 8 x DI RS-485/ CNT INC
RS-422
24V 24V PWM/
4 x DO PTO D
US
UM
A UL US
UM
ETH 2TX
PWR
Figure 2-12 Internal basic circuit diagram of the ILC 191 ME/INC
Key:
Microprocessor Inverter
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
installation manual or the Inline system manual for your bus system.
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 several times, 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
Inline 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
protects 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
separately.
NOTE: Risk of damage during mounting and removal if an Inline terminal is left in
position
When mounting or removing the Inline controller, it must be tilted. Tilting the Inline
controller when mounting or removing it can damage the locking hooks and jumper
contacts of the adjacent Inline terminal on the right.
• Before mounting or removing the Inline controller, detach the right-hand connector of
the Inline controller and the adjacent Inline terminal on the right.
Mounting position Mount the Inline controller horizontally (as shown in Figure 2-13 on page 31). The specified
temperature range (see “Ambient conditions” on page 166) is only guaranteed if the Inline
controller is mounted in this position.
The Inline controller must only be mounted or removed within a temperature range from -
5°C to +55°C.
Mounting When mounting the Inline controller, proceed as shown in Figure 2-13 and Figure 2-14:
• Disconnect the power to the station.
• Place the Inline controller onto the DIN rail from above (Figure 2-13, A) and push down
(Figure 2-13, B).
• Then attach all the electronics bases required to set up the station. Observe the
information provided in the aforementioned user manuals.
Make sure that all featherkeys and keyways on adjacent terminals are securely
interlocked.
• 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-14, A).
Then press the top of the connector towards the base until it snaps into the back snap-
on mechanism (Figure 2-14, B).
A B
A
Figure 2-14 Snapping on the Inline controller (2)
Removal When removing the Inline controller from the DIN rail, proceed as shown in Figure 2-16 on
page 33:
• Disconnect the power to the station.
NOTE: Risk of damage during mounting and removal if an Inline terminal is left in
position
When mounting or removing the Inline controller, it must be tilted. Tilting the Inline
controller when mounting or removing it can damage the locking hooks and jumper
contacts of the adjacent Inline terminal on the right.
• Before mounting or removing the Inline controller, detach the right-hand connector of
the Inline controller and the adjacent Inline terminal on the right.
• Remove all the connectors of the Inline controller.
A1...A4 B1
D-32825 Blomberg
ILC 191 ME/AN RDY FAIL BSA PF
Order-No.: 2700074 FR E I1 I2 UA O1 O2
HW/FW: 00/100 UL FF I3 I4
MAC Addr. 8Block: US BF Q1 Q2 I5 I6 P1 P2
xx. xx. xx. xx
UM SF Q3 Q4 I7 I8 D1 D2 TxD RxD
AUTOMATIONWORX
DI
PWM
AI
PWR
DO
A0
RS485/422
X1
MRESET
RESET
STOP
PWR
Slot Voltage
RUN/PROG
PRG PWR 24 V
LNK DO 24 V
DI 24 V
X2.1
PWM 5V
ACT
RS485/422
LNK
AI 0 - 10 V
X2.2 A0 0 - 10 V
ACT
Figure 2-15 Connectors to be removed if terminals are installed next to the Inline
controller, ILC 191 ME/AN illustrated
• Insert a tool in the base latches of the Inline controller and pull gently upwards
(Figure 2-17, A). Pull out the Inline controller from the DIN rail (Figure 2-17, B, C).
A B
Figure 2-17 Removing the Inline controller (2)
Replacing an Inline If you want to replace an Inline controller within an Inline station, proceed as described
controller 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
securely interlocked.
(B) PRG The serial interface of your PC is directly connected to the Inline
controller (not to the programming).
For additional information on using the serial interface (e.g., IP ad-
dress assignment), please refer to Section “Function blocks for
RS-232 communication” on page 93.
(C) RS-485/422 This interface is used for serial communication with one device
(full duplex or half duplex mode) or with several devices (half du-
plex mode).
For additional information, please refer to Section “RS-485/RS-
422 communication interface” on page 48.
The Inline controller cannot be programmed via the RS-232 interface (PRG) or the RS-
485/RS-422 interface.
A B C
PF PF PF
O2 O2 O2
O1 O1 O1
A A A
BS BS BS
UA UA UA
FAIL FAIL FAIL
A0
A0
AI
AI
AI
82 82 82
32 1 M 00 32 1 M 00 32 1 M 00
RS485/422
RS485/422
RS485/422
D- D- D-
PWM
PWM
PWM
19 : 27 19 : 27 19 : 27
DI
DI
DI
ILC -No. /100 ck: ILC -No. /100 ck: ILC -No. /100 ck:
DO
DO
DO
PWR
PWR
PWR
er 00 lo er 00 lo er 00 lo
Ord W: . 8B Ord W: . 8B Ord W: . 8B
/F dr /F dr /F dr
HW Ad xx ORX HW Ad xx ORX HW Ad xx ORX
. R . R . R
MAC . xx IONW PW MAC . xx IONW PW MAC . xx IONW PW
. xx . xx . xx
xx MAT xx MAT xx MAT
TO T TO T TO T
AU SE AU SE AU SE
RE RE RE
T T T
ge ge ge
STOP
STOP
STOP
SE SE SE
lta lta lta
MRE Vo MRE Vo MRE Vo
X1 X1 X1
V V V
PR
OG Slot 24 PR
OG Slot 24 PR
OG Slot 24
N/ N/ N/
RU V RU V RU V
R 24 R 24 R 24
PW PW PW
G V G V G V
PR 24 PR 24 PR 24
K DO K DO K DO
LN LN LN
DI 5V DI 5V DI 5V
M M M
PW 2 PW 2 PW 2
T 5/42 V T 5/42 V T 5/42 V
AC 48 0-
10 AC 48 0-
10 AC 48 0-
10
RS RS RS
V V V
10 10 10
K AI 0- K AI 0- K AI 0-
LN LN LN
A0 A0 A0
T T T
AC AC AC
RS-485
2.11.1 Ethernet
Two standardized Ethernet interfaces are available for connecting the Ethernet network.
The Ethernet network is connected via RJ45 sockets.
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
Figure 2-19 Ethernet interface
PF
O2
O1
A
BS
UA
FAIL
RDY
RxD
I2 P2 TxD
I1 P1
I4 D2
E I3 D1
I6
I5
I8
FR I7
Q2
Q1
FF Q4
UL Q3
BF
US
rg SF
be UM
om N
5 Bl E/A 074
A0
AI
82
32 1 M 00
RS485/422
D-
PWM
19 : 27
DI
er 00 lo
Ord W: 8B
/F r.
HW Add xx ORX
C . W R
MA . xx ON PW
. xx TI
xx MA
TO
AU ET
RES
ET ge
STOP
ES lta
MR Vo
X1
G V
RO Slot 24
N/P
RU V
R 24
PW
G V
PR 24
K DO
LN
DI 5V
M
PW
T /422 V
AC 85
0-
10
RS4
V
10
K AI 0-
LN
A0
T
AC
Figure 2-20 Connecting the Ethernet cable to the Inline controller, ILC 191 ME/AN
illustrated
The interface is able to switch over the transmitter and receiver automatically (auto
crossover).
This interface can be used to either assign the IP address of the Inline controller and to
access the Inline controller using the Diag+ diagnostic tool or to communicate with special
I/O devices via function blocks (see Section 3.17, “Function blocks for RS-232
communication”).
The Inline controller cannot be programmed via the RS-232 interface.
Assembly instruction
1 2
2 3
4 5
5 8
6 7
PF
O2
O1
A
BS
UA
FAIL
RDY
RxD
I2 P2 TxD
I1 P1
I4 D2
E I3 D1
I6
I5
I8
FR I7
Q2
Q1
FF Q4
UL Q3
BF
US
rg SF
be UM
om
Bl N
25 E/A 074
A0
AI
28 M 700
RS485/422
D-3 91
PWM
1 .: 2
DI
er 00
Ord W: 8Blo
/F dr.
HW Ad xx ORX
A C . W R
M . xx N PW
. xx TIO
xx OMA
T T
AU SE
RE
ET
tage
STOP
ES
MR Vol
X1
G t V
RO Slo 24
N/P
RU V
R 24
PW
G V
PR 24
K DO
LN
DI 5V
M
PW 2
T 5/42 V
AC 48 0-
10
RS
V
10
K AI 0-
LN
A0
T
AC
Figure 2-21 Connecting cable between PC and Inline controller, ILC 191 ME/AN
illustrated
1 TXD
2 RXD
3 N.C.
4 GND
5 RTS
6 CTS
This interface can be used to:
– Assign the IP address or work with Diag+
– Communicate with I/O devices (e.g., modem, printer, barcode reader) via function
blocks
For communication with I/O devices, the PC Worx/PC Worx Express software provides the
RS232_INIT, RS232_SEND, and RS232_RECEIVE function blocks; see Section 3.17 on
page 93.
2.12 INTERBUS
The descriptions for INTERBUS apply to all Inline controllers listed on the inner cover page
of this user manual.
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
– Fiber optic 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 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
installed 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
terminal 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).
A power supply without a fall-back characteristic curve must be used for correct
operation of the Inline controller (see Figure 2-23).
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-22). 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 latest catalog from Phoenix Contact) is recommended for Inline
controller operation.
24 24
I OUT I OUT
IN [A] [ A]
Figure 2-22 Overload range with fall-back characteristic Figure 2-23 Overload range without fall-back
curve characteristic curve
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 39).
1. Connect the power supplies to the connector for power supply as shown in Figure 2-24.
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 is a serious fault on the Inline controller. In
this case, please contact Phoenix Contact.
PF
O2
O1
A
BS
UA
FAIL
FR
RDY
UL FF
RxD
I2 P2 TxD US BF
I1 P1
I4 D2
E I3
I6
D1 UM SF
I5
I8
FR I7
Q2
Q1
FF Q4
UL Q3
BF
US
rg SF
be UM
om
Bl N
25 E/A 074
A0
AI
28 M 700
RS485/422
D-3 91
PWM
1 .: 2
DI
1 2
PWR
er 00
Ord W: 8Blo
/F dr.
HW Ad xx ORX
C . W R
MA . xx ION PW
. xx T
xx OMA
T T
AU SE
RE
ET
tage
STOP
ES
MR Vol
X1
RO
G
Slo
t
24
V 1 1
N/P
RU
PW
R 24
V
1 2 +
PR
G
LN
K DO 24
V
US
DI 5V
2 2 –
AC
T
PW
RS
M
48
5/42
2
0-
10
V 1.1 1 1
2.1 +
LN
K AI 0-
10
V
+ UM
A0
U ILC 3 3 –
AC
T
1.2 2 2
2.2 –
4 4
1.3 3 3
2.3
1.4 4 4
2.4
Figure 2-24 Connecting the supply voltages, ILC 191 ME/AN illustrated
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.
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 sup-
ply NOTE: Device defect and danger of fire due to inappropriate
external fuse
An inappropriate external fuse for this supply voltage can result in
a device defect or even the device catching fire.
• Protect the supply voltage externally according to the
connected load (local bus devices) with 8 A, maximum.
• Make sure the external 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 poten-
tial
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 in-
terference.
NOTE: Device defect and danger of fire due to high total current
The maximum total current flowing through the potential jumpers is 8 A.
Exceeding the maximum total current can result in a device defect or even the device
catching fire.
• Make sure that the total current flowing through the potential jumpers does not exceed
8 A.
NOTE:
The 24 V segment supply has protection against polarity reversal and 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
current at UM and US).
NOTE:
The 24 V main supply has protection against polarity reversal and 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
current at UM and US).
NOTE:
The 24 V ILC supply has protection against polarity reversal and 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.13.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.
PF
O2
O1
A
BS
UA
FAIL
RDY
RxD
I2 P2 TxD
I1 P1
DO
I4 D2
E I3 D1
I6
I5
I8
FR I7
Q2
Q1
FF Q4
UL Q3
rg
US
BF
SF
1 2
be UM
Blom/AN
74
A0
25
ME 7000
AI
28
RS485/422
D-3 91
PWM
1 .: 2
DI
ILC -No /100 ck:
DO
PWR
er 00
Ord W: 8Blo
/F dr.
HW Ad xx ORX
C .
MA . xx ION
. xx T
xx OMA
T
W
T
PW
R
1.1 1 1
2.1
AU SE
RE
ET
tage
STOP
ES
MR Vol
X1
G t V
RO Slo 24
PR
G
RU
N/P
PW
R 24
V
V
1.2 2 2
2.2
DO 24
K
LN
DI 5V
AC
T
PW
RS
48
5/42
2
0-
10
V
V
1.3 3 3
2.3
10
K AI 0-
LN
A0
AC
T
1.4 4 4
2.4
Figure 2-25 Assignment of the terminal points of connector 2, ILC 191 ME/AN illustrated
The outputs are supplied with 24 V DC from the segment supply (US).
The outputs have protection against ground connection interrupt and must be wired
accordingly.
8607A001
Figure 2-26 Basic wiring of an output with a load (L)
(shown using the ILC 191 ME/AN as an example)
Phoenix Contact recommends that connectors for digital 4-channel or 16-channel Inline
terminals are used to connect sensors or actuators in 3-wire technology (not supplied as
standard, see Section “Accessories” on page 170).
The states of the digital outputs are written in PC Worx/PC Worx Express using the
corresponding system variables, see Section “Status register for local digital inputs and
outputs” on page 119.
PF
O2
O1
A
BS
UA
FAIL
RDY
E
I1
I3
I5
I2
I4
I6
I8
P1
D1
P2
D2
TxD
RxD
DI
FR
Q1
Q2
I7 1 2
FF Q4
UL Q3
BF
US
rg SF
be UM
om
Bl N
25 E/A 074
A0
AI
28 M 700
RS485/422
D-3 91
1.1 2.1
PWM
1 .: 2
DI
ILC -No 100 ck:
DO
PWR
er 00/
Ord W: 8Blo
C
/F dr.
HW Ad xx ORX
. W R
1 1
MA . xx ION PW
. xx AT
xx OM
T T
AU SE
RE
ET
tage
STOP
ES
MR Vol
X1
RU
N/P
RO
G
Slo
t
24
V 1.2 2 2
2.2
V
R 24
PW
G V
PR 24
K DO
LN
DI
PW
M
2
5V
1.3 3 3
2.3
T 5/42 V
AC 48 0-
10
RS
V
10
K AI 0-
LN
T
A0
1.4 4 4
2.4
AC
Figure 2-27 Assignment of the terminal points of connector 3, ILC 191 ME/AN illustrated
The inputs are supplied with 24 V DC from the main supply (UM).
For operating one-dimensional axis applications with step or servo motors with pulse
direction interface, the Easy Motion function block library is available in PC Worx. For
additional information, please refer to Section 5.
PF
O2
O1
A
BS
UA
FAIL
I1
I2
RDY
P1
P2 TxD
RxD
PWM
E I3
I4
I6
D1
D2
1 2
I5
I8
FR I7
Q2
Q1
FF Q4
UL Q3
BF
US
1.1 2.1
rg SF
be UM
om
Bl N
25 E/A 074
A0
AI
28 M 700
RS485/422
D-3 91
1 1
PWM
1 .: 2
DI
ILC -No /100 ck:
DO
PWR
er 00
Ord W: 8Blo
/F dr.
HW Ad xx ORX
A C . W R
M . xx N PW
. xx TIO
xx OMA
T T
AU SE
ET
RE
tage 1.2 2.2
STOP
ES
X1
MR Vol 2 2
G t V
RO Slo 24
N/P
RU V
R 24
PW
1.3 2.3
G V
PR 24
K DO
LN
DI 5V 3 3
M
PW 2
T 5/42 V
AC 48 0-
10
RS
V
1.4 2.4
10
K AI 0-
LN
A0 4 4
T
AC
Figure 2-28 Assignment of the terminal points of connector 4, ILC 191 ME/AN illustrated
If a shielded cable is required for connection of the I/O device, use the IB
IL SCN 6-SHIELD-TWIN (Order No. 2740245) or IB IL SCN-6 SHIELD (Order No.
2726353) Inline shield plug.
PF
O2
O1
A
BS
RS-485
UA
FAIL
RDY
I2 P2 TxD
RxD 1 2
I1 P1
I4 D2
E I3 D1
I6
I5
I8
FR I7
Q2
Q1
Q4
1.1 2.1
FF
UL Q3
BF
US
SF
be
Blom/AN
4
rg
UM 1 1
A0
E25 07
AI
28
1 M 700
RS485/422
D-3
19 .: 2
PWM
DI
ILC -No /100 ck:
DO
PWR
er 00
Ord W: 8Blo
/F dr.
HW Ad xx ORX
C . R
1.2 2.2
W
MA . xx ION PW
. xx AT
xx OM
AU
T
RE
SE
T
2 2
ET
tage
STOP
ES
MR Vol
X1
G t V
RO Slo 24
N/P
PR
G
RU
PW
R
DO 24
24
V
V
1.3 3 3
2.3
K
LN
DI 5V
M
PW 2
T
1.4 2.4
5/42 V
AC 48 0-
10
RS
V
LN
K AI 0-
10
4 4
A0
T
AC
Figure 2-29 Assignment of the terminal points of connector 5, ILC 191 ME/AN illustrated
Please note:
Use a twisted pair, common shielded data cable to connect the devices, see Section
“Connecting the shield” on page 173.
Data can be transmitted via the RS-485/RS-422 communication interface in full or half
duplex mode. In half duplex mode, several devices can be operated simultaneously via the
serial bus.
The respective interface wiring for full and half duplex mode is illustrated in Figure 2-30 and
Figure 2-31.
FAIL
TxD RxD
1.1 2.1
1.2 2.2
1.3 2.3
Tx+
Rx-
Tx-
FAIL
TxD RxD
1.1 2.1
1.2 2.2
1.3 2.3
1.4 2.4
Rx+/ Rx-/
Tx+ Tx-
If the Inline controller is at the end of the bus, the internal termination resistor can be
switched on by inserting two wire jumpers.
The interface wiring for switching on the termination resistor is illustrated in Figure 2-32.
FAIL
TxD RxD
1.1 2.1
1.2 2.2
1.3 2.3
1.4 2.4
Rx-/ Rx+/
Tx- Tx+
The description of the analog inputs applies to the ILC 191 ME/AN.
PF
AI
O2
O1
A
BS
UA
FAIL
RDY
1 2
RxD
I2 P2 TxD
I1 P1
I4 D2
E I3 D1
I6
I5
1.1 2.1
I8
FR I7
Q2
Q1
FF Q4
UL
US
BF
Q3
1 1
rg SF
be UM
Blom N
A0
25 E/A 074
AI
28 0
1 M 70
RS485/422
D-3
19 .: 2
PWM
DI
ILC -No /100 ck:
DO
PWR
er 00
Ord W: 8Blo
M A C
/F dr.
HW Ad xx ORX
. xx
. xx TIO
xx OMA
.
NW PW
R 1.2 2 2
2.2
T T
AU SE
RE
ET
tage
STOP
ES
MR Vol
X1
RU
N/P
RO
G
PW
R
Slo
t
24
24
V
V
1.3 3 3
2.3
G V
PR 24
K DO
LN
DI 5V
AC
T
PW
RS
M
48
5/42
2
0-
10
V 1.4 4 4
2.4
V
10
K AI 0-
LN
A0
T
AC
Figure 2-33 Assignment of the terminal points of connector 6 on the ILC 191 ME/AN
Please note:
In environments with high levels of interference, unshielded cables may cause values to
be outside the specified tolerance limits.
• Connect the analog sensors using shielded, twisted-pair cables. See Section
“Connecting the shield” on page 173.
• Insulate the shielding at the sensor
or
Connect the shielding with a high resistance and a capacitor to the PE potential.
Connection examples
1.1 2.1
1.2 2.2
U U
1.3 2.3
1.4 2.4
+24 V
1.1 2.1
1.2 2.2
U
1.3 2.3 P
1.4 2.4
GND
The states of the local analog inputs can be read using the corresponding system variables
in PC Worx, see Section “Status register for local analog inputs and outputs” on page 120.
The description of the analog outputs applies to the ILC 191 ME/AN.
FAIL
BS
A
UA
PF
O1
O2
AO
1 2
RDY
RxD
I2 P2 TxD
I1 P1
I4 D2
I3
1.1 2.1
E D1
I6
I5
I8
FR I7
Q2
UL
FF
Q1
Q4 1 1
Q3
BF
US
rg SF
be UM
Bl /AN om
4
A0
E 007
25
AI
28
1 M 70
RS485/422
D-3
19 .: 2
PWM
1.2 2.2
DI
ILC -No /100 ck:
DO
PWR
er 00
Ord W: 8Blo
C
/F dr.
HW Ad xx ORX
. W R
2 2
MA . xx ION PW
. xx AT
xx OM
T T
AU SE
RE
ET
tage
STOP
ES
MR Vol
X1
RU
N/P
RO
G
Slo
t
24
V 1.3 3 3
2.3
V
R 24
PW
G V
PR 24
K DO
LN
DI 5V
T
PW
M
2 V
1.4 4 4
2.4
AC 5/42 10
RS
48 0-
V
10
K AI 0-
LN
A0
T
AC
Figure 2-36 Assignment of the terminal points of connector 7 on the ILC 191 ME/AN
Connection notes:
– Always connect the analog actuators using shielded twisted pair cables. Unshielded
cables may cause values to be outside the specified tolerance limits in environments
subject to heavy noise.
Please note:
An Inline shield plug is required to connect the cables to connector 7, see Section
“Connecting the shield” on page 173.
The states of the local analog outputs can be read and written using the corresponding
system variables in PC Worx, see Section “Status register for local analog inputs and
outputs” on page 120.
The description of the counter inputs applies to the ILC 191 ME/INC.
The ILC 191 ME/INC has two counter inputs for detecting fast pulse sequences from
sensors.
PF
A2
CNT
A1
A B2
BS B1
1
C2 Z2
FAIL
C1
1
C2
2 Z1 1 2
2
C1 3
C2
3
C1 4
RDY 4
C2
C1
I1
I2
I4
P1
P2 TxD
RxD
1.1 1 1
2.1
D2
E I3 D1
I6
I5
I8
FR I7
Q2
UL
US
FF
BF
Q1
Q3
Q4
1.2 2 2
2.2
rg SF
be UM
Bl om
NC 5
Encoder
25 E/I 07 CNT
28
1 M 00
RS485/422
D-3
PWM
19 .: 27
1.3 2.3
DI
er xx
Ord W: 8Blo 3 3
/F r.
HW Add xx ORX
C . W R
MA . xx ION PW
. xx AT
xx OM
T T
AU SE
ET
RE
tage
1.4 2.4
STOP
ES
MR Vol 4 4
X1
G t V
RO Slo 24
N/P
RU V
R 24
PW
G V
PR 24
K DO
LN
DI 5V
M
PW 2
A CT 5/42 24
V
RS
48 5-
V
24
K CN
T 5-
LN
er
od
Enc
T
AC
Figure 2-37 Assignment of the terminal points of connector 6 on the ILC 191 ME/INC
Up to two counters (counter 1: terminal points 1.1 to 1.4; counter 2: terminal points 2.1 to
2.4) can be used for the evaluation of fast counter pulses. For additional information on the
counters, please refer to Section “Function blocks for counter inputs” on page 105.
The description of the incremental encoder inputs applies to the ILC 191 ME/INC.
INC
PF
A2 1 2
A1
A B2
BS B1
1
C2 Z2
1
C1 2 Z1
FAIL 2
C2
1.1 2.1
C1 3
C2
3
C1 4
RDY C2
C1
4
1 1
RxD
I2 P2 TxD
I1 P1
I4 D2
FR
E I3
I5
I7
I6
I8
D1
1.2 2 2
2.2
Q2
Q1
FF Q4
UL Q3
BF
US
be
rg
Blom/INC 5
UM
SF
1.3 2.3
Encoder
25 E 07 3 3
CNT
28
1 M 00
RS485/422
D-3
PWM
19 .: 27
DI
er xx
Ord W: 8Blo
/F r.
HW Add xx ORX
C
MA . xx ION
. xx T
xx OMA
T
. W
T
PW
R
1.4 4 4
2.4
AU SE
RE
ET
tage
STOP
ES
MR Vol
X1
G t V
O Slo 24
N /PR
RU V
R 24
PW
G V
PR 24
K DO
LN
DI 5V
M
PW 2
T 5/42 V
AC 48 5-
24
RS
V
24
K CN
T 5-
LN
er
od
Enc
T
AC
Figure 2-38 Assignment of the terminal points of connector 7 on the ILC 191 ME/INC
Please note:
An Inline shield plug is required to connect the cables to connector 7, see Section
“Connecting the shield” on page 173.
Up to two counters for incremental encoders (counter 1: terminal points 1.1 to 1.3; counter
2: terminal points 2.1 to 2.3) can be used for position detection. For additional information
on the counters, please refer to Section “Function blocks for incremental encoder inputs” on
page 112.
The PROFINET device function of the controller is not supported by the PC Worx Express
software.
For information on installing and using PC Worx/PC Worx Express, please refer to the
corresponding quick start guide. It can be downloaded at phoenixcontact.net/products
and is supplied with the software.
The procedure for assigning the IP address is essentially the same in PC Worx and
PC Worx Express for all Inline controllers described in this user manual.
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 manually via the serial
interface, 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 protocol.
The Inline controllers support the DCP protocol from firmware version 4.42 or later and
from AUTOMATIONWORX Software Suite 1.82 AddOn V1).
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.
The “IP Assignment” tab is used for actual IP address assignment with DCP.
• Select the “IP Assignment” tab.
After selecting the “IP Assignment” tab, the PROFINET network is searched for DCP
devices.
• Click on “Assign IP” to start IP address assignment with DCP.
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 191 ME/INC in the default settings), the
ILC 191 ME/INC (BootP client) sends a Boot_Request as a broadcast in the network. The
MAC address of the transmitter is sent with the Boot_Request to provide unique
identification. If the BootP server has been activated in PC Worx Express,
PC Worx Express responds with a Boot_Reply. PC Worx Express uses this Boot_Reply to
inform the ILC 191 ME/INC of its IP address and subnet mask. Please ensure 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 Express
for the MAC address.
Once the IP data has been transferred to the ILC 191 ME/INC successfully,
PC Worx Express 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-4 on page 61), proceed as follows:
• In the Windows Control Panel, check the settings for your PC network adapter.
• If necessary, adjust these settings so that the ILC 191 ME/INC 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 3-1 on page 58).
Assigning IP settings To set the IP address in PC Worx/PC Worx Express, proceed as described below.
The IP address that is assigned here for the controller is also implemented as the IP
address for the communication path via TCP/IP.
After assigning the IP address, PC Worx Express automatically creates a link via TCP/IP
as a communication path to the Inline controller.
PF
O2
O1
A
BS
UA
FAIL
RDY
RxD
I2 P2 TxD
I1 P1
I4 D2
E I3 D1
I6
I5
I8
FR I7
Q2
Q1
FF Q4
UL Q3
BF
US
rg SF
be UM
om N
5 Bl E/A 074
A0
AI
82
32 1 M 00
RS485/422
D-
PWM
19 : 27
DI
er 00 ck
Ord W: 8Blo
/F r.
HW Add xx ORX
C . W R
MA . xx ON PW
. xx TI
xx MA
TO ET
AU
RES
ET
tage
STOP
ES
MR Vol
X1
G t V
RO Slo 24
N/P
RU V
R 24
PW
G V
PR 24
K DO
LN
DI 5V
M
PW 2
T 5/42 V
AC 48 - 10
RS 0
V
10
K AI 0-
LN
A0
T
AC
• 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.
For additional information on setting the IP address with PC Worx/PC Worx Express,
please refer to the quick start guides for the software used.
Please note that it is only possible to integrate the Inline controller in the PC Worx software
as a PROFINET device.
The PROFINET device function of Inline controllers can also be activated in the
PC Worx Express software.
This section uses an example to describe how to integrate the ILC 191 ME/INC as a
PROFINET device. This procedure also applies to the ILC 191 ME/AN.
The PROFINET-specific system variables can be found in Section 4.8 on page 126.
Activating the PROFINET You can activate the PROFINET device function once you have assigned an IP address for
device function of the the ILC 191 ME/INC as described in Section “Assigning the IP address for the controller” on
ILC 191 ME/INC page 59 (in the following example: 192.168.161.155).
• In the “Device Details” window, select the “PROFINET device activation” item under
“Extended Settings”.
• Under “Settings”, select “PROFINET device activated”.
• Click on the “Send” button (hidden by the drop-down list in Figure 3-8).
• In the “Settings Communication Path” dialog, confirm the suggested IP address or the
one you have set according to your application with “OK”.
• In the “Settings Communication Path” dialog, confirm the suggested IP address or the
one you have set according to your application with “OK”.
Now you can read in the ILC 191 ME/INC as a PROFINET device in a PC Worx project.
Integrating the The following section describes how to read in the ILC 191 ME/INC as a PROFINET device
ILC 191 ME/INC as a in the PC Worx software.
PROFINET device
Alternatively, you can also create the PC Worx project by selecting devices from the
device catalog. For additional information on creating a PC Worx project, please refer to
the online help or the quick start guide for the software.
The “Read PROFINET” dialog that opens shows the PROFINET devices that have been
detected in the connected network.
• Select the ILC 191 ME/INC and click on the “Insert” button to insert the controller as a
PROFINET device.
• Close the dialog by clicking on the “Close” button.
The PROFINET device inserted earlier will be displayed in the “Bus Structure” window.
The process data of the PROFINET device will be displayed on the “Process Data” tab in
the “Device Details” window.
The ILC 191 ME/INC is now available as a PROFINET device in the PC Worx project.
The procedure for setting the realtime clock is essentially the same in PC Worx and
PC Worx Express. The following example describes the setting in PC Worx Express.
The time and date for the internal system clock of the Inline controller can be set under
“Extended Settings” in the “Device Details” window for the controller in PC Worx Express.
To set the realtime clock, proceed as described in the quick start guide for the
PC Worx Express version used.
The function is available for Inline controllers with firmware versions ≥ 4.42 from
AUTOMATIONWORX Software Suite Version 1.82 AddOn V1.
The plug-in parameterization memory can be used as the main or additional memory.
Figure 3-18 shows how to proceed to use the SD card as the main 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-18 Procedure for using the SD card as the main or additional memory
Information on using the SD card as the main or additional memory can be found in the
following sections.
The function is available for Inline controllers with firmware versions ≥ 4.42 from
AUTOMATIONWORX Software Suite Version 1.82 AddOn V1.
If the SD card is used as the main memory, all application-specific data is stored on the SD
card.
The SD card is recognized during initialization of the Inline controller.
• Make sure that the SD card is inserted before switching on the controller to enable
the controller to use it as the main memory.
Removing the SD card The SD card must not be removed while the Inline controller is running.
during operation
Should the SD card be accidentally removed during operation, the Inline controller signals
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 modes (operating the Inline controller with/without SD card), please note the
modes 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
memory”.
• 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-19 shows the settings in PC Worx for using the SD card as the main memory.
• In the “Device Details” window, select the “Use of external SD card” setting under
“Extended Settings”.
• Under “Settings”, select the “Preferably, use the external SD card as main memory”
setting in the drop-down list.
• Click on the “Send” button (hidden by the drop-down list in Figure 3-19) to send the
setting 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-18 on page 70), the SD card is used as the 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-18 on
page 70), the SD card is used as the additional memory (see Section 3.7.2). All
application-specific data is stored on the internal parameterization memory of the Inline
controller.
The function is available for Inline controllers with firmware versions ≥ 4.42 from
AUTOMATIONWORX Software Suite Version 1.82 AddOn V1.
Use as additional memory The SD card is used as additional memory (see also Figure 3-18 on page 70) if
– the SD card is inserted after starting up the Inline controller
or
– you have selected the “Use external SD card as additional memory” setting (default
setting) in PC Worx.
Inserting/removing the SD The SD card may be inserted or removed before starting up or while operating the Inline
card controller.
Settings in PC Worx Figure 3-20 shows the settings in PC Worx for using the SD card as the additional memory.
• In the “Device Details” window, select the “Use of external SD card” setting under
“Extended Settings”.
• Under “Settings”, select the “Use external SD card as additional memory” setting in the
drop-down list.
• Click on the “Send” button (hidden by the drop-down list in Figure 3-20) to send the
setting to the Inline controller.
The Inline controller must be restarted to apply the setting.
We recommend that you create a new directory within the “sddisk” directory to store log
files.
• Access the Inline controller via FTP.
• Double-click to open the “sddisk” directory.
• In the “sddisk” directory, right-click to open the context menu and select “New, Folder”.
• Enter a name for the new directory (in the example in Figure 3-22 “Logfile”).
To access the directories on the SD card, use the FILE function blocks in PC Worx (see
Section 3.13 and online help for PC Worx).
When you program your application program, the log data in the “Logfile.txt” file will be
saved and stored in the “Logfile” directory. You can then access the file using the
FILE_OPEN function block.
Figure 3-23 shows a FILE_OPEN function block for opening the “Logfile.txt” file in the
“\sddisk\Logfile” directory.
Figure 3-23 Opening the “Logfile.txt” file using the FILE_OPEN function block
In the “Variable Properties” dialog (shown on the right in Figure 3-23) always enter the
complete path and the file name.
The FTP functionality must be activated in Internet Explorer. See Section “Internet
Explorer FTP functionality” on page 77.
The file structure, which is stored on the parameterization memory, is displayed in the
Internet 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.
Var Count 1
Var ID 0172hex
Value 0000hex Deactivate FTP server
0001hex Activate FTP server
The function is available for Inline controllers with firmware versions ≥ 4.42 from
AUTOMATIONWORX Software Suite Version 1.82 AddOn V1.
To prevent unauthorized FTP access to the parameterization memory, you can define a
user name (max. twelve characters) and a password (max. twelve characters). By default
upon delivery, the user name for the Inline controller is set to “anonymous” and there is no
password (“”). This setting is also restored when you reset the Inline controller to the delivery
state.
The CPU_Set_Value_Request service with Var ID 019Ahex is used to define a user name
and password.
Defining a user name and To define a user name and password, proceed as follows:
password • Switch to the bus configuration workspace in PC Worx.
• In the “Bus Structure” window, select the controller, e.g., “ILC 191 ME/INC”.
• In the “Device Details” window, select the “CPU Service Editor” tab.
• Open the “ILC1xx_Service_Common.slb” library.
• Double-click to select the CPU_Set_Value_Request service.
• Under “CPU Request” enter the value “1” for (* Var Count *).
• Under “CPU Request” enter the value “019A” for (* Var ID ... *).
• Under “CPU Request” enter the desired user name and password for (* Value ... *) (in
Figure 3-28 changed to (* length username & username *) and (* length password &
password *)).
Here the length of the user name must be entered first, followed by the individual characters
of the user name in hexadecimal ASCII format. Then the length of the password must be
entered, followed by the individual characters of the password in hexadecimal ASCII format.
Example (see Figure 3-28): user name “USER” (length “04”), password “PASS” (length
“04”)
Figure 3-28 Defining a 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 password are set.
The successful execution of the service is acknowledged under “CPU Confirmation” as
follows:
<Cnf: CPU_Set_Value_Request>
82CB (*W1 : Confirmation_Code*)
0001 (*W2 : Parameter_Count*)
0000 (*W3 : Result*)
When accessing the parameterization memory via FTP, a dialog now appears in which the
user name and password must be entered.
The content of the parameterization memory is only displayed if the user name and
password entered are correct.
Recommendation:
If you wish to access the parameterization memory via a web browser, deactivate the web
browser's cache.
Otherwise the content of the parameterization memory may be displayed even if access
protection has been activated, if, for example, data from the last time the memory was
accessed without access protection is still stored in the web browser's cache.
Removing the user name To remove the user name and password, proceed as described above but under “CPU
and password Request” enter the value “0000” for (* Value ... *); see Figure 3-29.
Figure 3-29 Removing the user name and password for FTP access
This function is supported by Inline controllers from firmware version 4.42 or later and from
AUTOMATIONWORX Software Suite 1.82 AddOn V1.
Disable To protect the Inline controller against unauthorized access, it may be necessary to disable
the HTTP server. To do this, proceed as follows:
• Switch to the bus configuration workspace in PC Worx.
• In the “Bus Structure” window, select the controller, e.g., “ILC 191 ME/AN”.
• Select the “Extended Settings” tab in the “Device Details” window.
• Under “Extended Settings” select the “Web server” setting.
• Select the “Disabled” setting from the drop-down list.
• Click on the “Send” button (hidden by the drop-down list in Figure 3-30) to send the
setting to the Inline controller.
• Restart the Inline controller.
Once you have selected the “Disabled” setting, the HTTP server (web server) will be
disabled. HTTPS (see Section 3.8.5) will also be disabled.
From the WebVisit software, access to the Inline controller's web server is possible via
HTML5.
The Hypertext Transfer Protocol Secure (HTTPS) is supported by Inline controllers from
firmware version 4.42 or later and AUTOMATIONWORX Software Suite 1.82 AddOn V1.
The Hypertext Transfer Protocol Secure (HTTPS) can be used for HTTP server
communication.
The settings to use HTTPS are made via the “Device Details” window.
• Switch to the bus configuration workspace in PC Worx.
• Select the controller, e.g., “ILC 191 ME/AN”, in the “Bus Structure” window.
• Select the “Extended Settings” tab in the “Device Details” window.
• Under “Extended Settings” select the “Web server” setting.
• In the drop-down list select the setting “HTTPS (Port 443)”.
• Click on the “Send” button (hidden by the drop-down list in Figure 3-31) to send the
setting to the Inline controller.
• Restart the Inline controller.
Security certificates from the mail server are always accepted unchecked by the Inline
controller.
The function is available for Inline controllers with firmware versions ≥ 4.42 from
AUTOMATIONWORX 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 function blocks for handling files on the parameterization memory are described in the
PC Worx online help.
STATUS output
(ERROR = TRUE)
Table 3-6 Error values of the STATUS output (ERROR = TRUE)
Value Status
0001hex Invalid value at the FREQUENCY input
0002hex Invalid value at the PULSE_CNT input
0004hex Invalid value at the DUTY_CYCLE input
0x08hex Invalid combination of values at the FREQUENCY and DUTY_CYCLE
inputs
Signal
REQUEST
DONE
Figure 3-36 Signal curve when the REQUEST input is set to FALSE too early (the DONE
output is only TRUE for one cycle)
Key:
1 Signal curve at output P1/P2 (PULSE_CNT parameter = 0)
2 FREQUENCY parameter = 2
3 FREQUENCY parameter = 4
Signal
REQUEST
DONE
Figure 3-37 Signal curve when the output signal frequency is changed
Key:
1 Signal curve at output P1/P2 (PULSE_CNT parameter = 5)
2 FREQUENCY parameter = 2
3 FREQUENCY parameter = 4
4 Output status of the PWM signal (processing carried out)
Signal
REQUEST
DONE
Figure 3-38 Signal curve when the value specified at the PULSE_CNT input is reached
(the DONE output is only TRUE for one cycle)
Key:
1 Signal curve at output P1/P2 (PULSE_CNT parameter = 4)
2 Output status of the PWM signal (processing carried out)
Signal
REQUEST
DONE
Figure 3-39 Signal curve when the output signal frequency is changed and output is
continuous (PULSE_CNT = 0)
Key:
1 Signal curve at output P1/P2 (PULSE_CNT parameter = 4)
The RS232_INIT function block is used to parameterize the serial RS-232 interface.
Once the RS232_INIT function block has been parameterized correctly, data is sent and
received using the RS232_SEND (see Section 3.17.2) and RS232_RECEIVE (see
Section 3.17.3) function blocks.
If the RS232_INIT function block is activated, the RS-232 interface cannot be used to
assign the IP address of the Inline controller or to work with Diag+.
In this case, IP address assignment or work with Diag+ is only made possible again when:
– The RS232_INIT function block is deactivated
– Or a new cold restart or warm start is performed for the Inline controller
The RTS and CTS signals are used for hardware flow control.
STATUS output
(ERROR = TRUE)
Table 3-9 Status values of the STATUS output (ERROR = TRUE)
Value Status
0x0101 Wrong data type applied to PARAMETER input
0x0102 Data type information not available
0x0103 The data type does not correspond to the specification of the T_RS232
data structure
0x0104 The T_RS232 data structure contains an error
0x0105 Multiple instantiation prohibited
0x0160 Unknown protocol
STATUS output
(ERROR = TRUE)
Table 3-12 Status values of the STATUS output (ERROR = TRUE)
Value Status
0x0102 Data type information not available
0x0105 Multiple instantiation prohibited
0x0107 RS232_INIT not executed successfully
0x0121 No byte array connected to DATA
0x0123 The number of bytes to be sent specified with DATA_COUNT exceeds
the internal send buffer
0x0125 The DATA send buffer is full.
STATUS output
(ERROR = TRUE)
Table 3-15 Status values of the STATUS output (ERROR = TRUE)
Value Status
0x0102 Data type information not available
0x0105 Multiple instantiation prohibited
0x0107 RS232_INIT not executed successfully
0x0121 The DATA parameter is not linked
0x0124 Receive buffer does not contain any characters
The RS485_422_INIT function block is used to parameterize the serial RS-485 interface.
Once the RS485_422_INIT function block has been parameterized correctly, data is sent
and received using the RS485_422_SEND (see Section 3.18.2) and
RS485_422_RECEIVE (see Section 3.18.3) function blocks.
STATUS output
(ERROR = TRUE)
Table 3-18 Status values of the STATUS output (ERROR = TRUE)
Value Status
0x0101 Wrong data type applied to PARAMETER input
0x0102 Data type information not available
0x0103 The data type does not correspond to the specification of
T_RS485_422
0x0104 The T_RS485_422 data type contains an error
0x0105 Multiple instantiation prohibited
0x0160 Unknown protocol
0x0161 Unknown baud rate
0x0162 Unknown number of data bits
0x0163 Unknown number of stop bits
0x0164 Unknown flow control
0x020x Incorrect elements in the data type of the T_RS485_422 data structure.
x indicates the position of the incorrect element in the PARAMETER pa-
rameter.
STATUS output
(ERROR = TRUE)
Table 3-21 Status values of the STATUS output (ERROR = TRUE)
Value Status
0x0102 Data type information not available
0x0105 Multiple instantiation prohibited
0x0107 RS485_422_INIT not executed successfully
0x0121 No byte array connected to DATA
0x0123 The number of bytes to be sent specified with DATA_COUNT exceeds
the internal send buffer
0x0125 The DATA send buffer is full.
REQUEST
DONE
Key:
1 Data signal when DATA_COUNT parameter = 4
2 REQUEST = TRUE
3 Positive edge at the DONE output; the four characters to be sent have been sent via the
RS-485/RS-422 interface
STATUS output
(ERROR = TRUE)
Table 3-24 Status values of the STATUS output (ERROR = TRUE)
Value Status
0x0102 Data type information not available
0x0105 Multiple instantiation prohibited
0x0107 RS485_422_INIT not executed successfully
0x0121 The DATA parameter is not linked
0x0124 Receive buffer does not contain any characters
REQUEST
BUFFER_NOT_EMPTY
DONE
Key:
1 Data signal
2 First two bytes received
3 Last two bytes received
The description of the function block applies to the ILC 191 ME/INC.
Up to two counters (counter 1: terminal points 1.1 to 1.4; counter 2: terminal points 2.1 to
2.4) can be used for the evaluation of fast counter pulses.
In the PC Worx software, the counters are represented by the CNT1 and CNT2 function
blocks. The DIR, RESET, and ENABLE inputs of the function block can be used to define
presets for the counting direction, reset of the counter status, and start of the counting
process.
Alternatively presets can be defined by the level at the assigned local counter inputs of the
Inline controller. In this case, the appropriate counter mode must be specified at the MODE
input of the function block.
If presets are defined by the level at the assigned counter inputs of the Inline controller, the
corresponding input signal at the function block is inactive.
Triggering the event task does not affect the counting process. The
counter continues counting.
RESET BOOL Reset of the counter status
TRUE: On a positive edge at this input, the counter status is reset to
0.
As long as the input level is set to TRUE, the counter status
equals 0.
FALSE: The counting process is active, the counter status does not
equal 0.
ERROR BOOL TRUE: An error has occurred. Details are provided by the STATUS
output.
FALSE: No error. STATUS contains the current value of the internal
processing.
STATUS WORD Status value of the function block (see Table 3-27)
The function blocks are only processed as long as the Inline controller is in the RUN state.
When the Inline controller goes from the RUN state to the STOP state, the current counter
status is saved. As soon as the Inline controller returns to the RUN state, the counting
process is continued based on the saved counter status.
STATUS output
(ERROR = TRUE)
Table 3-27 Status values of the STATUS output (ERROR = TRUE)
Value Status
0x01 MODE > 0x08
The value at the MODE input is invalid.
0x02 MODE > 0x02
The value at the EDGE input is invalid.
0x10 Invalid instance. An attempt was made to use more than one instance
of the function block.
If several errors are present, combinations of the status values are output.
If you have specified an operating mode at the MODE input of the function block, the
presets for the counting direction and start of the counting process are defined by the level
at the local counter inputs of the Inline controller. In this case, the corresponding inputs at
the function block are inactive.
Eight different operating modes are available. The following table provides an overview:
Key:
Clock The counter counts the signal edges at the counter input,
which were determined at the EDGE input of the function
block.
Clock, counting up The counter counts (up) the signal edges at the counter input,
which were determined at the EDGE input of the function
block.
Clock, counting down The counter counts (down) the signal edges at the counter in-
put, which were determined at the EDGE input of the function
block.
The description of the function block applies to the ILC 191 ME/INC.
Figure 3-50 INC_CNT_1 and INC_CNT_2 function blocks: INC_CNT_1 function block
illustrated
The function blocks are only processed as long as the Inline controller is in the RUN state.
When the Inline controller goes from the RUN state to the STOP state, the current counter
status is saved. As soon as the Inline controller returns to the RUN state, the counting
process is continued based on the saved counter status.
Triggering the event task does not affect the counting process. The
counter continues counting.
RESET BOOL Reset of the counter status
TRUE: On a positive edge at this input, the counter status is reset to
0.
As long as the input level is set to TRUE, the counter status
equals 0.
FALSE: The counting process is active, the counter status does not
equal 0.
CV UDINT The current counter status value is output at this output.
Q BOOL TRUE: This output is set to TRUE if the value 0 is present at the CV
output, i.e., the counter status is 0.
FALSE: This output is set to FALSE if a value not equal to 0 is present
at the CV output, i.e., the counter status does not equal 0.
ERROR BOOL TRUE: An error has occurred. Details are provided by the STATUS
output.
FALSE: No error. STATUS contains the current value of the internal
processing.
STATUS WORD Status value of the function block (see Table 3-31)
STATUS output
(ERROR = TRUE)
Table 3-31 Status values of the STATUS output (ERROR = TRUE)
Value Status
0x01 MODE > 0x08
The value at the MODE input is invalid.
0x10 Invalid instance. An attempt was made to use more than one instance
of the function block.
If several errors are present, combinations of the status values are output.
The counting direction at the moment when a positive edge is present at channel A is
derived from the phase relation of channels A, B, and Z (MODE 0x01 only):
Figure 3-52 and Figure 3-53 show the phase relation of channels A, B, and Z (MODE 0x01
only) for counting directions up and down.
Channel A
Channel B
Channel Z
Channel A
Channel B
Channel Z
3.21 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.
Alternatively, you can use the PACK and UNPACK function blocks (see online help in
PC Worx). 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
controllers 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
data gaps program. Fill data gaps, which are to be expected due to the memory alignment, with
application data (padding bytes in Figure 3-56).
The following descriptions of system variables and status information apply to PC Worx
and PC Worx Express.
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
diagnostic 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
Table 4-1 System variables of the status register for local digital inputs and outputs
Each digital input can trigger an event task if a positive edge is present at the respective
input.
In order to use this function, an event task must be defined and the corresponding “Input X
Terminal point DI/X.X” event (positive edge) must be selected (see Figure 4-1).
Figure 4-1 Event task: selecting the “Input X Terminal point DI/X.X” event
For information on event tasks, please refer to the online help for the PC Worx software.
Table 4-2 System variables of the status register for local analog inputs and outputs
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Err Analog value X X X X
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
V Analog value X X X X
The states of the local counter inputs can be read using the following system variables.
Table 4-6 System variables of the status register for counter inputs
The states of the local incremental encoder inputs can be read using the following system
variables.
Table 4-7 System variables of the status register for incremental encoder inputs
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
diagnostic parameter register, i.e., bit 7 is set.
The diagnostic parameter register is rewritten whenever an error occurs. The diagnostic
parameter register contains the value “0” if no errors are detected.
The Easy Motion function block library is not included as standard in the PC Worx
software.
The setup for installing the Easy Motion function block library can be downloaded at
phoenixcontact.net/products as part of the ILC 191 ME/AN and ILC 191 ME/INC
products.
The procedure described here also applies to servo motors with pulse direction interface.
In the following, however, the term step motors is used only.
8607A008
Figure 5-1 Hardware structure of an Easy Motion application with the ILC 191 ME/AN
and ILC 191 ME/INC Inline controllers
The ILC 191 ME/AN and ILC 191 ME/INC Inline controllers can be used to control step
motor drivers. In PC Worx, the connected step motor drivers are controlled via the pulse
direction outputs of the Inline controller using the blocks of the Easy Motion function block
library (ILCME_MCE).
The pulse direction interface is used to determine the direction of rotation of the drive. The
movement of the drive is determined via the pulse output. The frequency of the pulse output
is directly proportional to the speed of the drive.
U/V 5
0
t
8607A005
Figure 5-2 Direction output: direction of rotation right
U/V
0
t
8607A006
Figure 5-3 Direction output: direction of rotation left
U/V
0
t
U/V
0
t
8607A007
Key:
1. Low speed (low frequency)
2. High speed (high frequency)
The pulses cause the step motor shaft to turn by a defined angle.
Example:
A step motor requires 100 pulses per revolution, i.e., with each pulse the shaft of the step
motor turns by 3.6°; at a frequency of 100 Hz, the shaft of the step motor turns by 360°.
The frequency determines the number of pulses that is output with each time unit. The
frequency is directly proportional to the speed of the step motor.
The Easy Motion function block library can be used to implement easy travel and homing
processes for one-dimensional positioning axes for step motor drivers with pulse direction
input. The following moves can be made:
– Absolute move (see Section 5.4.5)
– Relative move (see Section 5.4.6)
– Continuous move (see Section 5.4.7)
– Homing (see Section 5.4.3 and Section 5.4.4)
The function blocks are based on the PLC open standard.
Hardware limit switches: Physical switching elements to specify the limits of the per-
missible positioning range.
Software limit switches: Specify the working range of the drive within the theoreti-
cally permissible positioning range.
The software limit switches only become active after hom-
ing has been performed.
The software limit switches are not physical switching ele-
ments but are specified in the PC Worx software depend-
ing on the application.
Home position switch: Specifies a reference point for the limits of the positioning
and working ranges.
5
2 3 3 2
1 4 1
8607A004
Key:
1. Wall
2. Hardware limit switches
3. Software limit switches
4. Home position switch
5. Working range
6. Permissible positioning range
Before a move can be made on the axis, homing must be performed. During homing the
current axis coordinate of the drive is adjusted to the actual position of the drive.
Procedure 1
Homing starts with fast travel in the negative direction. If the current position is negative in
relation to the home position switch, limit switch IN1 is approached. The direction is then
changed to the positive direction. When the falling edge is reached, the direction of travel is
switched to the negative direction again. When the rising edge is reached, travel is switched
to the positive direction and is continued slowly. The reference point is set when the falling
edge of the home position switch signal is detected.
If the current position is positive in relation to the home position switch at the beginning, the
direction of travel is changed to the positive direction and continued slowly when the rising
edge of the home position switch is reached. The reference point is set when the falling
edge of the home position switch signal is detected.
IN1 IN2
REF
IN1 IN2
REF
6977B017
Procedure 2
Homing is started in the negative direction and is carried out in the negative direction.
IN1 IN2
REF
IN1 IN2
REF
6977C018
Procedure 3
Homing is started in the positive direction and is also carried out in the positive direction.
The homing sequence is the same as for procedure 1, however, travel is started in the
positive direction.
IN1 IN2
REF
IN1 IN2
REF
6977C019
Procedure 4
Homing is started in the positive direction and is carried out in the negative direction. The
homing sequence is the same as for procedure 2, however, travel is started in the positive
direction.
IN1 IN2
REF
IN1 IN2
REF
6977B020
For a description of the individual function blocks, please refer to Sections 5.4.1. to 5.4.9.
Please note:
When activating the function blocks, it is essential to follow the sequence specified here.
The M191_DRV1 and M191_DRV2 function blocks (driver blocks) connect the two pulse
direction outputs of the Inline controller to the blocks of the Easy Motion library. The driver
blocks map all the axis-related properties.
In the event that both pulse direction outputs of the Inline controller are used, two
M191_DRV driver blocks must also be used. A second variable must be created for the
MCE_UDT_AXIS_REF_V1_00 data structure which is used for all blocks that control the
second pulse direction output.
Name Description
0000hex The function block/drive is not active.
8000hex The drive is active.
Name Description
C100hex Missing values at at least one of the lrMotorTurnMM, iMotorTurn-
Steps, lrSoftEndDCC inputs
C200hex (r)Velocity > rLimitVEL and/or (r)Acceleration > rLimitACC and/or
Deceleration > rLimitDCC
The specified speed and/or acceleration at one of the M191_MoveX
blocks or at the M191_HomePARA block is higher than the
corresponding maximum value which was specified on the
M191_DRV driver block.
C300hex The two hardware limit switches (positive and negative) have been
mixed up on the driver block or one of the two hardware limit switches
has been reached.
The M191_Power function block activates or deactivates the other function blocks of the
Easy Motion library and enables the pulse direction outputs of the Inline controller.
The step motor driver is not enabled by the M191_Power function block but must be
enabled separately.
Name Description
0000hex No error occurred.
0001hex The axis is in the “StandStill” state.
Name Description
0000hex No error occurred.
0006hex The M191_Power function block is not active.
0071hex Invalid value for rVelocity or rLimitVEL
(rVelocity ≤ 0 or rVelocity > rLimitVEL or rLimitVEL ≤ 0)
0072hex Invalid value for rVelocityREF (rVelocityREF = 0)
0073hex Invalid value for rVelocityREF (rVelocityREF > rVelocity)
0081hex Invalid value for rAcceleration (rAcceleration ≤ 0 or
rAcceleration > rLimitACC or rLimitACC ≤ 0)
00A1hex No homing procedure specified (permissible value range: 1 ... 4)
C100hex Missing values at at least one of the lrMotorTurnMM, iMotorTurn-
Steps, lrSoftEndDCC inputs
The M191_HomePARA function block must be activated before the M191_Home function
block can be executed.
Name Description
0000hex No error occurred.
0001hex The axis is not in the “StandStill” state.
0006hex Enabling by M191_Power function block is missing.
0061hex At least one missing error at the rVelocity, rVelocityREF, and rAccel-
eration inputs
The M191_DRV and M191_Power function blocks must also be instantiated in order to
perform an absolute move.
Before a move can be made on the axis, homing must be performed.
Name Description
0000hex No error occurred.
0006hex Enabling by M191_Power function block is missing.
0007hex Invalid value for Velocity or rLimitVEL
(Velocity ≤ 0 or Velocity > rLimitVEL or rLimitVEL ≤ 0)
0008hex Invalid value for Acceleration (Acceleration ≤ 0 or
Acceleration > rLimitACC or rLimitACC ≤ 0)
0009hex Invalid value for Deceleration (Deceleration ≤ 0 or
Deceleration > rLimitDCC or rLimitDCC ≤ 0)
C100hex Missing values at at least one of the lrMotorTurnMM, iMotorTurn-
Steps, lrSoftEndDCC inputs
C300hex The two hardware limit switches (positive and negative) have been
mixed up on the driver block or one of the two hardware limit switches
has been reached.
The M191_DRV and M191_Power function blocks must also be instantiated in order to
perform a relative move.
Before a move can be made on the axis, homing must be performed.
Name Description
0000hex No error occurred.
0006hex Enabling by M191_Power function block is missing.
0007hex Invalid value for Velocity or rLimitVEL
(Velocity ≤ 0 or Velocity > rLimitVEL or rLimitVEL ≤ 0)
0008hex Invalid value for Acceleration (Acceleration ≤ 0 or
Acceleration > rLimitACC or rLimitACC ≤ 0)
0009hex Invalid value for Deceleration (Deceleration ≤ 0 or
Deceleration > rLimitDCC or rLimitDCC ≤ 0)
C100hex Missing values at at least one of the lrMotorTurnMM, iMotorTurn-
Steps, lrSoftEndDCC inputs
C300hex The two hardware limit switches (positive and negative) have been
mixed up on the driver block or one of the two hardware limit switches
has been reached.
The M191_DRV and M191_Power function blocks must also be instantiated in order to
perform a continuous move.
Before a move can be made on the axis, homing must be performed.
Name Description
0000hex No error occurred.
0006hex Enabling by M191_Power function block is missing.
0007hex Invalid value for Velocity or rLimitVEL
(Velocity ≤ 0 or Velocity > rLimitVEL or rLimitVEL ≤ 0)
0008hex Invalid value for Acceleration (Acceleration ≤ 0 or
Acceleration > rLimitACC or rLimitACC ≤ 0)
0009hex Invalid value for Deceleration (Deceleration ≤ 0 or
Deceleration > rLimitDCC or rLimitDCC ≤ 0)
C100hex Missing values at at least one of the lrMotorTurnMM, iMotorTurn-
Steps, lrSoftEndDCC inputs
C300hex The two hardware limit switches (positive and negative) have been
mixed up on the driver block or one of the two hardware limit switches
has been reached.
Name Description
0000hex No error occurred.
0001hex The drive is in the “ErrorStop” state.
This function block should also be used if a move was started but could not be carried out
due to an error on the driver block. In this case, the move should be stopped using the
M191_Stop block.
Name Description
0000hex No error occurred.
0001hex The axis is in the “ErrorStop” state.
0006hex Enabling by M191_Power function block is missing.
0009hex Invalid value for Deceleration (Deceleration ≤ 0 or
Deceleration > rLimitDCC or rLimitDCC ≤ 0)
General data
Dimensions 163.5 mm x 135 mm x 71.5 mm
Weight 503 g
Connection data for connectors
Connection method Spring-cage connection
Conductor cross section
Single-wire/terminal point, solid 0.08 mm2 to 1.5 mm2
Single-wire/terminal point, stranded 0.08 mm2 to 1.5 mm2
Single-wire/terminal point, AWG 28 to 16
We recommend using a conductor cross section of 0.2 mm2
to 1.5 mm2.
General supply
Use a power supply without fall-back characteristic curve (see Section “Sizing of the power supply” on
page 39).
NOTE:
Provide external protection for the 24 V area. The power supply unit must be able to supply 4 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 terminal blocks
Nominal value 24 V DC
Tolerance -15%/+20% (according to EN 61131-2)
Ripple ±5%
Current consumption at nominal voltage (typical) 10 mA + 4 mA for each output set + load
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 diodes for protection against polarity reversal; 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 4 times (400%) the
nominal current of the external fuse, to ensure that the fuse blows safely in the event of an error.
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.
PROFINET
Type PROFINET device
Specification 2.2
Performance class RT
Update rate ≥ 1 ms
Number of slots 1
Vendor ID
ILC 191 ME/AN 00B0hex/176dec
ILC 191 ME/INC 00B0hex/176dec
Device ID
ILC 191 ME/AN 0096hex/150dec
ILC 191 ME/INC 0097hex/151dec
INTERBUS
Number of I/O points 4096, maximum
Number of data words 256, maximum
Transmission speed 500 kbps or 2 Mbps
INTERBUS
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 2 x Ethernet; 10Base-T and 100Base-T(X)
Transmission speed 10 Mbps (10Base-T), 100 Mbps (100Base-T(X))
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 32,768, maximum (internal Modbus/TCP client)
Diagnostic interface
Connection technology 6-pos. MINI-DIN socket (PS/2)
Diagnostic interface
Interface type RS-232
Transmission speed 115 kbaud, maximum
Electrical isolation No
Digital outputs
Number 4
Output design Protected outputs according to EN 61131-2
Nominal output voltage 24 V DC
Nominal output current 500 mA
Digital inputs
Number 8
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 I8
Signal change 0 1 3 ms
Signal change 1 0 3 ms
Permissible cable length to the sensor 30 m (to ensure conformance with EMC Directive
2014/30/EU)
Use of AC sensors AC sensors in the voltage range < UIN are limited in applica-
tion (according to the input design)
PWM outputs
Number 2
Nominal output voltage 5 V DC ±5%
Nominal output current 10 mA +10%
Maximum frequency 150 kHz
RS-485/RS-422 interface
Transmission speed 115 kbaud, maximum
Operating modes Full duplex, half duplex
Electrical isolation Yes
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 storing data on 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/memory 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 of the power storage 24 hours
Ambient conditions
Degree of protection IP20 (EN 60529:1991)
Ambient temperature (operation) -25°C to +55°C
Permissible temperature (storage/transport) -25°C to +85°C
Temperature class –
This temperature range is only guaranteed if the Inline controller is mounted horizontally.
Mechanical tests
Vibration resistance according to EN 60068-2-6, Operation: 5g
IEC 60068-2-6
Shock test according to EN 60068-2-27, IEC 60068-2-27 25g
Approvals
For the latest approvals, please visit phoenixcontact.com or phoenixcontact.net/products.
Items manufactured until the start of 2023 comply with directive 2014/34/EU (ATEX).
You may use these items in potentially explosive areas of category 3.
Items manufactured afterwards do not meet the requirements of directive 2014/34/EU.
Use in potentially explosive areas of category 3 is not permitted.
If you use an item with ATEX-relevant printing in a potentially explosive area, please observe the associated
documentation.
Please also observe the specifications in the AH DE IL EX ZONE 2 (German) or AH EN IL EX ZONE 2
(English) application note.
If the item used by you does not feature ATEX-relevant identification, use in potentially explosive
areas is not permitted.
interference without the use of additional shielding measures such as a steel cabinet, etc.
The tolerances specified above can be reduced through additional shielding measures for
the I/O module (e.g., use of a shielded control box/control cabinet, etc.).
6.2.1 Modules
6.2.2 Accessories
6.2.3 Software
6.2.4 Documentation
To update the firmware via the Ethernet interface, proceed as described in the “Firmware
Update ILC 1.../3..., RFC 4...” application note. It can be downloaded at
phoenixcontact.net/products.
Inline wiring is normally done without ferrules. However, it is possible to use ferrules. If
using 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.
A 15
a
8
B
E
C D
• Strip the outer cable sheath to the desired length (a) (A in Figure A-2).
Shorten the braided shield to 15 mm and wrap it around the outer sheath.
Remove the protective foil.
Strip 8 mm off the wires.
Connect the cables according to the terminal point assignment.
• Open the shield connection (B in Figure A-2).
• Insert the shield connection clamp according to the conductor cross section.
Insert the cable (C in Figure A-2).
• Close the shield connection (D in Figure A-2).
• Fasten the screws of the shield connection tightly using a screwdriver (E in Figure A-2).
B Appendixes
B1 List of figures
Section 2
Figure 2-1: Connected Inline local bus .................................................................. 14
Figure 2-2: Remote bus levels .............................................................................. 14
Figure 2-3: The Inline controller for position control .............................................. 15
Figure 2-4: PROFINET device using the ILC 191 ME/AN as an example ............. 16
Figure 2-5: Applicative system redundancy – example ......................................... 17
Figure 2-6: Structure of the ILC 191 ME/AN Inline controller ................................. 19
Figure 2-7: Structure of the ILC 191 ME/INC Inline controller ................................ 20
Figure 2-8: Diagnostics and status indicators of the ILC 191 ME/AN (A)
and the ILC 191 ME/INC (B) ............................................................... 21
Figure 2-9: Mode selector switch of the Inline controller,
ILC 191 ME/AN illustrated ................................................................... 25
Figure 2-10: Inserting (A) and removing (B) the parameterization memory ............. 27
Figure 2-11: Internal basic circuit diagram of the ILC 191 ME/AN ........................... 28
Figure 2-12: Internal basic circuit diagram of the ILC 191 ME/INC .......................... 29
Figure 2-13: Snapping on the Inline controller (1) ................................................... 31
Figure 2-14: Snapping on the Inline controller (2) ................................................... 31
Figure 2-15: Connectors to be removed if terminals are installed next to
the Inline controller, ILC 191 ME/AN illustrated ................................... 32
Figure 2-16: Removing the Inline controller (1) ....................................................... 33
Figure 2-17: Removing the Inline controller (2) ....................................................... 33
Figure 2-18: Communication paths, ILC 191 ME/AN illustrated .............................. 34
Figure 2-19: Ethernet interface ............................................................................... 35
Figure 2-20: Connecting the Ethernet cable to the Inline controller,
ILC 191 ME/AN illustrated ................................................................... 35
Figure 2-21: Connecting cable between PC and Inline controller,
ILC 191 ME/AN illustrated ................................................................... 36
Figure 2-22: Overload range with fall-back characteristic curve ............................. 39
Figure 2-23: Overload range without fall-back characteristic curve ....................... 39
Figure 2-24: Connecting the supply voltages, ILC 191 ME/AN illustrated ............... 40
Figure 2-25: Assignment of the terminal points of connector 2,
ILC 191 ME/AN illustrated ................................................................... 44
Figure 2-26: Basic wiring of an output with a load (L)
(shown using the ILC 191 ME/AN as an example) .............................. 44
Figure 2-27: Assignment of the terminal points of connector 3, ILC 191 ME/AN
illustrated ............................................................................................ 46
Figure 2-28: Assignment of the terminal points of connector 4, ILC 191 ME/AN
illustrated ............................................................................................ 47
Figure 2-29: Assignment of the terminal points of connector 5, ILC 191 ME/AN
illustrated ............................................................................................ 48
Figure 2-30: RS-485/RS-422 interface wiring: full duplex mode ............................. 49
Figure 2-31: RS-485/RS-422 interface wiring: half duplex mode ............................ 49
Figure 2-32: RS-485/RS-422 interface wiring: termination resistor ......................... 50
Figure 2-33: Assignment of the terminal points of connector 6 on
the ILC 191 ME/AN ............................................................................. 51
Figure 2-34: Connection for voltage measurement ................................................. 52
Figure 2-35: Differential voltage input with active 3-wire transmitter ....................... 52
Figure 2-36: Assignment of the terminal points of connector 7 on
the ILC 191 ME/AN ............................................................................. 53
Figure 2-37: Assignment of the terminal points of connector 6 on
the ILC 191 ME/INC ............................................................................ 54
Figure 2-38: Assignment of the terminal points of connector 7 on
the ILC 191 ME/INC ............................................................................ 55
Section 3
Figure 3-1: Project information after creating a new project .................................. 58
Figure 3-2: DCP: setting the IP address ................................................................ 59
Figure 3-3: Starting IP address assignment via DCP ............................................ 60
Figure 3-4: Entering the MAC address .................................................................. 61
Figure 3-5: “Extras, BootP/SNMP/TFTP-Configuration...” menu ........................... 62
Figure 3-6: “Activate BootP” button ....................................................................... 62
Figure 3-7: Message window following BootP ...................................................... 62
Figure 3-8: Activating the PROFINET device function .......................................... 63
Figure 3-9: “Settings Communication Path” dialog ................................................ 63
Figure 3-10: Sending PROFINET device function/settings: service executed
successfully ........................................................................................ 64
Figure 3-11: Activate Network Settings: Restart Controller ..................................... 65
Figure 3-12: “Settings Communication Path” dialog ................................................ 65
Figure 3-13: Activating the network settings: service executed successfully .......... 66
Figure 3-14: Bus Structure: PROFINET context menu “Read PROFINET...” .......... 67
Figure 3-15: “Read PROFINET” dialog ................................................................... 67
Figure 3-16: ILC 191 ME/INC inserted as a PROFINET device .............................. 68
Figure 3-17: ILC 191 ME/INC as a PROFINET device: Process Data ..................... 68
Figure 3-18: Procedure for using the SD card as the main or additional memory .... 70
Section 4
Figure 4-1: Event task: selecting the “Input X Terminal point DI/X.X” event ........ 120
Figure 4-2: Error location in the diagnostic parameter register ........................... 125
Section 5
Figure 5-1: Hardware structure of an Easy Motion application with the
ILC 191 ME/AN and ILC 191 ME/INC Inline controllers .................... 130
Figure 5-2: Direction output: direction of rotation right ........................................ 131
Figure 5-3: Direction output: direction of rotation left ........................................... 131
Figure 5-4: Pulse output: ratio of frequency to speed .......................................... 131
Figure 5-5: Diagram of an axis application .......................................................... 133
Figure 5-6: Homing: procedure 1 ........................................................................ 134
Figure 5-7: Homing: procedure 2 ........................................................................ 135
Figure 5-8: Homing: procedure 3 ........................................................................ 135
Figure 5-9: Homing: procedure 4 ........................................................................ 136
Figure 5-10: M191_DRV1 driver block .................................................................. 139
Figure 5-11: M191_Power function block .............................................................. 143
Figure 5-12: M191_HomePARA function block .................................................... 145
Figure 5-13: M191_Home function block .............................................................. 147
Figure 5-14: M191_MoveAbsolute function block ................................................. 149
Figure 5-15: M191_MoveRelative function block .................................................. 151
Figure 5-16: M191_MoveVelocity function block .................................................. 153
Figure 5-17: M191_Reset function block .............................................................. 155
Figure 5-18: M191_Stop function block ................................................................ 156
Figure 5-19: Application example for performing an absolute move. .................... 158
Appendix A
Figure A-1: Connecting unshielded cables .......................................................... 172
Figure A-2: Connecting the shield ....................................................................... 173
B2 List of tables
Section 2
Table 2-1: Diagnostics and status indicators ........................................................ 21
Section 3
Table 3-1: Overview of the function blocks ........................................................... 87
Table 3-2: Overview of the function blocks ........................................................... 88
Table 3-3: Overview of the function blocks ........................................................... 88
Table 3-4: Inputs of the PULSE_CH1 and PULSE_CH2 function blocks .............. 89
Table 3-5: Outputs of the PULSE_CH1 and PULSE_CH2 function blocks ........... 90
Table 3-6: Error values of the STATUS output (ERROR = TRUE) ........................ 91
Table 3-7: Inputs of the RS232_INIT function block.............................................. 94
Table 3-8: Outputs of the RS232_INIT function block........................................... 94
Table 3-9: Status values of the STATUS output (ERROR = TRUE) ...................... 94
Table 3-10: Input of the RS232_SEND function block ............................................ 95
Table 3-11: Outputs of the RS232_SEND function block........................................ 95
Table 3-12: Status values of the STATUS output (ERROR = TRUE) ...................... 96
Table 3-13: Input of the RS232_RECEIVE function block....................................... 97
Table 3-14: Outputs of the RS232_RECEIVE function block .................................. 97
Table 3-15: Status values of the STATUS output (ERROR = TRUE) ...................... 98
Table 3-16: Inputs of the RS485_422_INIT function block...................................... 99
Table 3-17: Outputs of the RS485_422_INIT function block................................. 100
Table 3-18: Status values of the STATUS output (ERROR = TRUE) .................... 100
Table 3-19: Inputs of the RS485_422_SEND function block ................................ 101
Table 3-20: Outputs of the RS485_422_SEND function block.............................. 101
Table 3-21: Status values of the STATUS output (ERROR = TRUE) .................... 102
Table 3-22: Inputs of the RS485_422_RECEIVE function block ........................... 103
Table 3-23: Outputs of the RS485_422_RECEIVE function block ........................ 103
Table 3-24: Status values of the STATUS output (ERROR = TRUE) .................... 104
Table 3-25: Inputs of the CNT1 and CNT2 function blocks................................... 106
Table 3-26: Outputs of the CNT1 and CNT2 function blocks ................................ 107
Table 3-27: Status values of the STATUS output (ERROR = TRUE) .................... 108
Table 3-28: Counter operating modes .................................................................. 109
Table 3-29: Inputs of the INC_CNT1 and INC_CNT2 function blocks................... 112
Table 3-30: Outputs of the INC_CNT1 and INC_CNT2 function blocks................ 114
Table 3-31: Status values of the STATUS output (ERROR = TRUE) .................... 114
Table 3-32: Counter operating modes .................................................................. 114
Table 3-33: Derivation of the counting direction.................................................... 115
Section 4
Table 4-1: System variables of the status register for local digital inputs
and outputs........................................................................................ 119
Table 4-2: System variables of the status register for local analog inputs
and outputs........................................................................................ 120
Table 4-3: Significant measured values.............................................................. 121
Table 4-4: Error values of analog inputs ............................................................. 121
Table 4-5: Output values .................................................................................... 122
Table 4-6: System variables of the status register for counter inputs .................. 123
Table 4-7: System variables of the status register for incremental
encoder inputs ................................................................................... 123
Table 4-8: System variables of the diagnostic status register ............................. 124
Table 4-9: System variables of the diagnostic parameter register ...................... 125
Table 4-10: PROFINET system variables (PROFINET device function) ............... 126
Table 4-11: System variables of the IEC 61131 runtime system ........................... 127
Table 4-12: System variables of the control processor ......................................... 128
Table 4-13: System variables of the power storage and realtime clock ................ 128
Table 4-14: System variables of the power supplies............................................. 128
Table 4-15: System variables of the mode selector switch ................................... 129
Table 4-16: System variables of the system time.................................................. 129
Section 5
Table 5-1: Overview of the Easy Motion function blocks..................................... 138
Table 5-2: Inputs of the M191_DRV function block............................................. 139
Table 5-3: Outputs of the M191_DRV function block .......................................... 141
Table 5-4: Input/output of the M191_DRV function block ................................... 141
Table 5-5: Diagnostic value of the wDiagCode output (xError = TRUE) ........... 141
Table 5-6: Inputs of the M191_Power function block .......................................... 143
Table 5-7: Outputs of the M191_Power function block ....................................... 143
Table 5-8: Input/output of the M191_Power function block ................................. 144
Table 5-9: Error values of the ErrorID output (Error = TRUE)............................ 144
Table 5-10: Inputs of the M191_HomePARA function block ................................. 145
Table 5-11: Outputs of the M191_HomePARA function block .............................. 146
Table 5-12: Input/output of the M191_HomePARA function block........................ 146
Table 5-13: Diagnostic value of the wDiagCode output (xError = TRUE) ........... 146
Table 5-14: Inputs of the M191_Home function block........................................... 147
Table 5-15: Outputs of the M191_Home function block........................................ 147
Table 5-16: Input/output of the M191_Home function block ................................. 148
Table 5-17: Error values of the ErrorID output (Error = TRUE)............................ 148
Table 5-18: Inputs of the M191_MoveAbsolute function block ............................. 149
Table 5-19: Outputs of the M191_MoveAbsolute function block .......................... 149
Table 5-20: Input/output of the M191_MoveAbsolute function block .................... 150
Table 5-21: Error values of the ErrorID output (Error = TRUE)............................ 150
Table 5-22: Inputs of the M191_MoveRelative function block .............................. 151
Table 5-23: Outputs of the M191_MoveRelative function block............................ 151
Table 5-24: Input/output of the M191_MoveRelative function block ..................... 152
Table 5-25: Error values of the ErrorID output (Error = TRUE)............................ 152
Table 5-26: Inputs of the M191_MoveVelocity function block............................... 153
Table 5-27: Outputs of the M191_MoveVelocity function block ............................ 153
Table 5-28: Input/output of the M191_MoveVelocity function block...................... 154
Table 5-29: Error values of the ErrorID output (Error = TRUE).............................. 154
Table 5-30: Input of the M191_Reset function block............................................. 155
Table 5-31: Outputs of the M191_Reset function block ........................................ 155
Table 5-32: Input/output of the M191_Reset function block.................................. 155
Table 5-33: Error values of the ErrorID output (Error = TRUE)............................ 155
Table 5-34: Inputs of the M191_Stop function block............................................. 156
Table 5-35: Outputs of the M191_Stop function block .......................................... 156
Table 5-36: Input/output of the M191_Stop function block.................................... 156
Table 5-37: Error values of the ErrorID output (Error = TRUE)............................ 157
Appendix A
Table A-1: Installation error causes and remedies .............................................. 171
B3 Index
A F
Analog inputs .............................................................. 51 Fall-back characteristic curve ..................................... 39
Analog outputs ............................................................ 53 Firmware update ....................................................... 171
Applicative system redundancy .................................. 17 FTP access
Deactivate FTP server........................................... 78
B User name and password ..................................... 79
Basic circuit diagram FTP functionality ......................................................... 76
ILC 191 ME/AN ..................................................... 28 Function blocks
ILC 191 ME/INC .................................................... 29 For counter inputs ............................................... 105
Basic wiring of an output ............................................. 44 For Ethernet communication ................................. 88
BootP .......................................................................... 60 For handling files on the parameterization memory 87
BootP server ............................................................... 33 For incremental encoder inputs ........................... 112
For PCP communication........................................ 88
C For pulse width modulation ................................... 89
For RS-232 communication................................... 93
Communication path ................................................... 34
For RS-485/RS-422 communication ..................... 99
Connecting cables .................................................... 172
of the Easy Motion function block library ............. 138
Connecting the shield ............................................... 173
Connecting the supply voltage .................................... 40
Connecting unshielded cables .................................. 172
H
Connection elements .................................................. 19 Hardware requirements ................................................ 9
Connector ................................................................... 31 HTTP server
Control box.................................................................. 30 Activating/deactivating the HTTP server ............... 82
See also Terminal box
Control cabinet............................................................ 30 I
Counter inputs............................................................. 54 ILC 191 ME/AN
Connector ............................................................. 19
D Diagnostics and status indicators.......................... 19
Delivery state .............................................................. 26 Electronics base.................................................... 19
Diagnostics indicators ................................................. 21 End plate ............................................................... 19
Digital inputs ............................................................... 44 Ethernet connection .............................................. 19
Digital outputs ............................................................. 46 Mode selector switch....................................... 19, 20
DIN rail ........................................................................ 30 Reset button.......................................................... 19
RS-232 interface ................................................... 19
E ILC 191 ME/INC
Card holder ........................................................... 20
Electronics base.......................................................... 31
Connector ............................................................. 20
End bracket................................................................. 30
Diagnostics and status indicators.......................... 20
End plate..................................................................... 30
Electronics base.................................................... 20
Error causes.............................................................. 171
End plate ............................................................... 20
Error diagnostics ......................................................... 21
Ethernet connection .............................................. 20
Ethernet ...................................................................... 35
Reset button.......................................................... 20
Ethernet interface........................................................ 35
RS-232 interface ................................................... 20
Slot for the parameterization memory.................... 20
Operating elements..................................................... 19
T
P Terminal box ............................................................... 30
R
Realtime clock............................................................. 69
Removal................................................................ 30, 32
Replacement............................................................... 33
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.
185 / 185 Phoenix Contact GmbH & Co. KG • Flachsmarktstraße 8 • 32825 Blomberg • Germany
phoenixcontact.com
© Phoenix Contact 2023-02-03
Email: info@phoenixcontact.com
phoenixcontact.com