Keyboard Shortcuts
Likes
Search
Problem with symbol TCP/IP Server on the CP4N
On Sat, Oct 7, 2023 at 11:42 AM, Dave H - Crestron True Blue Tech Support Engineer Since 2014 wrote:
Did you set STARTPROGAFTERROUTER ON?Dave, is this something that you recommend to be run for all 'N' processors? of is this just to try to solve this issue?? TIA! Though I expressly forbid the 'N' units on our projects, we did have a couple over the years that we dealt with, because of *stuff*, so I'm interested in this generally... |
Thanks for your reply. But I still don't understand why the processor works fine when we just restart the program and doesn't work immediately after turning on the power. This is almost the same as if every time you turn it on you have to first restart the Windows operating system. In addition, why do tcp-clients always work on the processor, but this strange exception is made for the tcp- server? P.S.?And why did this same program work fine on Pro3 before?
|
开云体育STARTPROGAFTERROUTER ON should fix this for you. ? Under the hood there are two different components – the processor and the router. The processor sits behind the router along with anything you may have on the control subnet (much like your computer is behind the router on your home network) ? What is happening is that on a CP4N/etc. the program is getting started before the router is fully initialized – I’m guessing to help speed processor boot times and because a lot of times this doesn’t matter – but there are some cases, like a TCP server where if the program starts before the router there can be undesired results – I’m guessing if you tried connecting to the TCP server from the CS it would be more likely to work. In any event STARTPROGAFTERROUTER ON should fix this for you by delaying program startup until the router is ready ? Lincoln ? -- Lincoln King-Cliby Commercial Market Director ? ? From: [email protected] <[email protected]> On Behalf Of
nvc84 via groups.io
Sent: Saturday, October 7, 2023 7:24 AM To: [email protected] Subject: [crestron] Problem with symbol TCP/IP Server on the CP4N ? Hi! |
So you tried it and it made no difference at all?
toggle quoted message
Show quoted text
On Monday, October 9, 2023, nvc84 via <nvc84=[email protected]> wrote: Thanks for your reply. But in our case, the Control Subnet port on the CP4N processor is not used at all! All equipment is located on the LAN port. |
开云体育But you are technically using the CS, it is being used by the processor. As Lincoln indicated earlier, the processor sits behind the router along with anything you may have on the control subnet (much like your computer is behind the router on your home network). ? Caleb Radecky |
Manager, Online Products & Services ? From: [email protected] <[email protected]> On Behalf Of
nvc84 via groups.io
Sent: Monday, October 9, 2023 15:32 To: [email protected] Subject: Re: [crestron] Problem with symbol TCP/IP Server on the CP4N ? Thanks for your reply. But in our case, the Control Subnet port on the CP4N processor is not used at all! All equipment is located on the LAN port. |
But you are technically using the CS, it is being used by the processor. As Lincoln indicated earlier, the processor sits behind the router along with anything you may have on the control subnet (much like your computer is behind the router on your home network).Exactly. If the server is initialized before the processor pulls an IP address, DNS etc. it will fail, plain and simple. Do what the others have suggested and I'm 99.9% certain it will fix your issue. The reason a program reset works is because the control subnet router is already running and the processor can pull an IP address to start your server, whereas on a hardware reset or reboot it will never work.? I would definitely encourage on processors with control subnet to set your startprogafterrouter to on, mostly because you don't have behind the scenes control of every module or device trying to connect, initialize etc. I thought this was changed to default ON but I may be mistaken. |
No. It does not help. Soon I will be able to check the command associated with the router on the processor. And yet I don’t understand why such services as conditional Telnet, an internal Web server, and a lot of others have time to start normally on the processor, but such an important part of the logical core as the TCP-server does not have time to start. And why did it always work on pro3 before. Let me remind you that we do not use the Control Subnet on the processor.
|
开云体育Maybe -- but that's not as clean as startprogafterrouter because (a) the router startup time isnt a defined period so you run the risk of too long or too short and a future router config or firmware update breaking things, and (b) you would
be subjecting yourself to that penalty every time the program started even if the router was already fully up (e.g. when loading changes to the program)
Its kind of like the old BiAmp Audia modules that enforced a 60 (or was it 120) second initialization delay because someone put the DSP on a power sequencer and rather than handle that in a sane way the fix was to make everyone wait a minute
or two every time the program loaded before the module even started to do anything useful?
Get From: [email protected] <[email protected]> on behalf of Olivier Royer via groups.io <oroyer@...>
Sent: Tuesday, October 10, 2023 9:23:20 AM To: [email protected] <[email protected]> Subject: Re: [crestron] Problem with symbol TCP/IP Server on the CP4N ?
Just a thought, if the "Enable" signal of the TCP-IP Server is set high with a delay to make sure the router has time to initialize. that should fix the problem as well, no?
|
The webserver is always available even if you don't program it, so the router configuration does not need to change for that to work as it's probably a default setting which is set in firmware. The same applies for incoming CIP connections. Outgoing connections like a TCP/IP client do usually not need to be configured on a router but a TCP/IP server is an incoming connection which needs to be configured. This probably happens at program start and when the router is not up and running, how should that happen??
Why the difference in 3 and 4 series? Because different underlying platforms can behave slightly different. 4 series is also much faster and programs start earlier than on 3 series. |