6-2SectionUsing No-protocol Communications
100
6-2 Application Procedure
1, 2, 3... 1. Turn OFF the power supply to the PC.
2. Mount the Board.
3. Connections
Connect the external devices using RS-232C or RS-422 cables. The TERM
and WIRE switches on the front panel of the Board must be set if the Board is
connected using the RS-422A/485 port.
The CPU Unit can be connected to a Programming Console, the CX-Pro-
grammer, or the CX-Protocol as required.
4. Turn ON power.
5. Set the PC Setup settings for the Serial Communications Board.
Use a Programming Console, the CX-Programmer, or the CX-Protocol to
set the settings in the PC Setup between DM 6500 and DM 6559.
Note The settings stored in these words are read constantly; the PC does
not need to be restarted or reset when changes are made to the set-
tings. They will be updated automatically as soon as they are
changed.
The following table shows the settings for using STX as the start code,
CR+LF as the end code, and no transmission delay.
Port 1 Port 2 Bit(s) Setting Function
DM 6555 DM 6550
00 to 03 0 Hex Standard port settings
(1 start bit, 7-bit data, even parity,
2 stop bits, 9,600 bps)
04 to 11 --- Not used.
12 to 15 1 Hex Serial communications mode
No-protocol
DM 6556 DM 6551
00 to 07 00 Hex Baud rate setting disabled.
08 to 15 00 Hex Frame format setting disabled.
DM 6557 DM 6552 00 to 15 0000
(BCD)
Transmission delay: 0 ms
0000 to 9999 (BCD): Set in units
of 10 ms
DM 6558 DM 6553
00 to 07 --- Not used.
08 to 11 1 Hex Start code enabled
12 to 15 2 Hex End code enabled as CR+LF
0: Disable (number of receive
bytes set)
1: Set (specified end code)
2: CR, LF
DM 6559 DM 6554
00 to 07 02 Hex Start code: STX
08 to 15 00 Hex Number of receive bytes
(Disabled when end code is set.)
6. Write and execute the ladder program. Use TXD(––) to send data to an ex-
ternal device and RXD(––) to receive data from an external device.