Delta Tau GEO BRICK LV User Manual

Page of 271
Geo Brick LV User Manual
 
PinOuts and Software Setup 
 99 
Field 
Value 
Notes 
Channel Control Word 
CRC Mask 
=33 
Hex 0x21 typical for Renishaw 
$211492 
BiSS Type 
=0 
for BiSS-C 
Trigger Mode 
=0 
Continuous trigger (typical) 
Trigger Enable 
=1 
Enable 
Data Ready / Senc Mode  =1 
Enable serial driver 
Status Bits 
=2 
Binary 010 
Protocol Bits 
=18 
Binary 010010 
 
Control Registers Power-On PLC 
The Global and Channel Control words have to be executed once on power-up  
//=========================== NOTES ABOUT THIS PLC EXAMPLE ================================// 
// This PLC example utilizes: - M5990 through M5991 
//  
 
 
 
- Coordinate system 1 Timer 1  
 
  
// Make sure that current and/or future configurations do not create conflicts with  
// these parameters. 
//=========================================================================================// 
M5990..5991->* ; Self-referenced M-Variables 
M5990..5991=0  ; Reset at download 
//========================= GLOBAL CONTROL REGISTERS ======================================// 
#define SSIGlobalCtrl1_4 
M5990  ; Channels 1-4 BiSS global control register   
SSIGlobalCtrl1_4->X:$78B2F,0,24,U 
; Channels 1-4 BiSS global control register address 
//======================== CHANNEL CONTROL REGISTERS ======================================// 
#define Ch1SSICtrl 
 
M5991  ; Channel 1 BiSS control register 
Ch1SSICtrl->X:$78B20,0,24,U    
; Channel 1 BiSS control register Address 
//========= POWER-ON PLC EXAMPLE, GLOBAL & CHANNEL CONTROL REGISTERS ======================// 
Open PLC 1 Clear 
SSIGlobalCtrl1_4=$63000B 
; Trigger at Phase, 1 MHz serial Clock (M=99, N=0) –User Input 
Ch1SSICtrl=$211492 
 
; Channel 1, BiSS-C protocol, 18-bit resolution    –User Input 
 
I5111=500*8388608/I10 while(I5111>0) endw 
; ½ sec delay 
Dis plc 1 
 
 
; Execute once on power-up or reset 
Close   
 
 
//=========================================================================================//