The text of a manual · part 15 of 60
DL205 PLC User Manual, Volume 1 of 2, pages 141 to 150
Pages 141 to 150 of 598
The original document is the PDF (12 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 AutomationDirect D2-04TD1, AutomationDirect D2-08TD2, AutomationDirect D2-16ND3-2, AutomationDirect D2-32ND3, Konnect-It D2-04TD1, Koyo D2-04TD1, Konnect-It D2-08TD2, Koyo D2-08TD2, and 5 more models
Page 141
Chapter 3: CPU Specifications and Operations System V-memory
Description of Contents
V7753 I/O Configuration Error, stores the correct module ID code. V7754 I/O Configuration Error, identifies the base and slot number. V7755 Error code, stores the fatal error code. V7756 Error code, stores the major error code. V7757 Error code, stores the minor error code. V7760–V7764 Module Error, stores the slot number and error code where an I/O error occurs. V7765 Scan - stores the number of scan cycles that have occurred since the last Program to Run Mode transition. V7766 Contains the number of seconds on the clock. (00 to 59). V7767 Contains the number of minutes on the clock. (00 to 59). V7770 Contains the number of hours on the clock. (00 to 23). V7771 Contains the day of the week. (Mon, Tue, etc.). V7772 Contains the day of the month (1st, 2nd, etc.). V7773 Contains the month. (01 to 12) V7774 Contains the year. (00 to 99) V7775 Scan, stores the current scan time (milliseconds). Scan, stores the minimum scan time that has occurred since the last Program Mode to Run Mode transition V7776 (milliseconds). Scan, stores the maximum scan time that has occurred since the last Program Mode to Run Mode transition V7777 (milliseconds).
DL205 User Manual, 4th Edition, Rev. D
1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D 3-45
Page 142
Chapter 3: CPU Specifications and Operations
1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D
DL250–1 System V-memory (DL250 also) System V-memory
Description of Contents
V3710–V3767 V3770–V3777
The default location for multiple preset values for UP/DWN and UP counter 1 or pulse N/A output function The default location for multiple preset values for UP/DWN and UP counter 2. N/A Not used N/A
V7620–V7627 V7620 V7621 V7622 V7623 V7624 V7625 V7626 V7627
Locations for DV–1000 operator interface parameters Sets the V-memory location that contains the value Sets the V-memory location that contains the message Sets the total number (1 – 32) of V-memory locations to be displayed Sets the V-memory location that contains the numbers to be displayed Sets the V-memory location that contains the character code to be displayed Sets the bit control pointer Sets the power up mode Change Preset Value password
V3630–V3707
V7630 V7631 V7632 V7633
V7634 V7635 V7636
3-46
Starting location for the multi–step presets for channel 1. Since there are 24 presets available, the default range is V3630 – V3707. You can change the starting point if necessary. Starting location for the multi–step presets for channel 2. Since there are 24 presets available, the default range is V3710– V3767. You can change the starting point if necessary. Reserved Sets the desired mode for the high-speed counter, interrupt, pulse catch, pulse train, and input filter (see the D2-CTRINT manual, D2-CTRIF-M, for more information). Location is also used for setting the with/without battery option, enable/disable CPU mode change, and power-up in Run Mode option.
Default Values/ Ranges
V0 – V3760 V0 – V3760 1 – 32 V0 – V3760 V0 – V3760 V-memory for X, Y, or C 0,1,2,3,12 Default=0000 Default: V3630 Range: V0 – V3710 Default: V3710 Range: V0 – V3710 Default: 0060 Lower Byte Range: Range: 0 – None 10 – Up 20 – Up/Dwn. 30 – Pulse Out 40 – Interrupt 50 – Pulse Catch 60 – Filtered Dis. Upper Byte Range: Bits 8 – 11, 14–15 Unused Bit 12: With Batt. installed: 0 = disable BATT LED 1 = enable BATT LED Bit 13: Power-up in Run
Contains set-up information for high-speed counter, interrupt, pulse catch,pulse train Default: 1006 output, and input filter for X0 (when D2–CTRINT is installed). Contains set-up information for high-speed counter, interrupt, pulse catch, pulse train Default: 1006 output, and input filter for X1 (when D2–CTRINT is installed). Contains set-up information for high-speed counter, interrupt, pulse catch, pulse train Default: 1006 output, and input filter for X2 (when D2–CTRINT is installed).
DL205 User Manual, 4th Edition, Rev. D
Page 143
Chapter 3: CPU Specifications and Operations
System V-memory
Description of Contents
1 Default Values/Ranges 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D
V7637
Contains set-up information for high-speed counter, interrupt, pulse catch, pulse train output, and input filter for X3 (when D2–CTRINT is installed).
V7640
Loop Table Beginning address.
V7641 V7642 V7643–V7647 V7650 V7651 V7652 V7653 V7654 V7655 V7656 V7657 V7660–V7717 V7720–V7722 V7720 V7721 V7722 V7740 V7741 V7747 V7750
Number of Loops Enabled Error Code – V–memory Error Location for Loop Table. Reserved. Port 2 End–code setting Setting (A55A), Non–procedure communications start. Port 2 Data format – Non–procedure communications format setting. Port 2 Format Type setting – Non–procedure communications type code setting. Port 2 Terminate–code setting – Non–procedure communications Termination code setting. Port 2 Store v–mem address – Non–procedure communication data store V–Memory address Port 2 Setup area –0–7 Comm protocol (flag 0) 8–15 Comm time out/response delay time (flag 1). Port 2 Setup area – 0–15 Communication (flag 2, flag 3). Port 2: Setup completion code. Set–up Information – Locations reserved for set-up information used with future options. Locations for DV–1000 operator interface parameters. Titled Timer preset value pointer. Title Counter preset value pointer. HiByte-Titled Timer preset block size, LoByte-Titled Counter preset block size. Port 2 Communication Auto Reset Timer setup. Output Hold or reset setting: Expansion bases 1 and 2 (DL250–1). Location contains a 10ms counter. This location increments once every 10ms. Reserved.
V7751 V7752 V7753 V7754 V7755 V7756 V7757 V7760–V7764 V7765
Default: 1006
V1400–V7340 V10000– V17740 1–4
Fault Message Error Code, stores the 4-digit code used with the FAULT instruction when the instruction is executed. If you’ve used ASCII messages (DL240 only), then the data label (DLBL) reference number for that message is stored here. I/O configuration Error, stores the module ID code for the module that does not match the current configuration. I/O Configuration Error, stores the correct module ID code. I/O Configuration Error, identifies the base and slot number. Error code, stores the fatal error code. Error code, stores the major error code. Error code, stores the minor error code. Module Error, stores the slot number and error code where an I/O error occurs. Scan, stores the total number of scan cycles that have occurred since the last Program Mode to Run Mode transition.
DL205 User Manual, 4th Edition, Rev. D
3-47
Page 144
Chapter 3: CPU Specifications and Operations
1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D
System V-memory
V7766 V7767 V7770 V7771 V7772 V7773 V7774 V7775 V7776 V7777
V36000–36057 V36100–36157 V36400–36427 V37700–37737
System CRs C740 C741 C743 C750 to C757 C760 to C767
3-48
Description of Contents Contains the number of seconds on the clock. (00 to 59) Contains the number of minutes on the clock. (00 to 59) Contains the number of hours on the clock. (00 to 23) Contains the day of the week. (Mon, Tue, etc.) Contains the day of the month (1st, 2nd, etc.) Contains the month. (01 to 12) Contains the year. (00 to 99) Scan, stores the current scan time (milliseconds) Scan, stores the minimum scan time that has occurred since the last Program Mode to Run Mode transition (milliseconds) Scan, stores the maximum scan time that has occurred since the last Program Mode to Run Mode transition (milliseconds) Analog pointer method for expansion base 1 (DL250–1) Analog pointer method for expansion base 2 (DL250–1) Analog pointer method for local base Port 2: Setup register for Koyo Remote I/O
Description of Contents Completion of setups – ladder logic must turn this relay on when it has finished writing to the Remote I/O setup table. Erase received data – turning on this flag will erase the received data during a communication error. Re-start – Turning on this relay will resume after a communications hang-up on an error. Setup Error – The corresponding relay will be ON if the setup table contains an error. (C750 = master, C751 = slave 1 C757 = slave 7) Communications Ready – The corresponding relay will be ON if the set-up table data is valid. (C760 = master, C761 = slave 1 C767 = slave 7)
DL205 User Manual, 4th Edition, Rev. D
Page 145
Chapter 3: CPU Specifications and Operations
DL260 System V-memory System V-memory
Description of Contents
Default Values/Ranges
V3630–V3707
The default location for multiple preset values for UP/DWN and UP counter 1 or pulse output function
N/A
V3710–V3767
The default location for multiple preset values for UP/DWN and UP counter 2
N/A
V3770–V3777 V7620–V7627 V7620 V7621 V7622 V7623 V7624 V7625 V7626 V7627
Not used
N/A
Locations for DV–1000 operator interface parameters Sets the V-memory location that contains the value Sets the V-memory location that contains the message Sets the total number (1 – 32) of V-memory locations to be displayed Sets the V-memory location that contains the numbers to be displayed Sets the V-memory location that contains the character code to be displayed Sets the bit control pointer Sets the power up mode Change Preset Value password
V0 – V3760 V0 – V3760 1 – 32 V0 – V3760 V0 – V3760 V-memory for X, Y, or C 0,1,2,3,12 Default=0000
V7630
Starting location for the multi–step presets for channel 1. Since there are 24 presets available, the default range is V3630 – V3707. You can change the starting point if necessary.
Default: V3630 Range: V0 – V3710
V7631
Starting location for the multi–step presets for channel 2. Since there are 24 Default: V3710 presets available, the default range is V3710– V3767. You can change the starting Range: V0 – V3710 point if necessary.
V7632 V7633
Reserved Sets the desired mode for the high-speed counter, interrupt, pulse catch, pulse train, and input filter (see the D2-CTRINT manual, D2-CTRIF-M, for more information). Location is also used for setting the with/without battery option, enable/disable CPU mode change, and power-up in Run Mode option.
V7634
Contains set-up information for high-speed counter, interrupt, pulse catch, pulse train output, and input filter for X0 (when D2–CTRINT is installed) Contains set-up information for high-speed counter, interrupt, pulse catch, pulse train output, and input filter for X1 (when D2–CTRINT is installed) Contains set-up information for high-speed counter, interrupt, pulse catch, pulse train output, and input filter for X2 (when D2–CTRINT is installed)
V7635 V7636
Default: 0060 Lower Byte Range: Range: 0 – None 10 – Up 20 – Up/Dwn 30 – Pulse Ou 40 – Interrupt 50 – Pulse Catch 60 – Fltered Dis. Upper Byte Range Bits 8 – 11, 14–15 Unused Bit 12: With Batt. installed: 0 = disable BATT LED 1 = enable BATT LED Bit 13: Power-up in Run Default: 1006 Default: 1006 Default: 1006
DL205 User Manual, 4th Edition, Rev. D
1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D
3-49
Page 146
Chapter 3: CPU Specifications and Operations
1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D
System V-memory
Description of Contents
Default Values/ Ranges
V7637
Contains set up information for high speed counter, interrupt, pulse catch, pulse train output, and input filter for X3 (when D2–CTRINT is installed).
V7640
PID Loop Table Beginning address.
V7641 V7642 V7643 - V7647 V7650 V7651 V7652 V7653 V7654 V7655 V7656 V7657 V7660–V7717 V7720–V7722 V7720 V7721 V7722 V7740 V7741 V7742 V7747 V7750
Number of Loops Enabled. Error Code – V–memory Error Location for Loop Table. Reserved. Port 2 End–code Setting (A55A), Non-procedure communications start. Port 2 Data format - Non-procedure communications format setting. Port 2 Format Type setting – Non–procedure communications type code setting. Port 2 Terminate–code setting – Non–procedure communications Termination code setting Port 2 Store v–mem address – Non–procedure communication data store V–Memory address. Port 2 Setup area –0–7 Comm protocol (flag 0) 8–15 Comm time out/response delay time (flag 1) Port 2 Setup area – 0–15 Communication (flag 2, flag 3) Port 2: Setup completion code. Set–up Information – Locations reserved for set up information used with future options. Locations for DV-1000 operator interface parameters. Titled Timer preset value pointer. Title Counter preset value pointer. HiByte-Titled Timer preset block size, LoByte-Titled Counter preset block size.
V7751 V7752 V7753 V7754 V7755 V7756 V7757 V7763–V7764 V7765
3-50
Default: 1006 V400–640 V1400–V7340 V10000–V35740 1–16
Port 2 Communication Auto Reset Timer setup. Output Hold or reset setting: Expansion bases 1 and 2. Output Hold or reset setting: Expansion bases 3 and 4. Location contains a 10ms counter. This location increments once every 10ms. Reserved. Fault Message Error Code, stores the 4-digit code used with the FAULT instruction when the instruction is executed. If you’ve used ASCII messages (DL240 only), then the data label (DLBL) reference number for that message is stored here. I/O configuration Error, stores the module ID code for the module that does not match the current configuration. I/O Configuration Error, stores the correct module ID code. I/O Configuration Error, identifies the base and slot number. Error code, stores the fatal error code. Error code, stores the major error code. Error code, stores the minor error code. Module Error, stores the slot number and error code where an I/O error occurs. Scan, stores the total number of scan cycles that have occurred since the last Program Mode to Run Mode transition.
DL205 User Manual, 4th Edition, Rev. D
Page 147
Chapter 3: CPU Specifications and Operations System V-memory
Description of Contents
1 2 3 4 5 6 7 8 The following system control relays are used for Koyo Remote I/O setup on Communications 9 Port 2. 10 System CRs Description of Contents 11 12 13 14 A B C D
V7766 V7767 V7770 V7771 V7772 V7773 V7774 V7775 V7776 V7777
V36000–36057 V36100–36157 V36200–36257 V36300–36357 V36400–36427 V37700–37737
C740 C741 C743
C750 to C757 C760 to C767
Contains the number of seconds on the clock. (00 to 59). Contains the number of minutes on the clock. (00 to 59). Contains the number of hours on the clock. (00 to 23). Contains the day of the week. (Mon, Tue, etc.). Contains the day of the month (1st, 2nd, etc.). Contains the month. (01 to 12) Contains the year. (00 to 99) Scan, stores the current scan time (milliseconds). Scan, stores the minimum scan time that has occurred since the last Program Mode to Run Mode transition (milliseconds). Scan, stores the maximum scan time that has occurred since the last Program Mode to Run Mode transition (milliseconds). Analog pointer method for expansion base 1 Analog pointer method for expansion base 2 Analog pointer method for expansion base 3 Analog pointer method for expansion base 4 Analog pointer method for local base Port 2: Set-up register for Koyo Remote I/O
Completion of setups – ladder logic must turn this relay on when it has finished writing to the Remote I/O setup table. Erase received data – turning on this flag will erase the received data during a communication error. Re-start – Turning on this relay will resume after a communications hang-up on an error. Setup Error – The corresponding relay will be ON if the set-up table contains an error. (C750 = master, C751 = slave 1... C757= slave 7 Communications Ready – The corresponding relay will be ON if the set-up table data is valid. (C760 = master, C761 = slave 1...C767 = slave 7
DL205 User Manual, 4th Edition, Rev. D
3-51
Page 148
Chapter 3: CPU Specifications and Operations
1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D
DL205 Aliases
3-52
An alias is an alternate way of referring to certain memory types, such as timer/counter current values, V-memory locations for I/O points, etc., which simplifies understanding the memory address. The use of the alias is optional, but some users may find the alias to be helpful when developing a program. The table below shows how the aliases can be used. DL205 Aliases Address Start
Alias Start
Example
V0
TA0
V1000
CTA0
V40000
VGX
V40200
VGY
V40400
VX0
V40500
VY0
V40600
VC0
V41000
VS0
V41100
VT0
V41140
VCT0
V41200
VSP0
V0 is the timer accumulator value for timer 0, therefore, its alias is TA0. TA1 is the alias for V1, etc. V1000 is the counter accumulator value for counter 0, therefore, its alias is CTA0. CTA1 is the alias for V1001, etc. V40000 is the word memory reference for discrete bits GX0 through GX17, therefore, its alias is VGX0. V40001 is the word memory reference for discrete bits GX20 through GX37, therefore, its alias is VGX20. V40200 is the word memory reference for discrete bits GY0 through GY17, therefore, its alias is VGY0. V40201 is the word memory reference for discrete bits GY20 through GY37, therefore, its alias is VGY20. V40400 is the word memory reference for discrete bits X0 through X17, therefore, its alias is VX0. V40401 is the word memory reference for discrete bits X20 through X37, therefore, its alias is VX20. V40500 is the word memory reference for discrete bits Y0 through Y17, therefore, its alias is VY0. V40501 is the word memory reference for discrete bits Y20 through Y37, therefore, its alias is VY20. V40600 is the word memory reference for discrete bits C0 through C17, therefore, its alias is VC0. V40601 is the word memory reference for discrete bits C20 through C37, therefore, its alias is VC20. V41000 is the word memory reference for discrete bits S0 through S17, therefore, its alias is VS0. V41001 is the word memory reference for discrete bits S20 through S37, therefore, its alias is VS20. V41100 is the word memory reference for discrete bits T0 through T17, therefore, its alias is VT0. V41101 is the word memory reference for discrete bits T20 through T37, therefore, its alias is VT20. V41140 is the word memory reference for discrete bits CT0 through CT17, therefore, its alias is VCT0. V41141 is the word memory reference for discrete bits CT20 through CT37, therefore, its alias is VCT20. V41200 is the word memory reference for discrete bits SP0 through SP17, therefore, its alias is VSP0. V41201 is the word memory reference for discrete bits SP20 through SP37, therefore, its alias is VSP20.
DL205 User Manual, 4th Edition, Rev. D
Page 149
Chapter 3: CPU Specifications and Operations
DL230 Memory Map
1 2 X0 3 Y0 4 C0 C0 5 SP0 6 7 TMR T0 K100 8 V0 K100 9 T0 10 CNT CT0 K10 11 V1000 K100 12 13 CT0 14 A SG S0 B S001 C D NOTE 1: The DL230 systems are limited to 256 discrete I/O points (total) with the present system hardware
Memory Type Input Points
Output Points
Control Relays
Special Relays
Timers
Qty. Decimal
Discrete Memory Reference (octal)
Word Memory Reference (octal)
X0 – X177
V40400 – V40407
1281
Y0 – Y177
V40500 – V40507
1281
C0 – C377
V40600 – V40617
256
SP0 – SP117 SP540 – SP577
V41200 – V41204 V41226 – V41227
112
T0 – T77
Symbol
64
Timer Current Values
None
V0 – V77
64
Timer Status Bits
T0 – T77
V41100 – V41103
64
Counters
CT0 – CT77
64
Counter Current Values
None
V1000 – V1077
64
Counter Status Bits
CT0 – CT77
V41140 – V41143
64
Data Words
None
V2000 – V2377
256
None specific, used with many instructions
Data Words Non–volatile None
V4000 – V4177
128
None specific, used with many instructions
Stages
S0 – S377
V41000 – V41017
256
None
V7620 – V7647 V7750–V7777
48
System parameters
None specific, used for various purposes available. These can be mixed between inputs and output points as necessary.
DL205 User Manual, 4th Edition, Rev. D
3-53
Page 150
Chapter 3: CPU Specifications and Operations
1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D
DL240 Memory Map Discrete Memory Reference (octal)
Word Memory Qty. Decimal Reference(octal)
Input Points
X0 – X477
V40400 – V40423
3201
Output Points
Y0 – Y477
V40500 – V40523
3201
Control Relays
C0 – C377
V40600 – V40617
256
Special Relays
SP0 – SP137 SP540 – SP617
V41200 – V41205 V41226 – V41230
144
Timers
T0 – T177
Timer Current Values
None
V0 – V177
128
Timer Status Bits
T0 – T177
V41100 – V41107
128
Counters
CT0 – CT177
Counter Current Values
None
V1000 – V1177
128
Counter Status Bits
CT0 – CT177
V41140 – V41147
128
Data Words
None
V2000 – V3777
1024
None specific, used with many instructions
Data Words Non–volatile None
V4000 – V4377
256
None specific, used with many instructions
Stages
S0 – S777
V41000 – V41037
512
System parameters
None
V7620 – V7737 V7746–V7777
106
Memory Type
3-54
128
Symbol X0
Y0 C0
C0
SP0
TMR
T0 K100
V0 K100
T0
CNT CT0 K10
128
V1000 K100
CT0
SG
S001
S0
None specific, used for various purposes
NOTE 1: The DL240 systems are limited to 256 discrete I/O points (total) with the present system hardware available. These can be mixed between inputs and output points as necessary.
DL205 User Manual, 4th Edition, Rev. D