User`s manual

248
10.4.2 Data communications using the binary code
The following shows the control procedure when performing switch settings via GX Developer and registration via GX
Configurator-SC.
(1) Switch settings by GX Developer
Set the "Communication protocol setting" to "MC protocol (format 5)".
Set the "Station number" to "0".
(2) Registration via GX Configurator-SC
Register as follows when transmitting a user frame, user selected transmission data
*1
or a combination of user
frames.
(a) "User frame registration" screen
(b) "Transmission control and others system setting" screen, "MC protocol system
setting" screen
Set the "Word/byte units designation" to word units.
Set the "On-demand user frame designation" items to the following:
First frame No. 1st: 3ECH
First frame No. 2nd: 0H (No designation)
Last frame No. 1st: 402H
Last frame No. 2nd: 0H (No specification)
*1 Use the ONDEMAND instruction to designate the transmission data to two words (1234H, 5678H).
User frame No. User frame (Registration code) User frame registration contents
3ECH(1004) 02H, FFH, 01H, 3BH STX + Q series C24 station No. + ;
402H(1026) 03H, FFH, F0H, 0DH, 0AH
ETX + sum check code + CR + LF
Sum check code is designated by a 1 byte binary
code.