Download EU5C-SWD-ETHERCAT UM 02 EN

Transcript
Parameterization
9.3.3
9.3.3.1
65/99
Configuring device parameters (sensor parameters of I/O modules)
Overview
For some SmartWire­DT devices, individual device parameters can be
configured.
Configurable parameters of the SmartWire­DT devices are
described in the manual SmartWire­DT Modules, Doc ID
MN05006001Z­EN, which is stored on the product DVD in the
directory Documentation\english\3.SmartWire­DT
\SmartWire­DT – Units\MN05006001Z_EN.pdf
This section describes how to configure sensor type, refresh rate and
averaging of the inputs/outputs modules EU5E­SWD­4AX, EU5E­
SWD­2A2A and EU5E­SWD­4PT by editing their Parameters element (sub
index 22) in TwinCAT.
Please note that this section is of exemplary nature. You always have to
look up the definite bit assignment of the parameter byte of individual
devices in the latest documentation of the device’s manufacturer.
The subsequent tables show the bit assignments of the Parameters bytes
of the SmartWire­DT devices EU5E­SWD­4AX, EU5E­SWD­2A2A and
EU5E­SWD­4PT:
EU5E­SWD­4AX
Bit
Parameter
(function)
Configuration
Sensor selector
Input 1
1
2
0
3
4 ­ 5
Byte value
Dez
Hex
FALSE(0): Voltage (default)
0
0x00
TRUE(1): Current
1
0x01
Sensor selector
Input 2
FALSE(0): Voltage (default)
0
0x00
TRUE(1): Current
2
0x02
Sensor selector
Input 3
FALSE(0): Voltage (default)
0
0x00
TRUE(1): Current
4
0x04
Sensor selector
Input 4
FALSE(0): Voltage (default)
0
0x00
TRUE(1): Current
8
0x08
Reading refresh rate Bit 5
Bit 4
Milli
seconds
FALSE(0)
FALSE(0)
20 ms
0
0x00
FALSE(0)
TRUE(1)
100 ms
(default)
16
0x10
TRUE(1)
FALSE(0)
200 ms
32
0x20
TRUE(1)
TRUE(1)
500 ms
48
0x30
6
Mean value
(averaging)
FALSE(0): off
0
0x00
TRUE(1): on (default)
64
0x40
7
Reserved
FALSE(0)
0
0x00
Table 20: Bit assignment of parameter byte of EU5E­SWD­4AX
SmartWire­DT Gateway | EU5C­SWD­ETHERCAT
DOC140901UM02EN | Revision 2 | English | 2015­06 | Released | Public
© Hilscher 2015