The text of a manual · part 20 of 44
Programmable Controller TOYOPUC PC3JG-P-CPU TIC-6088 / PC3JG-CPU TIC-6125 Operation Manual: 7. SPECIFICATIONS, pages 160 to 169
Pages 160 to 169 of 387, from Programmable Controller TOYOPUC PC3JG-P-CPU TIC-6088 / PC3JG-CPU TIC-6125 Operation Manual
The original document is the PDF (16 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 Toyopuc OUT-15 and Toyopuc OUT-18
Page 160
Address S140
Name
Description
~
S-N input data link area
S14F S150 ~
S-N output data link area
S15F S200 ~
Error information
See 5-4 "Special register for error information output."
Annunciator information
See Programming Manual.
CPU Version
CPU Version is stored.
S24F S250 ~ S2CF S2D1 S300
Prg1-Link1
~
~
S3FF
Prg1-Link8
Communication (link) module status information
See the individual instruction manual for each communication(link) module.
7-41
Page 161
(2-2)Data memory single mode, extended area Address ES000
Name Prg2-Link1
~
~
ES0FF
Prg2-Link8
ES100
Prg3-Link1
~
~
ES1FF
Prg3-Link8
Communication (link) module status information Communication (link) module status information
Description
See the individual instruction communication (link) module. (Corresponding to S300 - S3FF).
manual for each
See the individual instruction communication (link) module. (Corresponding to S300 - S3FF).
manual for each
7-42
Page 162
(3)
PC2 Compatible Mode
Address
Name
Description
S000 S001 S002 S003
Initial scan time SCAN TIME max value SCAN TIME min value SCAN TIME Present value
S004
Time (sec)
S005
Time (minutes)
S006
Time (Hours)
S007
Time (day)
S008
Time (Month)
S009
Time (year)
S00A
Day of week
Initial sequence program execution time (ms) Binary Maximum scan time in sequence program (ms) Binary Minimum scan time in sequence program (ms) Binary Updated scan time in sequence program (ms) Binary Present time of the built-in clock is stored. For data display, 1 digit is displayed by 1Byte in BCD code. (Ex. "0102" represents "12".) Year data is displayed with lower two digits of AD year. "day of week" data is represented by 0 ~ 6, which correspond to Sun. ~ Sat. BCD Note) Even if the register is rewritten directly, t i m e (1 digit/byte) change is impossible.Please perform a setup of time from <Setup data/time> of Pcwin or use an exclusive use of an application instruction. (Please refer to "309 SYS Clock adjustment instruction(FUN300) PC3J series since version 2.6" in "PROGRAMMING MANUAL" about an application instruction. ) Binary, ower Cumulative value of CPU module make (current feed) time (h) Binary, pper Binary, ower Cumulative value of sequence program run time (h) Binary, pper Maximum end processing time in sequence program (ms) Binary Minimum end processing time in sequence program (ms) Binary Updated end processing time in sequence program (ms) Binary Present time of the built-in clock is stored. BCD For data display, 2 digits are represented by 1Byte in BCD (2 digit/byte) code. (Ex. "1234" represents "12 (min).34(sec).) This timer works by 1 ms as 0 seconds when the power supply is turned on. Note) This special register can be Binary used 3JG series/3J series since Ver3.3. This timer works by 10 ms as 0 seconds when the power supply is turned on. Note) This special register can be Binary used 3JG series/3J series since Ver3.3. This timer works by 100 ms as 0 seconds when the power Binary supply is turned on. Note) This special register can be used 3JG series/3J series since Ver3.3.
S00C S00D S00E S00F S010 S011 S012 S019 S01A S01B
End processing time max value End processing time Min value End processing time Present value Time (Minute·sec) Time (Day·Hour) Time (Year·month)
S022
1 ms timer
S023
10 ms timer
S024
100 ms timer
S0A8 ~ S0AF S0E0 S0E1 S0E2 S0E3 S0E4 S0E5 S0E6 S0E7 S0E8 S0E9 S0EA S0EB S0EC S0ED S0EE S0EF S0F0 S0F1 S0F2 S0F3 S0F4 S0F5 S0F6 S0F7 S0F8 S0F9 S0FA S0FB S0FC S0FD S0FE S0FF
Integrated make time Integrated run time
Link module corde
See 9-7 "Special register".
Changed portion Time (Minute·sec) Program change Time (Day·Hour) history 1 Time (Year·month) Changed portion Program Time (Minute·sec) change history 2 Time (Day·Hour) Time (Year·month) Changed portion Program Time (Minute·sec) change history 3 Time (Day·Hour) Time (Year·month) Changed portion Program Time (Minute·sec) change history 4 Time (Day·Hour) Time (Year·month) Changed portion Program Time (Minute·sec) change history 5 Time (Day·Hour) Time (Year·month) Changed portion Program Time (Minute·sec) change history 6 Time (Day·Hour) Time (Year·month) Changed portion Program Time (Minute·sec) change history 7 Time (Day·Hour) Time (Year·month) Changed portion Program Time (Minute·sec) change history 8 Time (Day·Hour) Time (Year·month)
Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Present time of the built-in clock is stored. For data display, 2 digits are represented by 1Byte in BCD code. (Ex. "1234" represents "12 (min).34(sec).) Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Present time of the built-in clock is stored. For data display, 2 digits are represented by 1Byte in BCD code. (Ex. "1234" represents "12 (min).34(sec).) Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Present time of the built-in clock is stored. For data display, 2 digits are represented by 1Byte in BCD code. (Ex. "1234" represents "12 (min).34(sec).) Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Present time of the built-in clock is stored. For data display, 2 digits are represented by 1Byte in BCD code. (Ex. "1234" represents "12 (min).34(sec).) Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Present time of the built-in clock is stored. For data display, 2 digits are represented by 1Byte in BCD code. (Ex. "1234" represents "12 (min).34(sec).) Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Present time of the built-in clock is stored. For data display, 2 digits are represented by 1Byte in BCD code. (Ex. "1234" represents "12 (min).34(sec).) Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Present time of the built-in clock is stored. For data display, 2 digits are represented by 1Byte in BCD code. (Ex. "1234" represents "12 (min).34(sec).) Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Present time of the built-in clock is stored. For data display, 2 digits are represented by 1Byte in BCD code. (Ex. "1234" represents "12 (min).34(sec).)
7-43
Bit BCD (2 digit/byte) Bit BCD (2 digit/byte) Bit BCD (2 digit/byte) Bit BCD (2 digit/byte) Bit BCD (2 digit/byte) Bit BCD (2 digit/byte) Bit BCD (2 digit/byte) Bit BCD (2 digit/byte)
Page 163
Address S200
Name
Description
~
Error information
See 5-4 "Special register for error information output".
Annunciator information
See Programming Manual.
CPU Version
CPU Version is stored.
S24F S250 ~ S2CF S2D1 S300
~
~ S3FF
Prg1-Link1 Prg1-Link8
Communication (link) module status information
See the individual instruction manual for each communication(link) module.
7-44
Page 164
7.2.7 Command words
The command words used in PC3J are compatible with those in PC2 Series.
Sequence programs created in PC2 Series can be executed as are in PC3J. As the command words available in PC3J, exclusive commands 7 different timer and counter extended commands and other 56 applied commands are added to the PC3J, in addition to the common command words from PC2 Series. (1) Basic commands No.
Symbol
Language
Step number
Function
Processing time µs
1(2)
Computing start (a-contact)
0.08~0.28
1(2)
Computing start (b-contact)
0.08~0.28
1(2)
Series connection (a-contact)
0.08~0.28
1(2)
Series connection (b-contact)
0.08~0.28
1
STR
2
STR
3
AND
4
AND
5
OR
6
OR
NOT
1(2)
7
AND
STR
1
Logic interblock series connection
0.08
8
OR
STR
1
Logic interblock parallel connection
0.08
9
OUT
1(2)
Coil output
0.12~0.4
10
SET
1(2)
Keep-relay setting
0.32~0.4
11
RST
1(2)
Keep-relay resetting
0.32~0.4
12
PTS
1(2)
Rise differentiation
0.32~0.4
13
NTS
1(2)
Fall differentiation
0.32~0.4
14
FPS
1
Multi-coil branching start
0.08
15
FRD
1
Multi-coil branching
0.08
16
FPP
1
Multi-coil branching end
0.08
17
FST
1
Unconditional output
0.08
18
NOT
1
Condition reversing
0.08
19
NOP
1
Non-processing
0.08
NOT
NOT
1(2)
Parallel connection (a-contact) Parallel connection (b-contact)
0.08~0.28 0.08~0.28
The parenthesized step number is subject to designation of the data in other area or an extended area. 7-45
Page 165
(2)
Timer and counter commands
Classification
Function
Step
Nnemonic number
Direct-designate TMRH d 10ms timer
Indirect-designa TMRH ted 10ms timer
T000
4
Indirect-designa TMR ted 100ms timer
4
TMRH
4
TMR
TMR
K=6553.5
100ms timer of 6553.5 sec at setup value
3.7
S=D0100
100ms timer on which D0101 content is set up (as a setup value)
3.8
10ms integrating timer of 123.45 sec at setup value
3.7
4
Indirect-designa ted 10ms TMRSH integrating timer
4
T005 T TMRSH S=D0102 R
4
T006 T TMRS R
Indirect-designa ted 100ms TMRS integrating timer
4
T007 T TMRS R
Direct-designate CNT d UP counter
4
C008 CK CNT R
4
C009 CK CNT R
4
C00A CK CNTD R
4
C00B CK CNTD R
Indirect-designa CNT ted UP counter Direct-designate d DOWN CNTD counter Indirect-designa ted DOWN CNTD counter Direct-designate d UP-DOWN CNTH counter
Indirect-designa ted UP-DOWN CNTH counter
4
C00C CK CNTH U/D
3.7
3.8
T004 T TMRSH K=123.45 R
UP counter
10ms timer of 655.35 sec at setup value
Processing timeµs
S=D0100
T003
4
Content of computation
10ms timer on which D0100 content is set up (as a setup value)
Direct-designate d 10ms TMRSH integrating timer d 100ms TMRS integrating timer
UP-DOWN counter
K=655.35
T002
Integrating timer Direct-designate
DOWN counter
TMRH T001
Timer Direct-designate TMR d 100ms timer
Symbol (example)
K=1234.5
S=D0103
K=65535
S=D0104
K=12345
S=D0105
K=65535
10ms integrating time on which D0102 content is set up (as a setup value). 100ms integrating timer of 1234.5 sec at setup value 100ms integrating time on which D0103 content is set up (as a setup value). UP-counter of 65535 at a setup value
UP-counter on which D0104 content is set (as a setup value). DOWN-counter of 12345 at setup value
DOWN-counter on which D0105 content is set up (as a setup value) UP-DOWN counter of 65535 at setup value
3.8
3.7
3.8
3.8
3.9
3.6
3.7
3.5
R
4
C00D CK CNTH U/D
S=D0106
UP-DOWN counter on which D0106 content is set up (as a setup value)
3.6
R
U/D : "EITHER UP-COUNT OR DOWN-COUNT" command input UP-count is executed with conditional satisfaction and DOWN -count executed with conditional dissatisfaction
7-46
Page 166
(3)
Exclusive extended timer nd counter commands for PC3J
Classification
Function
Step
Nnemonic number
Symbol (example) ET000
Extended 10ms timer
ETMRH
3
Extended 100ms timer
ETMR
3
ETMRH
S=H0000
Timer
Extended 10ms integrating timer
ET001
Extended UP counter UP-counter
DOWN counter
3
ETMRS
3
ET003 T ETMRS R
ECNT
3
EC004 CK ECNT R
3
EC005 CK ECNTD R
ETMRSH
Extended DOWN-counte ECNTD r
UP-DOWN Extended UP-DOWN counter counter
S=H0001
ET002 T ETMRSH S=H0002 R
Integrating timer Extended
100ms integrating timer
ETMR
ECNTH
3
EC006 CK ECNTH U/D R
S=H0003
S=H0004
S=H0005
S=H0006
Content of computation 10ms timer on which content of extended setup value register H0000 is set as a setup value 100ms timer on which content of extended setup value register H0001 is set as a setup value 10ms integrating timer on which the content of extended setup value register H0002 is set up as a setup value
100ms integrating timer on which the content of extended setup value register H0003 is set up as a setup value UP-counter on which the content of extended setup value register H0004 is set up as a setup value DOWN-counter on which the content of extended setup value register H0005 is set up as a setup value UP-DOWN counter on which the content of extended setup value register H0006 is set up as a setup value
Processing timeµs
5.6
5.6
5.6
5.6
5.7
5.5
5.4
Extended setup value register : Fixed setup value register corresponding to coil address U/D: "EITHER UP COUNT OR DOWN COUNT" command input -- UP count is executed with conditional satisfaction and DOWN count executed with conditional dissatisfaction.
7-47
Page 167
(4) Applied commands The same applied commands as used in PC2J can be used. (4-1) Contact type applied commands No.
Classification
STR AND
Constant Constant
Register
>=
Constant Constant
Register
>
Register
<=
Constant
Register
<
Constant
Register
Comparison ( contact type)
Register
≠
Symbol word
640 576 664 =H Hexa-de 4 digits 648 579 672 W=H cimal 8 digits 656 582 680 D=H 3 digits 641 577 665 =D Decima 5 digits 649 580 673 W=D l 10digits 657 583 681 D=D 8bits 644 587 668 =N 16bits 652 581 676 W=N 32bits 660 584 684 D=N 2 digits 688 585 712 <>H Hexa-de 4 digits 696 588 720 W<>H cimal 8 digits 704 591 728 D<>H 3 digits 689 586 713 <>D Decima 5 digits 697 589 721 W<>D l 10digits 705 592 729 D<>D 8bits 692 587 716 <>N 16bits 700 590 724 W<>N 32bits 708 593 732 D<>N 2 digits 736 594 760 >H Hexa-de 4 digits 744 597 768 W>H cimal 8 digits 752 600 776 D>H 3 digits 737 595 761 >D Decima 5 digits 745 598 769 W>D l 10digits 753 601 777 D>D 8bits 740 596 764 >N 16bits 748 599 772 W>N 32bits 756 602 780 D>N 2 digits 784 603 808 >=H Hexa-de 4 digits 792 606 816 W>=H cimal 8 digits 800 609 824 D>=H 3 digits 785 604 809 >=D Decima 5 digits 793 607 817 W>=D l 10digits 801 610 825 D>=D 8bits 788 605 812 >=N 16bits 796 608 820 W>=N 32bits 804 611 828 D>=N 2 digits 832 612 856 <H Hexa-de 4 digits 840 615 864 W<H cimal 8 digits 848 618 872 D<H 3 digits 833 613 857 <D Decima 5 digits 841 616 865 W<D l 10digits 849 619 873 D<D 8bits 836 614 860 <N 16bits 844 617 868 W<N 32bits 852 620 876 D<N 2 digits 880 621 904 <=H Hexa-de 4 digits 888 624 912 W<=H cimal 8 digits 896 627 920 D<=H 3 digits 881 622 905 <=D Decima 5 digits 889 625 913 W<=D l 10digits 897 628 921 D<=D 8bits 884 623 908 <=N 16bits 892 626 916 W<=N 32bits 900 629 924 D<=N 2 digits
=
Command
OR
Function
=H W=H D=H
S
H
=D W=D D=D
S
K
=N W=N D=N
S1
S2
<>H W<>H D<>H
S
H
<>D W<>D D<>D
S
K
<>N W<>N D<>N
S1
S2
>H W>H D>H
S
H
>D W>D D>D
S
K
>N W>N D>N
S1
S2
>=H W>=H D>=H
S
H
>=D W>=D D>=D
S
K
>=N W>=N D>=N
S1
S2
<H W<H D<H
S
H
<D W<D D<D
S
K
<N W<N D<N
S1
S2
<=H W<=H D<=H
S
H
<=D W<=D D<=D
S
K
<=N W<=N D<=N
S1
S2
S,D: Register H: Hexadecimal constant K: Decimal constant
7-48
The current flows across the contact if S=H, S=K, S1=S2 upon comparison of register to constant or register to register.
The current flows across the contact if S≠H, S≠K, S1≠S2upon comparison of register to constant or register to register.
The current flows across the contact if S>H, S>K, S1>S2 upon comparison of register to constant or register to register.
The current flows across the contact if S>=H, S>=K, S1>=S2 upon comparison of register to constant or register to register.
The current flows across the contact if S<H, S< K, S1<S2 upon comparison of register to constant or register to register.
The current flows across the contact if S<=H, S<=K, S1<=S2 upon comparison of register to constant or register to register.
Execution time (µs)
STR
AND
OR
1.08 1.08 1.08 1.08 1.08 1.08 1.92 2.08 1.92 1.08 1.08 1.08 1.08 1.08 1.08 1.92 2.08 1.92 1.20 1.20 1.20 1.20 1.20 1.20 2.16 2.24 2.16 1.16 1.16 1.16 1.16 1.16 1.16 2.08 2.08 2.08 1.16 1.16 1.16 1.16 1.16 1.16 2.08 2.08 2.08 1.28 1.28 1.28 1.28 1.28 1.28 2.32 2.32 2.32 1.16 1.16 1.16 1.16 1.16 1.16 2.16 2.16 2.16 1.16 1.16 1.16 1.16 1.16 1.16 2.16 2.16 2.16 1.28 1.28 1.28 1.28 1.28 1.28 2.52 2.48 2.48 1.08 1.08 1.08 1.08 1.08 1.08 2.08 2.08 2.08 1.08 1.08 1.08 1.08 1.08 1.08 2.08 2.08 2.08 1.20 1.20 1.20 1.20 1.20 1.20 2.40 2.40 2.40 1.16 1.16 1.16 1.16 1.16 1.16 2.16 2.16 2.16 1.16 1.16 1.16 1.16 1.16 1.16 2.16 2.16 2.16 1.28 1.28 1.28 1.28 1.28 1.28 2.48 2.48 2.48 1.08 1.08 1.08 1.08 1.08 1.08 2.08 2.08 2.08 1.08 1.08 1.08 1.08 1.08 1.08 2.08 2.08 2.08 1.20 1.20 1.20 1.20 1.20 1.20 2.40 2.40 2.40
Page 168
(4-2) Output type applied commands Classification
No.
Block transfer
Transfer
Register to register transfer
2 digits Hexadecimal constant transfer 4 digits 8 digits 3 digits BCD constant 5 digits transfer 10 digits 3 digits Decimal constant transfer 5 digits 10 digits 3 digits Octal constant 6 digits transfer 11 digits 2 digits Hexadecimal constant transfer to two destinations 4 digits 8bits Direct 16bits transfer 32bits 8bits Indirect 16bits transfer (1) 32bits 8bits Indirect 16bits transfer (2) 32bits 8bits Indirect 16bits transfer (3) 32bits Direct transfer (1) Direct transfer (2)
Indirect transfer
Command
100 MOV 101 WMOV 102 DMOV 103 MOVP 1 WMOVP 104 DMOVP 105 MOVR 7 WMOVR 106 DMOVR 107 MOVQ 8 WMOVQ 108 DMOVQ 62 MOVT 110 WMOVT 90 MOVE 0 WMOVE 111 DMOVE 74 MOVF 112 WMOVF 113 DMOVF 75 MOVG 114 WMOVG 115 DMOVG 76 MOVH 116 WMOVH 117 DMOVH
MOV WMOV DMOV MOVP WMOVP DMOVP
H
MOVT WMOT MOVE WMOVE DMOVE MOVF WMOVF DMOVF MOVG WMOVG DMOVG
MOVH WMOVH DMOVH
Hexadecimal constant H (2,4, 8 digits) ...transferred to D.
D time (µs)
0.72 0.72 1.12
H
D
BCD constant H (2, 4, 8 digits)..transferred to D.
0.72 1.12 0.72
K
D
Decimal constant K ( 3, 5, 10 digits) ...transferred to D.
0.72 1.12 0.72
Q
D
Octal constant Q (3, 6, 11 digits) ..transferred to D.
0.72
D2
Hexadecimal constant H (2, 4 digits) ..transferred to D1, D2.
1.04
1.12 H
D1
1.04 0.92
S
S data transferred to D.
D
0.92 1.52
S
S data is transferred to register which of address is D content.
D
S
Data in register which of address is S content is transferred to D.
D
S
D
Data in register which of address is S content is transferred to register which of address is D content.
4.16 4.16 4.76 4.16 4.16 4.76 5.76 5.76 6.36
8bits
70 BMOV1
BMOV1
S
D1
D2
8bits 16bits 8bits
118 BMOV2 119 WBMOV 71 BMV1
BMOV2 WBMOV
S
D
K
Data of the number indicated with K which of head address is S 7.80+0.92n are transferred to the area which of head address is D. 8.04+0.92n
BMV1 WBMV1
S1
D
S2 of head address is D content.
120 WBMV1
8bits Data distribution 16bits 32bits 8bits Block distribution 16bits 8bits Data extract 16bits 32bits 8bits Block extract 16bits 4bits 8bits Data change 16bits 32bits 8bits
5 DIV 122 WDIV 123 DDIV 72 BDIV 126 WBDIV 6 PUP 124 WPUP 125 DPUP 73 BPUP 127 WBPUP 53 SXCH 132 XCH 2 WXCH 133 DXCH 134 BXCH
16bits
135 WBXCH
JIS Code store
Data in the area which of head address is S1 is transferred to the area which 8.88+0.92n The content of S2 is the number of transferred. DIV WDIV DDIV BDIV WBDIV
S1
S1
D
S2
D
S2
S1 data is transferred to address shown with ( address shown with D + offset value shown with S2 content).
8.04+0.92n 4.88 5.20 6.12
Transferred to the area wherein the number of data is S2 content and which 9.72+0.92n of head address is ( S1 address + offset value shown with S1 content).
9.76+0.92n 4.88
PUP WPUP DPUP
S1
S2
D
The content of address shown with (S1 address + offset value shown with content of S1) is transferred to the address shown with D.
BPUP WBPUP
S1
D
S2
Data in the area which of head address is S1 content and wherein the 9.72+0.92n number of data is the content of S2 is transferred to the area which of head 9.76+0.92n address is the offset value shown with (D address + content of D).
SXCH XCH WXCH DXCH
D1
5.20 6.12
1.80 D2
For 4bit change, upper 4bit and lower 4bit of D1 are changed and stored in D2. For 8 and 16bit change, the contents of D1 and D2 are changed.
1.36 1.36 2.64
BXCH WBXCH
D1
D2
K
Data in the areas which of respective head addresses are D1 7.24+1.36n and D2 addresses and which are shown with constant K are 8.48+1.36n changed.
109 JIS
JIS
C1
C2
D
Character addresses C1,C2 (JIS code address) are stored in area of 4byte portion from D address.
Data fill 1
8bits
77 FIL1
FIL1
H
D1
D2
Data fill 2
8bits 16bits
128 FIL2 129 WFIL
FIL2 WFIL
H
S
K
Indirect data fill 1 Indirect data fill 2 Clear check transfer Matched data clear
Execution
0.72
MOVR WMOVR DMOVR MOVQ WMOVQ DMOVQ
Function
Data in the area which of head address is S is 8.46+0.92n transferred to the area from D1 up to D2.
16bits
Block change
Symbol word
4.80
Hexadecimal 2-digit constant H is stored in the area from 5.20+0.64n address shown with D1 up to address shown with D2. H is transferred to an area wherein head address is S 5.44+0.64n and the number of data is K.
5.84+0.62n
The content of S is stored in an area wherein the head address 6.28+0.64n is D1 content and the number of data is the content of D2. 5.80+0.64n The content of S1 is stored in an area wherein the head address
8bits
78 FILI1
FILI1
S
D1
D2
8bits 16bits 8bits 16bits 8bits 16bits
130 FILI2 131 WFILI 20 CMOV 166 WCMOV 21 CLR 167 WCLR
FILI2 WFILI
S1
D
S2
CMOV WCMOV
S
D
K
CLR WCLR
S
D
K
External I/O transfer
283 REF
REF
S
D
K
External input data of Kbyte portion is transferred to an area which of head address is D, from S address.
13.92 +2.16n
External output transfer
284 REFO
REFO
S
D
K
Data of Kbyte portion is transferred to external output which of head address is D , from S address.
12.28 +1.88n is the content of D and the number of data is the content of S2.
If data of K portion commencing from S address and data of K portion commencing from S
7.80+1.76n address match one another, the data of K portion commencing from D is cleared.
8.44+1.76n
S,D : register H:hexadecimal constant K:Decimal constant Q: Octal constant C: Character constant
7-49
6.20+0.64n
Data portion from S address is transferred to the data area from 8.68+1.76n D, if data of K portion from D address are all 0. 8.68+1.76n
Page 169
Search
Logic calculation
Arithmetic calculation
Transfer
Classification 8bits 16bits File 32bits register File transfer Register 8bits 16bits ↓ Register 32bits 8bits Binary 16bits 32bits ADD 2digits BCD 4digits 8digits 8bits Binary 16bits 32bits DEDUCT 2digits BCD 4digits 8digits 8bits Binary 16bits 32bits Multiply 2digits BCD 4digits 8digits 8bits 16bits Binary 16bits DIVIDE 32bits 2digits BCD 4digits 8digits 8bits Binary 16bits 32bits INCREMENT 2digits 4digits BCD 8digits 8bits Binary 16bits 32bits DECREMENT 2digits 4digits BCD 8digits 8bits Logical product 16bits (AND) 32bits 8bits Logical sum 16bits (OR) 32bits 8bits Reverse (NOT) 16bits 32bits Exclusive logical 8bits sum 16bits (XOR) 32bits 8bits Data search 1 16bits Register ↓ File Register
Data search 2
S,D: Register
No.
Command
Symbol word
144 MOVJ 145 WMOVJ 146 DMOVJ 147 MOVK 148 WMOVK 149 DMOVK 168 + 92 W+ 169 D+ 177 +P 10 W+P 178 D+P 170 93 W171 D179 -P 11 W-P 180 D-P 172 * 94 W* 173 D* 181 *P 182 W*P 183 D*P 174 / 95 W/B 175 W/ 176 D/ 184 /P 185 W/P 186 D/P 195 INC 63 WINC 196 DINC 199 INCP 200 WINCP 201 DINCP 197 DEC 64 WDEC 198 DDEC 202 DECP 203 WDEC 204 DDEC 13 AND 187 WAND 188 DAND 14 OR 189 WOR 190 DOR 9 NOT 191 WNOT 192 DNOT 18 XOR 193 WXOR 194 DXOR 88 SRH1 89 WSRH1
8bits 16bits
212 SRH2 213 WSRH2
32bits
214 DSRH
H: Hexadecimal constant
Execution time
Function
(µs)
MOVJ WMOVJ DMOVJ
S
D
The content of S is transferred to File Register D.
MOVK WMOVK DMOVK
S
D
The content of File Register S is transferred to D.
+ W+ D+
S1
S2
D
The respective contents of S1 and S2 are added and the result is stored in D. Data are all handled as binary number.
+P W+P D+P
S1
S2
D
The respective contents of S1 and S2 are added and the result is stored in D. The data are all handled as BCD.
WD-
S1
S2
D
The content of S2 from that of S1 and the result is stored in D. The data are all handled as binary number.
-P W-P D-P
S1
S2
D
The content of S2 is deducted from that of S1 and the result is stored in D. The data are all handled as BCD.
* W* D*
S1
S2
D
The content of S1 is multiplied by the content of S2. The result is stored in D. The data are all handled as binary number.
*P W*P D*P
S1
S2
D
The content of S1 is multiplied by the content of S2. The result is stored in D. The data are all handled as BCD.
/ W/B W/ D/
S1
S2
D
The content of S1 is divided by that of S2. The quotient is stored in D and the remainder stored in D+1. The data are all handled asbinary number.
/P W/P D/P
S1
S2
D
The content of S1 is divided by that of S2. The quotient is stored in D and the remainder stored in D+1. The data are all handled as BCD.
INC WINC DINC
S
D
After +1 to the content of D, it is compared with the content of S1. The data are handled as binary number.
INCP WINCP DINCP
S
D
After +1 to the content of D, it is compared with the content of S1. The data are handled as BCD.
DEC WDEC DDEC
D
-1 is deducted from the content of D. are all handled as binary number.
The data
DECP WDECP DDECP
D
-1 is deducted from the content of D. are all handled as BCD.
The data
4.52 4.52 5.12 0.92 0.92 1.52 2.52 2.52 4.60 7.92 22~25 55~59 3.32 3.32 5.16 8.36 21~23 56~67 1.36 4.72 23.76 14.80 39~50 160~180 16~19 28~30 28~30 76~83 21.32 54~57 150~164 3.56 3.56 5.08 8.16 22~24 55~67 2.96 2.96 4.04 5.12 15~18 40~51 2.52 2.52 4.12 2.52 2.52 4.12 2.64 2.64 4.28 2.84 2.64 3.56 4.48+0.92n
AND WAND DAND
S1
S2
D
Logical product(AND) of S1 content and S2 content is determined. The result is stored in D.
OR WOR DOR
S1
S2
D
Logical sum (OR) of S1 content and S2 content is determined. The result is stored in D.
NOT WNOT DNOT
S
D
The content of S is reversed (to 0 if each bit is 1 and to 1 if it is 0.). The result is stored in D.
XOR WXOR DXOR
S1
S2
D
Exclusive logical sum (XOR) of S1 content and S2 content is determined. The result is stored in D.
SRH1 WSRH1
S1
S2
S3
If a data matching the content of S1 exists between S2 address and S3 address, CARRY FLAG is turned ON and the position data is stored in S1+1.
K
If an data matching S1 content exists in the area of 3.92+1.48n data number designated with K from the address 3.92+1.48n of S2, CARRY FLAG is turned and the position data is stored in S1+1 and the matched data stored 4.20+2.24n in S2 respectively.
SRH2 WSRH2 DSRH
S1
S2
K: Decimal constant
7-50
4.32+0.92n