2/5/2017 12:47 PM | |
Joined: 9/23/2005 Last visit: 4/21/2025 Posts: 4406 Rating:
|
“Simple Samples” are small projects that demonstrate simple features. The target is give a quick overview about the theme and be used as start point for related discussions. Follow there are a short description and the configuration main steps. Description: One of news of TIA V14 is the possibility toread and force a connection status by using the variables “@<name of connection> @ConnectionState” and “@<name of connection>@ForceConnectionState”. These variables should be created manually. The system help (Information system → Visuzalize process → Communicating with PLCs → Network and connections → Configure networks and connections → Setting up switch on / switch off a connection in Runtiime), shows how to configure them. I copy here, part of the configuration steps: “ Requirement The "HMI tags" editor is open. Procedure To create tags for controlling a connection in Runtime, follow these steps: Create the tags for connection control in the following text format: "@< ConnectonName >@ConnectionState", e.g. @HMI_Connection_1@ConnectionState This tag contains the current state of the connection. You only have read access to this tag. "@<ConnectionName>@ForceConnectionState", e.g. @HMI_Connection_1@ForceConnectionState You set the new status of the connection in Runtime using this tag. The start value for @HMI_Verbindung_1@ForceConnectionState is 0 (not connected) or 1 (connected). Configure the tag according to the following specifications: Data type: "DWord" PLC tag: None Connection: HMI_Connection_1 PLC name: Not relevant Address: %DB40000.DBD65000 (any unused address) Access type: Absolute access “ Requirements: TIA V14. Project: Archived program, compressed (zip) AttachmentProject1.zip (1031 Downloads) |
Denilson Pegaia |
|
This contribution was helpful to
4 thankful Users |
Follow us on