Command 951: Acquires the condition for using Sense with command 2002 and 2003
Acquires the Sense condition.
Command Syntax
No parameter
Response Syntax
| bit | Name | Description | |
|---|---|---|---|
| Response 1 | 15 | registrationStatus | Returns the registration status. 0 = not registered 1 = registered |
| 14 | |||
| | | |||
| 1 | |||
| 0 |
| bit | Name | Description | |
|---|---|---|---|
| Response 2 | 15 | I/O number (bit) | Returns the bit I/O number. 0 = not registered |
| 14 | |||
| | | |||
| 1 | |||
| 0 |
| bit | Name | Description | |
|---|---|---|---|
| Response 3 | 15 | reserved | Returns “0”. |
| | | |||
| 2 | |||
| 1 | I/O type | 0 = I/O 1 memory I/O | |
| 0 | logic | Returns the logic to conclude the condition. 0 = OFF (not registered) 1 = ON |
Description
Acquires the sense condition.
Example
When setting the condition under the timing when port number 100 turns ON.
| Command | Response |
| 03B7H | 03B7H 0001H 0064H 0001H |
When not registered.
| Command | Response |
| 03B7H | 03B7H 0000H 0000H 0000H |