|
@@ -389,13 +389,13 @@ Error_manager Dispatch_communication::communication_init(int plc_id)
|
|
|
t_index += sizeof(unsigned char)*1;
|
|
|
t_variable_information_vector.push_back(Snap7_buf::Variable_information{"m_error_code", typeid(unsigned int).name(), t_index,sizeof(unsigned int), 1 });
|
|
|
t_index += sizeof(unsigned int)*1;
|
|
|
- t_variable_information_vector.push_back(Snap7_buf::Variable_information{"m_reserved16_35", typeid(unsigned char).name(), t_index,sizeof(unsigned char), 3 });
|
|
|
+ t_variable_information_vector.push_back(Snap7_buf::Variable_information{"m_reserved16_35", typeid(unsigned char).name(), t_index,sizeof(unsigned char), 20 });
|
|
|
t_index += sizeof(unsigned char)*20;
|
|
|
- t_variable_information_vector.push_back(Snap7_buf::Variable_information{"m_gpio_input", typeid(unsigned char).name(), t_index,sizeof(unsigned char), 3 });
|
|
|
+ t_variable_information_vector.push_back(Snap7_buf::Variable_information{"m_gpio_input", typeid(unsigned char).name(), t_index,sizeof(unsigned char), 16 });
|
|
|
t_index += sizeof(unsigned char)*16;
|
|
|
- t_variable_information_vector.push_back(Snap7_buf::Variable_information{"m_gpio_output", typeid(unsigned char).name(), t_index,sizeof(unsigned char), 3 });
|
|
|
+ t_variable_information_vector.push_back(Snap7_buf::Variable_information{"m_gpio_output", typeid(unsigned char).name(), t_index,sizeof(unsigned char), 8 });
|
|
|
t_index += sizeof(unsigned char)*8;
|
|
|
- t_variable_information_vector.push_back(Snap7_buf::Variable_information{"m_reserved60_79", typeid(unsigned char).name(), t_index,sizeof(unsigned char), 3 });
|
|
|
+ t_variable_information_vector.push_back(Snap7_buf::Variable_information{"m_reserved60_79", typeid(unsigned char).name(), t_index,sizeof(unsigned char), 20 });
|
|
|
t_index += sizeof(unsigned char)*20;
|
|
|
t_variable_information_vector.push_back(Snap7_buf::Variable_information{"m_heartbeat", typeid(unsigned char).name(), t_index,sizeof(unsigned char), 1 });
|
|
|
t_index += sizeof(unsigned char)*1;
|