Commands; How To Use Command; Execution Procedure Of Command - AND Device Net.Interface AD-4402 OP-21 Instruction Manual

Devicenet interface
Table of Contents

Advertisement

5.3. Commands

5.3.
Commands
5.3.
5.3.
Commands
Commands
5.3.1.
5.3.1.
5.3.1.
5.3.1.

How to Use Command

How to Use Command
How to Use Command
How to Use Command
BCD code is used for numerical data. When data is negative, the polarity bit is turned
on. ASCII code is used for each character data (in the unit of 8 bits).
Character output area is [OUT data] - [2nd ch] (Bit 12 ~ 15 of "Output data" is used).
Example for BCD: "3" = "0011".
Example for ASCII code: "A" = "0100 0001".
-
Flag "R/
W" specifies the "read command" or "write command".
0: write command, 1: read command
Specify an executed command for the "Command No."
Specify the data of an executed command for the "Output data".
Command has effect at the leading edge of "Command request flag".
Keep the signal level more than 30 msec.
The result of the command is input to "Command reply flag" and "Command No.
reply".
When the read command is output, the result is input to "Command reply data".
When the data is positive over, flag "Over" is ON.
When the data is negative over, flag "Under" is ON.
When the data is negative value, polarity flag is ON.
5.3.2.
5.3.2.
5.3.2.
5.3.2.

Execution Procedure of Command

Execution Procedure of Command
Execution Procedure of Command
Execution Procedure of Command
Ready
Step 1 Turn off the "Command request flag".
Step 2 Specify the flag "R/
Step 3 Specify an executed command for "Command No."
Step 4 If output data is needed, specify data for "Output data".
Execution
Step 5 Confirm that the flag "Slave ready" is ON.
Step 6 Turn on the "Command request flag". It has effect at the leading edge.
Step 7 The AD-4402 replies.
The result is input into "Command reply flag", flag "R/
Step 8 If it is a read command, data is input into "Command reply data".
Finish
Step 9 Turn off the "Command request flag".
AD-4402 OP-21
Space code = "0010 0000".
-
W". 0: write command, 1: read command
Page 11
-
W", "Command No. reply".

Advertisement

Table of Contents
loading

Table of Contents