| The #RemoteControl object is used for the remote control of several EPAM applications networked via Ethernet. For example, it can be used to implement from a main visualization the remote control of an HMI unit which is located at a different plant section. The #RemoteControl object shows here the frame in which the current image of the remote HMI can be displayed. Inputs, for example, are likewise transferred to the remote HMI station and have the same effect as local operation on the remote device itself. Conversely, only changes to the screen content of the remote HMI station are transferred (cf. remote desktop).    Requirement
 A RemoteServer must be installed on the remote devices.   Parameters  Object 
| Column A, object | M/O | Default | Description |  
| #RemoteControl | M | 
 | Remote control of networked EPAM applications |   Text/File 
| Column B, Text/File | M/O | Default | Description |  
| 
 | M/O | Empty string | IP address of the host from VarValue |  
| 192.168.0.%1 | O/M | 
 | Part of the IP address of the host from VarValue |  
| [<Host>[:<port>]] | O/M | 
 | IP address of the host and optionally the port, separated by a colon. Default port: 5900. e.g.192.168.0.99 | Font X, Y, DX, DY 
| Columns D-G | M/O | Default | Description |  
| Integer constants | O | Autom. positioning | Position and dimension  The dimension of the object should if possible be a 1:1 equivalent of the remote screen or an integer multiple of it. The screen content is zoomed in all cases, however, the quality and performance is not optimal.
 |  
| Variable of type INT |   | 
 | 
 | Color Backcolor Action 
| Column K | M/O | Default | Description |  
| OnError:#Page=<name> | O | 
 | The #Page=<name> is called in the event of protocol errors |  
| OnError:Close |   | 
 | The top page is closed in the event of protocol errors |  
| OnError:Close=<name> |   | 
 | The #Page=<name> is closed in the event of protocol errors | VarValue 
| Column P | M/O | Default | Description |  
| <variable> | O | 
 | Variable with part or entire IP address | VarType 
| Column Q | M/O | Default | Description |  
| STRING | O | 
 | Part (replaces %1) or whole IP address as string  |  
| WORD UINT INT | O | 
 | Part IP address numerical, replaces %1 in Text/File column | VarState Option 
| Column S | M/O | Default | Description |  
| Password=<password> | O | 
 | <password> The password is transferred without encryption |  
| VarStateOnOffInverted | O |   | Inverts the On / Off functionality of the VarState Variable:   VarState = 0 -> Off VarState = 1 -> On   |      RemoteControl of equally dimensioned screens
 If a #RemoteControl object is used from one device to access another device with the same resolution (e.g. 320x240, full screen), an Invisible button must be configured on the device with the #Page=xy action and a timeout (e.g. at the bottom right, DX, DY 1 pixel). This enables remote control to be shut down automatically after the defined timeout without operation. Otherwise the device with the RemoteControl object must have a higher resolution (larger screen) than the remotely controlled device. For example, the screen of a 1/4VGA device (320x240) is displayed in a VGA device (640x480).    System variables
   The following system variables are used in conjunction with the #RemoteControl object:   See also     Difference to EPAM3 | • | The following options are no longer supported: PROTO_NAME=RFB
 PROTO_MAJOR=3
 PROTO_MINOR=3
 PROTO_PORT=5900
 
 | 
 |