Omron CP1E-N@@D@-@ Computer Hardware User Manual


 
2-369
2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
Serial Communication
Instructions
2
TXD
Serial Communication Instructions
TXD
Applicable Program Areas
Operands
C: Control word
Operand Specifications
Instruction Mnemonic Variations
Function
code
Function
TRANSMIT TXD @TXD 236
Outputs the specified number of bytes of data
from the CPU Unit’s built-in RS-232C port or the
Serial Option Board port.
Symbol
TXD
Area Step program areas Subroutines Interrupt tasks
Usage OK OK OK
Operand Description Data type Size
S First source word UINT Variable
C Control word UINT 1
N Number of bytes 0000 to 0100 hex (0 to 256) UINT 1
Area
Word addresses Indirect DM addresses
Constants CF
Pulse
bits TR bits
CIO WR HR AR T C DM @DM *DM
S
OK OK OK OK OK OK OK OK OK
---
--- --- ---
C, N OK
S: First source word
TXD(236)
S
C
N
N: Number of bytes
0000 to 0100 hex (0 to 256)
C: Control word
15 8 011 37 412
C
Always 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