10/1/2013 2:17 PM | |
Posts: 1 Rating:
|
Hello, I'm being required to communicate with a remote PC which controls a Laser marker using the TCon/TSend/TRecieve functions. I'm having trouble establishing a connection. Using the Open Communcation Wizard, I've set up the DB for my test platform in order to verify the functionality of my communication blocks. I've tried multiple different setups and each time when I try to establish connection to the PC the "TCon" busy signal stays on. This is the Wizard page I've been using: Open Communication & Configured Connections http://support.automation.siemens.com/WW/view/en/24294554 Open Communication Wizard http://support.automation.siemens.com/WW/view/en/25209116 Also here is the means I've been trying to test the connection using HyperTerminal: 1. Modify I4.4 "recv_enable" = 1 ( true ). 2. Open HyperTerminal ( automatically attempts to establish a connection actively ) and select Call / Wait for a Call. 3. Toggle I4.0 "conn_estab" = 1 ( true ). HyperTerminal connected? 4. Click the Modify Variable button to load "E" ( 69 dec ) and "F" ( 70 dec ) into DB630.DBB0-1. 5. Toggle I4.2 "send_data" = 1 ( true ). HyperTerminal received "EF"? 6. HyperTerminal: press Enter. STEP 7 VAT1 received "69", "70", "13", and "10" in DB640.DBB0-3? 7. Toggle I4.6 "discon" = 1 ( true ) to disconnect. HyperTerminal disconnected? And finally, attached is the test project I was provided. Any thoughts on my setup would be appreciated! Specifically, does it matter what Port Number I enter for the remote PC connection in the wizard? Thanks.
AttachmentOpenTCP2.zip (80 Downloads) |
Follow us on