Changes for page 12 Clock operation

Last modified by Mora Zhou on 2023/11/21 17:27

From version 1.9
edited by Joey
on 2022/06/09 15:57
Change comment: (Autosaved)
To version 1.8
edited by Joey
on 2022/06/09 15:52
Change comment: (Autosaved)

Summary

Details

Page properties
Content
... ... @@ -1357,7 +1357,7 @@
1357 1357  
1358 1358  • When D0<1,000, the value of (D0)-1,000 is stored in D1.
1359 1359  
1360 -== **DBAND/BIN 32-bit data dead zone control** ==
1360 +{{id name="_Toc1180"/}}{{id name="_Toc21657"/}}{{id name="_Toc27323"/}}[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**DBAND/BIN 32-bit data dead zone control**
1361 1361  
1362 1362  **DBAND(P)**
1363 1363  
... ... @@ -1375,14 +1375,16 @@
1375 1375  
1376 1376  **Device used**
1377 1377  
1378 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|**Offset modification**|(((
1379 -**Pulse extension**
1378 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|(((
1379 +**Pulse**
1380 +
1381 +**extension**
1380 1380  )))
1381 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**[D]**|**XXP**
1382 -|(% rowspan="4" %)DBAND|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|●|●|●
1383 -|Parameter 2|●|●|●|●|●|●|●|●|●|●|●|●|●|●|●
1384 -|Parameter 3|●|●|●|●|●|●|●|●|●|●|●| | |●|●
1385 -|Parameter 4| |●|●|●|●|●|●|●|●|●|●| | |●|●
1383 +|**X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP**
1384 +|(% rowspan="4" %)DBAND|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●| |●|●
1385 +|Parameter 2| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●| |●|●
1386 +|Parameter 3| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●| | | |●|●
1387 +|Parameter 4| | | | | | | | | | | |●|●|●|●|●|●|●|●|●|●| | | |●|●
1386 1386  
1387 1387  **Features**
1388 1388  
... ... @@ -1389,17 +1389,20 @@
1389 1389  The input value (BIN 32-bit value) specified in (s3) controls the output value stored in the device specified in (d) according to the upper and lower limits of the dead zone specified in (s1) and (s2). The output value is controlled as follows.
1390 1390  
1391 1391  |**Condition**|**The value stored in the output value**
1392 -|When dead zone low limit ((s1), (s1)+1)> input value ((s3), (s3)+1)|Input value ((s3), (s3)+1)-dead zone low limit ((s1), (s1)+1)
1393 -|When dead zone high limit ((s1), (s1)+1) <input value ((s3), (s3)+1)|Input value ((s3), (s3)+1)-dead zone high limit ((s2), (s2)+1)
1394 +|When dead zone low limit ((s1), (s1)+1)> input value ((s3), (s3)+1)|{{id name="OLE_LINK42"/}}Input value ((s3), (s3)+1)-dead zone low limit ((s1), (s1)+1)
1395 +|When dead zone high limit ((s1), (s1)+1) <input value ((s3), (s3)+1)|{{id name="OLE_LINK357"/}}Input value ((s3), (s3)+1)-dead zone high limit ((s2), (s2)+1)
1394 1394  |When dead zone low limit ((s1), (s1)+1) ≤ input value ((s3), (s3)+1) ≤ dead zone high limit ((s2), (s2)+1)|0
1395 1395  
1398 +
1396 1396  (((
1397 -• When the output value stored in (d) is a signed BIN 32-bit value, and the operation result exceeds the range of -2,147,483,648 to 2,147,483,647, the situation is as the following example. For example,** **When (s1) and (s1)+1 are 1000, (s3) and (s3)+1 are -2,147,483,648, then the output value=
1400 +• When the output value stored in (d) is a signed BIN 32-bit value, and the operation result exceeds the range of -2,147,483,648 to 2,147,483,647, the situation is as the following example. For example,** &nbsp;**When (s1) and (s1)+1 are 1000, (s3) and (s3)+1 are -2,147,483,648, then the output value=
1398 1398  
1399 1399  -2,147,483,648-1000=80000000H-000003E8H=7FFFFC18H=2,147,482,648.
1400 1400  
1401 -(% style="text-align:center" %)
1402 -[[image:07-5 Basic instructions_html_e0144674dad3e8fd.png||height="243" width="550"]]
1404 +[[image:07-5 Basic instructions_html_e0144674dad3e8fd.png]]
1405 +
1406 +
1407 +
1403 1403  )))
1404 1404  
1405 1405  **Error code**
... ... @@ -1411,8 +1411,7 @@
1411 1411  
1412 1412  **Example**
1413 1413  
1414 -(% style="text-align:center" %)
1415 -[[image:07-5 Basic instructions_html_88f3fe0fb4841bab.png||height="42" width="453"]]
1419 +[[image:07-5 Basic instructions_html_88f3fe0fb4841bab.png]]
1416 1416  
1417 1417  • When (D1, D0)<(-10,000), the value of (D1, D0)-(-10,000) is stored in (D11, D10).
1418 1418  
... ... @@ -1420,9 +1420,9 @@
1420 1420  
1421 1421  • When 10,000< (D1, D0), the value of (D1, D0)-10,000 is stored in D1.
1422 1422  
1423 -== **BINDA/BIN 16-bit data → Decimal ASCII conversion** ==
1427 +{{id name="_Toc21668"/}}{{id name="_Toc25056"/}}{{id name="_Toc17582"/}}{{id name="OLE_LINK165"/}}**BINDA/BIN 16-bit data → Decimal ASCII conversion**
1424 1424  
1425 -**BINDA(P)**
1429 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **BINDA(P)**
1426 1426  
1427 1427  Convert the BIN 16-bit data specified in (s) and the value of each digit in decimal numbers into ASCII codes and store them after the device number specified in (d).
1428 1428  
... ... @@ -1436,28 +1436,30 @@
1436 1436  
1437 1437  **Device used**
1438 1438  
1439 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|**Offset modification**|(((
1440 -**Pulse extension**
1443 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|(((
1444 +**Pulse**
1445 +
1446 +**extension**
1441 1441  )))
1442 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**[D]**|**XXP**
1443 -|(% rowspan="2" %)BINDA|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|●
1444 -|Parameter 2| | | | | | |●|●|●| | |●|●
1448 +|**X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP**
1449 +|(% rowspan="2" %)BINDA|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | |●|●| |●|●
1450 +|Parameter 2| | | | | | | | | | | | | | | | |●|●|●| | | | | |●|●
1445 1445  
1446 1446  **Features**
1447 1447  
1448 1448  Convert the BIN 16-bit data specified in (s) and the value of each digit in decimal numbers into ASCII codes and store them after the device number specified in (d).
1449 1449  
1450 -(((
1451 -(% style="text-align:center" %)
1452 -[[image:07-5 Basic instructions_html_57bda5f08026449d.png]]
1453 1453  
1457 +
1458 +(((
1454 1454  ←Only store 0 when SM191 is OFF
1460 +
1461 +[[image:07-5 Basic instructions_html_57bda5f08026449d.png]]
1455 1455  )))
1456 1456  
1457 1457  For example, when -12,345 is specified in (s) (in the case of specifying signed)
1458 1458  
1459 -(% style="text-align:center" %)
1460 -[[image:07-5 Basic instructions_html_f346102467b9bef9.png||height="169" width="850"]]
1466 +[[image:07-5 Basic instructions_html_f346102467b9bef9.png]]
1461 1461  
1462 1462  The calculation result stored in (d) will be as below.
1463 1463  
... ... @@ -1477,20 +1477,19 @@
1477 1477  
1478 1478  **Example**
1479 1479  
1480 -(% style="text-align:center" %)
1481 -[[image:07-5 Basic instructions_html_c598806a42484ed.png||height="76" width="300"]]
1482 1482  
1487 +
1483 1483  (((
1484 1484  When X000 is ON, convert the value of 16-bit data (BIN) D1000 into decimal ASCII code, and then use PR instruction to output the
1485 1485  
1486 1486  converted ASCII code character by character to the program of Y040 to Y057.
1487 1487  
1488 -
1493 +[[image:07-5 Basic instructions_html_c598806a42484ed.png]]
1489 1489  )))
1490 1490  
1491 -== **DBINDA/BIN 32-bit data → Decimal ASCII conversion** ==
1496 +{{id name="_Toc12255"/}}{{id name="_Toc8216"/}}{{id name="_Toc470"/}}**DBINDA/BIN 32-bit data → Decimal ASCII conversion**
1492 1492  
1493 -**DBINDA(P)**
1498 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **DBINDA(P)**
1494 1494  
1495 1495  Convert the BIN 32-bit data specified in (s) and the value of each bit in decimal numbers into ASCII codes and store them after the device number specified in (d).
1496 1496  
... ... @@ -1500,11 +1500,11 @@
1500 1500  
1501 1501  |**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)**
1502 1502  |(s)|BIN data for ASCII conversion|-2,147483648 to 2147483647|Signed BIN 32 bit|ANY32_S
1503 -|(d)|The start number of the device storing the conversion result|-|String|ANYSTRING_SINGLE
1508 +|(d)|{{id name="OLE_LINK2"/}}The start number of the device storing the conversion result|-|String|ANYSTRING_SINGLE
1504 1504  
1505 1505  **Device used**
1506 1506  
1507 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="14" %)**Devices**|(((
1512 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|(((
1508 1508  **Offset**
1509 1509  
1510 1510  **modification**
... ... @@ -1513,9 +1513,9 @@
1513 1513  
1514 1514  **extension**
1515 1515  )))
1516 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP**
1517 -|(% rowspan="2" %)DBINDA|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|●| |●|●
1518 -|Parameter 2| | | | | | |●|●|●| | | | | |●|●
1521 +|**X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP**
1522 +|(% rowspan="2" %)DBINDA|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●| |●|●
1523 +|Parameter 2| | | | | | | | | | | | | | | | |●|●|●| | | | | |●|●
1519 1519  
1520 1520  **Features**
1521 1521