7/23/2009 12:21 PM | |
Posts: 2 Rating: (0) |
Hi Support, Problem: Getting an error when using Shared Memory Extensions using WinAC ODK 4.2. Without modification of the standard sample code an error: "SMX Failure" is shown. With modification of the source to show the actual error value, the numeric value 2 is shown which translates to S7SMX_ERR_NO_LOCATOR according to the documentation. I have been unable to find any additional information about this error. Scenario: - Compiling contents of C:\Program Files\SIEMENS\WinAC\ODK\Examples\SMX\CS\SMX_DataMemCopy\VS2005 with Visual Studio 2005 - Compiling and downloading the Step7 project reciding in C:\Program Files\SIEMENS\WinAC\ODK\Examples\SMX\CS\SMX_DataMemCopy\Step7 - Downloading the Step7 project with appropiate settings(device name etc.) to the WinLC RTX Controller. - Copy the compiled binaries from the CS project to the Embedded controller (S7-mEC31) - Execute the binary, then Menu: SMX->Open->Enter Device Name - The error is shown. Attempts to solve the problem: I came to believe that the "Locator" could possibly relate to the Windows RPC Locator service. The service was not started, i started it but with same results. Using process monitor from sysinternals (microsoft) shows that a call with an empty class ID is made just before the error is presented. Id recon a dependancy (dll) was not found, or not registered appropiately? I have attached Process Monitor dump (native format) and stack (CSV format) in case that could help in any way. With kind regards Viggo Attachments7smx_no_locator_dump.zip (159 Downloads) |
Follow us on