GE Industrial Solutions HE300GEN150 User Manual

Page 41

Advertising
background image

PAGE 42 13 APR 2000 MAN0373-01
CH. 6

6.3

Read from Drive using Datagram

The Request Datagram Reply COMM_REQ (15) is used to send a Read Device datagram. The Read Device
datagram is used to read parameters from the drive to the PLC. The COMM_REQ allows multiple sequential
parameters to be read. A starting parameter number is supplied and the number of parameters to read. The
following is an example of using a Read Device datagram to read the drive speed setting (Parameter 1).

Figure 6.2 - Ladder Example #2 (Read From Drive)

|%I0001 %M0001
+--] [---------------------------------------------------------------------(^)--
|
|%M0001 +-----+ +-----+ +-----+
+--] [---+BLKMV+-----------------+BLKMV+-----------------+BLKMV+-
| | INT | | INT | | INT |
| | | | | | |
| CONST -+IN1 Q+-%R0100 CONST -+IN1 Q+-%R0107 CONST -+IN1 Q+-%R0114
| +00014

1

| | +00001

2

| | +00200 | |

| | | | | | |
| CONST -+IN2 | CONST -+IN2 | CONST -+IN2 |
| +00000 | | +00032 | | +00064

4

| |

| | | | | | |
| CONST -+IN3 | CONST -+IN3 | CONST -+IN3 |
| +00008 | | +00030 | | +00256

5

| |

| | | | | | |
| CONST -+IN4 | CONST -+IN4 | CONST -+IN4 |
| +00050 | | +00000 | | +00000 | |
| | | | | | |
| CONST -+IN5 | CONST -+IN5 | CONST -+IN5 |
| +00000 | | +00006

3

| | +00256

6

| |

| | | | | | |
| CONST -+IN6 | CONST -+IN6 | CONST -+IN6 |
| +00000 | | +00031 | | +00000 | |
| | | | | | |
| CONST -+IN7 | CONST -+IN7 | CONST -+IN7 |
| +00015 +-----+ +00008 +-----+ +00000 +-----+
|
|%M0001 +-----+ %M0002
+--] [-----------+COMM_|+--------------------------------------------------( )--
| | REQ ||
| | ||
| %R0100 -+IN FT++
| | |
| CONST -+SYSID|
| 0005 | |
| | |
| CONST -+TASK |
| 00000001 +-----+
|

Advertising