Command Examples
Open Circuit Breaker
The following table details the steps to perform in the master remote device to send a remote command to the BSCM circuit breaker status control module to open the circuit breaker. The command itself has no parameters.
Step |
Action |
---|---|
1 |
Load a buffer of 20 registers, word0 to word19.
|
2 |
Write this buffer with a write request (Modbus function 16) of 20 registers, starting at register 8000. |
3 |
Read the command status register 8021, and wait while its content shows that the command is still in progress (0x0003). If the command status does not change after a timeout (1 s), check the Modbus connection. |
4 |
Read the command status register 8020:
|
5 |
Read the error code in the LSB of register 8021:
|
Reset Energy Measurements
The following table details the steps to perform to send a command to the MicroLogic trip unit to reset the minimum/maximum energy measurements. The command itself has one parameter.
Step |
Action |
---|---|
1 |
Load a buffer of 20 registers, word0 to word19.
|
2 |
Write this buffer with a write request (Modbus function 16) of 20 registers, starting at register 8000. |
3 |
Read the command status register 8021, and wait while its content shows that the command is still in progress (0x0003). If the command status does not change after a timeout (1 s), check the Modbus connection. |
4 |
Read the command status register 8020:
|
5 |
Read the error code in the LSB of register 8021:
|
Read Date and Time
The following table details the steps to perform to send a command to the IFM interface to read the date and time. The command itself has no parameters. The date and time are returned in a buffer.
Step |
Action |
---|---|
1 |
Load a buffer of 20 registers, word0 to word19.
|
2 |
Write this buffer with a write request (Modbus function 16) of 20 registers, starting at register 8000. |
3 |
Read the command status register 8021, and wait while its content shows that the command is still in progress (0x0003). If the command status does not change after a timeout (1 s), check the Modbus connection. |
4 |
Read the command status register 8020:
|
5 |
Read the error code in the LSB of register 8021:
|
6 |
If there were no errors, read the data buffer length in register 8022. Its value must be 8 for this command. |
7 |
In the data buffer:
|