General > Frequently Asked Questions

VBasic comms

<< < (2/4) > >>

newbie-06:
thank you for the answer..
let me try it later..
:D

i must have skipped reading the manual...
:D

newbie-06:
Hai all,,
I'd like to ask again
Im using my laptop for the connection to PLC
Because Laptop has no serial communication, I purchase a usb to rs232 converter
I was using the usb port for communication, the port comm number is around 17, 18, 19
when i was using TLserver there are no problem, but when i was using sample vb6 program from
--- Code: ---http://www.tri-plc.com/applications/SerialComm.zip
--- End code ---
i have problem that the combo box "port choice" won't work when the port number is above COM8...
can someone tell me what wrong with the code?

here is the screenshoot



because i need the port opened at COM arround 17,18, 19
thanks before

regards ;D

support:
You can add the correct COM port number in the COM port list in Visual Basic source code.

Alternatively, you can use the control panel to fix your USB-RS232 adapter to a COM port number that matches one of those shown on VB choice box.

newbie-06:
i wanna ask another thing...
this time i wanna try a simple ladder that would be access through TLServer 3.0...


here is the screenshot of the ladder



then here is the screenshot of the TLServer


I type @01WI0101 command
the response should be @01WI*
but the TLServer response was  @01FE42*

I dont understand how that could happen...
or maybe i wrote the wrong command?

support:
You need to append two bytes of FCS to your command.  You can use TLServer to compute the FCS (click the FCS button!) and then add to the end of the string before *.

For testing you can also use "00" as the wildcard FCS if the PLC is in Automatic protocol mode.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version