EasyManuals Logo

Mitsubishi MELSEC System Q User Manual

Mitsubishi MELSEC System Q
170 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
Page #139 background imageLoading...
Page #139 background image
MELSEC System Q Beginners Manual 6 7
More Advanced Programming Applied Instructions Reference
Category Instruction Function
Character
string process
-
ing instructions
Decimal (ASCII) ->
BCD
DABCD
Convert decimal ASCII into 4-digit BCD data
DDABCD
Convert decimal ASCII into 8-digit BCD data
Read device com
-
ment data
COMRD
Read device comment data and store as ASCII
Length detection
LEN
Detect the length of character strings
Binary data ->
character string
STR
Insert a decimal point and convert 16-/32-bit binary data
into a character string
DSTR
Character string ->
Binary data
VAL
Convert character strings into 16-/32-bit binary data
DVAL
Floating point data ->
Character string
ESTR
Convert floating point data into character strings
Character string ->
Floating point data
EVAL
Convert character strings into floating point data
Floating point data ->
BCD
EMOD
Convert floating point data into BCD data
Floating point data ->
Deicmal
EREXP
Convert floating point data in BCD format into decimal
format
BIN 16-bit data ->
ASCII
ASC
Convert 16-bit binary data into ASCII code
ASCII -> Binary
HEX
Convert hexadecimal ASCII characters into binary values
Extraction of charac
-
ter string data
RIGHT
Extract substring from right
LEFT
Extract substring from left
Storing
MIDR
Store specified parts of character strings
Move
MIDW
Move parts of character strings to a defined area
Search
INSTR
Search for a character string
Instructions for
floating point
numbers
Trigonometry instruc-
tions
SIN
Calculate the sine
COS
Calculate the cosine
TAN
Calculate the tangent
ASIN
Calculate the arc sine
ACOS
Calculate the arc cosine
ATAN
Calculate the arc tangent
RAD
Convert degrees to radians
DEG
Convert radians to degrees
Math instructions
SQR
Calculate square root
EXP
Floating point value as exponent of the base e
LOG
Logarithm calculation
Special
functions
Randomizing values
RND
Generate a random value
SRND
Update series of random values
Instructions for
BCD data
Trigonometry
instructions
BSIN
Calculate the sine
BCOS
Calculate the cosine
BTAN
Calculate the tangent
BASIN
Calculate the arc sine
BACOS
Calculate the arc cosine
BATAN
Calculate the arc tangent
Math instructions
BSQR
Calculate square root from 4-digit BCD data
BDSQR
Calculate square root from 8-digit BCD data
Data control
instructions
Limit control
LIMIT
Limitation of output values for 16-/32-bit binary data
DLIMIT
Dead band control
BAND
Dead band control of 16-/32-bit binary data
DBAND
Zone control
ZONE
Zone control of 16-/32-bit binary data
DZONE

Table of Contents

Other manuals for Mitsubishi MELSEC System Q

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC System Q and is the answer not in the manual?

Mitsubishi MELSEC System Q Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC System Q
CategoryController
LanguageEnglish

Related product manuals