The text of a manual · part 2 of 11
DL305 Handheld Programmer, pages 11 to 20
Pages 11 to 20 of 107
The original document is the PDF (2.6 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 Koyo D3-HP
Page 11
Getting Started
The Handheld is especially useful if you need to quickly look at the status of an I/O point, timer/counter value, or register location.You can monitor up to 16 I/O points at one time. For example, the following diagram shows how the Handheld display area indicates I/O status. Indicates I/O Status Display
Reference Number n000 ADDRESS/DATA ON/OFF
RUN BATT PWR CPU
16 LEDs Total show on/off status
0
4
0
4
1
5
1
5
2
6
2
6
3
7
3
7
00--07
10--17
Getting Started
To Monitor Machine Operations
1--5
Page 12
1--6
Getting Started
Getting Started
Physical Characteristics and Specifications Handheld Layout
The Handheld was designed to be more than a program entry tool and includes many different status LEDs that make it easy to understand the machine operations. 5.7” (145 mm)
Address or Data Display Area
LED Display
Keypad Keyswitch
4.65” (118 mm) 1.2” (30 mm)
Connection Options
Cassette Interface Port
You can mount the Handheld directly to the CPU, or you can use a cable. The cable, part number D3--HPCBL--1, is approximately 4.6 feet (1.5m) in length and provides much more flexibility. A cassette interface cable, supplied with the Handheld Programmer, is required to connect a cassette recorder.
WARNING: The CPU will automatically change modes when you connect the Handheld Programmer if the keyswitch is set for a different mode of operation. For example, if the CPU is in Run mode and the Handheld Programmer keyswitch is set to the PRG (Program) position, the CPU will automatically enter Program mode when the Handheld is connected.
Page 13
Getting Started Specifications
1--7
The following table provides specifications for the DL305 Handheld Programmer.
CPUs Supported Programming Operations DL330, DL330P, DL340 Read, Write, or erase programs Insert or delete an instruction Simaticr TI315t,TI325t, TI330t, TI335t, plus stage versions* Search for a specific instruction Texas Instrumentsr Locate a specific address TI315t,TI325t, TI330t, TI335t, Read or write to cassette tapes plus stage versions* * Stage versions require the D3--HPP
Cables D3--HPCBL--1, 1.5m programmer cable
Machine Monitoring Operations I/O status (up to 16 simultaneously) On / Off status for contacts, coils, control relays, and register locations Timer and counter current values Debugging Operations Forcing (one scan only) Run and Program Mode display Program syntax check Predefined error codes
Getting Started
Environmental Operating Temperature . . . . . . . . . . . . . . 32_ to 140 F_ (0_ to 60 C_) Storage Temperature . . . . . . . . . . . . . . . . --4_ to 176 F_ (--20_ to 80 C_) Humidity . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 to 95% (non-condensing) Environmental Air . . . . . . . . . . . . . . . . . . . No corrosive gases Vibration . . . . . . . . . . . . . . . . . . . . . . . . . . . MIL STD 810C 514.2 Shock Resistance . . . . . . . . . . . . . . . . . . . MIL STD 810C 516.2 Noise Immunity . . . . . . . . . . . . . . . . . . . . . NEMA ICS3--304, impulse 1KV, 1µs Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Obtained through PLC port, 60 mA @ 5 VDC 60 mA @ 9 VDC Dimensions . . . . . . . . . . . . . . . . . . . . . . . . 4.3” L x 4.7” H x 0.9” D 110mm W x 118mm H x 24mm D Weight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.5 oz. (210 g)
Page 14
1--8
Getting Started
Getting Started
Handheld Basics Status LEDs and Key Groups
RLL PLUS vs. RLL Units
When you enter a program, you need to be able to select the instruction, enter any parameters for that instruction, and move to the next task. The Handheld keypad is organized into LED display areas and key areas that make this task easier. As you examine the keys, you’ll notice some of the keys have more than one label. The top label describes the key when the Shift (SHF) key is pressed. (These keys work just like the number keys on a computer keyboard.) The keys and LEDs areas are as follows. S Instruction identifier and numeric keys, used to select the type of instruction. Also used to enter numeric values for instruction references and constants (by pressing SHF first). S Editing keys, used during program entry and editing to scroll through addresses, insert and delete instructions, etc. These same keys also have Shift functions that are primarily used during cassette or machine monitoring operations. S Address / Data Display, this 4-character, seven-segment display shows the address, reference number (such as the I/O point being used with an instruction), or data value (such as the current value for a timer.) S Instruction LEDs, show the type of instruction used at the address being displayed. S CPU Status LEDs, show the status for Power, CPU mode, etc. As mentioned earlier there are differences between the two models of DL305 Handheld Programmers. This difference is clearly visible if you examine the keypad and display layout shown on the following page. This manual uses the DL3--HP (RLL version) for most of the examples. This is because, for most instructions, the only difference between the two versions is the key location or the location of the display LED. The key titles are the same, they’re just in different locations. You may have noticed we said the two versions are the same for most instructions. The RLL PLUS version does have keys for the Master Control Relay Set (MCS), Master Control Relay Reset (MCR), and Shift Register (SR) instructions, but instead has keys for the extra instructions required for RLL PLUS programs. The following diagram shows the key areas, LED areas, and differences between the two types of units.
Page 15
Getting Started
0 AND 1 OR 2 ON/OFF RUN BATT STR 3 PWR CPU NOT ADDRESS/DATA
4 OUT 5 TMR 6 CNT 7 SR
0 MCS 1 MCR 2 SET 3 RST
0
4
0
4
AND
OUT
MCS
ADR
1
5
1
5
OR
TMR
MCR
SHF
4
ADR
5
SHF
ADDRESS/DATA
6
DATA
7
REG
ON/OFF
2
6
2
6
STR
CNT
SET
DATA
RUN
BATT
PWR
CPU
7
8
9
F
AND
OUT
MCS
4
5
6
R
OR
TMR
MCR
3
7
3
7
NOT
SR
RST
REG
DEL
SHF
INS
CHECK SCH
1
2
3
STR
CNT
SET
ENT
READ PRV
0
×
NOT
SR
MON RST
CLR
WRITE NXT
RLL PLUS Version
0 STR 1 ADDRESS/DATA AND 2 ON/OFF RUN BATT OR 3 STAGE PWR CPU NOT
4 I.SG 5 JMP 6 SET 7 RST
0 SG 1 OUT 2 SET 3 CNT
4 ADR 5 SHF 6 DATA 7 REG
ADDRESS/DATA
0
4
0
4
STR
I.SG
SG
ADR
1
5
1
5
AND
JMP
OUT
SHF
2
6
2
6
OR
SET
TMR
DATA
ON/OFF
RUN
BATT
STAGE
PWR
CPU
7
8
9
F
STR
I.SG
SG
4
5
6
R
AND
JMP
OUT
3
7
3
7
NOT
RST
CNT
REG
1
2
3
OR
SET
TMR
0
×
MON
NOT
RST
CNT
DEL
SHF CHECK
INS
SCH READ
ENT
PRV WRITE
CLR
NXT
Getting Started
RLL Version
1--9
Page 16
Getting Started
1--10
Getting Started
Instruction Identifier and Numeric Keys
Editing Keys
The identifier keys are used to specify the exact instruction type and the instruction reference. For example, if you want to store a contact, you have to specify the STR instruction and which contact you want to use. For example, to enter Store I/O point 001, you would press STR, SHF, 1 and ENT. A timer instruction would work the same way. In this case, you would press TMR, SHF, 6, 0, 0, ENT to load the timer. To enter the constant, you would then press SHF, 2, 0, ENT. (This would load a preset of 20.) 7
8
9
F
AND
OUT
MCS
4
5
6
R
OR
TMR
MCR
DEL
SHF
INS
CHECK SCH
1
2
3
STR
CNT
SET
ENT
READ PRV
0
×
NOT
SR
MON RST
CLR
WRITE NXT
DEL
SHF
These keys are used to perform various operations during program entry and editing. For example, you can use these keys to insert (INS), delete (DEL), or search (SCH) for a specific instruction. These keys also have shift functions that are primarily used during cassette tape operations. However, there is one key, Monitor (MON), that is used when you want to monitor the status of an I/O point, timer/counter value, or register location.
7
8
9
F
STR
I.SG
SG
4
5
6
R
AND
JMP
OUT
1
2
3
OR
SET
TMR
0
×
MON
NOT
RST
CNT
CHECK INS
SCH READ
ENT
PRV WRITE
CLR
NXT
Page 17
Getting Started
The Address / Data primarily shows two things. S For programs, it shows address locations or instruction reference numbers. S For monitoring operations, it shows the current value of timers, counters, and registers. How do you know which one you’re seeing on the display? Simple, whenever an address is shown there are periods that follow each digit. If the periods are missing, you’re seeing a data value, a constant, an I/O reference, etc. Data Values or Address
0000 .... ADDRESS/DATA
ON/OFF
RUN BATT PWR CPU
Periods indicate an Address 0 AND 1 OR 2 STR 3 NOT
4 OUT 5 TMR 6 CNT 7 SR
0 MCS 1 MCR 2 SET 3 RST
4 ADR 5 SHF 6 DATA 7 REG
Since the display area can show two types of information, you can easily switch between the two types by pressing CLR and NXT. The following display shows an example of the display if a SET instruction was loaded at address 0000 and you pressed the CLR key. (You can then press NXT to return to the address display.) Shows I/O Reference
Periods are missing
0050 ADDRESS/DATA ON/OFF
RUN BATT PWR CPU
Instruction LEDs
0 AND 1 OR 2 STR 3 NOT
4 OUT 5 TMR 6 CNT 7 SR
0 MCS 1 MCR 2 SET 3 RST
4 ADR 5 SHF 6 DATA 7 REG
The instruction LEDs show you which instruction is used at the address being displayed. For example, if a SET instruction is located at address 0000, then the SET LED would be on. Shows I/O Reference
Instruction Type
0050 ADDRESS/DATA ON/OFF
RUN BATT PWR CPU
0 AND 1 OR 2 STR 3 NOT
4 OUT 5 TMR 6 CNT 7 SR
0 MCS 1 MCR 2 SET 3 RST
4 ADR 5 SHF 6 DATA 7 REG
These LEDs are also used during monitoring operations to show the On/Off status for up to 16 points. (We’ll discuss this in more detail in Chapter 6.)
Getting Started
Address / Data Display Area
1--11
Page 18
1--12
Getting Started
Getting Started
CPU Status LEDs
The CPU LEDs show you the mode of operation, battery status, power indication, and CPU error condition (if any exists). The ON/OFF LED shows the status for the individual instructions as you step through the program during Run mode. For example, if the instruction was SET 050 and the CPU was in Run mode, then the display would appear as follows.
Status of the point being displayed CPU and Status
0050 ADDRESS/DATA ON/OFF
RUN BATT PWR CPU
0 AND 1 OR 2 STR 3 NOT
4 OUT 5 TMR 6 CNT 7 SR
0 MCS 1 MCR 2 SET 3 RST
4 ADR 5 SHF 6 DATA 7 REG
(In Run mode, you can also toggle between the address display and the status display by pressing CLR and NXT. Remember, the address display would have the periods as shown earlier.)
Page 19
Getting Started
Sometimes we all make mistakes, so it’s important to know how to clear the display and start from the beginning. Since the Handheld Programmer buffers the keystrokes until you press ENT, you can clear the display at any time up until the ENT button is pressed. When you press CLR, the Handheld clears the keystrokes you’ve entered and remains at the current address. At this point you can now enter the correct instruction. Consider the following example that starts at address 0001. Keystroke Error (should have used SET instead of OUT) OUT
SHF
3
0
030 ADDRESS/DATA ON/OFF
RUN BATT PWR CPU
0 AND 1 OR 2 STR 3 NOT
4 OUT 5 TMR 6 CNT 7 SR
0 MCS 1 MCR 2 SET 3 RST
4 ADR 5 SHF 6 DATA 7 REG
0 AND 1 OR 2 STR 3 NOT
4 OUT 5 TMR 6 CNT 7 SR
0 MCS 1 MCR 2 SET 3 RST
4 ADR 5 SHF 6 DATA 7 REG
Press CLR
0001 ....
CLR display returns to address 0001.
ADDRESS/DATA
ON/OFF
RUN BATT PWR CPU
Getting Started
Clearing the Display Area
1--13
Page 20
1--14
Getting Started
Getting Started
CPU Setup Even if you have years of experience using PLCs with handheld programmers, there are a few things you may need to know before you start entering programs. This section includes some basic things, such as changing the CPU mode and clearing the CPU memory. Changing the CPU Modes
There are two modes available with the DL305 CPUs. S RUN, executes program and updates I/O modules S PGM, allows program entry, does not execute program or update I/O modules You can only change the CPU mode by using the keyswitch on the front of the handheld programmer.
RUN PRGLOADTAPE
WARNING: The CPU will automatically change modes when you connect the Handheld Programmer if the keyswitch is set for a different mode of operation. For example, if the CPU is in Run mode and the Handheld Programmer keyswitch is set to the PRG (Program) position, the CPU will automatically enter Program mode when the Handheld is connected. The keyswitch also has a third position, called LOAD. If the keyswitch is in this position you can upload a program from CPU memory to a cassette tape, or download a program from cassette tape to CPU memory.