GFKĆ1084B DĆ15
AppendixD Sample Ladder Programs
07—20—95 07:58 GE FANUC SERIES 90—30/90—20/MICRO (v6.01) Page 10
| << RUNG 25 STEP #0052 >>
|
|RD_ERR RS_READ
|%T0003 %T0013
+——] [—————————————————————————————————————————————————————————————————————(^)——
|
| << RUNG 26 STEP #0054 >>
|
|RS_READ RD_ERR
|%T0013 %T0003
+——] [—————————————————————————————————————————————————————————————————————(R)——
|
| << RUNG 27 STEP #0056 >>
|
|WRT_ERR RS_WRT
|%T0006 %T0014
+——] [—————————————————————————————————————————————————————————————————————(^)——
|
| << RUNG 28 STEP #0058 >>
|
|RS_WRT WRT_ERR
|%T0014 %T0006
+——] [—————————————————————————————————————————————————————————————————————(R)——
|
| (****************************************************************************)
| (* If FIRSTRD, RESTART,DO_READ, or RS_READ is set, and LANIFOK is 1, *)
| (* zero CRSW and issue Read Channel COMREQ. Set RD_FLT if the Fault *)
| (* output is enabled. *)
| (****************************************************************************)
|
| << RUNG 30 STEP #0061 >>
|
|FIRSTRD LANIFOK RD_FLT
|%T0001 %I0048 +—————+ +—————+ %T0004
+——] [——+——] [———+MOVE_+—————————————————+COMM_|+——————————————————————————(S)——
| | | WORD| | REQ ||
|DO_READ| | | | ||
|%T0008 | | | RD_CRSW | ||
+——] [——+ CONST —+IN Q+—%R0001 %R0101 —+IN FT++
| | 0000 | LEN | | |
|RS_READ| |00001| | |
|%T0013 | | | | |
+——] [——+ +—————+ CONST —+SYSID|
| | 0002 | |
|RESTART| | |
|%T0010 | | |
+——] [——+ CONST —+TASK |
| 00000000 +—————+
|
| (****************************************************************************)
| (* If DO_WRT or RS_WRT is set, and LANIFOK is 1, zero CRSW and issue *)
| (* Write Channel COMREQ. Set WRT_FLT if the Fault output is enabled. *)
| (****************************************************************************)
|
Program: LANRDWT C:\LM90\LAN\LANRDWT Block: _MAIN