Delta AH500 Programming Manual page 486

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

AH 5 00 Pr ogr am m ing Ma n ua l
Instruction
API
code
1401
D
TO
Device X
Y
M
m
1
m
2
m
3
S
D
n
Symbol:
Explanation:
1.
Users can use this instruction to write the data in the AH500 series PLC into the control
register in the special module.
2.
The operand m
should be within the range between 1 and 8. 1 represents a main rack, and
1
2~8 represent extension racks.
3.
The operand m
should be within the range between 0 and 11. If the rack code is 1, the slot
2
code should be within the range between 0 and 11. If the rack code is within the range
between 2 and 8, the slot code should be within the range between 0 and 7.
4.
The operand m
specifies the control register number.
3
5.
When the instruction TO is executed, D is set to 0. When an error occurs, D is not set to 0.
Please refer to the additional remark below for more information about the error codes.
6.
The operand n used in the 16-bit instruction should be within the range between 1 and 256,
and the operand n used in the 32-bit instruction should be within the range between 1 and 128.
7.
Only the 32-bit instructions can use the 32-bit counter.
8.
Special modules include analog I/O modules, network I/O modules, and position I/O modules.
9.
When S is a decimal value or a hexadecimal value, n decimal values or n hexadecimal values
are transmitted to the I/O module. Suppose S is 16#0001 and n is 3. Three 16#0001s are
transmitted to the I/O module.
6-318
Operand
P
m
, m
, m
, S, D, n
1
2
3
S
T
C
HC
D
Pulse instruction 16-bit instruction (13 steps) 32-bit instruction (13 steps)
AH500
: Rack code
m
1
: Slot code
m
2
: Control register number
m
3
S :
D :
n : Data length
Writing the data into the control
register in the special module
L
SM SR
E
AH500
Data which is written into the
control register
Device in which the error
code is stored
Function
PR
K
16# "$"
DF
AH500
Word/Double word
Word/Double word
Word/Double word
Word/Double word
Word/Double word
Word/Double word

Advertisement

Table of Contents
loading

Table of Contents