Rockwell-automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User M Uživatelský manuál Strana 63

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 312
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 62
Chapter 5
(!" $!$%
5-3
Use the DTL library of commands to access real-time data from the data
table of a direct-connect PLC-5 programmable controller. The data is
transferred between the control coprocessor and the PLC-5 processor via
the connector interface between the two devices.
This section defines the available commands. For more details, see
Appendix B, Application Program Interface Routines.
Important: You must use the DTL_INIT function to initialize the
data-table library before using any data-transfer, data-definition, or
chassis-control functions
Configuration Functions
Use configuration functions to initialize the DTL software and establish an
internal data-definition table for data items. See Table 5.C.
Table 5.C
DTL Configuration Functions
Function What It Does Why You Need It When You Use It
 $&%    &+% &
&, &! &
!' '%& %&% & &, &!
& !$ *!'   ' &! %
& % $#'$   '%&  &  ' &! 
*!'$ "$!$ *!' %!'  & ! * !  "$ "$!$
 % &  &! &! &
&, &! &
!$ & &$ %$ %!& *
""&! "$!$
#'$ !$ ! & &%
 &% &  &! $!
& &, &! &
! $ & &, &! &  &$*
&!  $'% !$  !&$ & &
!'   )  &! % ! ! $ 
 &'$ % & '$ ! &
 &! % &&   
&! & &, &! &
!  && *!' ! !&   !$
& &% & & &, &!
&  !
 *!' ) & &! " &$ ! !)  *  &! %
(    & !  &
Read/Write Access Functions
Use read/write access functions to exchange data between the directly
connected PLC-5 programmable controller and the control coprocessor.
See Table 5.D. The read/write functions listed are synchronous to the
application program; and they are all control-coprocessor initiated.
The DTL read/write functions are the quickest ways for the control
coprocessor to access data in an attached PLC-5 programmable controller.
Every read or write interrupts the programmable controllers ladder-
program scan for approximately 1 msec, regardless of the length of the
transfer; therefore, you should make fewer transfers with greater transfer
lengths rather than several small transfers. The amount of time that it takes
for the coprocessor to retrieve data and have it available for the application
program follows this linear formula:
Time (msec) = 1.2 msec + (0.012 msec x number of words)
How to Use DTL Functions
Zobrazit stránku 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 311 312

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

Žádné komentáře