Set up connections for a piloted control list selector
Use the
Connections
tab of the Piloted Control List Selector Properties
dialog box to set up tags and expressions for the object.To set up tags and expressions for a piloted control list selector
- In theGraphics Displayeditor, double-click the selector to open itsPropertiesdialog box.
- Click theConnectionstab.
- Assign a tag or expression to these controls:ValueAssign a tag to this connection. When a display that includes a piloted control list selector object is opened, if the operator has control of the list, the application reads the Value connection to determine what state to select. The application does not read the Value connection at any other time. When the operator selects a valid state, if its Value connection is assigned, the state's value is written out to the Value connection.If the list is remotely controlled, the Value connection does not necessarily have to be assigned. The remote controller uses the Indicator connection to select a state. If the selected state is a valid state, and if its Value connection is assigned, the state's value is written to the Value connection.TIP:
- If Write on enter is selected on theGeneraltab, the application does not write to the Value connection until the operator selects a state and pressesEnter.
- If Write on enter is not selected on theGeneraltab, the application writes to the Value connection as soon as a state is selected. The Enter and Enter Handshake controls are ignored.
IndicatorAssign a tag or an expression to this read connection. When the list is remotely controlled, this connection is used to select a state in the list.Remote AccessA read connection. This connection determines whether the operator or a remote controller selects states in the list. If you assign a tag or an expression to this connection, the object will be remotely controlled. If unassigned, the operator has control of the object.Top PositionAssign a tag to this write connection. Whenever the list scrolls, the value of the top visible state in the list is written to this tag.Visible StatesAssign an array tag to this write connection. When the list scrolls, the values of the visible states are written to the array tag. The first visible state is written to the first element of the array tag, the second visible state is written to the second element of the array tag, and so on. The length of the array tag must be the same as the number of visible states the object has.TIP:- You must use a direct reference for this assignment. You cannot use an HMI tag.
- The syntax of the array tag is dependant on the type of OPC data server the application is using.
- If you are usingFactoryTalk Linx, you must use the syntaxtagname,Larraylength(for example, [PLC5]N7:0,L5). Donotleave a space between the tag address and the length. For example, the address {[PLC5]N7:0, L5} will not work. {[PLC5]N7:0,L5} will work.
EnterAssign a tag to this connection. This connection accepts values of 0 and 1 only. The connection determines how long theEnterkey press is registered. Use this connection for Enter key handshaking.Enter HandshakeAssign a tag or an expression to this connection. This connection resets the Enter connection, using the Handshake reset type property specified on theTimingtab. Use this connection for Enter key handshaking if you want the Enter connection to be reset when a value at the datasource changes.If you assign an expression, the application calculates the value of the expression and resets the Enter connection when the expression value meets the conditions of theHandshake reset typeoption.
Provide Feedback