Delta AS Series Programming Manual page 975

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
Operand
D +1
D +2
NOTE: Only one flag is set to ON among the three state flags, and the corresponding special flags (SM) are also set
to ON every time the communication is completed. Refer to Section 6.19.3 for the use of the special flags.
4.
The timing for sending the instruction begins when the instruction starts. You must disable the instruction for a scan
cycle after communication is completed. The next communication instruction can be sent as soon as the instruction
is restarted.
5.
The communication action and control sequence of the instruction are similar to MODRW instruction (API 1808). The
only difference between the two instructions is that you can send the communication command without control over
the flag for sending data.
6.
The instruction cannot be used in the ST programming language, interrupt tasks or function block which is called
only once.
Example
_6
You can compare the MODRW program and MODRWE program, for example, by using the PLC COM1 and function code
03 to read eight pieces of data from D20 in the DVP-ES2. The same is true for other PLC communication ports. Refer to
the MODRW instruction (API 1808) and the following example for the use of other function codes.
1.
The device address of D20 in the DVP-ES2 CPU (16#1020) and the content values in D20–D27 are shown in the
following table.
Device
Value (16#)
2.
The AS Series PLC reads the content values from D20–D27 in the DVP-ES2 CPU through communication.
6 - 6 9 6
D
Receiving data successful.
Error occurs in receiving data.
Reception timeout flag
D20
D21
1234
5678
Description
D22
D23
D24
1122
3344
5566
D25
D26
D27
7788
99AA
BBCC

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents