Download PLC_2_Unity_Referenc..

Transcript
System Objects
Word
Symbol
Function
Description
Initial
state
%SW141 and %SW142
IP_ADDR
IP Address
This double word %SDW141 receives the IP
address of the Ethernet link.
0
%SW143 and %SW144
IP_NETMASK
IP subnetwork mask This double word %SDW143 receives the
subnetwork mask of the Ethernet link.
%SW145 and %SW146
IP_GATEWAY
Default Ethernet
gateway address
This double word %SDW145 receives the address 0
of the default Ethernet gateway.
%SW147 to %SW149
MAC_ADDR1 to 3
MAC Addresses
The words %SW147, %SW148,%SW149 code
the addresses MAC 1, MAC 2 and MAC 3
respectively.
%SW150
Coprocessor version This word codes the coprocessor version for
140 CPU 671 60 and 140 CPU 672 61 PLCs.
The version is displayed in hexadecimal format.
0
%SW151
BOARD_STS
Status of Ethernet
link
0
%SW152 to %SW153
ERIO_DROP_ERROR
Detected ERIO Drop The bits of words %SW152 to %SW153 are
error status
associated with the detected Ethernet RIO Drop
status.
The bit is set to 0 if at least one I/O module in the
drop has detected error.
It is set to 1 if all modules are operating correctly.
%SW152.0: Drop No. 1
%SW152.1: Drop No. 2
...........
%SW153.14: Drop No. 31
214
0
This word codes the status of the Ethernet link.
z Bit 0 =0 if the Ethernet link is stopped
z Bit 1 =0
z Bit 2: 0= half duplex mode, 1=full duplex
z Bit 3 =0
z Bits 4 to 11: =7 for Quantum, =6 for Hot
Standby Quantum
z Bit 12: 0 = 10 Mbits link, 1= 100 Mbits link
z Bit 13: 0 = 10/100Base-TX link (twisted pair)
z Bit 14: 0
z Bit 15: 0 = Ethernet link inactive, 1= Ethernet
link active
0
35006144 07/2011