Mitsubishi MELSEC-Q/L Programming Manual page 17

Table of Contents

Advertisement

7.12.28 BSQR, BSQRP
BDSQR, BDSQRP
7.12.29 BSIN, BSINP
7.12.30 BCOS, BCOSP
7.12.31 BTAN, BTANP
7.12.32 BASIN, BASINP
7.12.33 BACOS, BACOSP
7.12.34 BATAN, BATANP
7.13 Data Control Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 553
7.13.1
LIMIT, LIMITP
DLIMIT, DLIMITP
7.13.2
BAND, BANDP
DBAND, DBANDP
7.13.3
ZONE, ZONEP
DZONE, DZONEP
7.13.4
SCL, SCLP, DSCL,
DSCLP
7.13.5
SCL2, SCL2P, DSCL2,
DSCL2P
7.14 File register switching instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 566
7.14.1
RSET, RSETP
7.14.2
QDRSET, QDRSETP
7.14.3
QCDSET, QCDSETP
7.15 Clock instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 572
7.15.1
DATERD, DATERDP
7.15.2
DATEWR, DATEWRP
7.15.3
DATE+, DATE+P
7.15.4
DATE-, DATE-P
7.15.5
SECOND, SECONDP
7.15.6
HOUR, HOURP
7.15.7
DT=, DT<>, DT>, DT<=,
DT<, DT>=
7.15.8
TM=, TM<>, TM>, TM<=, Time comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .585
TM<, TM>=
7.16 Expansion Clock Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 589
7.16.1
S.DATERD, SP.DATERD Reading expansion clock data . . . . . . . . . . . . . . . . . . . . . . . . .589
7.16.2
S.DATE+, SP.DATE+
7.16.3
S.DATE-, SP.DATE-
7.17 Program control instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 597
7.17.1
PSTOP, PSTOPP
7.17.2
POFF, POFFP
7.17.3
PSCAN, PSCANP
7.17.4
PLOW, PLOWP
7.17.5
PCHK
BCD 4-digit square roots . . . . . . . . . . . . . . . . . . . . . . . . . . . . .540
BCD 8-digit square roots . . . . . . . . . . . . . . . . . . . . . . . . . . . . .540
BCD type SIN operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .542
BCD type COS operations . . . . . . . . . . . . . . . . . . . . . . . . . . . .544
BCD type TAN operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . .546
BCD type arc sine operations . . . . . . . . . . . . . . . . . . . . . . . . . .547
BCD type arc cosine operation . . . . . . . . . . . . . . . . . . . . . . . . .549
BCD type arc tangent operations . . . . . . . . . . . . . . . . . . . . . . .551
Upper and lower limit controls for BIN 16-bit data . . . . . . . . . .553
Upper and lower limit controls for BIN 32-bit data . . . . . . . . . .553
BIN 16-bit dead band controls . . . . . . . . . . . . . . . . . . . . . . . . .555
BIN 32-bit dead band controls . . . . . . . . . . . . . . . . . . . . . . . . .555
Zone control for BIN 16-bit data . . . . . . . . . . . . . . . . . . . . . . . .558
Zone control for BIN 32-bit data . . . . . . . . . . . . . . . . . . . . . . . .558
Scaling (Coordinate data by point) . . . . . . . . . . . . . . . . . . . . . .560
Scaling (Coordinate data by X and Y) . . . . . . . . . . . . . . . . . . .563
Switching file register block numbers . . . . . . . . . . . . . . . . . . . .566
File setting for file register . . . . . . . . . . . . . . . . . . . . . . . . . . . .567
File setting for comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . .569
Reading clock data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .572
Writing clock data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .573
Clock data addition operation . . . . . . . . . . . . . . . . . . . . . . . . . .575
Clock data subtraction operation . . . . . . . . . . . . . . . . . . . . . . .577
Time data conversion (from Hour/Minute/Second to Second)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .579
Time data conversion (from Second to Hour/Minute/Second)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .580
Date comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .581
Expansion clock data addition operation . . . . . . . . . . . . . . . . .591
Expansion clock data subtraction operation . . . . . . . . . . . . . . .594
Program standby . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .598
Program output OFF standby . . . . . . . . . . . . . . . . . . . . . . . . . .599
Program scan execution registration . . . . . . . . . . . . . . . . . . . .600
Program low speed execution registration . . . . . . . . . . . . . . . .601
Program execution status check . . . . . . . . . . . . . . . . . . . . . . .603
15

Advertisement

Table of Contents
loading

Table of Contents