Ethernet communication
7.6 HT 8
Manual
206
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NOTICE
Changing the parameters
Only the name can be changed via the Properties dialog of TCU. All other parameters
must be changed either via the TCU firmware on HT 8 (direct key actuation, EKS index)
or on power supply unit (MCP address and TCU index by changing the identifier).
7.6.5
Linking to the basic PLC and user program
7.6.5.1
Linking to the basic PLC program (FB1)
Parameters of the FB1 function block
The following parameters must be set for MCP to operate in a SINUMERIK 840i sl:
MCPNum:
INT
// Number of MCP
MCP1In:
POINTER
// Address of the input signals from HT 8
MCP1Out:
POINTER
// Address of the output signals to HT 8
MCP1Timeout
S5TIME
// Monitoring time
MCP1BusAdr
1)
INT
// MCP address
MCPBusType
BYTE
// Type of connection
1) The identifier of the power supply unit set in decimal form via the rotary coding switches S1 and S2
must be entered in the MCP1BusAdr parameter
Example
The following example shows the communication parameter settings for function block FB 1
for an MCP:
MCPNum
:= 1
// Number of MCP
MCP1In
1)
:= P#E0.0
// Address of the input signals from HT 8
MCP1Out
1)
:= P#A0.0
// Address of the output signals to HT 8
MCP1BusAdr
2)
:= 39
// MCP address (switches S1 and S2)
MCP1Timeout
:= S5T#700MS
// Default setting
MCPBusType
:= B#16#55
// Ethernet
1) References
The description of the input and output signals of the HT 8 can be found in:
/LIS2sl/ Lists sl (Book 2), signals from and to the handheld programming device HT 8
2) The identifier of the power supply unit set via the rotary coding switches S1 and S2 or the HT 8
parameter "MCP address" is to be entered as MCP1BusAdr. Set to the value 27
H
= 39
D
in the
previous chapters as an example.