EasyManua.ls Logo

Mitsubishi MELSEC-Q/L

Mitsubishi MELSEC-Q/L
850 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
13
7.7.2 FIFR, FIFRP Reading oldest data from tables . . . . . . . . . . . . . . . . . . . . . . . .419
7.7.3 FPOP, FPOPP Reading newest data from data tables . . . . . . . . . . . . . . . . . . .421
7.7.4 FDEL, FDELP Deletion of data from data tables . . . . . . . . . . . . . . . . . . . . . . .423
FINS, FINSP Insertion of data in data tables . . . . . . . . . . . . . . . . . . . . . . . . .423
7.8 Buffer memory access instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426
7.8.1 FROM, FROMP Reading 1-word data from the intelligent function module . . . .426
DFRO, DFROP Reading 2-word data from the intelligent function module . . . .426
7.8.2 TO, TOP Writing 1-word data to the intelligent function module . . . . . . .428
DTO, DTOP Writing 2-word data to the intelligent function module . . . . . . .428
7.9 Display instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432
7.9.1 PR Print ASCII code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .432
7.9.2 PRC Print comment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .434
7.9.3 LEDR Error display and annunciator reset . . . . . . . . . . . . . . . . . . . . .437
7.10 Debugging and failure diagnosis instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440
7.10.1 CHKST, CHK Special format failure check . . . . . . . . . . . . . . . . . . . . . . . . . . .440
7.10.2 CHKCIR, CHKEND Changing check format of CHK . . . . . . . . . . . . . . . . . . . . . . . .444
7.11 Character string processing instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447
7.11.1 BINDA, BINDAP Conversion from BIN 16-bit data to decimal ASCII . . . . . . . . .447
DBINDA, DBINDAP Conversion from BIN 32-bit data to decimal ASCII . . . . . . . . .447
7.11.2 BINHA, BINHAP Conversion from BIN 16-bit data to hexadecimal ASCII . . . . . .449
DBINHA, DBINHAP Conversion from BIN 32-bit data to hexadecimal ASCII . . . . . .449
7.11.3 BCDDA, BCDDAP Conversion from BCD 4-digit data to decimal ASCII data . . . .452
DBCDDA, DBCDDAP Conversion from BCD 8-digit data to decimal ASCII data . . . .452
7.11.4 DABIN, DABINP Conversion from decimal ASCII to BIN 16-bit data . . . . . . . . .455
DDABIN, DDABINP Conversion from decimal ASCII to BIN 32-bit data . . . . . . . . .455
7.11.5 HABIN, HABINP Conversion from hexadecimal ASCII to BIN 16-bit data . . . . . .457
DHABIN, DHABINP Conversion from hexadecimal ASCII to BIN 32-bit data . . . . . .457
7.11.6 DABCD, DABCDP Conversion from decimal ASCII to BCD 4-digit data . . . . . . . .459
DDABCD, DDABCDP Conversion from decimal ASCII to BCD 8-digit data . . . . . . . .459
7.11.7 COMRD, COMRDP Reading device comment data . . . . . . . . . . . . . . . . . . . . . . . . .461
7.11.8 LEN, LENP Character string length detection . . . . . . . . . . . . . . . . . . . . . . .463
7.11.9 STR, STRP Conversion from BIN 16-bit data to character string . . . . . . . .465
DSTR, DSTRP Conversion from BIN 32-bit data to character string . . . . . . . .465
7.11.10 VAL, VALP Conversion from character string to BIN 16-bit data . . . . . . . .469
DVAL, DVALP Conversion from character string to BIN 32-bit data . . . . . . . .469
7.11.11 ESTR, ESTRP Conversion from floating-point data to character string data . .472
7.11.12 EVAL, EVALP Conversion from character string to floating-point data . . . . . .477
7.11.13 ASC, ASCP Conversion from hexadecimal BIN to ASCII . . . . . . . . . . . . . . .481
7.11.14 HEX, HEXP Conversion from ASCII to hexadecimal BIN . . . . . . . . . . . . . . .483
7.11.15 RIGHT, RIGHTP Extracting character string data from the right . . . . . . . . . . . . .485
LEFT, LEFTP Extracting character string data from the left . . . . . . . . . . . . . .485
7.11.16 MIDR, MIDRP Random selection from character strings . . . . . . . . . . . . . . . . .487
MIDW, MIDWP Random replacement in character strings . . . . . . . . . . . . . . . .487
7.11.17 INSTR, INSTRP Character string search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .491
7.11.18 STRINS, STRINSP Insertion of character string . . . . . . . . . . . . . . . . . . . . . . . . . . .492
7.11.19 STRDEL, STRDELP Deletion of character string . . . . . . . . . . . . . . . . . . . . . . . . . . . .494
7.11.20 EMOD, EMODP Floating-point data to BCD . . . . . . . . . . . . . . . . . . . . . . . . . . . .496

Table of Contents

Related product manuals