I have some troubles with my PLCBUS 1141E USB getting to work.
I have followed the following wiki
http://wiki.linuxmce.org/index.php/Setting_Up_PLC-BUS_TemplateWhat would also really help me is a "program" to run through Console in KDE to just test the device if it can communicate with it (if it sends commands to a child I can hear a buzz, so then I know that works).I can choose which usb port I communicate with so that seems installed correct
/dev/ttyUSB0 (pco0000:00/0000:00:10.1+1,0)
It is hooked up to my usb port and to my knowledge I can communicate with it.
For every command I give through the menu of the page " Send command to device " I will post the log that comes up in my "follow log" screen.
I have no real childs now in my system but made a light and gave it address A1, just to test, and hear if my 1141 will make the buzz sound.
Private Method Listing
05 12/06/09 22:31:53.932 GSD-Sleep Post 760 : 0 <0xb7840b90>
05 12/06/09 22:31:53.932 _QueueProc Post - 760 : 0 <0xb7840b90>
05 12/06/09 22:38:53.734 GSDMessageTranslator isCmdImplemented = false <0xb5effb90>
05 12/06/09 22:38:53.814 #### Pre-Process Queue = 1 <0xb5effb90>
05 12/06/09 22:38:53.814 _QueueProc Pre - 373 : 0 <0xb7840b90>
05 12/06/09 22:38:53.814 GSD-Sleep Pre 373 : 0 <0xb7840b90>
05 12/06/09 22:38:53.814 Process Queue = 1 <0xb7840b90>
01 12/06/09 22:38:53.814 For obscure reasons could not handle the message <0xb56feb90>
05 12/06/09 22:38:53.817
Process Idle
05 12/06/09 22:38:53.817 GSD-Sleep Post 373 : 0 <0xb7840b90>
05 12/06/09 22:38:53.817 _QueueProc Post - 373 : 0 <0xb7840b90>
05 12/06/09 22:39:51.161 GSDMessageTranslator isCmdImplemented = true <0xb5effb90>
05 12/06/09 22:39:51.161 #### Pre-Process Queue = 1 <0xb5effb90>
05 12/06/09 22:39:51.209 _QueueProc Pre - 351 : 0 <0xb7840b90>
05 12/06/09 22:39:51.209 GSD-Sleep Pre 351 : 0 <0xb7840b90>
05 12/06/09 22:39:51.209 Process Queue = 1 <0xb7840b90>
05 12/06/09 22:39:51.209 Process Queue = 1 <0xb7840b90>
05 12/06/09 22:39:51.229 GSD-Sleep Post 351 : 0 <0xb7840b90>
05 12/06/09 22:39:51.229 _QueueProc Post - 351 : 0 <0xb7840b90>
Process Incoming Data
05 12/06/09 22:40:26.465 GSDMessageTranslator isCmdImplemented = true <0xb5effb90>
05 12/06/09 22:40:26.465 #### Pre-Process Queue = 1 <0xb5effb90>
05 12/06/09 22:40:26.466 _QueueProc Pre - 350 : 0 <0xb7840b90>
05 12/06/09 22:40:26.466 GSD-Sleep Pre 350 : 0 <0xb7840b90>
05 12/06/09 22:40:26.466 Process Queue = 1 <0xb7840b90>
05 12/06/09 22:40:26.569 GSD-Sleep Post 35
Process Initialize
(***)Loading Child Devices...
(***)Device:55
(***)Finished creating devices collection
(***)My Usercode:1
(***)Done.
(***)Setting up Command Queue
(***)Done.
05 12/06/09 22:41:12.014 GSD-Sleep Post 355 : 0 <0xb7840b90>
05 12/06/09 22:41:12.014 _QueueProc Post - 355 : 0 <0xb7840b90>
Process Receive Command For Child
05 12/06/09 22:41:47.013 GSDMessageTranslator isCmdImplemented = false <0xb5effb90>
05 12/06/09 22:41:47.017 #### Pre-Process Queue = 1 <0xb5effb90>
05 12/06/09 22:41:47.037 _QueueProc Pre - 384 : 0 <0xb7840b90>
05 12/06/09 22:41:47.037 GSD-Sleep Pre 384 : 0 <0xb7840b90>
05 12/06/09 22:41:47.037 Process Queue = 1 <0xb7840b90>
01 12/06/09 22:41:47.056 For obscure reasons could not handle the message <0xb56feb90>
05 12/06/09 22:41:47.057 GSD-Sleep Post 384 : 0 <0xb7840b90>
05 12/06/09 22:41:47.057 _QueueProc Post - 384 : 0 <0xb7840b90>
Process Release
05 12/06/09 22:42:49.972 GSDMessageTranslator isCmdImplemented = false <0xb5effb90>
05 12/06/09 22:42:49.975 #### Pre-Process Queue = 1 <0xb5effb90>
05 12/06/09 22:42:49.995 _QueueProc Pre - 356 : 0 <0xb7840b90>
05 12/06/09 22:42:49.996 GSD-Sleep Pre 356 : 0 <0xb7840b90>
05 12/06/09 22:42:49.996 Process Queue = 1 <0xb7840b90>
01 12/06/09 22:42:49.996 For obscure reasons could not handle the message <0xb56feb90>
Report Child Devices
No data in log
Reset
05 12/06/09 22:44:36.231 GSD-Sleep Post 776 : 0 <0xb7840b90>
05 12/06/09 22:44:36.231 _QueueProc Post - 776 : 0 <0xb7840b90>
(***)Command Queue:1, State:Complete
05 12/06/09 22:44:47.071 GSDMessageTranslator isCmdImplemented = true <0xb5effb90>
05 12/06/09 22:44:47.071 #### Pre-Process Queue = 1 <0xb5effb90>
05 12/06/09 22:44:47.090 _QueueProc Pre - 776 : 0 <0xb7840b90>
05 12/06/09 22:44:47.090 GSD-Sleep Pre 776 : 0 <0xb7840b90>
05 12/06/09 22:44:47.090 Process Queue = 1 <0xb7840b90>
05 12/06/09 22:44:47.090 Parameter: <0xb56feb90>
(***)sending Simulated PLCBUS Command
(***)IN:02 06 22 30 02 64 00 0C 03 Length:9
(***)datain: New Command:
(Command)datain: creating NEW command
(PLC)gsdCommandIn Entered:
(PLC)Value::02 06 22 30 02 64 00 0C 03 Length:9
(PLC)This Command is transmitted from an OUTSIDE SOURCE!
(***)dataOutSingleCmd Entered:
(Command)dataOut Entered:
(DEVICES)Looking up:D1
(DEVICES)In Devices:find() result:0
(PLC)I DONT KNOW THIS DEVICE ID
(Command)dataOut: Setting @state to Complete
(Command)dataOut: Returning @work
(***)got past cmd.dataOut
(***)@out is type:NilClass
(***)This command not ready to send.
05 12/06/09 22:44:47.103 GSD-Sleep Post 776 : 0 <0xb7840b90>
05 12/06/09 22:44:47.103 _QueueProc Post - 776 : 0 <0xb7840b90>
(***)
Send Command to Child
(***)DCE Send Command to Child 760 Received
01 12/06/09 22:45:55.094 Error while calling method: Cannot call class method: cmd_760
error: undefined method `dcein760' for #, line: 1087
backtrace:
in: (eval): 1087
from (eval):1087:in `cmd_760'
from (eval):1087
<0xb56feb90>
01 12/06/09 22:45:55.094 For obscure reasons could not handle the message <0xb56feb90>
05 12/06/09 22:45:55.097 GSD-Sleep Post 760 : 0 <0xb7840b90>
05 12/06/09 22:45:55.097 _QueueProc Post - 760 : 0 <0xb7840b90>
StatusReport
05 12/06/09 22:45:55.097 GSD-Sleep Post 760 : 0 <0xb7840b90>
05 12/06/09 22:46:31.070 GSDMessageTranslator isCmdImplemented = false <0xb5effb90>
05 12/06/09 22:46:31.073 #### Pre-Process Queue = 1 <0xb5effb90>
05 12/06/09 22:46:31.096 _QueueProc Pre - 788 : 0 <0xb7840b90>
05 12/06/09 22:46:31.096 GSD-Sleep Pre 788 : 0 <0xb7840b90>
05 12/06/09 22:46:31.096 Process Queue = 1 <0xb7840b90>
01 12/06/09 22:46:31.096 For obscure reasons could not handle the message <0xb56feb90>
05 12/06/09 22:46:31.09