Creating a New Project Communication tab Use this tab to specify communication parameters relating to your project in general. Project Settings: Communication tab • Driver and OPC menu: Select the method used by all communication drivers and OPC Client worksheets configured in the current project when writing values to the remote PLC/device: • Send every state : When the communication task is configured to write values upon a change of tag value, all changes in the tag value are buffered in a queue and sent to the device when the communication task (Driver or OPC) is executed. • Send last state :
When the communication task is configured to write values upon a change of tag value, only the current (last) value of the tag is sent to the device when the communication task (Driver or OPC) is executed. When this method is selected, if the tag changed value more than once while the communication task was not being executed, the transient values of the tag are not sent to the device. This is the desired behavior for most projects. • TCP area: Configure the communication settings for the TCP/IP Client and Server modules : • Port field: TCP Port used by the TCP/IP Client and TCP/IP Server modules running in the current computer.
When changing this value in the local project, be sure to change the same value in the remote project that is communicating with the local one. Note: This setting is required for all projects and cannot be left blank. Make sure that your network configuration will allow connections to this port on whichever station will be the project server. • Send Period (ms) field: Period (in milliseconds) used between two consecutive messages sent by the TCP/IP Client or TCP/IP Server modules to update tag values in the remote station. Typically, a lower number equals better performance and higher traffic in the network. • Enable binary control checkbox:
Check this option to enable binary control when the TCP/IP Client or the TCP/IP Server module sends messages to the remote station. Binary control increases the security of the system; however, it decreases the efficiency (performance) of the communication. When connecting two stations via the TCP/IP Client and TCP/IP Server module, make sure this setting is either enabled in both projects or disabled in both. • Remote Management area: Configure the communication settings for the Remote Management operation , which sends your project files to a target system: • Timeout (ms) field: Specifies the time (in milliseconds) that the project will wait to communicate with the target system.
• Enable File Compression checkbox: Select this option to compress the system and project files before sending them to the target system. This may reduce the download time if you have a slow connection between your server and the target system. (If you have a fast connection, however, then selecting this option may actually decrease performance because each compressed file must be Page 84 InduSoft Web Studio