Mitsubishi Electronics C6 Home Safety Product User Manual


 
8. Function Commands
+, +P
- 162 -
{+, +P ... BIN 16-bit addition
Usable device
Bit device Word device
Con-
stant
Pointer
X Y M L F BSB T SM VTCDRWSWZSDKH P
Digit
desig-
nation
Index
No. of
steps
S
{
{ { { { { {
{
{ { { { { { { { { {
D
{ { { { { {
{
{ { { { { { { {
{ {
3
S1
{
{ { { { { {
{
{ { { { { { { { { {
S2
{
{ { { { { {
{
{ { { { { { { { { {
D
{ { { { { {
{
{ { { { { { { {
{ {
4
Addition command
+
+P
+
S
D
+P S
D
Setting data (See *1)
S
Addition data or No. of device
where addition data is stored.
(The addition results are stored
in this device.)
D
Addition command
+P
S2
S1
D
+
+P
+ S2S1
D
Setting data (See *2)
S2
S1
No. of device to store addition
results.
D
Addition data or No. of device
where addition data is stored.
Addition data or No. of device
where addition data is stored.
Addition data or No. of device
where addition data is stored.
Function
(1) The BIN data designated with S1 (D of *1) and the BIN data designated with S2 (S of *1) are
added, and the addition results are stored in the device designated with D.
+ S D
,
+P S
D
5678 (BIN)
1234 (BIN) 6912 (BIN)
B15…………………B0
B15…………………B0
B15…………………B0
+
D
S
D
*1
+ S2S1 D
,
+P
S2
S1
D
5678 (BIN) 1234 (BIN) 6912 (BIN)
B15
…………………B0 B15…………………B0 B15…………………B0
+
S1
S2 D
*2