Serial Communication Instructions; Txd - Omron SYSMAC CP Series Instruction & Reference Manual

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

Serial Communication Instructions

TXD

Instruction
TRANSMIT
Symbol
Applicable Program Areas
Area
Usage
Operands
Operand
S
First source word
C
Control word
N
Number of bytes 0000 to 0100 hex (0 to 256)
C: Control word
15
12
11
C
Always 0
Operand Specifications
Area
CIO
WR
HR
S
OK
OK
OK
C, N
CP1E CPU Unit Instructions Reference Manual(W483)
Mnemonic
Variations
TXD
@TXD
Step program areas
OK
Description
8
7
4
3
0
Byte order
0: Most significant bytes first
1: Least significant bytes first
RS and ER signal control
0: No RS and ER signal control
1: RS signal control
2: ER signal control
3: RS and ER signal control
Serial port specifier
1: CPU Unit's RS-232C port
2: Serial Option Board port
Word addresses
AR
T
C
DM
OK
OK
OK
OK
Function
code
Outputs the specified number of bytes of data
236
from the CPU Unit's built-in RS-232C port or the
Serial Option Board port.
TXD
TXD(236)
S
S: First source word
C
C: Control word
N
N: Number of bytes
0000 to 0100 hex (0 to 256)
Subroutines
OK
Indirect DM addresses
Constants
@DM
*DM
---
OK
OK
OK
2 Instructions
Function
Interrupt tasks
OK
Data type
Size
UINT
Variable
UINT
1
UINT
1
CF
Pulse bits
TR bits
---
---
---
2-369
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents