4 |
<< RUNG 5 >> |
|
|
| |
|
|
|
| |
HEALTHY READREQ | +ÐÐÐб+ |
| ||
+ÐÐ] [ÐÐÐÐÐ] [ÐÐÐ+BLKMV+Ð |
| |||
| INT |
| ||
|
| |||
CONST Ð+IN1 Q+Ð%R00322 |
| |||
+00000 |
| |||
|
| |||
CONST Ð+IN2 |
| |||
+00001 |
| |||
|
| |||
CONST Ð+IN3 |
| |||
+00000 |
| |||
|
| |||
CONST Ð+IN4 |
| |||
+00000 |
| |||
|
| |||
CONST Ð+IN5 |
| |||
+00000 |
| |||
|
| |||
CONST Ð+IN6 |
| |||
+00000 |
| |||
|
| |||
CONST Ð+IN7 |
| |||
+00000 | +ÐÐÐÐÐ+ |
| ||
|
|
|
| |
<< RUNG 6 >> |
|
|
| |
|
|
|
| |
HEALTHY READREQ | +ÐÐÐÐÐ+ |
| ||
+ÐÐ] [ÐÐÐÐÐ] [ÐÐÐ+COMM_+Ð |
| |||
| REQ |
| ||
| CMRQFLT | |||
%R00301Ð+IN FT+ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÈÐÐÐÐÐÐÐ(S) | ||||
|
| |||
CONST |
| |||
0004Ð+SYSID |
| |||
|
| |||
CONST Ð+TASK |
| |||
00000000 | +ÐÐÐÐÐ+ |
| ||
|
|
|
|
Rung # 1: Input LANIFOK (bit 16 of the LAN Interface Status bits) monitors the health of the Ethernet Interface. If it is OK to send a COMMREQ, the HEALTHY coil is ON. HEALTHY is used as an interlock for Rungs
Rung # 2: Input BEGREAD triggers READREQ, which enables execution of the MOVE and COMMREQ functions. READREQ is a
Rung # 3: The MOVEWORD function moves a zero to the CRS word referenced in the Command Block (see rung #4). This clears the CRS word. This rung also resets the FT output coil of the COMMREQ Function Block in rung #6.
It is vital that the CRS Status Word be cleared and the COMMREQ fault output coil be cleared each time before initiating a COMMREQ function.
Rungs #
Rung # 6: The COMMREQ Function Block has 3 input parameters and two output pa- rameters.
HThe IN field points to the starting location of the Command Block parameters (%R00301 in this example).
TCP/IP Ethernet Communications User's Manual ± January 1996 |
|