Mitsubishi MELSEC QCPU Programming Manual page 10

Programmable logic controller
Table of Contents

Advertisement

7.8.2 Writing 1-/2-word data to intelligent function module/special function module
(TO, TOP, DTO, DTOP)................................................................................................................ 7 - 137
7.9 Display Instructions .............................................................................................................................. 7 - 140
7.9.1 Print ASCII code instruction (PR) .................................................................................................. 7 - 140
7.9.2 Print comment instruction (PRC)................................................................................................... 7 - 143
7.9.3 ASCII code LED display instruction (LED) .................................................................................... 7 - 148
7.9.4 LED display instruction for comments (LEDC) ............................................................................. 7 - 150
7.9.5 Error display and annunciator reset instruction (LEDR) ............................................................... 7 - 152
7.10 Debugging and Failure Diagnosis Instructions .................................................................................. 7 - 155
7.10.1 Special format failure checks (CHKST, CHK) ............................................................................ 7 - 155
7.10.2 Changing check format of CHK instruction (CHKCIR, CHKEND) ............................................. 7 - 159
7.10.3 Setting and resetting status latch (SLT, SLTR) .......................................................................... 7 - 167
7.10.4 Setting and resetting sampling trace (STRA, STRAR)............................................................... 7 - 169
7.10.5 Execution, setting, and resetting of program trace
(PTRAEXE, PTRAEXEP, PTRA, PTRAR) ................................................................................. 7 - 171
7.11 Character String Processing Instructions .......................................................................................... 7 - 173
7.11.1 Conversion from BIN 16-bit or 32-bit to decimal ASCII
(BINDA, BINDAP, DBINDA, DBINDAP)...................................................................................... 7 - 173
7.11.2 Conversion from BIN 16-bit or 32-bit data to hexadecimal ASCII
(BINHA, BINHAP, DBINHA, DBINHAP)...................................................................................... 7 - 176
7.11.3 Conversion from BCD 4-digit and 8-digit to decimal ASCII data
(BCDDA, BCDDAP, DBCDDA, DBCDDAP) ............................................................................... 7 - 179
7.11.4 Conversion from decimal ASCII to BIN 16-bit and 32-bit data
(DABIN, DABINP, DDABIN, DDABINP)...................................................................................... 7 - 182
7.11.5 Conversion from hexadecimal ASCII to BIN 16-bit and 32-bit data
(HABIN, HABINP, DHABIN, DHABINP)...................................................................................... 7 - 185
7.11.6 Conversion from decimal ASCII to BCD 4-digit or 8-digit data
(DABCD, DABCDP, DDABCD, DDABCDP) ............................................................................... 7 - 187
7.11.7 Reading device comment data (COMRD, COMRDP)................................................................ 7 - 190
7.11.8 Character string length detection (LEN, LENP) .......................................................................... 7 - 194
7.11.9 Conversion from BIN 16-bit or 32-bit to character string (STR, STRP, DSTR, DSTRP)........... 7 - 196
7.11.10 Conversion from character string to BIN 16-bit or 32-bit data
(VAL, VALPP, DVAL, DVALP) .................................................................................................. 7 - 202
7.11.11 Conversion from floating decimal point to character string data (ESTR, ESTRP)................... 7 - 207
7.11.12 Conversion from character string to floating decimal point data (EVAL, EVALP).................... 7 - 214
7.11.13 Conversion from hexadecimal BIN to ASCII (ASC, ASCP)...................................................... 7 - 218
7.11.14 Conversion from ASCII to hexadecimal BIN (HEX, HEXP) ..................................................... 7 - 220
7.11.15 Extracting character string data from the right or left (RIGHT, RIGHTP, LEFT, LEFTP) ........ 7 - 222
7.11.16 Random selection from and replacement in character strings
(MIDR, MIDRP, MIDW, MIDWP) .............................................................................................. 7 - 225
7.11.17 Character string search (INSTR, INSTRP)............................................................................... 7 - 229
7.11.18 Floating decimal point to BCD (EMOD, EMODP)..................................................................... 7 - 231
7.11.19 From BCD format data to floating decimal point (EREXP, EREXPP)...................................... 7 - 233
7.12 Special Function Instructions ............................................................................................................. 7 - 235
7.12.1 SIN operation on floating decimal point data (SIN, SINP) .......................................................... 7 - 235
7.12.2 COS operation on floating decimal point data (COS, COSP) .................................................... 7 - 237
7.12.3 TAN operation on floating decimal point data (TAN, TANP) ...................................................... 7 - 239
-1
7.12.4 SIN
operation on floating decimal point data (ASIN, ASINP).................................................. 7 – 241
A - 8
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
A - 8

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qnacpuMelsec q modeMelsec q series

Table of Contents