...
The SimpleConfig example can be found in the Knowledge Base on the following website:
netX 90: https://kbhilscher.hilscheratlassian.comnet/wiki/display/NXLFWHST/netX+90+-+PROFINET+IO+Device+-+Examples
netX 51: https://kbhilscher.hilscheratlassian.comnet/wiki/display/NXLFWHST/netX+51+-+PROFINET+IO+Device+-+Examples
This can alternatively be found under:
...
The SimpleConfig project can be opened by double-clicking the ".solproject" file. This requires the latest version of netXStudio (https://kbhilscher.hilscheratlassian.comnet/wiki/display/NDT/).
2. PROFINET Sources
A GSDML file is required for this example. The GSDML file can be found in the netXStudio project in Project Explorer at:
...
configuration packet (AppPNS_DemoApplicationFunctions.c) | GSDML (GSDML-V2.35-HILSCHER-NETX 90-RE PNS-20191118.xml) |
---|---|
ptSubmod->ulModuleId = 0x00000002; /* Module ID to which this */ | <ModuleItem ID="6byteoutput" ModuleIdentNumber="0x00000002"> |
ptSubmod->ulSubmodId = 0x00000001; /* Submodule ID */ | <VirtualSubmoduleItem ID="6byteoutput" MayIssueProcessAlarm="false" SubmoduleIdentNumber="0x00000001"> |
ptSubmod->ulProvDataLen = 0x00000000; /* Length of provider data (sent by */ | <IOData> <Input> |
ptSubmod->ulConsDataLen = 0x00000006; /* Length of consumer data (sent by */ | <IOData> <Output> |
no ModuleDiffblockModuleDiffBlock:
ModuleDiffblockModuleDiffBlock:
Connect request (ExpectedSubmoduleBlockReq) Connect response (ModuleDiffblockModuleDiffBlock)