Command Control (PLC Link)

This section explains each command used in PLC Link.
Measurement control command
Command code
Function
References
Lower CH
Upper CH
0010
1010
Performs measurement one time
0010
1020
Start continuous measurement
0010
1030
Complete continuous measurement
0010
2010
Clear measurement values
0010
3010
Save in controller
0010
F010
Restart the controller
Scene control command
Command code
Function
References
Lower CH
Upper CH
0020
1000
Acquire scene No.
0020
2000
Acquire scene group No.
0030
1000
Switch scenes
0030
2000
Switch the scene group No.
Settings acquisition/change command
Command code
Function
References
Lower CH
Upper CH
0040
1000
Acquire unit data
0040
2000
Acquire the current date and time
0040
3000
Acquire system version information
0050
1000
Set unit data
0050
2000
Set 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

Start 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

Restart 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 No.

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 No.

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

Switching Scenes

Switches the scene No. 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
Specify 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

Switching Scene Groups

Switches the scene group No. 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
Specify 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
Specify the unit No.
+5
0000
0000
0000
0000
+6
0000
0000
0000
0000
Specify the data No.
+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
Data
(Value multiplied by 1000)
+7
0000
0000
0000
0000
+8
0000
0000
0000
0000
Data
(Value multiplied by 1000)
+9
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
Time 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
Specify the unit No.
+5
0000
0000
0000
0000
0000
+6
0000
0000
0000
0000
0000
Specify the data No.
+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
Time 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