Chapter 13 RS-232C function of K200S
13
RS-232C function of K200S...........................................................................13-1
13.1 Introduction.................................................................................................................................... 13-1
13.2 System configuration.................................................................................................................13-2
13.2.1 Connection with PC ( without handshake function ).................................................... 13-2
13.2.2 Connection with monitoring unit ( with handshake function )...................................13-2
13.3 Pin assignment.............................................................................................................................13-3
13.3.1 Pin-out of K200S RS-232C connector..............................................................................13-3
13.3.2 Connection without handshake function..........................................................................13-3
13.3.3 Connection with handshake function ................................................................................13-3
13.4 Frame structure ............................................................................................................................13-4
13.4.1 General structures...................................................................................................................13-4
13.5 Instruction list............................................................................................................................... 13-5
13.6 Data address structure..............................................................................................................13-6
13.6.1 Start of data............................................................................................................................... 13-6
13.6.2 Device type................................................................................................................................13-6
13.6.3 Data type.....................................................................................................................................13-7
13.6.4 Device number..........................................................................................................................13-7
13.7 Examples of command execution........................................................................................13-8
13.7.1 Read single device ( RSS ) ..................................................................................................13-8
13.7.2 Read continuous devices (RSB).......................................................................................13-11
13.7.3 Write single device (WSS)..................................................................................................13-14
13.7.4 Write continuous device (WSB) ........................................................................................13-17
13.7.5 Register monitoring number...............................................................................................13-20
13.7.6 Execute monitoring................................................................................................................13-23
13.7.7 Read the status of PLC (RST)...........................................................................................13-25
13.8 Error code list..............................................................................................................................13-28