Lenze PLC Designer V2.x Uživatelský manuál Strana 313

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 336
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 312
1.3 EN - 07/2012 L 313
PLC Designer V2.x| Lenze Application Samples
The L_SDC_DataConversion.lib library
L_SDC_SetBitOfWord - bit operation
18.20 L_SDC_SetBitOfWord - bit operation
This function sets an individual bit to "1" within a value of the "WORD" type.
Inputs
Output signal
L_SDC_SetBitOfWord - value of the "WORD" type, which results by the bit set.
18.21 L_SDC_WordTo2Bytes - type converter
This FB converts an input value of the "WORD" type to two output values of the "BYTE"
type.
Inputs
Outputs
18.22 L_SDC_WordToBits - bit demultiplexer
This FB outputs the 16 corresponding bit values for an input value of the "WORD" type.
Identifier/data type Information/possible settings
wInput
WORD
Input signal
byBitNr
BYTE
No. (0 ... 15) of the bit that is to be set.
Identifier/data type Information/possible settings
wInput
WORD
Input value
Identifier/data type Information/possible settings
byOutput1
BYTE
Output value 1: Bit 0 ... bit 7 of wInput
byOutput2
BYTE
Output value 2: Bit 8 ... bit 15 of wInput
Zobrazit stránku 312
1 2 ... 308 309 310 311 312 313 314 315 316 317 318 ... 335 336

Komentáře k této Příručce

Žádné komentáře