KUKA KSD1-16驅(qū)動(dòng)器,KSD1-16使用指導(dǎo)
配置模塊數(shù)據(jù)區(qū)要配置模塊數(shù)據(jù)區(qū)域,請(qǐng)右鍵單擊硬件中的模塊節(jié)點(diǎn)配置,然后選擇配置。模塊的參數(shù)編輯器窗口出現(xiàn)。只讀參數(shù)的值由定義Profibus模塊的特性。大多數(shù)設(shè)備都有一個(gè)帶有輸入、輸出或二者都一些設(shè)備有多個(gè)數(shù)據(jù)區(qū)域,顯示為附加行。數(shù)據(jù)區(qū)參數(shù)區(qū)域該值是從1開(kāi)始的索引。只讀。類型指定數(shù)據(jù)是輸入還是輸出,以及類型、數(shù)字或模擬。

KUKA KSD1-16驅(qū)動(dòng)器價(jià)值可以是數(shù)字的輸入、模擬輸入、數(shù)字輸出或模擬輸出。Ref Address指定用于映射數(shù)據(jù)區(qū)域的內(nèi)存區(qū)域。不考慮引用類型使用時(shí),輸入?yún)^(qū)域被視為已消耗且不能重疊,而輸出區(qū)域被視為已消耗視為已生產(chǎn)且可能重疊。允許范圍:%AI、%AQ、%I、%Q、%G、%R、%T、%M。如果字節(jié)數(shù)為奇數(shù),則不允許使用模擬存儲(chǔ)器,并且選擇限制為:%I,%Q、 %G,%M長(zhǎng)度指定引用的長(zhǎng)度。默認(rèn)情況下包括整個(gè)數(shù)據(jù)區(qū)域。如果設(shè)置為0,則數(shù)據(jù)未映射區(qū)域。允許的范圍:對(duì)于離散存儲(chǔ)器,允許范圍為[0,8,16,…,X]對(duì)于模擬存儲(chǔ)器,允許范圍為[0,1,2,…,X]交換字節(jié)交換字節(jié)字段用于操作字節(jié)順序。因?yàn)镻rofibus設(shè)備通常不會(huì)按照標(biāo)準(zhǔn),提供了更改字節(jié)順序的能力。模擬區(qū)域進(jìn)入如果需要LSB,則應(yīng)交換MSB和?!?如果類型為數(shù)字且模塊的字節(jié)數(shù)為奇數(shù),則交換字節(jié)設(shè)置為False(否交換)和只讀?!?如果類型為數(shù)字且模塊的字節(jié)數(shù)為偶數(shù),則默認(rèn)值設(shè)置為False。背景將字節(jié)交換為T(mén)rue會(huì)導(dǎo)致在將數(shù)據(jù)映射到之前交換LSB和MSBPLC存儲(chǔ)器?!?如果類型為模擬,則默認(rèn)值設(shè)置為False。將交換字節(jié)設(shè)置為T(mén)rue會(huì)導(dǎo)致LSB和在數(shù)據(jù)映射到PLC內(nèi)存之前交換MSB。
Configuring Module Data Areas
To configure module data areas, right click the module node in the Hardware
Configuration, and choose Configure. The Parameter Editor window for the module
appears.
The values for read-only parameters are supplied from the GSD text file that defines the
Profibus module's characteristics. Most devices have one data area with inputs, outputs or
both. Some devices have multiple data areas that are shown as additional rows.
Data Area Parameters
Area
This value is an index beginning at 1. Read-only.
Type
Specifies whether the data is input or output as well as type, digital or analog. Value can be Digital
In, Analog In, Digital Out, or Analog Out.
Ref Address
Specifies the memory area that is used to map the data area. Regardless of the reference type
used, input areas are considered as consumed and cannot overlap, while output areas are
considered as produced and may overlap.
Allowable Ranges: %AI, %AQ, %I, %Q, %G, %R, %T, %M.
If the number of bytes is odd, analog memories are not allowed and selections are limited to: %I,
%Q, %G, %M
Length
Specifies the length of the reference. Includes the entire data area by default. If set to 0, the data
area is not mapped.
Allowable
Ranges:
For discrete memories, the allowable range is [0, 8, 16, …, X]
For analog memories, the allowable range is [0, 1, 2, …, X]
Swap Bytes
The swap bytes field is used to manipulate the byte order. Because Profibus devices often do not
follow the standard, the ability to change byte ordering is provided. The analog areas travel in
MSB and should be swapped if LSB is required.
■
If Type is Digital and the module has an odd number of bytes, Swap Bytes is set to False (no
swapping) and read-only.
■
If Type is Digital and the module has an even number of bytes, default is set to False. Setting
Swap Bytes to True causes the LSB and MSB to be swapped before the data is mapped into
PLC memory.
■
If Type is Analog, default is set to False. Setting Swap Bytes to True causes the LSB and
MSB to be swapped before the data is mapped into PLC memory.