Table of Contents

Advertisement

3. Instructions

IOWR

Instruction
INTELLIGENT I/O WRITE
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
C
Control data
S
Transfer source and number of words
D
Transfer destination and number of words
Note If IOWR(223) is executed for a CPU Bus Unit running under a CPU Unit that does not support using IOWR(223) for CPU
Bus Units, an error will occur and the ER Flag will turn ON.
C:
Depends on Special I/O Unit or CPU Bus Unit.
D:
Special I/O Unit: 0000 to 005F hex
CPU Bus Unit: 8000 to 800F hex
D+1: Number of words to transfer
(0000 to 0080 Hex, depends on Special I/O Unit or CPU Bus Unit)
D+1
Operand Specifications
Word addresses
Area
CIO
WR
HR
C
S
OK
OK
OK
D
842
Mnemonic
Variations
IOWR
@IOWR
IOWR(223)
Block program areas
Step program areas
OK
OK
Description
(to specify unit numbers 0 to 95)
(to specify unit numbers 0 to F hex)
D
D+1: Leftmost 4 digits
D: Rightmost 4 digits
Indirect DM/EM
@DM
AR
T
C
DM
EM
@EM
OK
OK
OK
OK
OK
OK
Function
code
Outputs the contents of the CPU Unit's I/O mem-
223
ory area to a Special I/O Unit or CPU Bus Unit.
IOWR
C: Control data
C
S: Transfer source and number of words
S
D: Transfer destination and number of words
D
Subroutines
OK
Data type
UINT
WORD
UDINT
addresses
Con-
stants
*DM
DR
*EM
OK
OK
OK
---
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
SFC action or
Interrupt tasks
transition programs
OK
OK
Size
1
Variable
2
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
TR
bits
---
---

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents