8Bad - Function Code (Byte 0); 8Bad - Access Control And Status (Byte 1) - Lenze AC Tech MotionView OnBoard PositionServo PROFIBUS-DP Reference Manual

Communication module, communications interface
Table of Contents

Advertisement

6.3.1 8BAD - Function Code (Byte 0)
Table 9 lists the Function Code, Byte 0, of the 8BAD format.
6.3.2 8BAD – Access Control and Status (Byte 1)
The purpose of the Access Control and Status Byte is to provide transfer control and diagnostic information.
The Status bits provide diagnostics on the message currently being processed.
Byte
1
NOTE
1.
2.
3.
Acyclic Parameter Access
Table 9: Function Code
Byte
Bit
0
0 – Idle
1 – Read RAM integer
1
2 – Read RAM float
2
3 – Read EPM integer
4 – Read EPM float
3
5 – Write RAM integer
0
4
6 – Write RAM float
7 – Write EPM integer
5
8 – Write EPM float.
6
7
0 - No Fault
1 - Fault, Access Failure. Refer to Access & Control Status
Table 10: Access Control & Status
Bit
Description
0
0 = No fault, Write ACK
1 = Invalid function
2 = Parameter does not exist
1
3 = Read only parameter
4 = Value not in range
2
5 = Access failure
6 = Write operation failure
3
15 = ACT unknown exception
4
1 = Valid response to the request message - bit set by module to indicate the data in message is valid or
acknowledgment for write access.
0 = if bit 7 of Byte 0 is set and the exception number is higher than 0
5
1 = Module is processing the master's request. Any data being sent to the master at this time is invalid
0 = valid reply
6
reserved
7
Toggle bit. (Handshake) Master toggles this bit to indicate a new message. The old command (if not
finished) is cancelled.
Bits 0 to 6 are set by the module. Bit 7 is set by the master, it is initialized to be zero. The module
matches the state of bit 7 in its response message.
Bit 7 of the Access Control & Status byte will cause the message to be executed when it changes
its state. Each time this bit changes state it indicates a new request is being made. This bit must
be set by the Master/PLC once all other bytes have been set in the acyclic data portion of the
message. Otherwise a partially assembled message will be processed by the drive causing an
unexpected result.
The drive will copy the state of Bit 7 from the message sent by the master to Bit 7 in the
response.
Description
19
P94PFB01A

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AC Tech MotionView OnBoard PositionServo PROFIBUS-DP and is the answer not in the manual?

Table of Contents