Command Control (PLC Link)

This section explains each command used in PLC link.
Measurement control command
Command area top channel
Function
References
+3
+2
0010
1010
Measurement is performed one time
0010
1020
Starts continuous measurement
0010
1030
Completes continuous measurement
0010
2010
Clears measurement values
0010
3010
Saves in controller
0010
F010
Restarts the controller
Scene control command
Command area top channel
Function
References
+3
+2
0020
1000
Acquires scene No.
0020
2000
Acquires scene group No.
0030
1000
Switching Scenes
0030
2000
Switch the scene group No.
Settings acquisition/change command
Command area top channel
Function
References
+3
+2
0040
1000
Acquires unit data
0040
2000
Acquires the current date and time
0040
3000
Acquires system version information
0050
1000
Sets unit data
0050
2000
Sets the date/time

Executing Measurement

Executes measurement one time.
Command (PLC to Controller)
Command area
top channel
Command code
Bit
Description
15-12
11-8
7-4
3-0
+2
1010
0001
0000
0001
0000
Set command codes.
+3
0010
0000
0000
0001
0000
Response (Controller to PLC)
Response area
top channel
Bit
Description
15-12
11-8
7-4
3-0
+2
0001
0000
0001
0000
Command code
Store response target command codes.
+3
0000
0000
0001
0000
+4
0000
0000
0000
0000
Response code
Command execution result
OK: 0 (0000 0000)
NG: -1 (FFFF FFFF)
+5
0000
0000
0000
0000

Starting Continuous Measurement

Starts continuous measurement.
Command (PLC to controller)
Command area
top channel
Command code
Bit
Description
15-12
11-8
7-4
3-0
+2
1020
0001
0000
0010
0000
Set command codes.
+3
0010
0000
0000
0001
0000
Response (Controller to PLC)
Response area
top channel
Bit
Description
15-12
11-8
7-4
3-0
+2
0001
0000
0010
0000
Command code
Store response target command codes.
+3
0000
0000
0001
0000
+4
0000
0000
0000
0000
Response code
Command execution result
OK: 0 (0000 0000)
NG: -1 (FFFF FFFF)
+5
0000
0000
0000
0000

Stopping Continuous Measurement

Stops continuous measurement.
Command (PLC to controller)
Command area
top channel
Command code
Bit
Description
15-12
11-8
7-4
3-0
+2
1030
0001
0000
0011
0000
Set command codes.
+3
0010
0000
0000
0001
0000
Response (Controller to PLC)
Response area
top channel
Bit
Description
15-12
11-8
7-4
3-0
+2
0001
0000
0011
0000
Command code
Store response target command codes.
+3
0000
0000
0001
0000
+4
0000
0000
0000
0000
Response code
Command execution result
OK: 0 (0000 0000)
NG: -1 (FFFF FFFF)
+5
0000
0000
0000
0000

Clearing Measurement Values

Clears all measurement values.
Command (PLC to controller)
Command area
top channel
Command code
Bit
Description
15-12
11-8
7-4
3-0
+2
2010
0010
0000
0001
0000
Set command codes.
+3
0010
0000
0000
0001
0000
Response (Controller to PLC)
Response area
top channel
Bit
Description
15-12
11-8
7-4
3-0
+2
0010
0000
0001
0000
Command code
Store response target command codes.
+3
0000
0000
0001
0000
+4
0000
0000
0000
0000
Response code
Command execution result
OK: 0 (0000 0000)
NG: -1 (FFFF FFFF)
+5
0000
0000
0000
0000

Saving in Controller

Stores the current system data and scene group in the controller.
Command (PLC to controller)
Command area
top channel
Command code
Bit
Description
15-12
11-8
7-4
3-0
+2
3010
0011
0000
0001
0000
Set command codes.
+3
0010
0000
0000
0001
0000
Response (Controller to PLC)
Response area
top channel
Bit
Description
15-12
11-8
7-4
3-0
+2
0011
0000
0001
0000
Command code
Store response target command codes.
+3
0000
0000
0001
0000
+4
0000
0000
0000
0000
Response code
Command execution result
OK: 0 (0000 0000)
NG: -1 (FFFF FFFF)
+5
0000
0000
0000
0000

Restart

Restarts the controller.
Important
  • When a restart command is executed, BUSY does not turn off even after the command execution bit turns off.
    After a restart command is executed, perform a memory clear of BUSY on the PLC side.
Command (PLC to controller)
Command area
top channel
Command code
Bit
Description
15-12
11-8
7-4
3-0
+2
F010
1111
0000
0001
0000
Set command codes.
+3
0010
0010
0000
0001
0000
Response (Controller to PLC)
There is no response because restarting is performed.

Acquiring Scene Number

Acquires the current scene No.
Command (PLC to controller)
Command area
top channel
Command code
Bit
Description
15-12
11-8
7-4
3-0
+2
1000
0001
0000
0000
0000
Set command codes.
+3
0020
0000
0000
0010
0000
Response (Controller to PLC)
Response area
top channel
Bit
Description
15-12
11-8
7-4
3-0
+2
0001
0000
0000
0000
Command code
Store response target command codes.
+3
0000
0000
0010
0000
+4
0000
0000
0000
0000
Response code
Command execution result
OK: 0 (0000 0000)
NG: -1 (FFFF FFFF)
+5
0000
0000
0000
0000
+6
0000
0000
0000
0000
Response data
Stores the acquired scene No.
+7
0000
0000
0000
0000

Acquiring Scene Group Number

Acquires the current scene group No.
Command (PLC to controller)
Command area
top channel
Command code
Bit
Description
15-12
11-8
7-4
3-0
+2
2000
0010
0000
0000
0000
Set command codes.
+3
0020
0000
0000
0010
0000
Response (Controller to PLC)
Response area
top channel
Bit
Description
15-12
11-8
7-4
3-0
+2
0010
0000
0000
0000
Command code
Store response target command codes.
+3
0000
0000
0010
0000
+4
0000
0000
0000
0000
Response code
Command execution result
OK: 0 (0000 0000)
NG: -1 (FFFF FFFF)
+5
0000
0000
0000
0000
+6
0000
0000
0000
0000
Response data
Acquired scene group No.
+7
0000
0000
0000
0000

Scene Switching

Switches the scene number to be used.
Command (PLC to controller)
Command area
top channel
Command code
Bit
Description
15-12
11-8
7-4
3-0
+2
1000
0001
0000
0000
0000
Set command codes.
+3
0030
0000
0000
0011
0000
+4
-
0000
0000
0000
0000
Specifies the scene No.
+5
-
0000
0000
0000
0000
Response (Controller to PLC)
Response area
top channel
Bit
Description
15-12
11-8
7-4
3-0
+2
0001
0000
0000
0000
Command code
Store response target command codes.
+3
0000
0000
0011
0000
+4
0000
0000
0000
0000
Response code
Command execution result
OK: 0 (0000 0000)
NG: -1 (FFFF FFFF)
+5
0000
0000
0000
0000

Scene Group Switching

Switches the scene group number to be used.
Command (PLC to controller)
Command area
top channel
Command code
Bit
Description
15-12
11-8
7-4
3-0
+2
2000
0010
0000
0000
0000
Set command codes.
+3
0030
0000
0000
0011
0000
+4
-
0000
0000
0000
0000
Specifies the scene group No.
+5
-
0000
0000
0000
0000
Response (Controller to PLC)
Response area
top channel
Bit
Description
15-12
11-8
7-4
3-0
+2
0010
0000
0000
0000
Command code
Store response target command codes.
+3
0000
0000
0011
0000
+4
0000
0000
0000
0000
Response code
Command execution result
OK: 0 (0000 0000)
NG: -1 (FFFF FFFF)
+5
0000
0000
0000
0000

Acquiring Unit Data

Acquires the specified processing unit data.
Important
  • In processing unit data setting/acquisition, external reference table No. 139 (verification string) of Character Inspection cannot be used.
Command (PLC to controller)
Command area
top channel
Command code
Bit
Description
15-12
11-8
7-4
3-0
+2
1000
0001
0000
0000
0000
Set command codes.
+3
0040
0000
0000
0100
0000
+4
-
0000
0000
0000
0000
Specifies the unit No.
+5
-
0000
0000
0000
0000
+6
-
0000
0000
0000
0000
Specifies data number in the External Reference Tables.
+7
-
0000
0000
0000
0000
Response (Controller to PLC)
Response area
top channel
Bit
Description
15-12
11-8
7-4
3-0
+2
0001
0000
0000
0000
Command code
Store response target command codes.
+3
0000
0000
0100
0000
+4
0000
0000
0000
0000
Response code
Command execution result
OK: 0 (0000 0000)
NG: -1 (FFFF FFFF)
+5
0000
0000
0000
0000
+6
0000
0000
0000
0000
Acquired data
(Value multiplied by 1000)
+7
0000
0000
0000
0000

Acquiring Date and Time

Acquires the date and time from the internal calendar timer in the controller.
Command (PLC to controller)
Command area
top channel
Command code
Bit
Description
15-12
11-8
7-4
3-0
+2
2000
0010
0000
0000
0000
Set command codes.
+3
0040
0000
0000
0100
0000
Response (Controller to PLC)
Response area
top channel
Bit
Description
15-12
11-8
7-4
3-0
+2
0010
0000
0000
0000
Command code
Store response target command codes.
+3
0000
0000
0100
0000
+4
0000
0000
0000
0000
Response code
Command execution result
OK: 0 (0000 0000)
NG: -1 (FFFF FFFF)
+5
0000
0000
0000
0000
+6
0000
0000
0000
0000
Year data: 1900 to 2100
+7
0000
0000
0000
0000
+8
0000
0000
0000
0000
Month data: 1 to 12
+9
0000
0000
0000
0000
+10
0000
0000
0000
0000
Date data: 1 to 31
+11
0000
0000
0000
0000
+12
0000
0000
0000
0000
Hour data: 0 to 23
+13
0000
0000
0000
0000
+14
0000
0000
0000
0000
Minute data: 0 to 59
+15
0000
0000
0000
0000
+16
0000
0000
0000
0000
Second data: 0 to 59
+17
0000
0000
0000
0000

Acquiring Version Information

Acquires the controller version information.
Command (PLC to Controller)
Command area
top channel
Command code
Bit
Description
15-12
11-8
7-4
3-0
+2
3000
0011
0000
0000
0000
Set command codes.
+3
0040
0000
0000
0100
0000
Response (Controller to PLC)
Response area
top channel
Bit
Description
15-12
11-8
7-4
3-0
+2
0011
0000
0000
0000
Command code
Store response target command codes.
+3
0000
0000
0100
0000
+4
0000
0000
0000
0000
Response code
Command execution result
OK: 0 (0000 0000)
NG: -1 (FFFF FFFF)
+5
0000
0000
0000
0000
+6
0000
0000
0000
0000
Version information character string
+7
0000
0000
0000
0000
+8
0000
0000
0000
0000
+9
0000
0000
0000
0000
:
0000
0000
0000
0000
:
0000
0000
0000
0000

Setting Unit Data

Sets the specified processing unit data.
Important
  • In processing unit data setting/acquisition, external reference table No. 139 (verification string) of Character Inspection cannot be used.
Command (PLC to controller)
Command area
top channel
Command code
Bit
Description
15-12
11-8
7-4
3-0
+2
1000
0001
0000
0000
0000
Set command codes.
+3
0050
0000
0000
0101
0000
+4
0000
0000
0000
0000
0000
Specifies the unit No.
+5
0000
0000
0000
0000
0000
+6
0000
0000
0000
0000
0000
Specifies data number in the External Reference Tables.
+7
0000
0000
0000
0000
0000
+8
0000
0000
0000
0000
0000
Input data to be set.
(Value multiplied by 1000)
+9
0000
0000
0000
0000
0000
Response (Controller to PLC)
Response area
top channel
Bit
Description
15-12
11-8
7-4
3-0
+2
0001
0000
0000
0000
Command code
Store response target command codes.
+3
0000
0000
0101
0000
+4
0000
0000
0000
0000
Response code
Command execution result
OK: 0 (0000 0000)
NG: -1 (FFFF FFFF)
+5
0000
0000
0000
0000

Setting Date and Time

Sets the date and time of the internal calendar timer in the controller.
Command (PLC to controller)
Command area
top channel
Command code
Bit
Description
15-12
11-8
7-4
3-0
+2
2000
0010
0000
0000
0000
Set command codes.
+3
0050
0000
0000
0101
0000
+4
0000
0000
0000
0000
0000
Year data: 1900 to 2100
+5
0000
0000
0000
0000
0000
+6
0000
0000
0000
0000
0000
Month data: 1 to 12
+7
0000
0000
0000
0000
0000
+8
0000
0000
0000
0000
0000
Date data: 1 to 31
+9
0000
0000
0000
0000
0000
+10
0000
0000
0000
0000
0000
Hour data: 0 to 23
+11
0000
0000
0000
0000
0000
+12
0000
0000
0000
0000
0000
Minute data: 0 to 59
+13
0000
0000
0000
0000
0000
+14
0000
0000
0000
0000
0000
Second data: 0 to 59
+15
0000
0000
0000
0000
0000
Response (Controller to PLC)
Response area
top channel
Bit
Description
15-12
11-8
7-4
3-0
+2
0010
0000
0000
0000
Command code
Store response target command codes.
+3
0000
0000
0101
0000
+4
0000
0000
0000
0000
Response code
Command execution result
OK: 0 (0000 0000)
NG: -1 (FFFF FFFF)
+5
0000
0000
0000
0000