Jump to content
OMRON Forums

Question about PcommServer .exe.


Recommended Posts

オムロン代表

ご協力ありがとうございました。
Pcommserver.exe について質問があります。

Windows 10(LTSC Enterprise)とUMAC Turboシステムを使用しています。

その経緯を説明しましょう。
VB6.0 を使用するアプリケーション (1) と C# を使用するアプリケーション (2) があるとします。
(1)は、Pcommserver.exeを使用して開き、UMACターボと正常に通信できる状態です。
このとき、UMAC変数は
(たとえば、P8191)にあります。

この状態では、(2) は Pcommserver.exe を使用して UMAC Turbo を開き、正常に接続します。
コミュニケーションの準備をします。次に、Pcommserver.exe を切断します。

このとき、
(1)は実行時エラー「462」ですリモートサーバーが存在しないか、使用できません。
ポップアップ画面が表示されます。

アプリケーションを再起動すると(1)、接続できるようになります。


質問
Pcommserver.exe が別のアプリケーションから切断された場合,
切断されたアプリケーション内で接続を再確立して開くには:
どうすればよいですか?(可能な場合)

または
Pcommserver.exeが別のアプリケーション
で切断される原因となるプロセス自体 悪くないですか?

補足)
Pcommserver.exeを切断すると、PeWin32Pro2の通信も切断されます。

以上です、ありがとうございました。


 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please do not create new Forums posts for continuing questions of the same topic. Keep all remaining questions in this post.

 

You would need to use the “Close() Method” and “Open() Method” to close the application’s current device to the server and restart it. See the product manual for details, “PcommServer.pdf”.

 

Once all devices are closed in all applications, the server should automatically close. If this does not happen, or you cannot close an application’s PMAC device to the server, you will need to forcibly close it either with Task Manager or the equivalent Windows function call and restart all your applications.

 

同じトピックに関する継続的な質問のために、新しいフォーラム投稿を作成しないでください。 残りの質問はすべてこの投稿に残してください。

 

「Close() メソッド」と「Open() メソッド」を使用して、アプリケーションの現在のデバイスをサーバーに閉じて再起動する必要があります。 詳細については、製品マニュアル「PcommServer.pdf」を参照してください。

 

すべてのアプリケーションですべてのデバイスが閉じられると、サーバーは自動的に閉じられます。 これが起こらない場合、またはアプリケーションの PMAC デバイスをサーバーに閉じることができない場合は、タスク マネージャーまたは同等の Windows 関数呼び出しを使用してデバイスを強制的に閉じ、すべてのアプリケーションを再起動する必要があります。

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...