Download XC100 Modular PLC
Transcript
10/10 MN05003004Z-EN RS232 interface in transparent mode (COM 1/2/3) “SysComReadControl” function With the onboard RS232 interface of the CPU101 the control cables/lines are not available. Therefore, the “SysComReadControl” module is not to be used for this interface. The XIOC-SER hardware interface module has control/interface lines available. This allows the “SysComReadControl” module read access to the control/interface lines of the COM 2 and COM 3 interface. Figure 96: Read access to the control/interface lines of the COM 2 or COM 3 interface Table 20: Parameters of the “SysComReadContro” function dwHandle Return value of the “SysComOpen” function Control COM 1: Function discontinued COM 2, COM 3: TRUE = read command on the control lines/cables of the hardware interface COM 1: Function discontinued COM 2, COM 3: TRUE = read command was successful; FALSE = read command was not successful SysComReadControl 68