Control Unit
Operation mode | |
Description | Control unit to switch over the operation mode and poll the current state of operation mode management, including flow control of user data. |
Data type | MC_CONTROL_MCM_MODE_STATE_UNIT, see description Control Unit with usage check |
ST path | gpCh[channel_idx]^.channel_mc_control.mode_and_state |
Commanded, requested data | |
ST element | .command_w .request_r |
Data type | |
Access | PLC writes command_w and reads request_r |
Return data | |
ST element | .state_r |
Data type | |
Access | PLC reads |
Flow control of commanded value | |
ST element | .command_semaphor_rw |
Data type | BOOL |
Value range | [TRUE, FALSE] |
Special features | Consumption data item |
Access | CNC accepts the commanded data if this element has the value TRUE and sets this element to the value FALSE after complete acceptance of the data. PLC can write data for commanding if this element has the value FALSE. The PLC sets this element to the value TRUE if all data to be commanded is written. |
Flow control of requested data | |
ST element | .request_semaphor_rw |
Data type | BOOL |
Value range | [TRUE, FALSE] |
Special features | Consumption data item |
Access | CNC writes the data requested by the GUI if this element is FALSE and then sets this element to TRUE. PLC reads the data requested by the GUI if this value is TRUE. After the PLC fully accepts the data, the PLC sets this element to FALSE. |