Compax3 Software - Ascending Objects from RS232 and RS485
All Parameters in the Compax3 are stored in objects that can be read from or written to with the below ASCII Syntax. Please refer to the User Guide of your unit to see what objects are available and their description.
Reading an Object with RS232:
Figure out which object to query. For this example we will use the array value in Col01 Row01, object 1901.1
From some interface other that the C3 Servomanager (like hyperterminal), send "o1901.1" and a carriage return. The unit will response with the current value of the object and a carriage return.
Reading an Object with RS485:
Figure out which object to query. For this example we will use the array value in Col01 Row01, object 1901.1
From some interface other that the C3 Servomanager (like hyperterminal), send "no1901.1" and a carriage return, where n is the address number of the unit set in the RS485 configuration. If using RS485 2-wire, the unit will respond with a "*" and the current value of the object and a carriage return. If using RS485 4-wire, the unit will respond with the current value of the object and a carriage return.
Â
Writing an Object with RS232:
Figure out which object to query. For this example we will use the array value in Col01 Row01, object 1901.1
From some interface other that the C3 Servomanager (like hyperterminal), send "o1901.1=xxx.xx" and a carriage return, where xxx.xx is the value to be written to the controller. The unit will response with ">" and a carriage return. If there is an error, the unit will respond with "!xxxx" and a carriage return, where xxxx is the 4 digit error code in hex format.
Writing an Object with RS485:
Figure out which object to query. For this example we will use the array value in Col01 Row01, object 1901.1
From some interface other that the C3 Servomanager (like hyperterminal), send "no1901.1=xxx.xx" and a carriage return, where xxx.xx is the value to be written to the controller and n is the address number of the unit set in the RS485 configuration. The unit will response with ">" and a carriage return. If there is an error, the unit will respond with "!xxxx" and a carriage return, where xxxx is the 4 digit error code in hex format.
Objects can also be written and read directly in a hex format by using the $ character. For example, to query object 1901.1 in hex you would sent "o1901.1$" and a carriage return. To write a value of 5A to the same object, just send down "o1901.1=$5A".
Please refer to the appropriate user guide for specifications and settings for RS485 and RS232 communications with a Compax3 drive.