- 7
- 라면땅
- 조회 수 4837
파나소닉 PLC 명령어 종합 매뉴얼입니다.
FP0, FP-e, FP∑, FP-X, FP2, FP2SH, FP1, FP-M, FP3 또는 FP10SH에서
사용할 수 있는 명령어를 수록하고 메모리 영역의 조작법 등을 수록
시퀀스 기본 명령
ST・ST/・OT Start•Start Not•Out······················································································································1-1
/NOT Not ······················································································································································1-2
AN・AN/·························································································································································1-3
OR・OR/························································································································································1-4
ST↑・ST↓・AN↑・AN↓・OR↑・OR↓ 켜짐 검출··························································································1-5
OT↑・OT↓ 켜짐 검출• 꺼짐 검출 출력······································································································1-6
ALT Alternate 출력········································································································································1-7
ANS And Stack··············································································································································1-8
ORS Or Stack ···············································································································································1-9
PSHS・RDS・POPS Push Stack•Read Stack•Pop Stack ················································································1-10
DF・DF/ 켜짐 미분• 꺼짐 미분···················································································································1-12
DFI 켜짐 미분(초기화 실행형)····················································································································1-15
SET・RST Set•Reset(설정• 재설정)·············································································································1-16
KP Keep ·····················································································································································1-18
NOP NOP···················································································································································1-19
기본 기능 명령
TML On Delay Timer(0.001초 단위 타이머)································································································1-20
TM Timer ····················································································································································1-21
CT Counter(프리셋 감산식)·························································································································1-25
SR 시프트 레지스터···································································································································1-29
제어 명령
MC 마스터 컨트롤 릴레이• 마스터 컨트롤 릴레이 종료············································································1-31
JP 점프• 라벨············································································································································1-33
LOOP・LBL 루프• 라벨·······························································································································1-35
BRK 브레이크 포인트································································································································1-37
ED 종료(END) ············································································································································1-38
CNED 조건부 종료·····································································································································1-39
EJECT Eject ···············································································································································1-40
스텝 래더 명령
SSTP・NSTL(NSTP)・CSTP・STPE 스타트 스텝• 넥스트 스텝• 초기화 스텝• 스텝 종료···························1-41
SCLR 블록 초기화·····································································································································1-48
서브루틴 명령
CALL・SUB・RET 서브루틴 콜• 서브루틴 엔트리• 서브루틴 리턴······························································1-49
FCAL 출력OFF형 서브루틴 콜················································································································1-51
목차(기본·명령어 일람)
iii
인터럽트 명령
INT・IRET 인터럽트• 인터럽트 리턴FP0/FP-e/FPΣ/FP-X/FP1/FP-M의 경우···········································1-52
INT・IRET 인터럽트• 인터럽트 리턴FP2/FP2SH/FP3/FP10SH의 경우·····················································1-56
ICTL 인터럽트 제어FP0/FP-e/FPΣ/FP-X/FP1/FP-M의 경우··································································1-59
ICTL 인터럽트 제어FP2/FP2SH/FP3/FP10SH의 경우··············································································1-63
특수 설정 명령
SYS1 통신 조건 설정································································································································1-67
SYS1 패스워드 설정··································································································································1-69
SYS1 인터럽트 설정··································································································································1-70
SYS1 PC(PLC) 링크 시간 설정··················································································································1-71
SYS1 MEWTOCOL• COM 응답 제어·········································································································1-73
SYS1 고속 카운터 동작 모드 변경············································································································1-75
SYS2 시스템 레지스터(No.40∼No.47, No.50∼No.57) 변경·······································································1-76
데이터 비교 명령
ST=• ST<> • ST>• ST>= • ST<• ST<= 16비트 데이터 비교(Start) ························································1-77
STD=• STD<>• STD>• STD>=• STD<• STD<= 32비트 데이터 비교(Start)·············································1-78
STF=• STF<>• STF>• STF>=• STF<• STF<= 부동 소수점형 실수 데이터 비교(Start) ···························1-79
AN=• AN<>• AN>• AN>=• AN<• AN<= 16비트 데이터 비교(And) ··························································1-80
AND=• AND<>• AND>• AND>=• AND<• AND<= 32비트 데이터 비교(And) ···········································1-81
ANF=• ANF<>• ANF>• ANF>=• ANF<• ANF<= 부동 소수점형 실수 데이터 비교(And)··························1-82
OR=• OR<>• OR>• OR>=• OR<• OR<= 16비트 데이터 비교(Or) ··························································1-83
ORD=• ORD<>• ORD>• ORD>=• ORD<• ORD<= 32비트 데이터 비교(Or) ···········································1-84
ORF=• ORF<>• ORF>• ORF>=• ORF<• ORF<= 부동 소수점형 실수 데이터 비교(Or)··························1-85
iv
데이터 전송 명령
F0(MV)• P0(PMV)※16비트 데이터 전송···································································································2-1
F1(DMV)• P1(PDMV)※32비트 데이터 전송······························································································2-2
F2(MV/)• P2(PMV/)※16비트 데이터 반전 전송·························································································2-3
F3(DMV/)• P3(PDMV/)※32비트 데이터 반전 전송····················································································2-4
F4(GETS)• P4(PGETS)※ 지정된 슬롯의 선두 워드 번호 읽기··································································2-5
F5(BTM)• P5(PBTM)※ 비트 데이터 전송····································································································2-6
F6(DGT)• P6(PDGT)※ 디지트 데이터 전송································································································2-8
F7(MV2)• P7(PMV2)※2개의16비트 데이터 일괄 전송··········································································2-10
F8(DMV2)• P8(PDMV2)※2개의32비트 데이터 일괄 전송····································································· 2-11
F10(BKMV)• P10(PBKMV)※ 블록 전송·····································································································2-12
F11(COPY)• P11(PCOPY)※ 블록 복사·····································································································2-14
F12(ICRD) EEPROM 읽기FP0/FP-e의 경우·····························································································2-15
P13(PICWT) EEPROM입력FP0/FP-e의 경우···························································································2-16
F12(ICRD) F-ROM 읽기FPΣ/FP-X의 경우·······························································································2-17
P13(PICWT) F-ROM 입력FPΣ/FP-X의 경우····························································································2-18
F12(ICRD)• P12(PICRD) IC 메모리 카드 확장 메모리 읽기FP2SH/FP10SH의 경우·······························2-19
F13(ICWT)• P13(PICWT) IC 메모리 카드 확장 메모리 입력FP2SH/FP10SH의 경우······························2-20
F14(PGRD)• P14(PPGRD) IC 메모리 카드 프로그램 읽기········································································2-21
F15(XCH)• P15(PXCH)※16비트 데이터 교환·························································································2-24
F16(DXCH)• P16(DPXCH)※32비트 데이터 교환····················································································2-25
F17(SWAP)• P17(PSWAP)※16비트 데이터 내의 상위 바이트와 하위 바이트 교환·······························2-26
F18(BXCH)• P18(PBXCH)※ 블록 교환·····································································································2-27
기본 기능 명령
F19(SJP)• LBL 간접 점프• 라벨················································································································2-28
바이너리 산술 연산 명령
F20(+)• P20(P+)※16비트 가산···············································································································2-30
F21(D+)• P21(PD+)※32비트 가산···········································································································2-31
F22(+)• P22(P+)※16비트 가산(저장 위치 지정 가능)·············································································2-32
F23(D+)• P23(PD+)※32비트 가산(저장 위치 지정 가능)········································································2-33
F25(–)• P25(P–)※16비트 감산·············································································································2-34
F26(D–)• P26(PD–)※32비트 감산········································································································2-35
F27(–)• P27(P–)※16비트 감산(저장 위치 지정 가능) ··········································································2-36
F28(D–)• P28(PD–)※32비트 감산(저장 위치 지정 가능) ·····································································2-37
F30(*)• P30(P*)※16비트 승산·············································································································2-38
F31(D*)• P31(PD*)※32비트 승산········································································································2-39
F32(%)• P32(P%)※16비트 제산·············································································································2-40
목차(응용 명령어 일람)
v
F33(D%)• P33(PD%)※32비트 제산········································································································2-41
F34(*W)• P34(P*W)※16비트 승산(결과1워드)··················································································2-42
F35(+1)• P35(P+1)※16비트 인크리먼트(+1) ···························································································2-43
F36(D+1)• P36(PD+1)※32비트 인크리먼트(+1) ······················································································2-44
F37(–1)• P37(P–1)※16비트 디크리먼트(-1) ·······················································································2-45
F38(D–1)• P38(PD–1)※32비트 디크리먼트(–1) ··················································································2-46
F39(D*D)• P39(PD*D)※32비트 승산(결과2워드) ··············································································2-47
BCD 데이터 산술 연산 명령
F40(B+)• P40(PB+)※4자리 가산·············································································································2-48
F41(DB+)• P41(PDB+)※8자리 가산········································································································2-49
F42(B+)• P42(PB+)※4자리 가산(저장 위치 지정 가능) ··········································································2-50
F43(DB+)• P43(PDB+)※8자리 가산(저장 위치 지정 가능) ·····································································2-51
F45(B–)• P45(PB–)※4자리 감산··········································································································2-52
F46(DB–)• P46(PDB–)※8자리 감산·····································································································2-53
F47(B–)• P47(PB–)※4자리 감산(저장 위치 지정 가능) ·······································································2-54
F48(DB–)• P48(PDB–)※8자리 감산(저장 위치 지정 가능) ··································································2-55
F50(B*)• P50(PB*)※4자리 승산··········································································································2-56
F51(DB*)• P51(DPB*)※8자리 승산·····································································································2-57
F52(B%)• P52(PB%)※4자리 제산···········································································································2-58
F53(DB%)• P53(PDB%)※8자리 제산······································································································2-59
F55(B+1)• P55(PB+1)※4자리BCD 인크리먼트(+1)················································································2-60
F56(DB+1)• P56(PDB+1)※8자리BCD 인크리먼트(+1)···········································································2-61
F57(B–1)• P57(PB–1)※4자리BCD 디크리먼트(–1)············································································2-62
F58(DB–1)• P58(PDB–1)※8자리BCD 디크리먼트(–1)·······································································2-63
데이터 비교 명령
F60(CMP)• P60(PCMP)※16비트 데이터 비교························································································2-64
F61(DCMP)• P61(PDCMP)※32비트 데이터 비교···················································································2-66
F62(WIN)• P62(PWIN)※16비트 데이터 대역 비교··················································································2-68
F63(DWIN)• P63(PDWIN)※32비트 데이터 대역 비교·············································································2-69
F64(BCMP)• P64(PBCMP)※ 블록 일치 검출····························································································2-70
논리 연산 명령
F65(WAN)• P65(PWAN)※16비트 데이터 논리곱····················································································2-72
F66(WOR)• P66(PWOR)※16비트 데이터 논리합···················································································2-73
F67(XOR)• P67(PXOR)※16비트 데이터의 배타적 논리합······································································2-74
F68(XNR)• P68(PXNR)※16비트 데이터의 배타적 논리합 부정······························································2-75
F69(WUNI)• P69(PWUNI)※ 워드 결합······································································································2-76
vi
데이터 변환 명령
F70(BCC)• P70(PBCC)※ 블록 체크 코드 계산·························································································2-77
F71(HEXA)• P71(PHEXA)※HEX→16진수 아스키 변환···········································································2-79
F72(AHEX)• P72(PAHEX)※16진 아스키→HEX 변환··············································································2-81
F73(BCDA)• P73(PBCDA)※BCD→10진 아스키 변환·············································································2-83
F74(ABCD)• P74(PABCD)※10진 아스키→BCD변환···············································································2-85
F75(BINA)• P75(PBINA)※BIN→10진 아스키 변환··················································································2-87
F76(ABIN)• P76(PABIN)※10진 아스키→BIN 변환··················································································2-89
F77(DBIA)• P77(PDBIA)※BIN→10진 아스키 변환··················································································2-91
F78(DABI)• P78(PDABI)※10진 아스키→BIN 변환··················································································2-93
F80(BCD)• P80(PBCD)※16비트BIN→4자리BCD 변환········································································2-95
F81(BIN)• P81(PBIN)※4자리BCD→16비트BIN 변환···········································································2-97
F82(DBCD)• P82(PDBCD)※32비트BIN→8자리BCD 변환···································································2-97
F83(DBIN)• P83(PDBIN)※8자리BCD→32비트BIN 변환······································································2-98
F84(INV)• P84(PINV)※16비트 데이터의 반전·························································································2-99
F85(NEG)• P85(PNEG)※16비트 데이터에 대한2의 보수···································································2-100
F86(DNEG)• P86(PDNEG)※32비트 데이터에 대한2의 보수······························································2-101
F87(ABS)• P87(PABS)※16비트 데이터의 절대값·················································································2-102
F88(DABS)• P88(PDABS)※32비트 데이터의 절대값············································································2-103
F89(EXT)• P89(PEXT)※ 부호 확장·········································································································2-104
F90(DECO)• P90(PDECO)※ 디코드(Decode)··························································································2-105
F91(SEGT)• P91(PSEGT)※7세그먼트 디코드·······················································································2-107
F92(ENCO)• P92(PENCO)※ 인코드(Encode)··························································································2-109
F93(UNIT)• P93(PUNIT)※16비트 데이터의 결합···················································································2-111
F94(DIST)• P94(PDIST)※16비트 데이터의 분리··················································································· 2-112
F95(ASC)• P95(PASC)※ 아스키 코드 변환···························································································· 2-113
F96(SRC)• P96(PSRC)※16비트 데이터의 검색···················································································· 2-115
F97(DSRC)• P97(PDSRC)※32비트 데이터 검색·················································································· 2-116
데이터 시프트 명령
F98(CMPR)• P98(PCMPR)※ 압축 시프트 읽기······················································································ 2-117
F99(CMPW)• P99(PCMPW)※ 압축 시프트 입력····················································································· 2-119
F100(SHR)• P100(PSHR)※16비트 데이터의n비트 오른쪽 시프트·····················································2-121
F101(SHL)• P101(PSHL)※16비트 데이터의n비트 왼쪽 시프트··························································2-122
F102(DSHR)• P102(PDSHR)※32비트 데이터의n비트 오른쪽 시프트················································2-123
F103(DSHL)• P103(PDSHL)※32비트 데이터의n비트 왼쪽 시프트·····················································2-124
F105(BSR)• P105(PBSR)※1디지트 오른쪽 시프트···············································································2-125
F106(BSL)• P106(PBSL)※1디지트 왼쪽 시프트···················································································2-126
F108(BITR)• P108(PBITR)※n비트 일괄 오른쪽 시프트········································································2-127
vii
F109(BITL)• P109(PBITL)※n비트 일괄 왼쪽 시프트·············································································2-128
F110(WSHR)• P110(PWSHR)※ 워드 단위 일괄 오른쪽 시프트······························································2-129
F111(WSHL)• P111( PWSHL)※ 워드 단위 일괄 왼쪽 시프트···································································2-130
F112(WBSR)• P112(PWBSR)※ 디지트 단위 일괄 오른쪽 시프트···························································2-131
F113(WBSL)• P113(PWBSL)※ 디지트 단위 일괄 왼쪽 시프트·······························································2-132
데이터 버퍼 명령
F115(FIFT)• P115(PFIFT)※FIFO(선입선출) 버퍼 정의···········································································2-133
F116(FIFR)• P116(PFIFR)※FIFO 버퍼에서 읽기···················································································2-134
F117(FIFW)• P117(PFIFW)※FIFO 버퍼에 입력하기··············································································2-136
기본 기능 명령
F118(UDC) 업다운 카운터························································································································2-139
F119(LRSR) 좌우 시프트 레지스터··········································································································2-141
데이터 회전 명령
F120(ROR)• P120(PROR)※16비트 데이터 우회전···············································································2-143
F121(ROL)• P121(PROL)※16비트 데이터 좌회전················································································2-144
F122(RCR)• P122(PRCR)※16비트 데이터 우회전(캐리 포함) ······························································2-145
F123(RCL)• P123(PRCL)※16비트 데이터 좌회전(캐리 포함) ·······························································2-146
F125(DROR)• P125(PDROR)※32비트 데이터의 우회전·······································································2-147
F126(DROL)• P126(PDROL)※32비트 데이터의 좌회전········································································2-148
F127(DRCR)• P127(PDRCR)※32비트 데이터의 우회전(캐리 포함)······················································2-149
F128(DRCL)• P128(PDRCL)※32비트 데이터의 좌회전(캐리 포함)·······················································2-150
비트 조작 명령
F130(BTS)• P130(PBTS)※16비트 데이터의 비트 설정·········································································2-151
F131(BTR)• P131(PBTR)※16비트 데이터의 비트 재설정·····································································2-152
F132(BTI)• P132(PBTI)※16비트 데이터의 비트 반전···········································································2-153
F133(BTT)• P133(PBTT)※16비트 데이터의 비트 테스트······································································2-154
F135(BCU)• P135(PBCU)※16비트 데이터의ON 카운트······································································2-155
F136(DBCU)• P136(PDBCU)※32비트 데이터의ON 카운트·································································2-156
기본 기능 명령
F137(STMR) 보조 타이머(16비트)···········································································································2-157
특수 명령
F138(HMSS)• P138(PHMSS)※ 시분초 데이터→초 데이터 변환·····························································2-159
F139(SHMS)• P139(PSHMS)※ 초 데이터→시분초 데이터 변환·····························································2-161
F140(STC)• P140(PSTC)※ 캐리 설정·····································································································2-163
viii
F141(CLC)• P141(PCLC)※ 캐리 재설정·································································································2-164
F142(WDT)• P142(PWDT) 워치 독 타이머 리프레시··············································································2-165
F143(IORF) 부분I/O 리프레시FP0/FP-e/FPΣ/FP-X의 경우··································································2-166
F143(IORF) 부분I/O 리프레시FP1/FP–M의 경우················································································2-167
F143(IORF)• P143(PIORF) 부분I/O 리프레시FP2/FP2SH/FP3/FP10SH의 경우···································2-168
F144(TRNS) 시리얼 데이터 송수신FP0/FP-e의 경우·············································································2-169
F144(TRNS) 시리얼 데이터 송수신FP1/FP–M의 경우·········································································2-172
F144(TRNS) 시리얼 데이터 송수신FP2/FP2SH/FP10SH의 경우···························································2-176
F145(SEND)• P145(PSEND) 데이터 송신(MEWTOCOL 마스터 모드의 경우)·········································2-182
F145(SEND)• P145(PSEND) 데이터 송신(MODBUS 마스터 모드의 경우)··············································2-184
F145(SEND)• P145(PSEND) 데이터 송신(MEWNET 링크) FP2/FP2SH/FP3/FP10SH의 경우·················2-188
F146(RECV)• P146(PRECV) 데이터 수신(MEWTOCOL 마스터 모드의 경우)·········································2-193
F146(RECV)• P146(PRECV) 데이터 수신(MODBUS마스터 모드의 경우)···············································2-195
F146(RECV)• P146(PRECV) 데이터 수신(MEWNET 링크) FP2/FP2SH/FP3/FP10SH의 경우·················2-199
F147(PR) 프린트 출력······························································································································2-204
F148(ERR)• P148(PERR)※ 자기 진단 오류 설정(S2t)············································································2-207
F149(MSG)• P149(PMSG)※ 메시지 표시·······························································································2-207
F150(READ)• P150(PREAD) 고성능 유닛에서 데이터 읽기····································································2-208
F151(WRT)• P151(PWRT) 고성능 유닛에 데이터 입력···········································································2-210
F152(RMRD)• P152(PRMRD) 원격 하위국의 고성능 유닛에서 데이터 읽기···········································2-212
F153(RMWT)• P153(PRMWT) 원격 하위국의 고성능 유닛에 데이터 입력·············································2-214
F155(SMPL)• P155(PSMPL) 샘플링········································································································2-216
F156(STRG)• P156(PSTRG) 샘플링 트리거····························································································2-217
F157(CADD)• P157(PCADD)※ 시각 가산·······························································································2-218
F158(CSUB)• P158(PCSUB)※ 시각 감산·······························································································2-220
F159(MTRN) 시리얼 데이터 송수신·········································································································2-222
F159(MTRN)• P159(PMTRN) 시리얼 데이터 송신(MCU COM 포트의 경우) ···········································2-226
F161(MRCV)• P161(PMRCV) 시리얼 데이터 수신(MCU COM 포트의 경우)···········································2-228
F160(DSQR)• P160(PDSQR)※32비트 데이터의 제곱근·······································································2-230
바이너리 산술 연산 명령
F0(MV) 고속 카운터(Counter) 제어FP1/FP–M의 경우··········································································2-231
F1(DMV) 고속 카운터 경과값 설정 및 읽기FP1/FP–M의 경우····························································2-233
F162(HC0S) 목표값 일치ON ··················································································································2-235
F163(HC0R) 목표값 일치OFF ················································································································2-236
F164(SPD0) 속도 제어(펄스 출력) ···········································································································2-237
F164(SPD0) 속도 제어(패턴 출력) ···········································································································2-239
F165(CAM0) 캠 출력································································································································ 2-241
ix
고속 카운터• 펄스 출력 제어 명령
F0(MV) 고속 카운터 제어FP0/FP-e/FPΣ/FP-X의 경우··········································································2-245
F0(MV) 펄스 출력 제어FP0/FP-e/FPΣ/FP-X의 경우·············································································2-248
F1(DMV) 고속 카운터/펄스 출력 경과값의 입력/읽기···············································································2-251
F166(HC1S) 목표값 일치ON(채널 지정 첨부) ·························································································2-253
F167(HC1R) 목표값 일치OFF(채널 지정 첨부) ·······················································································2-255
F168(SPD1) 위치 결정 제어(채널 지정 첨부)(사다리꼴 제어)··································································2-257
F168(SPD1) 위치 결정 제어(채널 지정 첨부)(원점 복귀) ········································································2-259
F169(PLS) 펄스 출력(채널 지정 첨부)(JOG 운전) ···················································································2-262
F170(PWM) PWM 출력(채널 지정 첨부) ··································································································2-263
F171(SPDH) 펄스 출력(채널 지정 첨부)(사다리꼴 제어)··········································································2-264
F171(SPDH) 펄스 출력(채널 지정 첨부)(원점 복귀) ················································································2-267
F172(PLSH) 펄스 출력(채널 지정 첨부)(JOG 운전)·················································································2-270
F173(PWMH) PWM출력(채널 지정 첨부)·································································································2-272
F174(SP0H) 펄스 출력(채널 지정 첨부)(임의의 데이터 테이블 제어 운전) ·············································2-274
F175(SPSH) 펄스 출력(직선 보간)···········································································································2-277
F176(SPCH) 펄스 출력(원호 보간)···········································································································2-280
화면 표시 명령(FP-e 전용)
F180(SCR) FP-e 화면 표시 등록 명령·····································································································2-283
F181(DSP) FP-e 화면 표시 전환 명령·····································································································2-285
F182(FILTR) 시간 상수 처리····················································································································2-286
기본 기능 명령
F183(DSTM) 보조 타이머(32비트)···········································································································2-288
데이터 전송 명령
F190(MV3)• P190(PMV3)※3개의16비트 데이터 일괄 전송································································2-290
F191(DMV3)• P191(PDMV3)※3개의32비트 데이터 일괄 전송···························································2-291
논리 연산 명령
F215(DAND)• P215(PDAND) 32비트 데이터의 논리곱············································································2-292
F216(DOR)• P216(PDOR)※32비트 데이터의 논리합············································································2-293
F217(DXOR)• P217(PDXOR)※32비트 데이터의 배타적 논리합···························································2-294
F218(DXNR)• P218(PDXNR)※32비트 데이터의 배타적 논리합 부정···················································2-295
F219(DUNI)• P219(PDUNI)※ 더블 워드 결합·························································································2-296
F230(TMSEC)• P230(PTMSEC)※ 시각 데이터→초 변환········································································2-297
F231(SECTM)• P231(PSECTM)※ 초→시각 데이터 변환········································································2-299
x
데이터 변환 명령
F235(GRY)• P235(PGRY)※16비트 바이너리→그레이 코드 변환··························································2-301
F236(DGRY)• P236(PDGRY)※32비트 바이너리→그레이 코드 변환·····················································2-302
F237(GBIN)• P237(PGBIN)※16비트 그레이 코드→바이너리 변환·······················································2-303
F238(DGBIN)• P238(PDGBIN)※32비트 그레이 코드→바이너리 변환···················································2-304
F240(COLM)• P240(PCOLM)※ 비트 행→비트 열 변환··········································································2-306
F241(LINE)• P241(PLINE)※ 비트 열→비트 행 변환···············································································2-307
F250(BTOA) 바이너리→아스키 변환········································································································2-308
F251(ATOB) 아스키→바이너리 변환········································································································2-312
F252(ACHK) 아스키 데이터 체크·············································································································2-315
문자열 명령
F257(SCMP)• P257(PSCMP)※ 문자열 비교···························································································2-319
F258(SADD)• P258(PSADD)※ 문자열 연결····························································································2-320
F259(LEN)• P259(PLEN)※ 문자열의 문자수···························································································2-321
F260(SSRC)• P260(PSSRC)※ 문자열 검색····························································································2-322
F261(RIGHT)• P261(PRIGHT)※ 문자열(오른쪽)에서 꺼내기···································································2-323
F262(LEFT)• P262(PLEFT)※ 문자열(왼쪽)에서 꺼내기···········································································2-324
F263(MIDR)• P263(PMIDR)※ 문자열에서 문자열 꺼내기·······································································2-325
F264(MIDW)• P264(PMIDW)※ 문자열에 문자열 입력·············································································2-326
F265(SREP)• P265(PSREP)※ 문자열 치환····························································································2-327
정수형 데이터 조작 명령
F270(MAX)• P270(PMAX)※ 최대값(16비트)···························································································2-328
F271(DMAX)• P271(PDMAX)※ 최대값(32비트) ······················································································2-329
F272(MIN)• P272(PMIN)※ 최소값(16비트) ·····························································································2-330
F273(DMIN)• P273(PDMIN)※ 최소값(32비트) ························································································2-331
F275(MEAN)• P275(PMEAN)※ 합계값/ 평균값(16비트) ·······································································2-332
F276(DMEAN)• P276(PDMEAN)※ 합계값/ 평균값(32비트)···································································2-333
F277(SORT)• P277(PSORT)※ 정렬(16비트) ··························································································2-334
F278(DSORT)• P278(PDSORT)※ 정렬(32비트) ·····················································································2-335
F282(SCAL)• P282(PSCAL)※16비트 데이터의 스케일링(Scaling)(선형화)············································2-336
F283(DSCAL)• P283(PDSCAL)※32비트 데이터의 스케일링(Scaling)(선형화)·······································2-337
F284(RAMP) 16비트 데이터 경사 출력···································································································2-338
F285(LIMT)• P285(PLIMT)※ 상하한 리미트(Limit) 제어(워드)·································································2-340
F286(DLIMT)• P286(PDLIMT)※ 상하한 리미트(Limit) 제어(더블 워드) ···················································2-341
F287(BAND)• P287(PBAND)※ 불감대 제어(워드)···················································································2-342
F288(DBAND)• P288(PDBAND)※ 불감대 제어(더블 워드) ·····································································2-343
F289(ZONE)• P289(PZONE)※ 존(Zone) 제어(워드)················································································2-344
xi
F290(DZONE)• P290(PDZONE)※ 존(Zone) 제어(더블 워드) ··································································2-345
BCD형 실수 연산 명령
F300(BSIN)• P300(PBSIN) BCD형 실수 사인 연산·················································································2-346
F301(BCOS)• P301(PBCOS) BCD형 실수 코사인 연산··········································································2-347
F302(BTAN)• P302(PBTAN) BCD형 실수 탄젠트 연산············································································2-348
F303(BASIN)• P303(PBASIN) BCD형 실수 아크사인 연산······································································2-349
F304(BACOS)• P304(PBACOS) BCD형 실수 아크코사인 연산·······························································2-350
F305(BATAN)• P305(PBATAN) BCD형 실수 아크탄젠트 연산·································································2-351
부동소수점형 실수 데이터 연산 명령
F309(FMV)• P309(PFMV)※ 부동소수점형 실수 데이터의 전송······························································2-352
F310(F+)• P310(PF+)※ 부동소수점형 실수 데이터의 가산·····································································2-353
F311(F–)• P311(PF–)※ 부동소수점형 실수 데이터의 감산··································································2-354
F312(F*)• P312(PF*)※ 부동소수점형 실수 데이터의 승산··································································2-355
F313(F%)• P313(PF%)※ 부동소수점형 실수 데이터의 제산···································································2-356
F314(SIN)• P314(PSIN)※ 부동소수점형 실수 데이터의 사인··································································2-357
F315(COS)• P315(PCOS)※ 부동소수점형 실수 데이터의 코사인···························································2-358
F316(TAN)• P316(PTAN)※ 부동소수점형 실수 데이터의 탄젠트····························································2-359
F317(ASIN)• P317(PASIN)※ 부동소수점형 실수 데이터의 아크사인······················································2-360
F318(ACOS)• P318(PACOS)※ 부동소수점형 실수 데이터의 아크코사인················································2-361
F319(ATAN)• P319(PATAN)※ 부동소수점형 실수 데이터의 아크탄젠트··················································2-362
F320(LN)• P320(PLN)※ 부동소수점형 실수 데이터의 자연로그·····························································2-363
F321(EXP)• P321(PEXP)※ 부동소수점형 실수 데이터의 지수·······························································2-364
F322(LOG)• P322(PLOG)※ 부동소수점형 실수 데이터의 상용로그························································2-365
F323(PWR)• P323(PPWR)※ 부동소수점형 실수 데이터의 거듭제곱······················································2-366
F324(FSQR)• P324(PFSQR)※ 부동소수점형 실수 데이터의 제곱근······················································2-367
F325(FLT)• P325(PFLT)※16비트 정수의 부동소수점형 실수 데이터 변환············································2-368
F326(DFLT)• P326(PDFLT)※32비트 정수의 부동소수점형 실수 데이터 변환·······································2-369
F327(INT)• P327(PINT)※ 부동소수점형 실수 데이터의16비트 정수(초과하지 않는 최대) 변환···········2-370
F328(DINT)• P328(PDINT)※ 부동소수점형 실수 데이터의32비트 정수(초과하지 않는 최대) 변환······2-371
F329(FIX)• P329(PFIX)※ 부동소수점형 실수 데이터의16비트 정수(소수점 이하 버림) 변환···············2-372
F330(DFIX)• P330(PDFIX)※ 부동소수점형 실수 데이터의32비트 정수(소수점 이하 버림) 변환··········2-373
F331(ROFF)• P331(PROFF)※ 부동소수점형 실수 데이터의16비트 정수(소수점 이하 반올림) 변환····2-374
F332(DROFF)• P332(PDROFF)※ 부동소수점형 실수 데이터의32비트 정수(소수점 이하 반올림) 변환2-375
F333(FINT)• P333(PFINT)※ 부동소수점형 실수 데이터의 소수점 이하 버림·········································2-376
F334(FRINT)• P334(PFRINT)※ 부동소수점형 실수 데이터의 소수점 이하 첫째 자리 반올림················2-377
F335(F+/–)• P335(PF+/–)※ 부동소수점형 실수 데이터의 부호 변환···················································2-378
F336(FABS)• P336(PFABS)※ 부동소수점형 실수 데이터의 절대값························································2-379
xii
F337(RAD)• P337(PRAD)※ 부동소수점형 실수 데이터[도]의[라디안] 변환··········································2-380
F338(DEG)• P338(PDEG)※ 부동소수점형 실수 데이터 라디안[Radian]을[도]로 변환···························2-381
부동소수점형 실수 데이터 처리 명령
F345(FCMP)• P345(PFCMP)※ 부동소수점형 실수 데이터의 실수 비교·················································2-382
F346(FWIN)• P346(PFWIN)※ 부동소수점형 실수 데이터의 대역 비교···················································2-383
F347(FLIMT)• P347(PFLIMT)※ 부동소수점형 실수 데이터의 상하한 리미트 제어·································2-384
F348(FBAND)• P348(PFBAND)※ 부동소수점형 실수 데이터의 불감대 제어··········································2-385
F349(FZONE)• P349(PFZONE)※ 부동소수점형 실수 데이터의 존(Zone) 제어·······································2-386
F350(FMAX)• P350(PFMAX) 부동소수점형 실수 데이터의 최대값··························································2-387
F351(FMIN)• P351(PFMIN) 부동소수점형 실수 데이터의 최소값····························································2-388
F352(FMEAN)• P352(PFMEAN) 부동소수점형 실수 데이터의 합계값과 평균값······································2-389
F353(FSORT)• P353(PFSORT) 부동소수점형 실수 데이터의 정렬·························································2-390
F354(FSCAL)• P354(PFSCAL)※ 실수 데이터 스케일링(Scaling) ····························································2-391
프로세스 제어 명령
F355(PID) PID 연산·································································································································· 2-393
F356(EZPID) 간편(Easy) PID····················································································································2-397
데이터 비교 명령
F373(DTR)• P373(PDTR)※16비트 데이터의 변화 검출········································································2-401
F374(DDTR)• P374(PDDTR)※32비트 데이터의 변화 검출···································································2-402
인덱스 레지스터 뱅크 처리 명령
F410(SETB)• P410(PSETB) 인덱스 레지스터 뱅크 설정·········································································2-403
F411(CHGB)• P411(PCHGB) 인덱스 레지스터 뱅크 전환·······································································2-404
F412(POPB)• P412(PPOPB) 인덱스 레지스터 뱅크 복귀········································································2-405
파일 레지스터 뱅크 처리 명령
F414(SBFL)• P414(PSBFL) 파일 레지스터 뱅크 설정·············································································2-406
F415(CBFL)• P415(PCBFL) 파일 레지스터 뱅크 전환············································································2-407
F416(PBFL)• P416(PPBFL) 파일 레지스터 뱅크 복귀·············································································2-408