PCS7中数组能不能设置S7 | 您所在的位置:网站首页 › s7-m-c › PCS7中数组能不能设置S7 |
PCS7中数组能不能设置S7_m_c属性? 最佳答案 S7_m_c只支持简单类型的数据,数组是不支持的; ————————————————————————— S7_m_c Attribute Parameter system attribute for: IN/OUT/IN_OUT parameters for function blocks, system function blocks, shared data blocks, data blocks derived from a user-defined data type, instance data blocks, global data blocks, charts. Permitted parameter data types: BOOL, BYTE, CHAR, DINT, DWORD, INT, REAL, STRING, WORD, BLOCK_xx, TIME, SDTIME STRING is only permitted in the instance DB as an IN or OUT parameter, since only a pointer is stored in the instance data block for VAR_INOUT. STRING is also permitted in the shared DB (VAR). Description: The parameter can be read/written from the control level (OS). The operator interface system uses the system attribute to determine how the data structure for the corresponding run-time object is to be created. Value range: S7_m_c:=’true’ S7_m_c:=’false’ (applies when the attribute has not been defined) 提问者对于答案的评价:谢谢 dcount107! 原创文章,作者:more0621,如若转载,请注明出处:https://www.zhaoplc.com/plc194028.html |
CopyRight 2018-2019 实验室设备网 版权所有 |