Debugging And Failure Diagnosis Instructions - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

7.10 Debugging and failure diagnosis instructions

7.10.1 Special format failure checks (CHKST,CHK) ........................................................... 7 - 174
7.10.2 Changing check format of CHK instruction (CHKCIR,CHKEND) ............................. 7 - 178
7.11 Character string processing instructions
7.11.1 Conversion from BIN 16-bit or 32-bit to decimal ASCII (BINDA(P),DBINDA(P))...... 7 - 182
7.11.2 Conversion from BIN 16-bit or 32-bit data to hexadecimal ASCII
(BINHA(P),DBINHA(P)) ............................................................................................ 7 - 185
7.11.3 Conversion from BCD 4-digit and 8-digit to decimal ASCII data
(BCDDA(P),DBCDDA(P))......................................................................................... 7 - 188
7.11.4 Conversion from decimal ASCII to BIN 16-bit and 32-bit data
(DABIN(P),DDABIN(P)) ............................................................................................ 7 - 191
7.11.5 Conversion from hexadecimal ASCII to BIN 16-bit and 32-bit data
(HABIN(P),DHABIN(P)) ............................................................................................ 7 - 194
7.11.6 Conversion from decimal ASCII to BCD 4-digit or 8-digit data
(DABCD(P),DDABCD(P))......................................................................................... 7 - 197
7.11.7 Reading device comment data (COMRD(P)) ........................................................... 7 - 200
7.11.8 Character string length detection (LEN(P)) .............................................................. 7 - 203
7.11.9 Conversion from BIN 16-bit or 32-bit to character string (STR(P),DSTR(P)) ........... 7 - 205
7.11.10 Conversion from character string to BIN 16-bit or 32-bit data (VAL(P),DVAL(P)) .... 7 - 211
7.11.11 Conversion from floating decimal point to character string data (ESTR(P))............. 7 - 216
7.11.12 Conversion from character string to floating decimal point data (EVAL(P)) ............. 7 - 223
7.11.13 Conversion from hexadecimal BIN to ASCII (ASC(P)) ............................................. 7 - 227
7.11.14 Conversion from ASCII to hexadecimal BIN (HEX(P)) ............................................. 7 - 229
7.11.15 Extracting character string data from the right or left (RIGHT(P),LEFT(P)).............. 7 - 231
7.11.16 Random selection from and replacement in character strings
(MIDR(P),MIDW(P)) ................................................................................................. 7 - 234
7.11.17 Character string search (INSTR(P)) ......................................................................... 7 - 238
7.11.18 Insertion of character string (STRINS(P))................................................................. 7 - 240
7.11.19 Deletion of character string (STRDEL(P)) ................................................................ 7 - 242
7.11.20 Floating decimal point to BCD (EMOD(P)) ............................................................... 7 - 244
7.11.21 From BCD format data to floating decimal point (EREXP(P)) .................................. 7 - 247
7.12 Special function instructions
7.12.1 SIN operation on floating-point data (Single precision) (SIN(P)) .............................. 7 - 249
7.12.2 SIN operation on floating-point data (Double precision) (SIND(P)) .......................... 7 - 251
7.12.3 COS operation on floating-point data (Single precision) (COS(P)) .......................... 7 - 253
7.12.4 COS operation on floating-point data (Double precision) (COSD(P)) ...................... 7 - 255
7.12.5 TAN operation on floating-point data (Single precision) (TAN(P))............................ 7 - 257
7.12.6 TAN operation on floating-point data (Double precision) (TAND(P))........................ 7 - 259
-1
7.12.7 SIN
-1
7.12.8 SIN
-1
7.12.9 COS
-1
7.12.10 COS
-1
7.12.11 TAN
-1
7.12.12 TAN
7.12.13 Conversion from floating-point angle to radian (Single precision) (RAD(P)) ............ 7 - 274
7.12.14 Conversion from floating-point angle to radian (Double precision) (RADD(P)) ........ 7 - 276
7.12.15 Conversion from floating-point radian to angle (Single precision) (DEG(P)) ............ 7 - 278
7.12.16 Conversion from floating-point radian to angle (Double precision) (DEGD(P)) ........ 7 - 280
A-12
operation on floating point data (Single precision) (ASIN(P)) ......................... 7 - 261
operation on floating-point data (Double precision) (ASIND(P)) ..................... 7 - 264
operation on floating-point data (Single precision) (ACOS(P)) .................... 7 - 266
operation on floating-point data (Double precision) (ACOSD(P)) ................ 7 - 268
operation on floating-point data (Single precision) (ATAN(P))...................... 7 - 270
operation on floating-point data (Double precision) (ATAND(P)).................. 7 - 272
7 - 174
7 - 182
7 - 249

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents