Download GFK-1883_SeriesSixPa..

Transcript
Real Time Consultants Pty Ltd
B
(Proprietary Information)
Program Listing
04-30-02
16:56
GE FANUC SERIES 90-70 (v7.02)
Expanded Channel Passive Mode Test
Page
1
|[
START OF PROGRAM LOGIC
]
|
| (****************************************************************************)
| (* This program tests expanded channel passive mode and demonstrates the
*)
| (* asynchronous passive mode operation.
*)
| (*
*)
| (* In this example it is assumed that there are two S6PIO modules
*)
| (* installed in slots 6 & 8 of a 90-70 CPU rack.
*)
| (*
*)
| (* The 90-70 PLC is cabled up to the primary & auxilliary chains of a
*)
| (* Series Six Plus PLC. The chains are terminated on the S6PIO modules.
*)
| (* The module in slot 6 is connected to the primary chain, the module in
*)
| (* slot 8 is connected to the auxilliary chain.
*)
| (*
*)
| (* The Series Six Plus PLC has all 8 channels enabled.
*)
| (****************************************************************************)
|
| (****************************************************************************)
| (* Detect whether S6PIOs are installed in slots 6 & 8 and active.
*)
| (****************************************************************************)
|
| << RUNG 7 >>
|
|
SLOT6OK
|
+-------------+
%T00001
+--------+CALL S6NOOP +---------------------------------------------------( )-|
| (EXTERNAL) |
|
|
|
|
|
| S6NOOP
|
|
| for
|
|
| main ch
|
|
| err rg
|
|
|
| CONST -+X1
Y1+-%R00010
| 0006
+-------------+
|
| << RUNG 8 >>
|
|
SLOT8OK
|
+-------------+
%T00002
+--------+CALL S6NOOP +---------------------------------------------------( )-|
| (EXTERNAL) |
|
|
|
|
|
| S6NOOP
|
|
| for Aux
|
|
| ch err
|
|
| reg
|
|
|
| CONST -+X1
Y1+-%R00011
| 0008
+-------------+
|
| << RUNG 9 >>
|
GFK-1883
Appendix B EXAMPLE 90-70 PROGRAMS
B-77