GE 90-30 PLC Switch User Manual


 
D
GFKĆ1084B
DĆ27
Appendix D Sample L adder Programs
07—20—95 07:57 GE FANUC SERIES 90—30/90—20/MICRO (v6.01) Page 10
| << RUNG 19 STEP #0045 >>
|
|CH1_ERR RS_CH1
|%I0050 %T0017
+——] [—————————————————————————————————————————————————————————————————————(^)——
|
| << RUNG 20 STEP #0047 >>
|
|CH2_ERR RS_CH2
|%I0052 %T0018
+——] [—————————————————————————————————————————————————————————————————————(^)——
|
| << RUNG 21 STEP #0049 >>
|
|CH3_ERR RS_CH3
|%I0054 %T0019
+——] [—————————————————————————————————————————————————————————————————————(^)——
|
| << RUNG 22 STEP #0051 >>
|
|CH4_ERR RS_CH4
|%I0056 %T0020
+——] [—————————————————————————————————————————————————————————————————————(^)——
|
| (****************************************************************************)
| (* The rungs below check the CRSW for each channel to see if the COMREQ is *)
| (* successful (indicating that the FIRST read was not successful), or if *)
| (* the COMREQ completed with error (indicating the first read was not *)
| (* successful). %T memory locations are set to reflect the CRSW value for *)
| (* each channel. Note: If the channel is tasked to read multiple times, *)
| (* the CRSW is updated to reflect the success or failure of the FIRST read. *)
| (* The Channel Error bits are set to reflect the success or failure of *)
| (* subsequent reads. *)
| (* *)
| (* Note: The program stops if the COMREQ completes with error(CRSW != 0, *)
| (* CRSW != 1). If the COMREQ completes with error (indicating the first *)
| (* read was not successful) the problem is most likely an incorrect IP *)
| (* address, or remote node not accessible through the network. Check *)
| (* network and COMREQ data block. *)
| (* *)
| (* *)
| (****************************************************************************)
|
Program: CHAN4 C:\LM90\LAN\CHAN4 Block: _MAIN