Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 54 of 61

DL205 PLC User Manual, Volume 1 of 2: Chapter 5: RLL and Intelligent Box Instructions, pages 513 to 522

Pages 513 to 522 of 592, from DL205 PLC User Manual, Volume 1 of 2

The original document is the PDF (13 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 PLC Direct D2-08ND3 and Koyo D2-08ND3

Page 513

Chapter 5: Intelligent Box (IBox) Instructions

ECIPSUP Example

1 2 3 4 5 6 7 8 NOTE: An ECOM100 IBox instruction is used without a permissive contact. The top line will be identified in BOLD italics, and the instruction name and ID will be in BOLD characters. 9 Rung 2: On the 2nd scan, configure all of the TCP/IP parameters in the ECOM100: 10 IP Address: 192.168.12.100 Subnet Mask: 255.255.0.0 11 Gateway Address: 192.168.0.1 The ECIPSUP is leading edge triggered, not power-flow driven (similar to a counter input 12 leg). The command to write the TCP/IP configuration parameters will be sent to the ECOM100 whenever the power flow into the IBox goes from OFF to ON. 13 If successful, turn on C100. If there is a failure, turn on C101. If it fails, you can look at V2000 for the specific error code. 14 A B C D Rung 1: The ECOM100 Config IBox is responsible for coordination/interlocking of all ECOM100 type IBoxes for one specific ECOM100 module. Tag the ECOM100 in slot 1 as ECOM100# K0. All other ECxxxx IBoxes refer to this module # as K0. If you need to move the module in the base to a different slot, then you only need to change this one IBox. V400 is used as a global result status register for the other ECxxxx IBoxes using this specific ECOM100 module. V401 is used to coordinate/interlock the logic in all of the other ECxxxx IBoxes using this specific ECOM100 module. V402-V502 is a common 130 byte buffer available for use by the other ECxxxx IBoxes using this specific ECOM100 module. ECOM100 Config

1

ECOM100 ECOM100# Slot Status Workspace Msg Buffer (65 WORDs)

DL205 User Manual, 4th Edition, Rev. A

IB-710 K0 K1 V400 V401 V402-502

5–291

Page 514

Chapter 5: Intelligent Box (IBox) Instructions

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D

ECOM100 Read Description (ECRDDES) (IB-726)

230 240 250-1 260 DS5

Used

HPP

N/A

5–292

ECOM100 Read Description will read the ECOM100's Description field up to the number of specified characters on a leading edge transition to the IBox. The Workspace parameter is an internal, private register used by this IBox and MUST BE UNIQUE in this one instruction and MUST NOT be used anywhere else in your program. Either the Success or Error bit parameter will turn on once the command is complete. In order for this ECOM100 IBox to function, you must turn ON dip switch 7 on the ECOM100 circuit board. ECRDDES Parameters • ECOM100#: this is a logical number associated with this specific ECOM100 module in the specified slot. All other ECxxxx IBoxes that need to reference this ECOM100 module must reference this logical number • Workspace: specifies a V-memory location that will be used by the instruction • Success: specifies a bit that will turn on once the request is completed successfully • Error: specifies a bit that will turn on if the instruction is not successfully completed • Description: specifies the starting buffer location where the ECOM100’s Description will be placed • Num Chars: specifies the number of characters (bytes) to read from the ECOM100’s Description field

Parameter ECOM100# . . . . . . . . . . . . . . . . . . . . . . . . . . . . K Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . V Success . . . . . . . . . . . . . . . . . . . . X,Y,C,GX,GY,B Error . . . . . . . . . . . . . . . . . . . . . . . X,Y,C,GX,GY,B Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . V Num Chars . . . . . . . . . . . . . . . . . . . . . . . . . . . . . K

DL205 User Manual, 4th Edition, Rev. A

DL205 Range K0-255 See DL205 V-memory map - Data Words See DL205 V-memory map See DL205 V-memory map See DL205 V-memory map - Data Words K1-128

Page 515

Chapter 5: Intelligent Box (IBox) Instructions

ECRDDES Example

1 2 3 4 5 6 7 8 NOTE: An ECOM100 IBox instruction is used without a permissive contact. The top line will be identified in BOLD italics, and the instruction name and ID will be in BOLD characters. 9 Rung 2: On the 2nd scan, read the Module Description of the ECOM100 and store it in 10 V3000 thru V3007 (16 characters). This text can be displayed by an HMI. The ECRDDES is leading edge triggered, not power-flow driven (similar to a counter input 11 leg). The command to read the module description will be sent to the ECOM100 whenever the power flow into the IBox goes from OFF to ON. If successful, turn on C100. If there is a failure, turn on C101. 12 13 14 A B C D Rung 1: The ECOM100 Config IBox is responsible for coordination/interlocking of all ECOM100 type IBoxes for one specific ECOM100 module. Tag the ECOM100 in slot 1 as ECOM100# K0. All other ECxxxx IBoxes refer to this module # as K0. If you need to move the module in the base to a different slot, then you only need to change this one IBox. V400 is used as a global result status register for the other ECxxxx IBoxes using this specific ECOM100 module. V401 is used to coordinate/interlock the logic in all of the other ECxxxx IBoxes using this specific ECOM100 module. V402-V502 is a common 130 byte buffer available for use by the other ECxxxx IBoxes using this specific ECOM100 module. ECOM100 Config

1

ECOM100 ECOM100# Slot Status Workspace Msg Buffer (65 WORDs)

DL205 User Manual, 4th Edition, Rev. A

IB-710 K0 K1 V400 V401 V402-502

5–293

Page 516

Chapter 5: Intelligent Box (IBox) Instructions

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D

ECOM100 Read Gateway Address (ECRDGWA) (IB-730)

230 240 250-1 260 DS5

Used

HPP

N/A

5–294

ECOM100 Read Gateway Address will read the 4 parts of the Gateway IP address and store them in 4 consecutive V-memory locations in decimal format, on a leading edge transition to the IBox. The Workspace parameter is an internal, private register used by this IBox and MUST BE UNIQUE in this one instruction and MUST NOT be used anywhere else in your program. Either the Success or Error bit parameter will turn on once the command is complete. In order for this ECOM100 IBox to function, you must turn ON dip switch 7 on the ECOM100 circuit board. ECRDGWA Parameters • ECOM100#: this is a logical number associated with this specific ECOM100 module in the specified slot. All other ECxxxx IBoxes that need to reference this ECOM100 module must reference this logical number • Workspace: specifies a V-memory location that will be used by the instruction • Success: specifies a bit that will turn on once the request is completed successfully • Error: specifies a bit that will turn on if the instruction is not successfully completed • Gateway IP Addr: specifies the starting address where the ECOM100’s Gateway Address will be placed in 4 consecutive V-memory locations

Parameter ECOM100# . . . . . . . . . . . . . . . . . . . . . . . . . . . . K Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . V Success . . . . . . . . . . . . . . . . . . . . X,Y,C,GX,GY,B Error . . . . . . . . . . . . . . . . . . . . . . . X,Y,C,GX,GY,B Gateway IP Address (4 Words) . . . . . . . . . . . . . V

DL205 User Manual, 4th Edition, Rev. A

DL205 Range K0-255 See DL205 V-memory map - Data Words See DL205 V-memory map See DL205 V-memory map See DL205 V-memory map - Data Words

Page 517

Chapter 5: Intelligent Box (IBox) Instructions

ECRDGWA Example

1 2 3 4 5 6 7 8 NOTE: An ECOM100 IBox instruction is used without a permissive contact. The top line will be identified in BOLD italics, and the instruction name and ID will be in BOLD characters. 9 Rung 2: On the 2nd scan, read the Gateway Address of the ECOM100 and store it in V3000 10 thru V3003 (4 decimal numbers). The ECOM100's Gateway Address could be displayed by an HMI. The ECRDGWA is leading edge triggered, not power-flow driven (similar to a counter input 11 leg). The command to read the Gateway Address will be sent to the ECOM100 whenever the power flow into the IBox goes from OFF to ON. 12 If successful, turn on C100. If there is a failure, turn on C101. 13 14 A B C D Rung 1: The ECOM100 Config IBox is responsible for coordination/interlocking of all ECOM100 type IBoxes for one specific ECOM100 module. Tag the ECOM100 in slot 1 as ECOM100# K0. All other ECxxxx IBoxes refer to this module # as K0. If you need to move the module in the base to a different slot, then you only need to change this one IBox. V400 is used as a global result status register for the other ECxxxx IBoxes using this specific ECOM100 module. V401 is used to coordinate/interlock the logic in all of the other ECxxxx IBoxes using this specific ECOM100 module. V402-V502 is a common 130 byte buffer available for use by the other ECxxxx IBoxes using this specific ECOM100 module.

ECOM100 Config

1

ECOM100 ECOM100# Slot Status Workspace Msg Buffer (65 WORDs)

DL205 User Manual, 4th Edition, Rev. A

IB-710 K0 K1 V400 V401 V402-502

5–295

Page 518

Chapter 5: Intelligent Box (IBox) Instructions

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D

ECOM100 Read IP Address (ECRDIP) (IB-722) ECOM100 Read IP Address will read the 4 parts of the IP address and store them in 4

230 consecutive V-memory locations in decimal format, on a leading edge transition to the IBox. 240 The Workspace parameter is an internal, 250-1 private register used by this IBox and MUST 260 BE UNIQUE in this one instruction and DS5

Used

HPP

N/A

5–296

MUST NOT be used anywhere else in your program. Either the Success or Error bit parameter will turn on once the command is complete. In order for this ECOM100 IBox to function, you must turn ON dip switch 7 on the ECOM100 circuit board. ECRDIP Parameters

• ECOM100#: this is a logical number associated with this specific ECOM100 module in the specified slot. All other ECxxxx IBoxes that need to reference this ECOM100 module must reference this logical number • Workspace: specifies a V-memory location that will be used by the instruction • Success: specifies a bit that will turn on once the request is completed successfully • Error: specifies a bit that will turn on if the instruction is not successfully completed • IP Address: specifies the starting address where the ECOM100’s IP Address will be placed in 4 consecutive V-memory locations

Parameter ECOM100# . . . . . . . . . . . . . . . . . . . . . . . . . . . . K Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . V Success . . . . . . . . . . . . . . . . . . . . X,Y,C,GX,GY,B Error . . . . . . . . . . . . . . . . . . . . . . . X,Y,C,GX,GY,B IP Address (4 Words) . . . . . . . . . . . . . . . . . . . . V

DL205 User Manual, 4th Edition, Rev. A

DL205 Range K0-255 See DL205 V-memory map - Data Words See DL205 V-memory map See DL205 V-memory map See DL205 V-memory map - Data Words

Page 519

Chapter 5: Intelligent Box (IBox) Instructions

ECRDIP Example

1 2 3 4 5 6 7 8 NOTE: An ECOM100 IBox instruction is used without a permissive contact. The top line will be identified in BOLD italics, and the instruction name and ID will be in BOLD characters. 9 Rung 2: On the 2nd scan, read the IP Address of the ECOM100 and store it in V3000 thru 10 V3003 (4 decimal numbers). The ECOM100's IP Address could be displayed by an HMI. The ECRDIP is leading edge triggered, not power-flow driven (similar to a counter input leg). The command to read the IP Address will be sent to the ECOM100 whenever the power 11 flow into the IBox goes from OFF to ON. If successful, turn on C100. If there is a failure, turn on C101. 12 13 14 A B C D Rung 1: The ECOM100 Config IBox is responsible for coordination/interlocking of all ECOM100 type IBoxes for one specific ECOM100 module. Tag the ECOM100 in slot 1 as ECOM100# K0. All other ECxxxx IBoxes refer to this module # as K0. If you need to move the module in the base to a different slot, then you only need to change this one IBox. V400 is used as a global result status register for the other ECxxxx IBoxes using this specific ECOM100 module. V401 is used to coordinate/interlock the logic in all of the other ECxxxx IBoxes using this specific ECOM100 module. V402-V502 is a common 130 byte buffer available for use by the other ECxxxx IBoxes using this specific ECOM100 module. ECOM100 Config

1

ECOM100 ECOM100# Slot Status Workspace Msg Buffer (65 WORDs)

DL205 User Manual, 4th Edition, Rev. A

IB-710 K0 K1 V400 V401 V402-502

5–297

Page 520

Chapter 5: Intelligent Box (IBox) Instructions

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D

ECOM100 Read Module ID (ECRDMID) (IB-720)

240 250-1 260 230

DS5

Used

HPP

N/A

5–298

ECOM100 Read Module ID will read the binary (decimal) WORD sized Module ID on a leading edge transition to the IBox. The Workspace parameter is an internal, private register used by this IBox and MUST BE UNIQUE in this one instruction and MUST NOT be used anywhere else in your program. Either the Success or Error bit parameter will turn on once the command is complete. In order for this ECOM100 IBox to function, you must turn ON dip switch 7 on the ECOM100 circuit board. ECRDMID Parameters • ECOM100#: this is a logical number associated with this specific ECOM100 module in the specified slot. All other ECxxxx IBoxes that need to reference this ECOM100 module must reference this logical number • Workspace: specifies a V-memory location that will be used by the instruction • Success: specifies a bit that will turn on once the request is completed successfully • Error: specifies a bit that will turn on if the instruction is not successfully completed • Module ID: specifies the location where the ECOM100’s Module ID (decimal) will be placed

Parameter ECOM100# . . . . . . . . . . . . . . . . . . . . . . . . . . . . K Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . V Success . . . . . . . . . . . . . . . . . . . . X,Y,C,GX,GY,B Error . . . . . . . . . . . . . . . . . . . . . . . X,Y,C,GX,GY,B Module ID. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . V

DL205 User Manual, 4th Edition, Rev. A

DL205 Range K0-255 See DL205 V-memory map - Data Words See DL205 V-memory map See DL205 V-memory map See DL205 V-memory map - Data Words

Page 521

Chapter 5: Intelligent Box (IBox) Instructions

ECRDMID Example

1 2 3 4 5 6 7 8 NOTE: An ECOM100 IBox instruction is used without a permissive contact. The top line will be identified in BOLD italics, and the instruction name and ID will be in BOLD characters. 9 Rung 2: On the 2nd scan, read the Module ID of the ECOM100 and store it in V2000. 10 The ECRDMID is leading edge triggered, not power-flow driven (similar to a counter input leg). The command to read the module ID will be sent to the ECOM100 whenever the 11 power flow into the IBox goes from OFF to ON. If successful, turn on C100. If there is a failure, turn on C101. 12 13 14 A B C D Rung 1: The ECOM100 Config IBox is responsible for coordination/interlocking of all ECOM100 type IBoxes for one specific ECOM100 module. Tag the ECOM100 in slot 1 as ECOM100# K0. All other ECxxxx IBoxes refer to this module # as K0. If you need to move the module in the base to a different slot, then you only need to change this one IBox. V400 is used as a global result status register for the other ECxxxx IBoxes using this specific ECOM100 module. V401 is used to coordinate/interlock the logic in all of the other ECxxxx IBoxes using this specific ECOM100 module. V402-V502 is a common 130 byte buffer available for use by the other ECxxxx IBoxes using this specific ECOM100 module.

ECOM100 Config

1

ECOM100 ECOM100# Slot Status Workspace Msg Buffer (65 WORDs)

DL205 User Manual, 4th Edition, Rev. A

IB-710 K0 K1 V400 V401 V402-502

5–299

Page 522

Chapter 5: Intelligent Box (IBox) Instructions

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D

ECOM100 Read Module Name (ECRDNAM) (IB-724)

230 240 250-1 260 DS5

Used

HPP

N/A

5–300

ECOM100 Read Name will read the Module Name up to the number of specified characters on a leading edge transition to the IBox. The Workspace parameter is an internal, private register used by this IBox and MUST BE UNIQUE in this one instruction and MUST NOT be used anywhere else in your program. Either the Success or Error bit parameter will turn on once the command is complete. In order for this ECOM100 IBox to function, you must turn ON dip switch 7 on the ECOM100 circuit board. ECRDNAM Parameters • ECOM100#: this is a logical number associated with this specific ECOM100 module in the specified slot. All other ECxxxx IBoxes that need to reference this ECOM100 module must reference this logical number • Workspace: specifies a V-memory location that will be used by the instruction • Success: specifies a bit that will turn on once the request is completed successfully • Error: specifies a bit that will turn on if the instruction is not successfully completed • Module Name: specifies the starting buffer location where the ECOM100’s Module Name will be placed • Num Chars: specifies the number of characters (bytes) to read from the ECOM100’s Name field

Parameter ECOM100# . . . . . . . . . . . . . . . . . . . . . . . . . . . . K Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . V Success . . . . . . . . . . . . . . . . . . . . X,Y,C,GX,GY,B Error . . . . . . . . . . . . . . . . . . . . . . . X,Y,C,GX,GY,B Module Name . . . . . . . . . . . . . . . . . . . . . . . . . . V Num Chars . . . . . . . . . . . . . . . . . . . . . . . . . . . . . K

DL205 User Manual, 4th Edition, Rev. A

DL205 Range K0-255 See DL205 V-memory map - Data Words See DL205 V-memory map See DL205 V-memory map See DL205 V-memory map - Data Words K1-128