|
|
|
@ -193,102 +193,102 @@ ReturnValue_t pst::pstTcsAndAcs(FixedTimeslotTaskIF *thisSequence, AcsPstCfg cfg
|
|
|
|
|
if (cfg.scheduleAcsBoard) {
|
|
|
|
|
if (enableAside) {
|
|
|
|
|
// A side
|
|
|
|
|
thisSequence->addSlot(objects::MGM_0_LIS3_HANDLER, length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::MGM_0_LIS3_HANDLER, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_0_LIS3_HANDLER, length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::MGM_0_LIS3_HANDLER, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_0_LIS3_HANDLER, length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::MGM_0_LIS3_HANDLER, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_0_LIS3_HANDLER, length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::MGM_0_LIS3_HANDLER, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_0_LIS3_HANDLER, length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::MGM_0_LIS3_HANDLER, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
|
|
|
|
|
thisSequence->addSlot(objects::MGM_1_RM3100_HANDLER,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_1_RM3100_HANDLER,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_1_RM3100_HANDLER,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_1_PERIOD, DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
length * config::acs::SCHED_BLOCK_2_PERIOD, DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_1_RM3100_HANDLER,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_1_PERIOD, DeviceHandlerIF::SEND_READ);
|
|
|
|
|
length * config::acs::SCHED_BLOCK_2_PERIOD, DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_1_RM3100_HANDLER,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_1_PERIOD, DeviceHandlerIF::GET_READ);
|
|
|
|
|
length * config::acs::SCHED_BLOCK_2_PERIOD, DeviceHandlerIF::GET_READ);
|
|
|
|
|
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_0_ADIS_HANDLER,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_0_ADIS_HANDLER,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_0_ADIS_HANDLER,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_1_PERIOD, DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
length * config::acs::SCHED_BLOCK_2_PERIOD, DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_0_ADIS_HANDLER,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_1_PERIOD, DeviceHandlerIF::SEND_READ);
|
|
|
|
|
length * config::acs::SCHED_BLOCK_2_PERIOD, DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_0_ADIS_HANDLER,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_1_PERIOD, DeviceHandlerIF::GET_READ);
|
|
|
|
|
length * config::acs::SCHED_BLOCK_2_PERIOD, DeviceHandlerIF::GET_READ);
|
|
|
|
|
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_1_L3G_HANDLER, length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_1_L3G_HANDLER, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_1_L3G_HANDLER, length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_1_L3G_HANDLER, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_1_L3G_HANDLER, length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_1_L3G_HANDLER, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_1_L3G_HANDLER, length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_1_L3G_HANDLER, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_1_L3G_HANDLER, length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_1_L3G_HANDLER, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
}
|
|
|
|
|
if (enableBside) {
|
|
|
|
|
// B side
|
|
|
|
|
thisSequence->addSlot(objects::MGM_2_LIS3_HANDLER, length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::MGM_2_LIS3_HANDLER, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_2_LIS3_HANDLER, length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::MGM_2_LIS3_HANDLER, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_2_LIS3_HANDLER, length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::MGM_2_LIS3_HANDLER, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_2_LIS3_HANDLER, length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::MGM_2_LIS3_HANDLER, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_2_LIS3_HANDLER, length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::MGM_2_LIS3_HANDLER, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
|
|
|
|
|
thisSequence->addSlot(objects::MGM_3_RM3100_HANDLER,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_3_RM3100_HANDLER,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_3_RM3100_HANDLER,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_1_PERIOD, DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
length * config::acs::SCHED_BLOCK_2_PERIOD, DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_3_RM3100_HANDLER,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_1_PERIOD, DeviceHandlerIF::SEND_READ);
|
|
|
|
|
length * config::acs::SCHED_BLOCK_2_PERIOD, DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_3_RM3100_HANDLER,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_1_PERIOD, DeviceHandlerIF::GET_READ);
|
|
|
|
|
length * config::acs::SCHED_BLOCK_2_PERIOD, DeviceHandlerIF::GET_READ);
|
|
|
|
|
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_2_ADIS_HANDLER,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_2_ADIS_HANDLER,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_2_ADIS_HANDLER,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_1_PERIOD, DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
length * config::acs::SCHED_BLOCK_2_PERIOD, DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_2_ADIS_HANDLER,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_1_PERIOD, DeviceHandlerIF::SEND_READ);
|
|
|
|
|
length * config::acs::SCHED_BLOCK_2_PERIOD, DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_2_ADIS_HANDLER,
|
|
|
|
|
length * config::acs::SCHED_BLOCK_1_PERIOD, DeviceHandlerIF::GET_READ);
|
|
|
|
|
length * config::acs::SCHED_BLOCK_2_PERIOD, DeviceHandlerIF::GET_READ);
|
|
|
|
|
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_3_L3G_HANDLER, length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_3_L3G_HANDLER, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_3_L3G_HANDLER, length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_3_L3G_HANDLER, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_3_L3G_HANDLER, length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_3_L3G_HANDLER, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_3_L3G_HANDLER, length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_3_L3G_HANDLER, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_3_L3G_HANDLER, length * config::acs::SCHED_BLOCK_1_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_3_L3G_HANDLER, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -616,19 +616,19 @@ ReturnValue_t pst::pstTcsAndAcs(FixedTimeslotTaskIF *thisSequence, AcsPstCfg cfg
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
thisSequence->addSlot(objects::ACS_CONTROLLER, length * config::acs::SCHED_BLOCK_2_PERIOD, 0);
|
|
|
|
|
thisSequence->addSlot(objects::ACS_CONTROLLER, length * config::acs::SCHED_BLOCK_3_PERIOD, 0);
|
|
|
|
|
|
|
|
|
|
if (cfg.scheduleImtq) {
|
|
|
|
|
// This is the torquing cycle.
|
|
|
|
|
thisSequence->addSlot(objects::IMTQ_HANDLER, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::IMTQ_HANDLER, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::IMTQ_HANDLER, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::IMTQ_HANDLER, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::IMTQ_HANDLER, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::IMTQ_HANDLER, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::IMTQ_HANDLER, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::IMTQ_HANDLER, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::IMTQ_HANDLER, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::IMTQ_HANDLER, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -711,94 +711,94 @@ ReturnValue_t pst::pstTcsAndAcs(FixedTimeslotTaskIF *thisSequence, AcsPstCfg cfg
|
|
|
|
|
|
|
|
|
|
if (cfg.scheduleRws) {
|
|
|
|
|
// this is the torquing cycle
|
|
|
|
|
thisSequence->addSlot(objects::RW1, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW1, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::RW2, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW2, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::RW3, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW3, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::RW4, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW4, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
|
|
|
|
|
thisSequence->addSlot(objects::RW1, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW1, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::RW2, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW2, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::RW3, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW3, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::RW4, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW4, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
|
|
|
|
|
thisSequence->addSlot(objects::RW1, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW1, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::RW2, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW2, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::RW3, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW3, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::RW4, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW4, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
|
|
|
|
|
thisSequence->addSlot(objects::RW1, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW1, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::RW2, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW2, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::RW3, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW3, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::RW4, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW4, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
|
|
|
|
|
thisSequence->addSlot(objects::RW1, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW1, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
thisSequence->addSlot(objects::RW2, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW2, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
thisSequence->addSlot(objects::RW3, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW3, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
thisSequence->addSlot(objects::RW4, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW4, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
|
|
|
|
|
thisSequence->addSlot(objects::RW1, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW1, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::RW2, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW2, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::RW3, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW3, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::RW4, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW4, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
|
|
|
|
|
thisSequence->addSlot(objects::RW1, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW1, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::RW2, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW2, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::RW3, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW3, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::RW4, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW4, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
|
|
|
|
|
thisSequence->addSlot(objects::RW1, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW1, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::RW2, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW2, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::RW3, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW3, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::RW4, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW4, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
|
|
|
|
|
thisSequence->addSlot(objects::RW1, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW1, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::RW2, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW2, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::RW3, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW3, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::RW4, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW4, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
|
|
|
|
|
thisSequence->addSlot(objects::RW1, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW1, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
thisSequence->addSlot(objects::RW2, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW2, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
thisSequence->addSlot(objects::RW3, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW3, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
thisSequence->addSlot(objects::RW4, length * config::acs::SCHED_BLOCK_2_PERIOD,
|
|
|
|
|
thisSequence->addSlot(objects::RW4, length * config::acs::SCHED_BLOCK_4_PERIOD,
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|