User manual: G64 device - PCDoct version
Status:
This documentation applies to version 1.5.14.23 of the G64 device.
Contents:
Overview:
The PCDoct is a in house made PC card that can service 8 G64 units. The G64 device is the ConSys interface for this board.
Device parameters:
When using 'One Dim adressing', the device status and control parameters can be accessed.
parameter |
Suggested |
Parameter name |
Data Type |
Interpretation |
Mode |
Comment |
0 |
d_load |
DAF loading |
Bit |
. |
Read |
True, when DAF parameters are being loaded to G64 crates. |
1 |
no_blocks |
# DAF blocks |
Word |
. |
Read |
The total number of DAF blocks loaded since the device was started. |
2 |
Doctvers |
PCDoct version |
String |
|
Read |
The software version string read from the PCDOCT card. |
When 'Two Dim Addressing', The Crate status and control can be accessed through these addresses. The a0 address selects the doct channel. The a1 parameter selects the parameter as described in the table below:
parameter |
Suggested |
Parameter name |
Data Type |
Interpretation |
Mode |
Comment |
0 |
Crate_# |
Crate number |
Word |
|
Read |
Return the crate number read from the G64. 0 if no crates connected. 1 if an old crate with no crate number connected. |
1 |
Active |
Crate status |
Bit |
|
Read |
True when the crate is active. |
G64 parameters:
When the address type is 'G64 address' the parameters on individual G64 are accessed.
Priority update: Remark: If A5, bit 0 is set for one of the parameters on a given G64 address, the parameter is set in continuous priority update - ie. it is updated with an increased rate.
Explanation of the configuration settings of the G64 Doct device:
PCDoct No: The PCDoct card number.
Base Poll Time: The base time between crate updates for the G64 crates at the given doct.
Crate values:
Database/Stored: When the PCDoct device has been reset (after a reboot), the G64 control values can not be read from the hardware when the device is started. In this case, the device control values are set from either database values or stored file values depending on the configuration settings. If Database is selected the command values are loaded from the database. If Stored is selected, the command data values are loaded/stored from the specified Filename. REMARK: The Filename must be specified without extension. The files must be situated in the ConSys executable directory. During device start with Stored selected the device first looks for a file with the name 'Filename.loadOnce'. If this file exist the command values are loaded from the file and the file is deleted. If the file does not exist the device looks for a file with the name 'Filename.permanent' and load the command values from this file. If no file could be found the default values from the database is used.
Rate: The individual update rate for the G64 crates are given by the Rate for the crate times the common Base Poll Time.
Last Modified 29 March 2019