Application Procedure - Omron CQM1H-SCB41 Operation Manual

Sysmac cqm1h series serial communications board
Hide thumbs Also See for CQM1H-SCB41:
Table of Contents

Advertisement

Application Procedure

6-2

Application Procedure

1,2,3...
102
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
DM 6555
DM 6550
DM 6556
DM 6551
DM 6557
DM 6552
DM 6558
DM 6553
DM 6559
DM 6554
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.
Bit(s)
Setting
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
00 to 07
00 Hex
Baud rate setting disabled.
08 to 15
00 Hex
Frame format setting disabled.
00 to 15
0000
Transmission delay: 0 ms
(BCD)
0000 to 9999 (BCD): Set in units of
10 ms
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
00 to 07
02 Hex
Start code: STX
08 to 15
00 Hex
Number of receive bytes (Disabled
when end code is set.)
Section 6-2
Function

Advertisement

Table of Contents
loading

Table of Contents