DictionaryForumContacts

 lanaprima

link 21.10.2008 16:39 
Subject: ON
• A wait command waits until the result of the expression becomes ON.
• It is not possible to specify "On+'\ "Off-", or "ERRJsUM" with a mixed logic command. To specify these, it is necessary to use ordinary operation command.

Подскажите пжста, что здесь означает ON. (ВКЛ.?)

Спасибо заранее

 lisulya

link 21.10.2008 17:19 
похоже что да

 Banknote

link 21.10.2008 17:28 
Это случайно не описание шины комманд в автомобиле?

 lanaprima

link 21.10.2008 18:00 
нет это робототехника.

 uar

link 21.10.2008 19:07 
Что-то подсказывает мне, что во фразе
• A wait command waits until the result of the expression becomes ON.
то самое ON это не ВКЛ..
Ведь сказано "result of the expression" станет ON. Как выражение можно включить?
Похоже, что ON здесь в смысле "истина".

Со вторым абзацем еще сложнее, но тоже не ВКЛ, имхо

 lanaprima

link 21.10.2008 19:32 
даю текста побольше, может будет яснее..

The following shows an example of using mixed logic commands wirh a wait command.
WAIT (DI[1] AND (!DI[2] ORDI[3]))____________________________
• A mixed logic expression can be specified in the conditional statement of a wait command.
• The result of a conditional statement must be of Boolean type.
• A wait command waits until the result of the expression becomes ON.
• It is not possible to specify "On+", "Off-", or "ERRJMUM" with a mixed logic command. To specify these, it is necessary to use ordinary operation command.
• The maximum number of items (data items and operators) in the conditional statement of a wait command is about 20. The exact maximum number of items depends on the data type.

 lanaprima

link 21.10.2008 19:41 
а может ON быть как оператор включения, а OFF- типа запертого состояния???

 Banknote

link 21.10.2008 20:34 
• A wait command waits until the result of the expression becomes ON.
• It is not possible to specify "On+", "Off-", or "ERRJMUM" with a mixed logic command. To specify these, it is necessary to use ordinary operation command.

Здесь очевидно что речь идет о программировании и о логическом выражении. У любого логического выражения есть только два результата:
ИСТИНА(ON)/ЛОЖЬ(OFF)
• The result of a conditional statement must be of Boolean type.

Очевидно, что речь идет об этом.
!DI[2] - Это, например, отрицание сигнала DI - те это логическое НЕ.
(когда сигнал OFF - результат ИСТИНА(ON))

Константин.

 lanaprima

link 21.10.2008 20:38 
большое спасибо за разъяснение, раздел в переводе посвящен Команде смешанной логики.

 

You need to be logged in to post in the forum