Ge GEFanuc Automation Programmable Control Products T Manuale Utente Pagina 126

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 125
4
4-38 TCP/IP Ethernet Communications User’s Manual – January 1996
GFK-1004B
Monitoring the Communications Channel
Once you have a working ladder program, you can use the status data to monitor your
communications activity and take the desired action upon certain events. The primary
indicators of a communications channel are the Channel Status bits: Channel Error bit
and Data Transfer bit. In addition, the CRS word and the DCS words can be used to
more precisely troubleshoot any problems that may occur.
Monitoring the COMMREQ Status Word
It is critical to monitor the CRS word for each COMMREQ function you initiate. First,
zero the associated CRS word before executing the COMMREQ function. Then when
the CRS word becomes non-zero, you know the Ethernet Interface has updated it. If the
CRS word is updated to a one (1), then the Command Block was processed successfully
by the Ethernet Interface. If the CRS word is updated to a value other than 1, then an
error has occurred in processing the Command Block. See Section 4 of this chapter for
CRS word error codes.
Do not use data received from a server until the CRS word for that channel is 1 or the
Data Transfer bit goes to 1.
Monitoring the Channel Error Bit
This bit (normally 0) is the primary indicator for an error on a channel. It indicates any
channel error, fatal or non-fatal. It does not necessarily indicate that the channel is down
(idle). You may want to monitor this bit and simply reinitiate the Read or Write
command if the bit indicates an error. Or you may want to execute the Retrieve Detailed
Channel Status Command to find out if the channel is down and possibly why it went
down. Keep in mind, however, that the status code may change from between the time
the Channel Error bit indicates an error and the time the Retrieve Detailed Channel
Status Command retrieves the code.
The Channel Error bit for a channel is not meaningful until after the Ethernet Interface
updates the CRS word confirming the Read or Write command for that channel. In the
case of an Establish Channel command, the CRS word is updated before the Channel
Error bit is set to 1.
Monitoring the Data Transfer Bit
Typically you will set up a channel to perform repetitive reads or writes. The Data
Transfer bit pulses ( 0 1 0) each time there is a successful read or write. This can be
an indicator to the ladder program to move the most recent data to another location.
The Data Transfer bit for a channel is not meaningful until after the Ethernet Interface
updates the CRS word confirming the Read or Write command for that channel.
Do not use data received from a server until the CRS word confirming the Read
command for that channel is 1 or the Data Transfer bit goes to 1. Do not assume that when
the Data Transfer bit goes to 1 that a transfer has just completed during the last scan. The Data
Transfer bit is not closely synchronized in time with the transfer. The bit only indicates
that a transfer has occurred in a past scan. A rising edge on the Data Transfer bit
indicating that a transfer has completed successfully does not guarantee that the next
transfer has not begun or completed.
Vedere la pagina 125
1 2 ... 121 122 123 124 125 126 127 128 129 130 131 ... 267 268

Commenti su questo manuale

Nessun commento

LG V-C3G51NTU manuels

Manuels d'utilisation et guides de l'utilisateur pour Non LG V-C3G51NTU.
Nous fournissons des manuels en pdf 1 LG V-C3G51NTU à télécharger gratuitement par type de document : Manuel de l'utilisateur


Lg V-C3G51NTU Manuel de l'utilisateur (9 pages)


marque: Lg | Catégorie: No info | Taille: 8.53 MB |

  

Table des matières





Plus de produits et de manuels pour Non LG

Modèles Type de document
W18UCM-NB61 Manuel de l'utilisateur   LG W18UCM Owner’s Manual, 23 pages
RZ-23LZ55 Manuel de l'utilisateur   LG RZ-23LZ55 Owner’s Manual, 40 pages
BP740 Manuel de l'utilisateur      LG BP740 Краткое руководство [it] , 2 pages
LHB655W Manuel de l'utilisateur   LG LHB655W Owner's manual, 2 pages
SH2 Manuel de l'utilisateur   LG SH2 Owner’s Manual, 26 pages
MS-192AS Manuel de l'utilisateur LG MS-192AS Instruktionsbogen, 18 pages
32GK850F Manuel de l'utilisateur   LG 32GK850F-B,32GK850F 产品说明书, 4 pages
CM2440 Manuel de l'utilisateur   LG CM2440 Руководство пользователя, 28 pages
WF-HX120GV Manuel de l'utilisateur LG WF-HX130V,WF-HX120GV Owner’s Manual, 45 pages
PH4B Manuel de l'utilisateur   LG PH4 Owner's manual [tr] , 20 pages
LSN1805D Manuel de l'utilisateur LG ASUW1224FH0,LS-C2525DB1,LS-C1825DA4,LSN1805D,LSU1828VHP 使用手冊, 22 pages
MF-FE422 Manuel de l'utilisateur   LG MF-FE422 Owner's manual, 72 pages
XH-T750X Manuel de l'utilisateur   LG XH-T750X Руководство пользователя [en] [fr] , 33 pages
AN-VC500 Manuel de l'utilisateur   LG AN-VC500 使用手冊, 19 pages
CJ87 Manuel de l'utilisateur LG CJ87 Εγχειρίδιο Χρήσης, 47 pages
VC6820GHAY Manuel de l'utilisateur   LG VC6820GHAY Owner’s Manual, 19 pages
55UB950T Manuel de l'utilisateur   LG 55EC930T,49UB850T,65UB930T,49UB850T-DA,55UC970T,55UB950T,65UB980T,84UB980T,79UB980T,65UB950T,55UB850T,55UB850T-DA 快速設定指南, 2 pages
SK8 Manuel de l'utilisateur LG SK8 Οδηγός Χρήσης, 4 pages
P7200 Manuel de l'utilisateur    LG P7200 คู่มือการใช้งาน, 175 pages
GR-221XBG Manuel de l'utilisateur   LG GR-221XBG Owner’s Manual, 20 pages