Communication with Other Devices those with customized Min and Max values, as specified in the Body area of the driver sheet ( Min and Max columns). Use the Body area parameters as follows: • Tag Name field: Type the name of a project tag to be used by the communication driver. • Station field: Type the number of the equipment station within the network. The syntax in this field varies with each communication driver. Refer to the appropriate driver's documentation for further information. Tip: For some drivers, if you've configured the driver to do serial encapsulation via TCP/IP or UDP/IP, then the station may be specified using the following format: IP_address :
port_number | station For example: 10.169.25.18:1234|Station5 To see if this feature is supported on your selected driver, refer to the driver's documentation. Tip: You can configure a tag name (string) between curly brackets in this field. In this case, the tag value will be the Station used by the driver. Therefore, you can change the station dynamically during runtime. Configuring a string tag between curly brackets in the Station field of the Main Driver Sheet (MDS) is especially useful when configuring projects for redundant PLCs.
Changing the value of the tag configured in the Station field, you can switch automatically from one PLC to the other in case of a failure of the primary PLC (hot/Stand-by). • I/O Address field: Type the address of the field equipment related to the project tag. The syntax in this field varies with each communication driver. Refer to the appropriate driver's documentation for further information. • Action field: Specify the communication direction, using one of the following options:
• Read (the project continuously reads the address from the field device and updates the Tag value.) • Write (the project writes the tag value to the field device when the tag value changes.) • Read+Write (Combines the procedures of both the Read and Write parameters.) • Scan field: Specify the condition under which the tag value is read from the remote device or server and then updated in the project database, using one of the following options: • Always means the tag is read and updated during every scan of the communication worksheet, regardless of whether the tag is used in any other project screens, scripts, or worksheets.
This option is recommended for tags that must be continuously monitored in the background, such as tags that trigger alarms, tags used in recipes, tags that are recorded in the historical database, and so on. • Screen means the tag is read and updated only if it is being used in at least one open project screen, either locally or on another client station. This option is recommended for tags that are used in screen objects, because the project may not need to update tags that are not being visualized anywhere. Selecting this option can improve project performance. • Auto means the project will automatically choose either Always or Screen , depending on where the tag is used in your project.
If the tag is only used in a screen object on a project screen, then the scan will default to Screen . But if the tag is configured in any other interface (e.g., Script, Math, Alarm, Trend, Recipe, Report, Scheduler), then the scan will switch to Always and remain there until the project is stopped. If you are not sure of which option to select, select Always . This will guarantee the tag is read and updated. • Div field: Specify the division constant when scale adjustment is required. This value is a division factor in a read operation and a multiplication factor in a write operation. Do not use this field if you are already using Min or Max in the configuration body. • Add field:
Specify the addition constant when scale adjustment is required. This value is an addition factor in a read operation and a subtraction factor in a write operation. Do not use this field if you are already using Min or Max in the configuration body. InduSoft Web Studio Page 297