Write Multiple Coils Command (0X0F) - Siemens SINAMICS PERFECT HARMONY GH180 Function Manual

Nxgpro communication medium-voltage variable frequency drive
Hide thumbs Also See for SINAMICS PERFECT HARMONY GH180:
Table of Contents

Advertisement

Note
Parameter names and their corresponding data ID numbers are listed in Appendix
IDs .
Note
For responses received from the drive such as in Table
(RX) from Drive , the keypad parameter 'Velocity Units' (9080) is set to "Percent" by default.
Scaled values differ depending on how this parameter is configured. This is described in Table
Configure Parameters Menu (9902) in Section Parameter assignment/addressing .
Refer to Table
scaling.
3.5.3

Write Multiple Coils Command (0x0F)

Description
The "write multiple coils" command forces multiple coils in a consecutive block to a desired
ON or OFF state. Any coil that exists within the controller can be forced to either state. The
controller can also alter the state of the coil.
Coils are numbered beginning from 0 (coil number 1 = 0, coil number 2 = 1, and so on).
Example
A sample of a "write multiple coils" request to force a slave device number 1 to write 10 coils
starting at address 20 (13 HEX), and the associated response is given below.
Write Multiple Coils Command
TX (Request)
RX (Response)
The 2 data fields, CD = 1100 and 00 = 000 0000, indicate that coils 27, 26, 23, 22, and 20 are
to be forced on.
The meaning of the sample request and associated response is detailed in the following tables.
Request Details
Table 3-28
Write Multiple Coils Request (TX) to Master
Field Name
Slave Address
Function
NXGpro Communication
Function Manual, AB, A5E33486415A
General Data Register Assignments in Appendix Output Data IDs for data
Value (in Hex)
0x01
0x0F
Modbus Communication
Read Holding Registers Response
01 0F 00 13 00 0A 02 CD 00 -- --
01 0F 00 13 00 0A -- --
Description
0x01 = 1 decimal
Write multiple coils command
3.5 Functions
Output Data
67

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents