The explanations of procedures given in this document are based on the use of the factory default settings. When using a device that has been changed from the default settings, various settings may not be able to proceed according to the procedures described. 8.1. Initializing the Controller In order to initialize the controller, both the CPU Module unit and Serial Communication Unit must be initialized. Please put the controller in Program Mode before initialization. 8.1.1. Serial Communications Unit To return the Serial Communication Unit’s settings to their default settings, select [Edit Special Unit Settings] for [CJ1W-SCU22] in [CPU EXPANSION RACKS] in "Sysmac Studio".
46 3 Check the received content (read code) on the Watch Tab Page of Sysmac Studio. * In the example on the right, the data stored in Output RecvMessage is _ "377.477 170.371 0.299 1.000, LOT123456 DATE05 / 2012,123456", which is the same as the trace data in Step 3 in Section 7.4.3. * Output RecvData [0] stores _ the number of channels (hexadecimal "001D") used to store received data. The content of the read barcode is stored in Output RecvData [1] _ to [28], so the number of channels used is 29 including Output RecvData [0].
_ Received content (Hexidecimal) ・Output RecvData[0]:”001D” Number of channels used to _ store received data 29 channels, [0] to [28] ・Output RecvData[1]:“3337” _ ・Output RecvData[2]:”372E” _ ・Output RecvData[2]:”3437” Barcode value (String) _ ・ ︙ Output _RecvMessage 「 377.477 170.371 0.299 ・Output RecvData[26]:”3132” _ 1.000,LOT123456 ・Output _RecvData[27]:”3334” DATE05/2012,123456」 ・Output RecvData[28]:”3536” _ 8. Initializing the System