STL Programlama

cals

Üye
Katılım
11 Kas 2010
Mesajlar
23
Puanları
1
Yaş
37
Merhaba arkadaşlar benim bir sorum olucak NOP 0 ve NOP 1 komutları tam olarak nedir.Cevaplar için teşekkürler
 
KNX Standardı, küçük bir rezidansın içerisindeki aydınlatma, perde panjur, klima kontrolünden, Dünya’nın en büyük havalimanlarındaki aydınlatma otomasyonu gibi çözümler için tercih edilen bir Dünya standardıdır.
Yazımızda endüstrinin can damarı sayılabilecek PLC’yi inceleyeceğiz.
Nerede hangi amaçla kullanılıyor bilgim yok. Nop komutu mikroişlemciyi bir komut süresi kadar hiçbir şey yaptırmadan bekletiyor diye biliyorum.Siemens de sitesinde Nop 0 için null op. boş işlem komutu ve 16x0 yani 2byte lık bir komutu süresi ve hafızaya kaydedilir demiş.Ama anladığım kadarıyla siz daha detaylı bir açıklama istiyorsunuz
Description:
The NOP statements are Null operations and prompt no response from the CPU during processing. The STL editor identifies the null operations NOP 0 and NOP 1.

  • NOP 0: Bit pattern 16 x "0".
  • NOP 1: Bit pattern 16 x "1".
These null operations are entered as statements which have no effect. For example, there must always be a statement in the case of a jump label. For example, if you do not wish to execute anything at a jump label in your program, use the statement "NOP 0". However, bear in mind that null operations take up 2 bytes of memory space and have a command runtime.

step7_nop_anweisungen_01.gif


Fig. 1: Statement NOP 0 at jump label M001

Note:
If NOP statements are shown, they only apply to the STL instructions, not to the LA
 
CPU LABEL: NOP 0 Satırına ulaşıldığında hiçbir işlem yapmaksızın bir alt satırdan işlemine devam eder.
 
Step 5' de nop1 STL->Ladder cevriminin olabilmesi için kullanılıyordu,belki S7'dede aynı mantık vardır...??
 

Yeni mesajlar

Forum istatistikleri

Konular
128,305
Mesajlar
916,561
Kullanıcılar
450,143
Son üye
lojis

Yeni konular

Geri
Üst