Previous | Contents | Index |
The loop function sends a diagnostic loop-back message and waits for a response. The source of the response depends upon the extent of the diagnostic message as determined by the LOOP command qualifier or the loop_flag argument to the device connection management callable service. Table 3-10 describes the path of the diagnostic message according to the specified parameter.
Parameter | Response |
---|---|
/PE
ILAN$K_LOOP_PE |
Elapsed time |
/NI
ILAN$K_LOOP_NI |
Elapsed time |
The Loop PE function sends a message to the PE and a response is returned by the PE.
The Loop NI function is routed through the NI to the DTL server process. The server process returns the message back through the NI. The Loop NI function is a good method of determining the availability of the DTL server process.
Table 3-10 describes how to access the loop diagnostic function through the BASEstar Classic interfaces.
Interface | Function Name |
---|---|
CLI | LOOP |
API | ILAN$LOOP_DEVICE |
ILAN$LOOP_DEVICE_A | |
Menu | Not available |
Example 3-9 shows the information displayed by the LOOP command.
Example 3-9 Loop Output |
---|
DCM> LOOP DTL5/PE ELAPSED: 0 00:00:00.04 CPU: 0:00:00.03 BUFIO: 0 DIRIO: 0 FAULTS: 0 DCM> LOOP DTL5/NI ELAPSED: 0 00:00:00.11 CPU: 0:00:00.02 BUFIO: 0 DIRIO: 0 FAULTS: 0 |
The simple compare function allows a BASEstar Classic library file related to a device to be compared to another existing BASEstar Classic library file of the same type. The BASEstar Classic library file must have been uploaded into the library directly or imported by the appropriate library function.
Simple compare is only supported by the EI Network Interface option of the DAS. Only PLC-5 family memory images (not including the PLC-5/250) may be compared.
Table 3-11 describes how to access the simple compare function through the BASEstar Classic interfaces.
Interface | Function Name |
---|---|
CLI | Not available |
API | Not available |
Menu | Library File Compare File |
Menu | Library External Compare Device |
The default compare behavior for DAS for AB INTERCHANGE software is controlled by the BASEstar Classic parameter ILAN$DTL_SCMP_FLAGS. The values and defaults for these compare qualifiers are described in Table 3-12.
Qualifier | Default | Description |
---|---|---|
ALL | All compare options are checked | |
[NO]TYPE | TYPE | Memory images must be of the same PLC type |
[NO]REVISION | NOREVISION | Memory images must be of the same PLC type, series and revision |
[NO]MEMSIZE | MEMSIZE | Memory images must have the same memory size |
[NO]NUMTABLES | NUMTABLES | Memory images must have the same number of data table files. |
[NO]NUMPROGRAMS | NUMPROGRAMS | Memory images must have the same number of program files. |
[NO]DATATABLES | NODATATABLES | Compare the data tables |
[NO]FORCES | FORCES | Compare the forces |
[NO]DIRECTORY | DIRECTORY | Compare program directories |
[NO]LADDER | LADDER | Compare the ladder logic. |
Previous | Next | Contents | Index |