- 论坛徽章:
- 0
|
回复 7# kempzhang
有啊,你有没有看帖子里的每一个回复?我就看到了好几种可能实现的方式,例如:
1.有人回复说“If your intent is to populate scale data into an input field on your TN5250 screen, then you might need to look at DDE/EHLLAPI support, which should let you write a program to receive scale data and pass it into your screen buffer.”
那么你可以研究一下DDE/EHLLAPI,IBM应该有这方面的文档可以参考的。
2.有人说”I have done this by using an RS232 to TCP/IP converter. Try using Lantronix Wibox. It has worked for a couple of years for me. “
”I have written a socket program to get scale info from anywhere on our network. We have 2 huge scales and 2 little ones in Distribution. During shipping, the weight appears automatically on the screen. (The user correlates the scales(s) being used in a table. This way, if a scale isn't working, they could use another by changing the entry.) A FedEx label is also generated utilizing that weight. You do need to convert your RS232C device to TCP/IP though. I use Lantronix Wibox for this.“
这个人是通过一个软件来将RS232的串口通讯数据转成了TCP/IP数据,那么就可以在AS400上通过TCP/IP通讯的方式获取计量称的数据了,关于AS400上TCP/IP的通讯程序怎么写,网上也有很多资料可以参考的。
3.有人提到了一种比较简单的办法,叫”keyboard wedge “,想当于把计量称输入模拟成键盘输入,具体你也可以找点资料研究研究啊。
另外楼主姓张吧,从CPTW出去的,目前在YKK?
|
|