92
Communications Functions Section 1-9
RS-232C Start and End Codes and Data Received
Start and end codes or the amount of data to be received can be set as
shown in the following diagrams if required for RS-232C communications.
This setting is required only for RS-232C communications. To use RS-232C
communications, the RS-232C must be specified as the communications
mode and the communications parameters must be set (see next section).
Enabling Start and End Codes
Specify whether or not a start code is to be set at the beginning of the data,
and whether or not an end code is to be set at the end. Instead of setting the
end code, it is possible to specify the number of bytes to be received before
the reception operation is completed. Both the codes and the number of bytes
of data to be received are set in DM 6649 or DM 6654.
Setting the Start Code, End Code, and Amount of Reception Data
Host Link and RS-232C Communications Parameters
Select either host link or RS-232C communications and then set the commu-
nications parameters as described next. Match the communications condi-
tions to the settings at the device with which communications are being
carried out.
Standard
Communications
If the following settings are satisfactory for these communications conditions,
then set the two rightmost digits to 00. The settings in DM 6646 and DM 6651
will be ignored for this setting.
Start bits: 1 bit
Data length:7 bits
Stop bits: 2 bits
Parity: Even
Baud rate: 9,600 bps
Setting Communications Conditions
15 0
Bit
0 0
End code
0: Not set (Amount of reception data specified.)
1: Set (End code specified.)
2: CR/LF
Start code
0: Not set
1: Set (Start code specified.)
Defaults: No start code; data rece
tes.
DM 6648: RS-232C port
DM 6653: Peripheral port
15 0
Bit
End code or number of bytes to be received
For end code: (00 to FF)
For amount of reception data: 2 digits hexadecimal, 00 to FF (00: 256 bytes)
Start code 00 to FF
Defaults: No start code; data reception complete at 256 bytes.
DM 6649: RS-232C port
DM 6654: Peripheral port
Transmission Frame Format (See table below.)
Baud rate (See table below.)
Default: Standard communication conditions.
15 0
Bit
DM 6646: RS-232C port
DM 6651: Peripheral port