BECKHOFF BC3100 User Manual

Page 41

Advertising
background image

PROFIBUS bus terminal controller BC3100

BC3100

41

Index Write

0x00

Reserved for AMS

0x10

Functions (Length = 1 – 3 bytes):
Byte 0: 0 – Set write protection (Byte 1, 2 != 0xAFFE),
reset (Byte 1 = 0xFE, Byte 2 = 0xAF)
Byte 0: 1 – Set manufacturer configuration
Byte 0: 2 – Terminal bus reset

0x20

Start cycle time measurement (Word 0 != 0) / stop (Word 0
= 0) (Length = 2 bytes)

0x21

Initialise cycle times of the PLC (Length = 8 bytes):
Word 0: minimum cycle time (in 1/125 ms)
Word 1: maximum cycle time (in 1/125 ms)
Word 2: actual cycle time (in 1/125 ms)
Word 3: average cycle time (in 1/125 ms)

0xE0

Write PLC output bytes (Length = 3 – 48 bytes)
Byte 0/1: Byte-Offset
Byte 2-n: Data

0xE1

Write PLC input bytes (Length = 3 – 48 bytes)
Byte 0/1: Byte-Offset
Byte 2-n: Data

0xE2

Write PLC flag bytes (Length = 3 – 48 bytes)
Byte 0/1: Byte-Offset
Byte 2-n: Data

0xE3

Write PLC output bits (Length = 3 bytes)
Byte 0/1: Bit-Offset
Byte 2: Bit is set (1) / reset (0)

0xE4

Write PLC input bits (Length = 3 bytes)
Byte 0/1: Bit-Offset
Byte 2: Bit is set (1) / reset (0)

0xE5

Write PLC flag bits (Length = 3 bytes)
Byte 0/1: Bit-Offset
Byte 2: Bit is set (1) / reset (0)



Read PLC data alternative
(Slot_Number: 251-253)

In order that the PLC data can also be read individually, the Slot_Number
251 (PLC outputs), 252 (PLC inputs) and 253 (PLC flag) were defined. The
Index designates the Wordoffset in the respective area. Unfortunately, this
method of addressing is not supported by all masters.

Advertising