FACT++  1.0
void ConnectionDrive::ConnectionEstablished ( )
inlineprivatevirtual

Reimplemented from Connection.

Definition at line 1155 of file drivectrl.cc.

1156  {
1157  //Info("Connection to PLC established.");
1158 
1159  fIsInitialized[0] = false;
1160  fIsInitialized[1] = false;
1161 
1162  SendSdo(kNodeZd, kSetArmed, 1);
1163  SendSdo(kNodeAz, kSetArmed, 1);
1164 
1167 
1168  SetRpmMode(false);
1169 
1172 
1175 
1178 
1179  RequestSdo(kNodeZd, kReqPos, 0);
1180  RequestSdo(kNodeAz, kReqPos, 0);
1181  RequestSdo(kNodeZd, kReqPos, 1);
1182  RequestSdo(kNodeAz, kReqPos, 1);
1183 
1186 
1187  StartReadReport();
1188  }
void StartReadReport()
Definition: cosyctrl.cc:541
void SetRpmMode(bool mode)
Definition: drivectrl.cc:1349
void RequestSdo(uint8_t node, uint16_t idx, uint8_t subidx=0)
Definition: drivectrl.cc:1283
void SendSdo(uint8_t node, uint16_t idx, uint8_t subidx, uint32_t val)
Definition: drivectrl.cc:1287
bool fIsInitialized[2]
Definition: drivectrl.cc:1152