The text of a manual · part 7 of 8
Ethernet Remote Master Module, pages 61 to 70
Pages 61 to 70 of 76
The original document is the PDF (3.7 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Host H4-ERM
Page 61
Appendix A General Specifications In This Appendix
1A, H2--ERM and H4--ERM Specifications, H2--ERM--F and H4--ERM--F Specifications, Ethernet Standards
Page 62
Appendix A General Specifications
A--2
General Specifications
General Specifications ERM Specifications
H2--ERM / H4--ERM General Specifications Module Type
Ethernet I/O Communications Master Module
Quantity of Modules Per Base
Defined by CPU, base configuration and power budget
Quantity of Slaves per ERM
16 max.
Diagnostics
LEDs, ERM Workbench, NetEdit
Communications
10BaseT Ethernet
Data Transfer
10 Million bits per second
Extension Port
RJ45
Link Good Indicator (LINKGD)
Green LED
Activity Indicator (ACT)
Red LED
Error Indicator (ERROR)
Red LED
Power Consumption
530 mA @ 5VDC (Supplied by DL205/DL405 base)
Operating Temperature
32° to 140° F (0° to 60° C)
Storage Temperature
--4° to 158° F (--20° to 70° C)
Relative Humidity
30% -- 95% RH (non-condensing)
Environmental Air
No corrosive gases permitted
Networking Protocols Supported
IPX, UDP/IP
Manufacturer
Host Automation Products
Link Distance
100 meters (328 feet) H2--ERM--F / H4--ERM--F General Specifications
Module Type
Ethernet I/O Communications Master Module
Quantity of Modules Per Base
Defined by CPU, base configuration and power budget
Quantity of Slaves per ERM
16 max.
Diagnostics
LEDs, ERM Workbench , NetEdit
Communications
10BaseFL Ethernet (fiber optic)
Data Transfer
10 Million bits per second
Extension Port
ST-style fiber optic connector
Link Good Indicator (LINKGD)
Green LED
Activity Indicator (ACT)
Red LED
Error Indicator (ERROR)
Red LED
Power Consumption
670 mA @ 5VDC (Supplied by DL205/DL405 base)
Operating Temperature
32° to 140° F (0° to 60° C)
Storage Temperature
--4° to 158° F (--20° to 70° C)
Relative Humidity
30% -- 95% RH (non-condensing)
Environmental Air
No corrosive gases permitted
Networking Protocols Supported
UDP/IP, IPX
Manufacturer
Host Automation Products
Link Distance
Up to 2,000 meters (2Km), 6,560ft (1.2 miles)
Page 63
General Specifications
A--3
Various institutes and committees have been involved in establishing Ethernet data communication standards. These specification standards assure Ethernet network compatibility for products from a broad variety of manufacturers. The ERM module complies with American National Standards Institute (ANSI) and Institute of Electrical and Electronic Engineers standard ANSI/IEEE 802.3, Carrier Sense Multiple Access with Collision Detection (CSMA/CD) Access Methods and Physical Layer Specifications. This standard has been adopted by the International Organization for Standardization (ISO) as document ISO/IEC 8802--3. The Electronic Industries Association (EIA) and Telecommunications Industries Commercial Building Telecommunications Wiring Standard designated EIA/TIA--568A defines implementation of 10BaseT (twisted pair) and 10BaseF (fiber optics) for Ethernet communications. The same two organizations produced EIA/TIA TSB40--Additional Transmission Specifications for Unshielded Twisted-Pair Connecting Hardware. The purpose of this document is to specify transmission performance requirements and connecting hardware requirements.
Appendix AA Appendix DL205 Specifications Memory Map General
Ethernet Standards
Page 64
ERM / Slave Diagnostics and Error Codes In This Appendix. . . ., ERM Diagnostics, ERM Status Word Error Codes, Reading ERM Statistics, Reading Error Codes From Slaves, Slave Diagnostic Word Memory, Current / Last State Slave Error Codes, Extended Slave Error Codes
1B
Page 65
Appendix A DL405 Error Codes
B--2
ERM / Slave Error Codes
ERM Diagnostics Reserved PLC Memory for ERM
If a PLC is used as the CPU Interface, the first two words of V memory in the Discrete Input table is used for ERM/slave status information, and the first word of V memory in the Discrete Output table is for Disable Slave Command bits. The default memory addresses X300 and Y300 are used in this example. Slave Status Bits MSB
Appendix Appendix B B DL405 Error Codes ERM/Slave Error Codes
Slave 16
V40414
X 3 1 7
LSB X 3 0 0
Slave 1
ERM Status Word MSB
V40415
LSB
X 3 3 7
X X 3 3 3 2 0 7
X 3 2 0
Status Bits
The ERM Status Word contains the ERM error code and Status Bits. Refer to “Reserved PLC Memory for ERM” in Chapter 4. Bit 8 indicates that the ERM is disabling a slave.
Error Code
Disable Slave Bits MSB Slave 16 Y 3 1 7
The Slave Status Bits can be monitored to detect if a slave is in error.
V40514
LSB Y 3 0 0
Slave 1
The Disable Slave Bits can be used to disable a slave from communicating with the ERM module.
ERM Status Word / The ERM Status Word contains the current ERM Error Code in the Least Significant Resetting the Slave Byte and the Status Bits in the Most Significant Byte. Currently, only bit 8 is used in the MSB designating the ERM is disabling Slave. When using the Slave Disable Bits, the ERM must recognize the request to disable a slave before attempting to re--enable that slave. This closed loop feedback is necessary due to the asynchronous scans of the ERM and PLC. X330 is the only feedback bit for ALL slave disabling bits (Y300 -- Y317). Either disable multiple slaves all on the same scan or serialize the disable process by using ladder logic interlocks. Use the following ladder logic code to manually reset a slave. For example, use this resetting method when “Hot Swapping” a Terminator I/O module on a slave that is set up to be manually reset using ladder logic. The default for the Terminator EBC is automatic rescan after “Hot Swapping” and I/O module. DirectSOFT C200
C0 PD
Y300
C0
Y300
Event occurs to reset Slave 1
X330
SET
Disable Slave 1
Y300
Wait to re--enable Slave 1 until X330 (ERM Disable Request Bit) is ON.
RST
Page 66
ERM / Slave Error Codes
B--3
The following table describes the errors that will be reported to the ERM Status Word. Error Code Description (Decimal) No error.
E3
Configured bit inputs overlap system input bits.
E4
Configured bit outputs overlap system output bits.
E5
More than one device found with same module ID.
E6
More than one device found with same IP address.
E7
ERM could not read slave’s error information -- slave not responding.
E8
Device not supported; may be old firmware or configuration error.
E9
Device timed out on a function request after retrys.
E13
Gateway address needed, but not specified
E14
Subnet mask needed, but not specified.
E15
Configured module ID’s do not match modules in device.
E16
Number of bit inputs specified in ERM is less than actual in slaves.
E17
Number of bit outputs specified in ERM is less than actual in slaves.
E18
Number of word inputs specified in ERM is less than actual in slaves.
E19
Number of word outputs specified in ERM is less than actual in slaves.
E20
Invalid base definition for this device.
E21
ERM has not been configured
E22
Overflow of internal buffer E22.
E23
Overflow of internal buffer E23.
E24
Overflow of internal buffer E24.
E25
Overflow of internal buffer E25.
E26
Overflow of internal buffer E26.
E27
Configuration error: input words configured not enough.
E28
Configuration error: output words configured not enough.
E221
ERM to CPU backplane error.
E223
PLC family unknown.
E224
ERM to CPU backplane error.
E225
Backplane code error returned from PLC.
E226
General backplane error returned from PLC.
E227
Timeout on PLC backplane error.
E228
ERM to CPU backplane error.
E231
ERM to CPU backplane error.
Appendix B B Appendix DL405 Error Codes ERM/Slave Error Codes
E0
Appendix A DL405 Error Codes
ERM Status Word Error Codes
Page 67
Appendix Appendix B B DL405 Error Codes ERM/Slave Error Codes
Appendix A DL405 Error Codes
B--4
ERM / Slave Error Codes
Reading ERM Statistics Reading ERM Statistics using Ladder Logic
The following ladder logic example reads the ERM statistics from the ERM module. 12 words (24 bytes) of statistical data are stored in the ERM’s memory starting at V0 (TA0). Use slave address of 90 when reading ERM statistics. In the example below, the RX instruction stores the statistical data from the ERM module to V1400 -- V1413 in the CPU’s memory. More information on the RX network instruction can be found in the PLC User Manual. The ERM module is located in slot 2 of the I/O base in this example. Refer to the Special Relays Appendix in the PLC User Manual to identify each slot’s Module Busy and Comm Error bits. The format of the ERM’s statistics is as follows: PLC Address
Description of Statistic
Format
Addr + 0
Minimum I/O Scan in milliseconds
Word / Decimal
Addr + 1
Maximum I/O Scan in milliseconds
Word / Decimal
Addr + 2,3
Total accumulated time in milliseconds
DWord / Decimal
Addr + 4,5
Total number of I/O Scans
DWord / Decimal
Addr + 6,7
Number of PLC Read Retries
DWord / Decimal
Addr + 10,11
Number of PLC Write Retries
DWord / Decimal
Addr + 12,13
Number of Slave Retries
DWord / Decimal
DirectSOFT Module Busy Slot 2 SP124
Comm Error Slot 2 SP125
C200
LD K0290 The constant value K0290 specifies the slot number (2) and to read ERM statistics (90). LD K24 The constant value K24 specifies the number of bytes to be read (12 words). LDA O 1400 Octal address 1400 is converted to 300 HEX and loaded into the accumulator. V1400 is the starting location for the Master CPU where the specified data will be read into. RX TA0 V0 (TA0) is the starting location in the ERM where the specified data will be read from. C200 SET
Module Busy Slot 2 SP124
C200 RST
Page 68
ERM / Slave Error Codes
B--5
Reading Error Codes from Slaves using Ladder Logic
DirectSOFT
Module Busy K0
VC60
SR
=
C60 C77
K0
VX300
SP124
SP7
Module Busy Slot 2 SP124
Comm Error Slot 2 SP125
= C63
Slave 1 Error bit X300
C60
K0201
The constant value K0201 specifies the slot number (2) and slave 1.
K24
The constant value K24 specifies the number of bytes to be read (12 words).
LD
LD
LDA O 2000
RX
Continued on next page
TA0
Octal address 2000 is converted to 400 HEX and loaded into the accumulator. V2000 is the starting location for the Master CPU where the specified data will be read into. V0 (TA0) is the starting location in the slave module where the specified data will be read from.
Appendix B B Appendix DL405 Error Codes ERM/Slave Error Codes
The following ladder logic example reads the Error Codes from a specific slave (1--16). The slave’s error data is stored in its memory starting at V0 (TA0). Up to 36 words (72 bytes) of error codes can be read from a slave depending upon the amount of bases and I/O modules (slots) used per slave. In the example below, the RX instruction stores the Error data read from Slave 1 to V2000 -- V2013 and from Slave 2 to V2020 -- V2033, etc. in the CPU’s memory. More information on the RX network instruction can be found in the PLC User Manual The ERM module is located in slot 2 of the 205 I/O base in this example. Refer to the Special Relays Appendix in the PLC User Manual to identify each slot’s Module Busy and Comm Error bits. Refer to the Slave Diagnostic Word Memory Table on the following page for a description of the word information read from the slaves. This example reads words V0 -- V11 (24 bytes) from the slaves.
Appendix A DL405 Error Codes
Reading Error Codes from Slaves
Page 69
Appendix Appendix B B DL405 Error Codes ERM/Slave Error Codes
Appendix A DL405 Error Codes
B--6
ERM / Slave Error Codes
Continued from previous page DirectSOFT Slave 2 Error bit X301
C61
Module Busy Slot 2 SP124
Comm Error Slot 2 SP125
K0202
The constant value K0202 specifies the slot number (2) and slave 2.
K24
The constant value K24 specifies the number of bytes to be read (12 words).
LD
LD
LDA O 2020
RX TA0
Slave 3 Error bit X302
C62
Module Busy Slot 2 SP124
Comm Error Slot 2 SP125
LD K0203
LD K24
LDA O 2040
RX TA0
Octal address 2020 is converted to HEX and loaded into the accumulator. V2020 is the starting location for the Master CPU where the specified data will be read into. V0 (TA0) is the starting location in the slave module where the specified data will be read from.
The constant value K0203 specifies the slot number (2) and slave 3. The constant value K24 specifies the number of bytes to be read (12 words). Octal address 2040 is converted to HEX and loaded into the accumulator. V2040 is the starting location for the Master CPU where the specified data will be read into. V0 (TA0) is the starting location in the slave module where the specified data will be read from.
Page 70
ERM / Slave Error Codes
B--7
The following table describes the Word information that is obtained when a slave’s diagnostic information is read (RX) by the PLC CPU into its memory. Applies to 205/405 and Terminator EBC modules. Description
V +0
Current slave error code: Bits 0 -- 11 Type of Error: Bits 12--15: ( Bit 12 SET = I/O Error Condition; Bit 13 SET = I/O Warning)
V +1
Slave module slot in error (slots 0 -- 15).
V +2
Slave module slot in error (slots 16 -- 31).
V +3
Slave’s Last error code
V +4
Extended error code module in slot 0.
V +5
Extended error code for module in slot 1.
V +6
Extended error code for module in slot 2.
V +7
Extended error code for module in slot 3.
V +8
Extended error code for module in slot 4.
V +9
Extended error code for module in slot 5.
V +10
Extended error code for module in slot 6.
V +11
Extended error code for module in slot 7.
V +12
Extended error code for module in slot 8 or base 1 slot 0.
V +13
Extended error code for module in slot 9 or base 1 slot 1.
V +14
Extended error code for module in slot 10 or base 1 slot 2.
V +15
Extended error code for module in slot 11 or base 1 slot 3.
V +16
Extended error code for module in slot 12 or base 1 slot 4.
V +17
Extended error code for module in slot 13 or base 1 slot 5.
V +18
Extended error code for module in slot 14 or base 1 slot 6.
V +19
Extended error code for module in slot 15 or base 1 slot 7.
V +20
Extended error code for module in slot 16 or base 2 slot 0.
V +21
Extended error code for module in slot 17 or base 2 slot 1.
V +22
Extended error code for module in slot 18 or base 2 slot 2.
V +23
Extended error code for module in slot 19 or base 2 slot 3.
V +24
Extended error code for module in slot 20 or base 2 slot 4.
V +25
Extended error code for module in slot 21 or base 2 slot 5.
V +26
Extended error code for module in slot 22 or base 2 slot 6.
V +27
Extended error code for module in slot 23 or base 2 slot 7.
V +28
Extended error code for module in slot 24 or base 3 slot 0.
V +29
Extended error code for module in slot 25 or base 3 slot 1.
V +30
Extended error code for module in slot 26 or base 3 slot 2.
V +31
Extended error code for module in slot 27 or base 3 slot 3.
V +32
Extended error code for module in slot 28 or base 3 slot 4.
V +33
Extended error code for module in slot 29 or base 3 slot 5.
V +34
Extended error code for module in slot 30 or base 3 slot 6.
V +35
Extended error code for module in slot 31 or base 3 slot 7.
Appendix B B Appendix DL405 Error Codes ERM/Slave Error Codes
Word
Appendix A DL405 Error Codes
Slave Diagnostic Word Memory