Omron CQM1H-SCB41 Operation Manual page 82

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

Advertisement

Application Procedure
1,2,3...
Input condition
Note The PC Setup settings for the Serial Communications Board are read
constantly during PC operation. It is not necessary to restart the PC
after changing these settings.
The default settings are shown in the following table. These are the stan-
dard settings for protocol macros.
Port 1
DM 6555
DM 6550
DM 6556
DM 6551
DM 6557
DM 6552
DM 6558
DM 6553
DM 6559
DM 6554
6. Run the system as described below in Using Standard System Protocols
or in Using User-created Protocols.
Using Standard System Protocols
CPU Unit
Serial Communications
Board
1. Setting the Send Data
Refer to information on the 2nd operand of PMCR( ) in Appendix B Com-
poWay/F Master Protocol and set the number of send data words in S, and
set the send data starting in S+1.
2. Coding PMCR( )
The following example shows how to use a Serial Communications Board
to read the present value for a K3N-series Digital Panel Meter using the
CompoWay/F Master standard system protocol sequence No. 600: Send/
Receive with ASCII Conversion and Response.
Protocol Macro
Executing Flag
If the input condition turns ON when the Protocol Macro Executing Flag
(IR 20708 for Port 1) is OFF, communications sequence No. 600 of the
standard system protocol in the Serial Communications Board is called,
and data is sent and received via port 1 of the Serial Communications
Board.
Port 2
Bit(s)
Setting
00 to 03
0 Hex
04 to 07
---
08 to 11
---
12 to 15
6 Hex
00 to 07
---
08 to 15
---
00 to 15
---
00 to 15
---
00 to 15
---
Executed
with
PMCR(—)
Uses standard system protocol No. 600
External device
Example: K3N Series
PMCR
#1600
1: Use port 1, 600: Sequence No. 600
First word of send data
DM0000
First storage word for receive data
DM1000
Section 5-3
Function
Standard port settings (1 start bit,
7-bit data, even parity, 2 stop bits,
9,600 bps)
Not used.
Not used.
Communications mode:
Protocol macro
Baud rate setting disabled.
Frame format setting disabled.
Not used.
Not used.
Not used.
Digital Panel Meter
67

Advertisement

Table of Contents
loading

Table of Contents