CIUMon includes the ability to send a few select commands to the CIU. The main purpose of the send command is to restart a CIU that is difficult to access physically. It may also be useful in diagnosing problems.
Because it is able to restart the CIU and also to put the CIU online or offline, the send command is not read-only. This command is the only part of DBDOC that is not read-only. The only changes it can make to your system are to restart the CIU or to put it online or offline. The send command cannot be accessed remotely by programs using live data (such as Hyperview or CIULink) or by relay mode CIUMon. It cannot be used if CIUMon connects to the CIU through RoviSys Turbo, and the MUXCIU block which CIUMon connects through is read only (RO). This means that it can only be accessed by someone with access to the computer which connects to the CIU.
The send command can only be accessed when CIUMon is running interactively; that is, when it has been run manually or made to interact with the desktop.
<context> <command> <parameters>
<context> should be 0. In normal requests, different contexts are used by Hyperview to direct packets.
| Command | Parameters | Effect | Example |
|---|---|---|---|
read output
| <loop> <pcu> <module> <block> | Fetches the output value for a block. The loop, PCU, module and block numbers are required. | 0 read output 1 2 3 4
Fetch the output value of loop 1, PCU 2, module 3, block 4. |
read block
| <loop> <pcu> <module> <block> | Fetches the block parameters for a block. The loop, PCU, module and block numbers are required. | 0 read block 1 2 3 4
Fetch the block parameters of loop 1, PCU 2, module 3, block 4. |
restart
| none | Restarts the CIU. Using this command will bring up a window with options for restarting the CIU. See Restarting the CIU for more details. | 0 restart
|
callup
| <password> | Logs onto the CIU. The password must be exactly 8 characters long. Most setups will not need to use this command. | 0 callup mypasswd
Log onto the CIU with the password |
environment
| none | Performs an environment fetch, which requests information about the CIU. This is the same command CIUMon sends when it first connects to test whether it is connected. | 0 environment
Gets information about the CIU. |
module status
| <loop> <pcu> <module> | This gets information about the status of a module. | 0 module status 1 1 1
Gets information about the status of loop 1, PCU 1, module 1. |
cancel
| <key> | This cancels the request in progress on the specified key, or all requests if you specify key 0. | 0 cancel 0
Cancels all requests. |
ciu online<code>
| none | Sets the CIU to online. | <code>0 ciu online
Set the CIU to online. |
ciu offline
| none | Sets the CIU to offline. | 0 ciu offline
Set the CIU to offline. |
echo
| <text> | This is a maintenance command that does not access the CIU. It returns a success packet, which contains the command. | 0 echo Example text
Returns a success packet with the text "0 echo Example text". |
connstat
| none | This is a maintenance command that does not access the CIU. It checks the status of CIUMon. | 0 connstat
This should return the status of CIUMon. |