Tag.Referense игнорировать ошибку

Связь между InTouch и программируемыми логическими контроллерами, компьютерами
и другими устройствами.

Tag.Referense игнорировать ошибку

Сообщение 3Dfx » Вс авг 25, 2019 3:44 am

Добрый день.
Когда пытаюсь присвоить свойству тега Referense ссылку, с которой в данный момент нету связи, то это не работает и выдает такой лог: A write to InTouch was skipped with a value of '---' because the data quality was bad or initializing.
Как я могу присвоить ссылку вне зависимости от качества тега ?
3Dfx
 
Сообщения: 4
Зарегистрирован: Ср ноя 11, 2015 8:58 pm

Re: Tag.Referense игнорировать ошибку

Сообщение Генератор зла » Пн сен 02, 2019 1:45 pm

.Reference Dotfield
You can implement Dynamic Reference Addressing by assigning a valid reference to the .Reference dotfield of an I/O tag. You can use the .Reference dotfield to dynamically change the data source by modifying the characteristics of the Access Name assigned to the I/O tag.

The syntax of the .Reference dotfield is:

tag.Reference=“accessname.item”
Changes the Access Name and item assigned to a tag.

tag.Reference=“[.]item”
Changes the item assigned to an I/O tag.

tag.Reference=“accessname.”
Changes the Access Name of an I/O tag.

tag.Reference=“”
Deactivates the I/O tag.

Each I/O type tag has a .ReferenceComplete dotfield. The value of this discrete dotfield indicates if the item requested in the .Reference dotfield is reflected in the .Value dotfield.

The .ReferenceComplete field is set to false (0) when the application starts in WindowViewer. When it is confirmed that the .Value dotfield is being updated by the source specified in the .Reference dotfield, the .ReferenceComplete value is set to true (1). If the .Reference dotfield is changed, the .ReferenceComplete dotfield is automatically set to false (0), and then updated to true (1) when the new value is updated.

См. также:
IOSetItem() Function
IOSetAccessName() Function
IOSetRemoteReferences() Function
Vita est dolor.
Генератор зла
 
Сообщения: 2860
Зарегистрирован: Вс янв 23, 2011 5:08 pm


Вернуться в Связь InTouch с ПЛК

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 12

cron