EasyManuals Logo

Omron CPM1 Programming Manual

Omron CPM1
541 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #372 background imageLoading...
Page #372 background image
351
Communications Instructions Section 5-27
TXD(48) operates differently in host link mode and RS-232C mode, so these
modes are described separately.
Note 1. Flag AR 0805 will be ON when the CQM1 or SRM1
is capable of transmitting data through the RS-232C port and AR 0813 will
be ON when the CQM1 or SRM1 is capable of transmitting data through
the peripheral port.
2. Refer to 1-9 Communications Functions for details on using the TXD(48)
instruction, setting communications protocol in the PC Setup, etc.
Host Link Mode N must be BCD from #0000 to #0061 (i.e., up to 122 bytes of ASCII). The
value of the control word determines the port from which data will be output,
as shown below.
The specified number of bytes will be read from S through S+(N/2)–1, con-
verted to ASCII, and transmitted through the specified port. The bytes of
source data shown below will be transmitted in this order: 12345678...
The following diagram shows the format for host link command (TXD) sent
from the CQM1. The CQM1 automatically attaches the prefixes and suffixes,
such as the node number, header, and FCS.
RS-232C Mode N must be BCD from #0000 to #00256. The value of the control word deter-
mines the port from which data will be output and the order in which data will
be written to memory.
Control Word The value of the control word determines the port from which data will be read
and the order in which data will be written to memory.
Not used. (Set to 000.)
Port 0: Specifies RS-232C port.
1: Specifies peripheral port.
Digit number: 3 2 1 0
MSB LSB
S12
S+1 3 4
S+2 5 6
S+3 7 8
@ X X X X X X ......... X X X CR
Header
code
Data (122 ASCII characters max.) FCSNode
number
Terminator
Byte order 0: Most significant bytes first
1: Least significant bytes first
Not used. (Set to 00.)
Port 0: Specifies RS-232C port.
1: Specifies peripheral port.
Digit number: 3 2 1 0

Table of Contents

Other manuals for Omron CPM1

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CPM1 and is the answer not in the manual?

Omron CPM1 Specifications

General IconGeneral
ModelCPM1
ManufacturerOmron
Instruction SetBasic and advanced instructions
Power Supply100 to 240 VAC or 24 VDC
CommunicationRS-232C
I/O Points10, 20, 30, or 40 points depending on the model
TimersYes, multiple timers available
CountersYes, multiple counters available
Input Voltage24V DC
Output TypeRelay or transistor
Number of I/O Points10, 20, 30, 40
Communication PortsRS-232C (optional)
Operating Temperature0°C to 55°C
Storage Temperature-20°C
Humidity10% to 90% (non-condensing)
DimensionsVaries depending on the model
WeightVaries depending on the model
Program Memory2048 steps (2K steps)

Related product manuals