• 목록
  • 아래로
  • 위로
  • 0
  • 라면땅
  • 조회 수 1559

Sequence CPU 설명서 명령편


F3SP05-0P  Sequence CPU Module

F3SP08-0P/SP  Sequence CPU Module

F3SP21-0N  Sequence CPU Module

F3SP25-2N  Sequence CPU Module

F3SP35-5N  Sequence CPU Module

F3SP28-3N/3S/0S  Sequence CPU Module

F3SP38-6N/6S  Sequence CPU Module

F3SP53-4H/4S  Sequence CPU Module

F3SP58-6H/6S  Sequence CPU Module

F3SP59-7S  Sequence CPU Module





1.  명령어의 설명................................ ................................ ................................ ...... 1-1

1.1  명령과Program 용량................................................................................... 1-1

1.2  Bit 처리....................................................................................................... 1-1

1.3  Word 처리(16 Bit) ....................................................................................... 1-2

1.4  Long Word 처리(32 Bit) .............................................................................. 1-4

1.5  부동 소수점 처리 ......................................................................................... 1-6

1.6  문자열  처리 ................................................................................................. 1-8

1.7  응용 명령  고속  처리..................................................................................... 1-9

1.7.1  F3SP05, F3SP08, F3SP21, F3SP25, F3SP35 의 경우 .......................... 1- 9

1.7.2  F3SP28, F3SP38, F3SP53, F3SP58, F3SP59 의 경우 ........................ 1-11

1.8  Address  조작 처리 .................................................................................... 1-13

1.8.1   Index  수식  처리.................................................................................................... 1- 13

1.8.2   간접 지정 ................................................................................................................ 1- 17

1.9  미분형  명령 ............................................................................................... 1-19

1.10   ON 중 실행형  명령과 입력 미분형  명령....................................................... 1-22

1.11   고속READ/WRITE 명령(HRD/HWR) .......................................................... 1-23

1.12   수치의  취급 ............................................................................................... 1-24

1.13   Error 처리 ................................................................................................. 1-25

1.14   BIN BCD 자동변환 처리................................ ................................ ............ 1-26

1.15  명령Parame ter 에 사용 가능한Device 의  제한 ................................ ......... 1-28

2.  기본 명령................................ ................................ ................................ .............. 2-1

2.1  기본 명령 .................................................................................................... 2-1

2.2  LOAD, LOAD NOT(LD, LDN) ....................................................................... 2-4

2.3  AND, AND NOT(AND, ANDN) ...................................................................... 2-5

2.4  OR, OR NOT(OR, ORN) .............................................................................. 2-6

2.5  상승 미분LOAD, 하강 미분LOAD(LDU, LDD) ............................................. 2-7

2.6  AND LOAD, OR LOAD(ANDLD, ORLD) ...................................................... 2-11

2.7  OUT(OUT) ................................................................................................ 2-14



2.8  OUT NOT(OUTN) ...................................................................................... 2-16

2.9  PUSH, STACK READ, POP(PUSH, STCRD, POP)...................................... 2-18

2.10   INVERTER(INV) ......................................................................................... 2-21

2.11   상승미분연산, 하강미분연산(UP, DWN) ..................................................... 2-24

2.12   Device 지정 첨부 상승미분연산,

Device 지정 첨부 하강미분연산(UPX, DWNX) ............................................ 2-28

2.13   SET, RESET(SET, RST)............................................................................. 2-33

2.14   TIMER(TIM) ............................................................................................... 2-36

2.15   COUNTER(CNT)........................................................................................ 2-41

2.16   상승 미분, 하강 미분(DIFU, DIFD) ............................................................. 2-47

2.17   Flip-Flop(FF) ............................................................................................ 2-49

2.18   INTERLOCK, INTERLOCK CLEAR(IL, ILC) ................................................. 2-51

2.19   Bit 지정LOAD(LDW) ................................................................................. 2-54

2.20   Bit 지정OUT(OUTW) ................................................................................ 2-57

2.21   Bit 지정SET(SETW) .................................................................................. 2-59

2.22   Bit 지정RESET(RSTW) ............................................................................. 2-61

2.23   END(END) ................................................................................................ 2-63

2.24   NOP(NOP) ................................................................................................ 2-64

3.  응용 명령................................ ................................ ................................ .............. 3-1

3.1  응용 명령 .................................................................................................... 3-1

3.2  비교 명령 .................................................................................................... 3-5

3.2.1  비교, Long Word 비교(CMP, CMP L) ........................................................... 3- 5

3.2.2  부동 소수점 비교(FCMP L) ................................................................................ 3- 7

3.2.3  TABLE 간 비교, Long Word TABLE 간  비교

(BCMP, BCMP L) .................................................................................................. 3- 9

3.2.4  부동 소수점TABLE 간 비교(FBCP L) .......................................................... 3- 12

3.2.5  TABLE  일치 검색, Long Word TABLE 일치  검색

(TSRCH,TSRCH L) ............................................................................................ 3- 15

3.3  산술 연산  명령 .......................................................................................... 3-17

3.3.1  가산, Long Word 가산(CAL, CAL L) ............................................................ 3- 17

3.3.2  부동 소수점 가산(FCAL L) ............................................................................... 3- 20

3.3.3  감산, Long Word 감산(CAL, CAL L) ............................................................ 3- 22

3.3.4  부동 소수점 감산(FCAL L) ............................................................................... 3- 25

3.3.5  승산, Long Word 승산(CAL, CAL L) ............................................................ 3- 27

3.3.6  부동 소수점 승산(FCAL L) ............................................................................... 3- 30

3.3.7  제산, Long W ord 제산(CAL, CAL L) ............................................................ 3- 32

3.3.8  부동 소수점 제산(FCAL L) ............................................................................... 3- 35

3.3.9  Increment, Long Word Increment, Decrement,

Long Word Decrement(INC, INC L, DEC, DEC L) ................................ 3- 38

3.3.10   평방근, Long Word  평방근(SQR, SQR L) ................................................. 3- 40

3.3.11  부동 소수점 평방근(FSQR L) .......................................................................... 3- 42

3.3.12   SIN(Sine), SIN -1(역 Sine)(FSIN L, FASIN L) ......................................... 3- 44

3.3.13   COS(Cosine), COS -1(역 Cosine)(FCOS L, FACOS L) ..................... 3- 47

3.3.14   TAN(Tangent), TAN -1( 역 Tangent)(FTAN L, FATAN L) ................... 3- 50

3.3.15   LOG(자연대수)(FLOG L) .................................................................................. 3- 53



3.3.16   EXP(지수  연산)(FEXP L) .................................................................................. 3- 55

3.4  논리 연산  명령 .......................................................................................... 3-57

3.4.1  논리적, Long Word  논리적(CAL, CAL L) ................................................... 3- 57

3.4.2  논리합, Long Word  논리합(CAL, CAL L) ................................................... 3- 60

3.4.3  배타적  논리합, Long Word 배타적  논리합(CAL, CAL L) ..................... 3- 63

3.4.4  배타적  논리합 부정, Long Word 배타적  논리합 부정

(CAL, CAL L) ......................................................................................................... 3- 66

3.4.5  2 의 보수, Long Word 2 의 보수(NEG, NEG L) ....................................... 3- 69

3.4.6  반전, Long Word 반전(NOT, NOT L) .......................................................... 3- 71

3.5  회전 명령 .................................................................................................. 3-73

3.5.1  회전, Long Word 회전(RROT, RROT L, LROT, LROT L) .................... 3- 73

3.5.2  Carry 첨부 회전, Long Word Carry  첨부 회전

(RROTC, RROTC L, LROTC, LROTC L) ................................ ... 3-76

3.6  Shift  명령 .................................................................................................. 3-79

3.6.1  Shift, Long Word Shift(RSFT, RSFT L, LSFT, LSFT L) ......................... 3- 79

3.6.2  m Bit 길이Data n Bit Shift(RSFTN, LS FTN) ............................................ 3- 82

3.6.3  좌우Shift Register(SFTR) ............................................................................... 3- 84

3.7  Data 전송  명령 .......................................................................................... 3-86

3.7.1  전송, Long Word 전송(MOV, MOV L) ......................................................... 3- 86

3.7.2  부분 전송(PMOV)................................................................................................. 3- 89

3.7.3  Block 전송(BMOV) .............................................................................................. 3- 91

3.7.4  동일Data 전송(BSET) ....................................................................................... 3- 93

3.7.5  Word Shift(RWS, LWS)..................................................................................... 3- 95

3.7.6  Index  첨부  전송(IXMOV, IXMOV L) .............................................................. 3- 97

3.7.7   Data 의 교환, Long Word Data 의 교환(XCHG, XCHG L) .................... 3- 100

3.7.8  부정 전송, Long Word  부정  전송(NMOV, NMOV L) ............................ 3- 102

3.7.9  확장 부분  전송(PMOVX) ................................................................................. 3- 104

3.7.10   Bit 전송(BITM) .................................................................................................... 3- 106

3.7.11  Digit 전송(DGTM) .............................................................................................. 3- 108

3.8  Data 처리 명령.......................................................................................3-110

3.8.1  FIFO  명령(FIFRD, FIFWR) ............................................................................. 3-110

3.8.2  BIN 변환, Long Word BIN 변환(BIN, BIN L) .......................................... 3-114

3.8.3  BCD 변환, Long Word BCD  변환(BCD, BCD L) .................................. 3-117

3.8.4  부동 소수점→BCD 변환(FBCD L) .............................................................. 3- 120

3.8.5  BCD→부동 소수점  변환(BCDF L) .............................................................. 3- 122

3.8.6  정수→부동 소수점 변환, Long Word 정수→부동 소수점  변환

(ITOF, ITOF L) .................................................................................................... 3- 124

3.8.7  부동 소수점→정수 변환,  부동  소수점→Long Word 정수  변환

(FTOI, FTOI L) .................................................................................................... 3- 126

3.8.8  7 segment Decoder (SEG)........................................................................... 3- 128

3.8.9  ASCII Code 변환(ASC) ................................................................................... 3- 130

3.8.10   Bit SET, Long Word Bit SET, Bit RESET,

Long Word Bit RESET(BITS, BITS L, BITR, BITR L) ............................ 3- 132

3.8.11  Carry 의SET, Carry 의RESET(CSET, CRST)........................................ 3- 135

3.8.12   Data 분배, Long Word Data 분배(DIST, DIST L) ................................. 3- 136

3.8.13   Data 추출, Long Word Data  추출(UNIT, UNIT L) ................................ 3- 138

3.8.14  8↔256 Bit  Decoder(DECO, ENCO)  ............................................................  3-  140


3.8.15   Bit COUNTER, Long Word Bit COUNTER

(BCNT, BCNT L) ................................................................................................ 3- 144

3.8.16   꺾인 선 근사, Long Word 꺾인 선 근사(APR, APR L) ......................... 3- 146

3.8. 17  부동 소수점 꺾인 선  근사(FAPR L) ............................................................. 3- 149

3.8.18   도→Radian 변환(FRAD L) ............................................................................. 3- 152

3.8.19   Radian→도변환(FDEG L) .............................................................................. 3- 154

3.8.20   부호 확장(SIGN L) ............................................................................................. 3- 156

3.9  Direct Refresh 명령(DREF) ..................................................................... 3-157

3.10   Program 제어 명령 .................................................................................. 3-159

3.10.1   JAMP(JMP) .......................................................................................................... 3- 159

3.10.2   Subroutine Call, Subroutine Enter, Subrout ine Return

(CALL, SUB, RET) ............................................................................................ 3- 161

3.10.3   Interrupt  처리Enter, Interrupt  처리Return(INTP, IRET) ................... 3- 167

3.10.4   입력Interrupt  금지, 입력Interrupt  금지  해제(DI, EI) .......................... 3- 171

3.10.5   Block 기동, Block  정지(ACT, INACT) ....................................................... 3- 172

3.10. 6  반복 선두, 반복 종료(FOR, NEXT).............................................................. 3- 174

3.10.7   반복 강제  종료(BRK) ........................................................................................ 3- 177

3.10.8   Sensor Control Block  기동,

Sensor Control Block  정지(CBACT, CBINA) ......................................... 3- 179

3.10.9   Sensor Control Block  실행  금지,

Sensor Control Block 실행 금지 해제(CBD, CBE) ................. 3-181

3.11   특수Module 용명령................................................................................. 3-183

3.11.1  Read, Long Word Read, Write, Long Word Write

(READ, READ L, WRITE, WRITE L) ........................................................... 3- 183

3.11.2  고속Read, Long Word 고속Read, 고속Write,

Long Word 고속Write(HRD, HRD L, HWR, HWR L) ......................... 3- 187

3.12   문자열  처리 ............................................................................................. 3-190

3.12.1   문자열→수치  변환, 문자열→Long Word 수치 변환

(VAL, VAL L) ........................................................................................................ 3- 190

3.12.2   수치→문자열  변환, Long Word 수치→문자열 변환

(STR, STR L)....................................................................................................... 3- 193

3.12.3   문자열  연결(SCHN) .......................................................................................... 3- 195

3.12.4   문자열  전송(SMOV L) ...................................................................................... 3- 197

3.12.5   문자열장Count(SLEN) .................................................................................... 3- 199

3.12.6   문자열  비교(SCMP) .......................................................................................... 3- 201

3.12.7   문자열  잘라내어  추출 (SMID) ....................................................................... 3- 203

3.12.8   문자열  좌단 잘라내어  추출, 문자열  우단 잘라내어  추출 

(SLFT, SRIT) ....................................................................................................... 3- 205

3.12.9   문자열  검색(SIST) ............................................................................................. 3- 208

3.13   구조체와MACRO 명령 ............................................................................ 3-210

3.13. 1  구조체 Pointer 선언(STRCT) ........................................................................ 3- 210

3.13. 2  구조체  전송(STMOV)........................................................................................ 3- 212

3.13. 3  구조체MACRO 명령Call(SCALL) .............................................................. 3- 214

3.13.4   MACRO 명령Call, Parameter 명령, MACRO  명령Return

(MCALL, PARA, MRET) .................................................................................. 3- 217

3.13.5   입력MACRO 명령Call, 입력MACRO 출력

(NCALL, NMOUT) ............................................................................................. 3- 222


3.14   간접 지정  명령 ........................................................................................ 3-225

3.14. 1  간접Address SET(SET@) ............................................................................. 3- 225

3.14. 2  간접Address  가산(ADD@) ........................................................................... 3- 227

3.14. 3  간접Address  전송(MOV@) ........................................................................... 3- 229

3.15   그 외의 명령............................................................................................ 3-231

3.15.1   Watch dog timer Refresh(WDT)................................................................. 3- 231

3.15.2   Read Free Run Timer(FTIMR) ..................................................................... 3- 232

3.15.3   BASIC 의Interrupt(SIG) ................................................................................. 3- 234

3.15.4   표시 명령(DISP)................................................................................................. 3- 235

3.15.5   Sampling Trace(TRC) ..................................................................................... 3- 239

3.15.6   User Log 격납, User Log Read, User Log Clear

(ULOG, ULOGR, UCLR) ................................................................................. 3- 240

3.15. 7  일자 설정, 시각 설정(DATE, TIME) ............................................................ 3- 243

3.15. 8  문자열  일자 설정, 문자열 시각 설정(SDATE, STIME) ......................... 3- 247




Sequence CPU 설명서 명령편.pdf

공유

facebooktwitterpinterestbandkakao story
퍼머링크

첨부 1

  1. Sequence CPU 설명서 명령편.pdf
    (File Size: 16.41MB/Download: 20)

댓글 0