倍福CE系统远程桌面连接
PLC程序准备
引用库文件:
Tc2_Utilities.lib
功能块定义:
OpenRemoteDesktop: NT_StartProcess;
实例化:
OpenRemoteDesktop(
NETID:=‘’ ,
PATHSTR:=‘\windows\CerDisp.exe’ ,
DIRNAME:=‘\windows’ ,
COMNDLINE:= ,
START:= , (启动远程桌面连接)
TMOUT:= ,
BUSY=> ,
ERR=> ,
ERRID=> );
1.系统属性–>远程:勾选运行远程协助连接这台电脑,勾选运行运行任意版本远程桌面的计算机连接
2.防火墙关闭
3.被访问PC服务项中3个远程桌面必须都开启:Remote Desktop Configuration,Remote Desktop Services,Remote Desktop Services UserMode Port Redirector