Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual page 296

Hide thumbs Also See for CPM1 - PROGRAMING MANUAL 02-2001:
Table of Contents

Advertisement

SRM1(-V2) Communications Functions
Transmission Data
Configuration
Transmission Flags
276
Node number:
When no-protocol communications are used, TXD(48) is used to send data and
RXD(47) to receive data. The maximum amount of data that can be either sent or
received is 259 bytes, including the start/end code.
No Start or End Code:
Only a Start Code:
Only an End Code:
Both an Start and End Code:
End Code of CR, LF:
Start Code 00-FF/End Code CR,LF:
Note
1. The start and end codes are set in DM 6648 to DM 6649 and DM 6653 to
DM 6654 of the PC Setup.
2. When there are several start and end codes, the first part of each will be ef-
fective.
3. When the end code duplicates the transmission data and the transmission is
stopped part way through, use CR or LF as the end code.
4. The start and end codes are not stored.
When sending data from the SRM1(-V2), check that the Transmission Enable
Flag is ON for executing the TXD(48) instruction. The Transmission Enable Flag
will turn OFF while the data is being transmitted and will turn ON again when
transmission is complete.
After the SRM1(-V2) has received data, the Receive Enable Flag turns ON.
When the RXD instruction is executed, the data received will be written to the
specified words and the Reception Complete Flag will turn OFF.
Flag
Transmission Enable Flag
Reception Complete Flag
Note The timing from data reception starting to completion for the SRM1(-V2) is as
indicated below.
Reception Start:
Without start code:
With start code:
00
Data (256 bytes max.)
ST
Data (256 bytes max.)
Data (256 bytes max.)
ST
Data (256 bytes max.)
Data (256 bytes max.)
Data (256 bytes max.)
ST
Peripheral port
AR 0813
AR 0814
Normal reception status
After start code is received.
Section
4-4
ED
ED
CR
LF
CR
LF
RS-232C port
AR 0805
AR 0806

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CPM1 - PROGRAMING MANUAL 02-2001 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents