Join us today!

Notifications
Clear all

[Solved] Not able to login with more than 500 ms ping

4 Posts
2 Users
0 Reactions
657 Views
Posts: 9
Topic starter
(@tiago29a)
Active Member
Joined: 2 years ago

Hey, so I have a application were I can connect remotely to the plc, but because the Internet is by satellite, I have 700 ms of delay to the CPU. I tested with clumsy and it seems like the online option is disabled after 500ms of lag. Do you have any idea what I can do? I looked and I did not found any option to change this.

 

Thanks 😁

Reply
3 Replies
1 Reply
TwinControls
Admin
(@beckhoffsupport)
Joined: 2 years ago

Member
Posts: 71

@tiago29a 

Have you checked these settings already? 

*

Registry

MaxBlockSize

HKEY_LOCAL_MACHINE\SOFTWARE\BECKHOFF\TwinCAT\Plc MaxBlockSize (DWORD)

The default (even if there is no key in the registry) is 16 KByte. The smallest block size is 512 bytes.

This means that large PLC projects to be loaded are divided into blocks.

Smaller blocks should be configured for slow connections.

 

ConnectionTimeoutMSec

HKEY_LOCAL_MACHINE\SOFTWARE\BECKHOFF\TwinCAT\Plc ConnectionTimeoutMSec (DWORD)

The default value is dec 8000 (corresponds to 8 seconds).

This value should be increased for slow connections.

 

TwinCAT PLC Control.ini

The "TwinCAT PLC Control.ini" file is located in the ".. \ TwinCAT \ PLC" directory.

[TwinCAT PLC Control]

FileTransferBlockSize=16384

The default (even if there is no key in the INI file) is 1024, with a CX9000 usually 16K are set to minimize the number of blocks.

 

*Reference

 

Setting possibilities in the registry and TwinCAT PLC Control.ini

Reply
TwinControls
Posts: 71
Admin
(@beckhoffsupport)
Member
Joined: 2 years ago

Hi,

Is it possible for you to install the TwinCAT XAE on the HMI or on a computer that's already connected to PLC on the plant? You can then try connecting to that computer remotely. 

Reply
1 Reply
(@tiago29a)
Joined: 2 years ago

Active Member
Posts: 9

@beckhoffsupport I've been doing this and it work fine, but it's very laggy and I end up losing a lot of time to do the same work I could do on my PC

Reply
Share: