FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
void ConnectionDrive::ConnectionEstablished
(
)
inline
private
virtual
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
1165
RequestSdo
(
kNodeZd
,
kReqErrStat
);
1166
RequestSdo
(
kNodeAz
,
kReqErrStat
);
1167
1168
SetRpmMode
(
false
);
1169
1170
RequestSdo
(
kNodeZd
,
kReqPosRes
);
1171
RequestSdo
(
kNodeAz
,
kReqPosRes
);
1172
1173
RequestSdo
(
kNodeZd
,
kReqVelRes
);
1174
RequestSdo
(
kNodeAz
,
kReqVelRes
);
1175
1176
RequestSdo
(
kNodeZd
,
kReqVelMax
);
1177
RequestSdo
(
kNodeAz
,
kReqVelMax
);
1178
1179
RequestSdo
(
kNodeZd
,
kReqPos
, 0);
1180
RequestSdo
(
kNodeAz
,
kReqPos
, 0);
1181
RequestSdo
(
kNodeZd
,
kReqPos
, 1);
1182
RequestSdo
(
kNodeAz
,
kReqPos
, 1);
1183
1184
RequestSdo
(
kNodeZd
,
kReqKeepAlive
);
1185
RequestSdo
(
kNodeAz
,
kReqKeepAlive
);
1186
1187
StartReadReport
();
1188
}
ConnectionDrive::kNodeAz
Definition:
drivectrl.cc:513
ConnectionDrive::kReqPosRes
Definition:
drivectrl.cc:565
ConnectionDrive::StartReadReport
void StartReadReport()
Definition:
cosyctrl.cc:541
ConnectionDrive::SetRpmMode
void SetRpmMode(bool mode)
Definition:
drivectrl.cc:1349
ConnectionDrive::kReqErrStat
Definition:
drivectrl.cc:558
ConnectionDrive::kReqVelRes
Definition:
drivectrl.cc:562
ConnectionDrive::kReqVelMax
Definition:
drivectrl.cc:563
ConnectionDrive::kNodeZd
Definition:
drivectrl.cc:514
ConnectionDrive::RequestSdo
void RequestSdo(uint8_t node, uint16_t idx, uint8_t subidx=0)
Definition:
drivectrl.cc:1283
ConnectionDrive::kReqPos
Definition:
drivectrl.cc:564
ConnectionDrive::SendSdo
void SendSdo(uint8_t node, uint16_t idx, uint8_t subidx, uint32_t val)
Definition:
drivectrl.cc:1287
ConnectionDrive::kSetArmed
Definition:
drivectrl.cc:567
ConnectionDrive::fIsInitialized
bool fIsInitialized[2]
Definition:
drivectrl.cc:1152
ConnectionDrive::kReqKeepAlive
Definition:
drivectrl.cc:560
ConnectionDrive
Generated on Sun Sep 18 2016 20:50:44 for FACT++ by
1.8.11