Delta AH500 Programming Manual page 588

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

AH 5 00 Pr ogr am m ing Ma n ua l
Example 4:
1.
Function code 06 (16#06): The AH500 series PLC reads the data from one single bit device
which are not discrete input devices.
2.
AH500 series is connected to the DVP-ES2 series PLC.
ASCII Mode: The AH500 series PLC is connected to the DVP-ES2series PLC. When SM96
and X0.0 are on, the AH500 series PLC sends and receives the T0 (T0 address is 16#0600)
commands from DVP-ES2.
3.
After the reception of data is complete, it will check the data format of what have been sent
from the DVP-ES2 series PLC. If the format is correct, SM100 will be ON, and if not, SM102
will be ON.
4.
When the DVP-ES2 series PLC receives the communication instruction, the value in D10 will
be written in T0.
5.
This function code is for writing. Thus the n vaule in this instruction will not be used.
Additional remark:
1.
If the value in S
or S
1
executed, SM0 is ON, and the error code in SR0 is 16#2003.
2.
If the device specified by S is not sufficient to contain the n pieces of data, the instruction is not
executed, SM0 is ON, and the error code in SR0 is 16#2003.
3.
If n exceeds the range, the operation error occurs, the instruction is not executed, SM0 is ON,
and the error code in SR0 is 16#200B.
4.
If the function code specified by S
be the bit device. Otherwise, the operation error occurs, the instruction is not executed, and
the error code in SR0 is 16#2003.
5.
If the function code specified by S
to be the word device. Otherwise, the operation error occurs, the instruction is not executed,
and the error code in SR0 is 16#2003.
6.
If the communication command is 0x05 or 0x06, n does not work. The state or the data is
written into one bit device or one word device.
7.
If SM96 and SM97 are not ON, the instruction MODRW is not executed.
6 - 4 2 0
exceeds the range, the operation error occurs, the instruction is not
2
is related to the bit device, the device specified by S has to
2
is related to the word device, the device specified by S has
2

Advertisement

Table of Contents
loading

Table of Contents