GE Industrial Solutions ASTAT BP User Manual

Page 90

Advertising
background image

ASTAT BP User Manual

90

GE Industrial Solutions

©2013 GE Company All Rights Reserved

Example 6 - Read Coils:

To read coils 1..8 status of ASTAT-BP # 10, the host computer sends the following Query frame:

byte 1: Serial Link No.

($0A)

byte 2: Function

($01)

byte 3: Starting Address High

($00)

byte 4: Starting Address Low

($00)

byte 5: No. of Coils High

($00)

byte 6: No. of Coils Low

($08)

byte 7: CRC_Low

($XX)

byte 8: CRC_High

($XX)

The ASTAT-BP response when coils 7..0 are OFF OFF OFF ON OFF ON OFF OFF:

byte 1: Serial Link No.

($0A)

byte 2: Function

($01)

byte 3: Byte Count

($01)

byte 4: Data (coils 7..0)

($14)

byte 5: CRC_Low

($XX)

byte 6: CRC_High

($XX)


Example 7 - Force Single Coil:

To stop the motor controlled by ASTAT-BP # 1, the host computer writes "1" to the

"STOP COIL" (coil 1 addressed as 0) .

Note: For the Force Single Coil Function, Force Data of $0000 forces "0" = OFF.

Force data of $FF00 forces "1" = ON. The "Query" frame is sent by the host:

byte 1: Serial Link No.

($01)

byte 2: Function

($05)

byte 3: Coil Address High

($00)

byte 4: Coils address Low

($00)

byte 5: Force Data High

($FF)

(force ON)

byte 6: Force Data Low

($00)

byte 7: CRC_Low

($XX)

byte 8: CRC_High

($XX)

The Normal (if no exception) response:

byte 1: Serial Link No.

($01)

byte 2: Function

($05)

byte 3: Coil Address High

($00)

byte 4: Coils address Low

($01)

byte 5: Force Data High

($FF)

byte 6: Force Data Low

($00)

byte 7: CRC_Low

($XX)

byte 8: CRC_High

($XX)

Notes:

1.

Format is identical for the 3 "discrete" commands: Stop, S.Stop, Start & Reset. For these commands,

writing "OFF" to coil is meaningless. For example, when the ASTAT-BP is in the Stop condition, Coil #1

(Addressed as 0) = 1 (ON). Forcing the Stop Coil #1 to OFF does nothing. However, forcing the Start Coil

(#3) to ON will turn ON the Start Coil, but will also turn Off the Stop Coil.

2.

For Energy Save, Dual Adjust, Slow Speed & Slow Speed Reverse Coils, writing "ON" will turn the option

ON, while writing "OFF" will turn it OFF .

Advertising