User's Manual

Diagnostics
7.3 Diagnostics via parameter channel (parameter echo)
M200D AS-Interface Basic
Manual, 03/2009, A5E01668085-01
85
Call (master to slave):
P3 P2 P1 P0
A/B x (free) x (free) 1
Feedback (slave to master):
Parameter echo – faults (F)
P3 P2 P1 P0 Decimal Fault
0 0 0 0 00 No fault
0 0 1 0 02 (F) Main circuit breaker OFF
0 0 1 1 03 (F) Residual current tripping
0 1 0 0 04 (F) Overload
0 1 0 1 05 (F) Device fault
0 1 1 0 06 (F) No contact block supply voltage
1 0 0 1 09 (F) Connector disconnected on line side
1 0 1 0 10 (F) Electronics supply voltage too low
1 1 0 0 12 (F) Short-circuit trip
1 1 0 1 13 (F) Asymmetry tripping
1 1 1 0 14 (F) Incorrect parameter value
1 1 1 1 15 (F) Group fault
Sample program
Sample program: slave diagnostics echo (parameter echo). The standard function ASi_3422
(FC7) of the AS-i master (PROFIBUS-ASi) is used for this purpose.
For a description of the block, refer to the manual for the AS-i master (DP-ASi Link, CP343-
2). This also describes the call interfaces and commands.
Block ASi_3422 must be called up once when the system is rebooted (OB100).
Call in OB100:
CALL "ASi_3422"
ACT :=FALSE
ACT :=FALSE // not required
STARTUP:=TRUE
LADDR :=W#16#14 // I / O address AS-i master
SEND := P#M 4.0 BYTE 1 // irrelevant
RECV := P#M 4.0 BYTE 1 // irrelevant
DONE :=M19.2
ERROR :=M19.3
STATUS :=MD24
To read the parameter echo, the "Write_Parameter" command must be sent to the M200D
AS-i Basic motor starter.
Structure of the "Write_Parameter" command: