beautypg.com

Diagnostics command, A.3.16 diagnostics command – Delta RMC101 User Manual

Page 739

background image

Appendix A: Command Reference

A-87

Example
A DelayMS (D) Link Type needs to be used, which will link next to step 10. Since the
hexadecimal value for the DelayMS (D) link type is 0x44 (01000100 binary) and the hexadecimal
value for the link next value of 10 is 0x0A (00001010 binary), then the bit map for the Link
Type/Next field would be as follows:


Next convert this binary field to hexadecimal (0x0A44) or decimal (2628), and use it as the
Command Value in either a Event Step Edit or Event Step Transfer command.

A.3.16 Diagnostics Command

Format: 0000 XXXX 1111 XXXX

X Don’t care.


These commands are for testing the RMC under safe conditions. The behavior depends on
whether PROFIBUS-DP or Communication Digital I/O is used.

For PROFIBUS-DP, both command and command data are echoed in the status and data in
registers for the axis.

For Communication Digital I/O, the low byte of the command is returned on the acknowledge of
the command, and the low byte of the command data is returned on the acknowledge of the
command data.

Example for PROFIBUS-DP in Compact Mode with Sync:
If you sent out the following data in the Output registers:

CMND (HEX)

O+1 0000|0011|1111|0101 (03F5)

Diagnostic command

+2 0001|0010|0100|1000 (1248)

Diagnostic data

O+3 0000|1100|1111|1010 (0CFA)

Diagnostic command

+4 1000|0100|0010|0001 (8421)

Diagnostic data

After the Synchronization Output register is incremented, the RMC will process the commands
and update the Synchronization Input register to match. At this time, the input registers would
hold the following values:

I+1 0000|0011|1111|0101 (03F5)

Same as Output

+2 0001|0010|0100|1000 (1248)

Same as Output

I+3 0000|1100|1111|1010 (0CFA)

Same as Output

This manual is related to the following products: