BASEstartm Classic DAS
for Allen-Bradley
INTERCHANGEtm Software
Installation and User's Guide


Previous Contents Index

3.2.2 Read Status Function

The read status function issues a diagnostic status request to the device, interprets the device response, and returns the response as a character buffer. If a device definition does not match the device in the device response, an error message is displayed and the device definition must be corrected before you can perform an upload function or download function.

Table 3-6 shows how to access the read status function through the BASEstar Classic interfaces.

Table 3-6 Read Status Interface Access
Interface Function Name
CLI READ STATUS
API ILAN$READ_DEVICE_STATUS
  ILAN$READ_DEVICE_STATUS_A
Menu DCM Devices Status

For more information about the READ STATUS command, refer to the BASEstar Classic Command Line Interface User's Guide . Example 3_3 , Example 3_4 , Example 3-5 , Example 3_6 and Example 3-7 provide example output of the READ STATUS command.

Example 3-3 READ STATUS Output for PLC-5 / 250

DCM> READ STATUS DTL_5250/FULL
 
 
 Status of device DTL_5250  at 22-DEC-1999 10:01:10.18 
  
Server: DCM_DTL$SRV_1 
Ethernet interface ID: 1 
PLC Modes: Run 
PLC Type: PLC-5/250       Communication adapters: 5130-RM 
Octal station number: 0   Program change sequence: 54 
Data change sequence: 18  User data change Sequence: 0 

Example 3-4 READ STATUS Output for PLC-5

DCM> READ STATUS DTL_540/FULL
 
 
 Status of device  DTL_540  at 22-DEC-1999 10:03:02.55 
  
Server: DCM_DTL$SRV_1 
Ethernet interface ID: 1 
PLC Modes: Rem. program 
PLC Type: 1785-L40B (PLC-5/40B) Series B Revision B 
Communication adapters: 1785-LT (PLC-5)  Octal station number: 3 
Memory size in bytes: 98304 
Number data table files: 40     Number program files: 5 
I/O address if an adapter: 253   Baud rate: 
 

Example 3-5 READ STATUS Output for SLC

DCM> READ STATUS DTL_SLC/FULL
 
 
 Status of device  DTL_SLC  at 22-DEC-1999 10:03:20.44 
  
Server: DCM_DTL$SRV_1 
Ethernet interface ID: 1 
PLC Modes: Rem. program 
PLC TYPES: 1747-L541 Series B Revision D 
Communication adapters: Domino Plug 
SLC500 Ascii Bulletin #: 5/04 
SLC500 Major Error Code: 0 
SLC500 Comms Active 
SLC500 RAM Size in Kbytes: 16 

Example 3-6 READ STATUS Output for PLC-3

DCM> READ STATUS DTL_3/FULL
 
 
 Status of device  DTL_3  at 22-DEC-1999 10:01:01.08 
  
Server: DCM_DTL$SRV_1 
Ethernet interface ID: 1 
PLC Modes: Program 
PLC TYPES: PLC-3 Series A Revision E 
Communication adapters: 1775-KA DH port 
Current context: 1; Thumbwheel number: 1 
Mode control word: 35096 
PLC-3 Physical Address of E60.0.0.0: 3574 
PLC-3 total number of words in memory: 32768 

Example 3-7 READ STATUS Output for PLC-2

DCM> READ STATUS DTL_2/FULL
 
 
 Status of device  DTL_2  at 22-DEC-1999 10:06:29.33 
  
Server: DCM_DTL$SRV_1 
Ethernet interface ID: 1 
PLC Modes: Program 
PLC TYPES: PLC-2/30 Series A Revision F 
Communication adapters: 1771-KA(2) 

The read status function allows you to verify if the BASEstar Classic device definition MODEL attribute is compatible with the corresponding physical device. If the BASEstar Classic definition is not compatible, the read status function displays an informational message stating what the actual device is and what it was defined as in BASEstar Classic.


Previous Next Contents Index