The text of a manual · part 25 of 38
DL06 Micro PLC User Manual, Volume 2 of 2, pages 240 to 249
Pages 240 to 249 of 370
The original document is the PDF (6.0 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.
Page 240
Appendix C: Instruction Execution Times
Number Conversion Instructions
1 2 C 4 5 6 7 8 9 10 11 12 13 14 A B C D
Number Conversion Instructions (Accumulator) Instruction BIN BCD INV BCDPL ATH HTA GRAY SFLDGT BTOR RTOB RADR DEGR
Legal Data Types None None None None V V None None None None None None
DL06 Execute
Not Execute
100.2 µs 95.2 µs 2.5 µs 75.6 µs 25.4 µs 25.4 µs 110.8 µs 23.1 µs 18.6 µs 8.6 µs 51.4 µs 81.5 µs
0.9 µs 0.9 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs
Table Instructions
C–20
Table Instructions Instruction MOV
Legal Data Types
DL06 Execute
Not Execute
60.2 µs+9.5 x N
0.9 µs
35 µs + 10.4 µs x N
0.9 µs
6.4 µs
1.3 µs
V: Data Reg V:Bit Reg
29.4 µs + 8.0 µs x N
1.0 µs
K:Constant
26.2 µs + 8.0 µs x N
P:Indir. (Data) P:Indir. (bit)
55.1 µs + 8.0 µs x N
Move V:data reg. to V:data reg Move V:bit reg. to V:data reg Move V:data reg. to V:bit reg Move V:bit reg. to V:bit reg. N=#of words Move V:data Reg to EEPROM Move V:Bit Reg to EEPROM
MOVMC
Move from Date Label to V: Data Reg Move from Data Label to V: Bit Reg N= #of words
LDLBL
FILL
FIND
K
V: Data Reg (N bits) V:Bit Reg. (N bits) K:Constant(N bits)
DL06 Micro PLC User Manual, 3rd Edition Rev. A
66.8 µs 66.8 µs 64.0 µs
1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs
Page 241
Appendix C: Instruction Execution Times
Table Instructions (cont’d) Table Instructions Instruction FDGT
FINDB TTD RFB STT RFT ATT TSHFL TSHFR ANDMOV ORMOV XORMOV SWAP SETBIT RSTBIT
Legal Data Types V: Data Reg (N bits) V:Bit Reg. (N bits) K:Constant(N bits) V: Data Reg (N bits) V:Bit Reg. (N bits) P:Indir. (Data) P:Indir. (Bit) V: Data Reg V:Bit Reg V: Data Reg V:Bit Reg V: Data Reg V:Bit Reg K:Constant V: Data Reg V:Bit Reg V: Data Reg V:Bit Reg K:Constant V: Data Reg V:Bit Reg V: Data Reg V:Bit Reg V: Data Reg V:Bit Reg V: Data Reg V:Bit Reg V: Data Reg V:Bit Reg V: Data Reg V:Bit Reg V: Data Reg (N bits) V:Bit Reg. (N bits) V: Data Reg (N bits) V:Bit Reg. (N bits)
DL06 Execute
Not Execute
66.1 µs 66.1 µs 55.2 µs 210.8 µs 210.8 µs 237.0 µs 237.0 µs 66.9 µs 66.9 µs 66.8 µs 66.8 µs 67.8 µs 67.8 µs 65.0 µs 51.1 µs 51.1 µs 53.5 µs 53.5 µs 50.8 µs 134.0 µs 134.0 µs 133.9 µs 133.9 µs 80.2 µs 80.2 µs 80.4 µs 80.4 µs 80.4 µs 80.4 µs 84.1 µs 84.1 µs 59.5 µs 59.5 µs 59.5 µs 59.5 µs
1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs 1.0 µs
DL06 Micro PLC User Manual, 3rd Edition Rev. A
1 2 C 4 5 6 7 8 9 10 11 12 13 14 A B C D C–21
Page 242
Appendix C: Instruction Execution Times
CPU Control Instructions
1 2 C 4 5 6 7 8 9 10 11 12 13 14 A B C D
CPU Control Instructions Instruction NOP END STOP RSTWT
DL06
Legal Data Types
Execute
Not Execute
None None None None
1.1 µs 24.0 µs 10.0 µs 5.9 µs
1.1 µs 24.0 µs 1.1 µs 2.2 µs
Program Control Instructions Program Control Instructions Instruction GOTO LBL FOR NEXT GTS SBR RTC RT MLS MLR
Legal Data Types K K V, K None K K None None K K
DL06 Execute
Not Execute
5.1 µs 5.7 µs 125.9 µs 64.4 µs 27.5 µs 1.5 µs 25.7 µs 21.2 µs (1–7) 35.2 µs (0–7) 30.9 µs
4.8 µs 0.0 µs 14.5 µs 64.4 µs 14.8 µs 1.5 µs 12.1 µs 21.2 µs 35.2 µs 30.9 µs
Interrupt Instructions Interrupt Instructions Instruction ENI DISI INT IRTC IRT
DL06
Legal Data Types
Execute
Not Execute
None None O(0,1) None None
24.2 µs 9.4 µs 7.5 µs 0.9 µs 6.6 µs
2.7 µs 2.3 µs – 1.3 µs –
Network Instructions Network Instructions Instruction RX
WX
C–22
DL06
Legal Data Types
Execute
Not Execute
X, Y, C, T, CT, SP, S, $ V:Data Reg. V:Bit Reg. P:Indir. (Data) P:Indir. (Bit) X, Y, C, T, CT, SP, S, $ V:Data Reg. V:Bit Reg. P:Indir. (Data) P:Indir. (Bit)
852.0 µs 852.0 µs 852.0 µs 868.2 µs 868.2 µs 1614.0 µs 1614.0 µs 1614.0 µs 1630.0 µs 1630.0 µs
4.4 µs 4.4 µs 4.4 µs 4.2 µs 4.2 µs 4.4 µs 4.4 µs 4.4 µs 4.4 µs 4.4 µs
DL06 Micro PLC User Manual, 3rd Edition Rev. A
Page 243
Appendix C: Instruction Execution Times
Intelligent I/O Instructions Network Instructions Instruction RD WT
DL06
Legal Data Types
Execute
Not Execute
V:Data Reg. V:Bit Reg. V:Data Reg. V:Bit Reg.
385.7 µs 385.7 µs 385.6 µs 385.6 µs
1.2 µs 1.2 µs 1.2 µs 1.2 µs
Message Instructions Message Instructions Instruction FAULT DLBL NCON ACON PRINT
DL06
Legal Data Types
Execute
Not Execute
V:Data Reg. V:Bit Reg. K:Constant K K A ASCII
65.0 µs 65.0 µs 204.7 µs – – – 631.0 µs
4.4 µs 4.4 µs 4.4 µs – – – 3.6 µs
RLLPLUS Instructions RLLplus Instructions Instruction ISG SG JMP NJMP CV CVJMP BCALL BLK BEND
DL06
Legal Data Types
Execute
Not Execute
S S S S S S C C None
44.0 µs 44.0 µs 76.0 µs 77.4 µs 42.1 µs 89.5 µs 22.1 µs 17.1 µs 8.7 µs
41.1 µs 41.1 µs 9.3 µs 9.3 µs 27.5 µs 17.6 µs 22.6 µs 14.6 µs 0.0 µs
Drum Instructions Drum Instructions Instruction DRUM EDRUM MDRMD MDRMW
DL06
Legal Data Types
Execute
Not Execute
CT CT CT CT
840.0 µs 753.2 µs 411.3 µs 378.6 µs
339.6 µs 357.0 µs 216.4 µs 147.0 µs
DL06 Micro PLC User Manual, 3rd Edition Rev. A
1 2 C 4 5 6 7 8 9 10 11 12 13 14 A B C D C–23
Page 244
Appendix C: Instruction Execution Times
Clock / Calender Instructions
1 2 C 4 5 6 7 8 9 10 11 12 13 14 A B C D
Clock / Calender Instructions Instruction V:Data Reg. V:Bit Reg. V:Data Reg. V:Bit Reg.
DATE TIME
DL06 Execute
Not Execute
24.0 µs
1.2 µs
50.8 µs
1.2 µs
MODBUS Instructions Clock / Calender Instructions Instruction Input, Input Register Coil, Holding Register Input, Input Register Coil, Holding Register
MRX MWX
DL06 Execute
Not Execute
120.2 µs
1.3 µs
21.3 µs
1.3 µs
ASCII Instructions
C–24
ASCII Instructions Instruction AIN AFIND AEX CMPV SWAPB VPRINT PRINTV ACRB
DL06
Legal Data Types
Execute
Not Execute
V V V V V Text Data V V
13.9 µs 111.5 µs 111.7 µs 12.2 µs 109.8 µs 161.6 µs 163.3 µs 3.9 µs
12.0 µs 1.3 µs 1.3 µs 1.3 µs 1.3 µs 1.3 µs 1.3 µs 1.1 µs
DL06 Micro PLC User Manual, 3rd Edition Rev. A
Page 245
>PENDIX SPECIAL RELAYS
In This Appendix... DLO6 PLC Special Relays .......... 0... eee eee eee eee D-2
Page 246
Appendix D: Special Relays
1 2 3 D 5 6 7 8 9 10 11 12 13 14 A B C D
DL06 PLC Special Relays “Special Relays” are just contacts that are set by the CPU operating system to indicate a particular system event has occurred. These contacts are available for use in your ladder program. Knowing just the right special relay contact to use for a particular situation can save a lot of programming time. Since the CPU operating system sets and clears special relay contacts, the ladder program only has to use them as inputs in ladder logic.
Startup and Real-Time Relays SP0
First scan
On for the first scan after a power cycle or program to run transition only. The relay is reset to off on the second scan. It is useful where a function needs to be performed only on program startup.
SP1 SP2 SP3 SP4 SP5 SP6 SP7
Always ON
Provides a contact to insure an instruction is executed every scan.
Always OFF
Provides a contact that is always off
1 minute clock
On for 30 seconds and off for 30 seconds.
1 second clock
On for 0.5 second and off for 0.5 second.
100 ms clock
On for 50 ms. and off for 50 ms.
50 ms clock
On for 25 ms. and off for 25 ms.
Alternate scan
On every other scan.
CPU Status Relays SP11 SP12 SP13 SP15 SP16 SP17 SP20 SP22
D–2
Forced run mode
On when the mode switch is in the run position and the CPU is running.
Terminal run mode
On when the mode switch is in the TERM position and the CPU is in the run mode.
Test run mode
On when the CPU is in the test run mode.
Test stop mode
On when the CPU is in the test stop mode.
Terminal PGM mode
On when the mode switch is in the TERM position and the CPU is in program mode.
Forced stop
On when the mode switch is in the STOP position.
Forced stop mode
On when the STOP instruction is executed.
Interrupt enabled
On when interrupts have been enabled using the ENI instruction.
DL06 Micro PLC User Manual, 3rd Edition Rev. A
Page 247
Appendix D: Special Relays
System Monitoring SP36 SP37 SP40 SP41 SP42 SP43 SP44 SP45 SP46 SP50 SP51
Override setup relay
On when the override function is used.
Scan controller
On when the actual scan time runs over the prescribed scan time.
Critical error
On when a critical error such as I/O communication loss has occurred.
Warning
On when a non critical error has occurred.
Diagnostics error
On when a diagnostics error or a system error occurs.
Low battery error
On when the CPU battery voltage is low.
Program memory error
On when a memory error such as a memory parity error has occurred.
I/O error
On when an I/O error such as a blown fuse occurs.
Communications error
On when a communication error occurs on any of the CPU ports.
Fault instruction
On when a Fault Instruction is executed.
Watch Dog timeout
On if the CPU Watch Dog timer times out.
SP52
Grammatical error
On if a grammatical error has occurred either while the CPU is running or if the syntax check is run. V7755 will hold the exact error code.
SP53 SP54
Solve logic error
On if CPU cannot solve the logic.
Communication error
On when RX, WX, instructions are executed with the wrong parameters.
SP56
Table instruction overrun
On if a table instruction with a pointer is executed and the pointer value is outside the table boundary.
Accumulator Status SP60 SP61 SP62 SP63 SP64 SP65 SP66 SP67 SP70 SP71 SP72
Value less than
On when the accumulator value is less than the instruction value.
Value equal to
On when the accumulator value is equal to the instruction value.
Greater than
On when the accumulator value is greater than the instruction value.
Zero
On when the result of the instruction is zero (in the accumulator).
Half borrow
On when the 16 bit subtraction instruction results in a borrow.
Borrow
On when the 32 bit subtraction instruction results in a borrow.
Half carry
On when the 16 bit addition instruction results in a carry.
Carry
On when the 32 bit addition instruction results in a carry.
Sign
On anytime the value in the accumulator is negative.
Pointer reference error
On when the V-memory specified by a pointer (P) is not valid.
Floating point number
On anytime the value in the accumulator is a valid floating point number.
SP73
Overflow
On if overflow occurs in the accumulator when a signed addition or subtraction results in an incorrect sign bit.
SP74 SP75 SP76
Underflow
On anytime a floating point math operation results in an underflow error.
Data error
On if a BCD number is expected and a non–BCD number is encountered.
Load zero
On when any instruction loads a value of zero into the accumulator.
DL06 Micro PLC User Manual, 3rd Edition Rev. A
D–3
1 2 3 D 5 6 7 8 9 10 11 12 13 14 A B C D
Page 248
Appendix D: Special Relays
HSIO Input Status
1 2 3 D 5 6 7 8 9 10 11 12 13 14 A B C D
SP100 SP101
X0 status
On when X0 is on
X1 status
On when X1 is on
HSIO Pulse Output Relay SP104
Profile Complete
On when the pulse output profile is completed. (Mode 30)
Communication Monitoring Relay SP116
CPU port busy Port 2
On when port 2 is the master and sending data.
SP117
Communications error Port 2
On when port 2 is the master and has a communication error.
Option Slot Communication Monitoring Relay SP120 SP121 SP122 SP123 SP124 SP125 SP126 SP127
Slot 1 busy
H0-ECOM/D0-DCM Port2
Slot 1 error
H0-ECOM/D0-DCM Port2
Slot 2 busy
H0-ECOM/D0-DCM Port2
Slot 2 error
H0-ECOM/D0-DCM Port2
Slot 3 busy
H0-ECOM/D0-DCM Port2
Slot 3 error
H0-ECOM/D0-DCM Port2
Slot 4 busy
H0-ECOM/D0-DCM Port2
Slot 4 error
H0-ECOM/D0-DCM Port2
Option Slot Special Relay SP140-237 SP240-337 SP340-437 SP430-537
D–4
Slot 1
SP relay for option card
Slot 2
SP relay for option card
Slot 3
SP relay for option card
Slot 4
SP relay for option card
DL06 Micro PLC User Manual, 3rd Edition Rev. A
Page 249
Appendix D: Special Relays
Counter 1 Mode 10 Equal Relays SP540 SP541 SP542 SP543 SP544 SP545 SP546 SP547 SP550 SP551 SP552 SP553 SP554 SP555 SP556 SP557 SP560 SP561 SP562 SP563 SP564 SP565 SP566 SP567
Current = target value
On when the counter current value equals the value in V3631/3630
Current = target value
On when the counter current value equals the value in V3633/3632
Current = target value
On when the counter current value equals the value in V3635/3634
Current = target value
On when the counter current value equals the value in V3637/3636
Current = target value
On when the counter current value equals the value in V3641/3640
Current = target value
On when the counter current value equals the value in V3643/3642
Current = target value
On when the counter current value equals the value in V3645/3644
Current = target value
On when the counter current value equals the value in V3647/3646
Current = target value
On when the counter current value equals the value in V3651/3650
Current = target value
On when the counter current value equals the value in V3653/3652
Current = target value
On when the counter current value equals the value in V3655/3654
Current = target value
On when the counter current value equals the value in V3657/3656
Current = target value
On when the counter current value equals the value in V3661/3660
Current = target value
On when the counter current value equals the value in V3663/3662
Current = target value
On when the counter current value equals the value in V3665/3664
Current = target value
On when the counter current value equals the value in V3667/3666
Current = target value
On when the counter current value equals the value in V3671/3670
Current = target value
On when the counter current value equals the value in V3673/3672
Current = target value
On when the counter current value equals the value in V3675/3674
Current = target value
On when the counter current value equals the value in V3677/3676
Current = target value
On when the counter current value equals the value in V3771/3770
Current = target value
On when the counter current value equals the value in V3703/3702
Current = target value
On when the counter current value equals the value in V3705/3704
Current = target value
On when the counter current value equals the value in V3707/3706
DL06 Micro PLC User Manual, 3rd Edition Rev. A
1 2 3 D 5 6 7 8 9 10 11 12 13 14 A B C D D–5