-
Notifications
You must be signed in to change notification settings - Fork 2
/
sample-controller.xti
74 lines (74 loc) · 3.14 KB
/
sample-controller.xti
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?xml version="1.0" encoding="utf-8"?>
<TcSmItem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" TcSmVersion="1" TcVersion="3.1.4024.0" ClassName="CDevEthernetProtocolPnSlaveDef" SubType="115">
<Device Id="1" DevType="115" AmsPort="65535" AmsNetId="127.0.0.1.2.1" RemoteName="">
<Name>__FILENAME__</Name>
<Image Id="1" AddrType="1" ImageType="3" SizeIn="0" SizeOut="0">
<Name>Image</Name>
</Image>
<Box Id="1" BoxType="9131">
<Name>pn-io</Name>
<Comment>auto-generated by dsian.TcPnScanner.CLI v0.2.1.0</Comment>
<ImageId>121</ImageId>
<Vars VarGrpType="1">
<Name>Inputs</Name>
<Var>
<Name>PnIoBoxState</Name>
<Comment>0x0001 = Device is in I/O exchange
0x0002 = Device is blinking
0x0004 = Provider State -> 0 = Stop, 1 = Run
0x0008 = Problem Indicator -> 0 = OK, 1 = Error</Comment>
<Type>UINT</Type>
</Var>
</Vars>
<Vars VarGrpType="2">
<Name>Outputs</Name>
<Var>
<Name>PnIoBoxCtrl</Name>
<Comment>0x00XX = Last two hex characters of station name</Comment>
<Type>UINT</Type>
</Var>
</Vars>
<Profinet DeviceId="257" VendorId="42" FrameOffset="32768" ProtocolType="4" BoxOnDeviceTyp="115" MaxPhysSlotNr="255" InstanceServerPort="50000" InstanceClientPort="50001" InstanceNumberOfARs="1" InstanceNumberOfAPIs="1" MinDeviceInterval="32" DefaultDNSName="pn-io" VendorName="dsian" InstanceId="100" Flags="1040">
<API Id="1">
<Name>API</Name>
<ImageId>4</ImageId>
<Module Id="#x031D0003" ModuleIdentNumber="42948" SlotNumber="2">
<Name>Term 3</Name>
<ImageId>182</ImageId>
<SubModule Id="#x031C03E9" SubModuleIdentNumber="268435856" SubSlotNumber="1000" IsFixSubmodule="true">
<Name>Subterm 1000 (400 Byte Output)</Name>
<ImageId>183</ImageId>
<Vars VarGrpType="1">
<Name>Inputs</Name>
<Var>
<Name>400 Byte Output</Name>
<Type GUID="{18071995-0000-0000-0000-000300000190}">ARRAY [0..399] OF BYTE</Type>
<BitOffs>0</BitOffs>
</Var>
</Vars>
<Vars VarGrpType="2">
<Name>Outputs</Name>
</Vars>
</SubModule>
<SubModule Id="#x031C03EA" SubModuleIdentNumber="536871312" SubSlotNumber="1001" IsFixSubmodule="true">
<Name>Subterm 1001 (400 Byte Input)</Name>
<ImageId>183</ImageId>
<Vars VarGrpType="1">
<Name>Inputs</Name>
</Vars>
<Vars VarGrpType="2">
<Name>Outputs</Name>
<Var>
<Name>400 Byte Input</Name>
<Type GUID="{18071995-0000-0000-0000-000300000190}">ARRAY [0..399] OF BYTE</Type>
<BitOffs>0</BitOffs>
</Var>
</Vars>
</SubModule>
</Module>
</API>
</Profinet>
</Box>
<Profinet PLCPortNr="851" AddPortCount="1" />
</Device>
</TcSmItem>