Commands; How To Use Command; Command Execution Procedure - AND Profibus Interface AD-4402 OP-22 Instruction Manual

Profibus interface
Table of Contents

Advertisement

5.3.

5.3. Commands

Commands
5.3.
5.3.
Commands
Commands

5.3.1. How to Use Command

5.3.1.
5.3.1.
5.3.1.
How to Use Command
How to Use Command
How to Use Commands s s s
-
Flag "R/
W" specifies the "read command" or "write command".
0: write command, 1: read command
Specify a command to be executed for the "Command No."
Specify the data of an executed command for the "Output data".
If the data is character, use ASCII code. If character data is not used, fill with space
codes (20h).
Commands have 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 executed, the result is input to "Input data (Command
reply data)".
5.3.2.
5.3.2. Command

Command Execution Procedure

5.3.2.
5.3.2.
Command
Command
Ready
Step 1 Turn off the "Command request flag".
Step 2 Specify the flag "R/
0: write command, 1: read command
Step 3 Specify a command to be executed for "Command No."
Step 4 If output data is needed, specify the 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/ - W" and "Command No. reply".
Step 8 If it is a read command, data is input into "Input data (Command reply data)".
Finish
Step 9 Turn off the "Command request flag".
Execution Procedure
Execution Procedure
Execution Procedure
-
W".
Page 12
AD-4402 OP-22

Advertisement

Table of Contents
loading

Table of Contents