YASKAWA VIPA System 300S+ Manual page 147

Cpu, 317-4pn23
Hide thumbs Also See for VIPA System 300S+:
Table of Contents

Advertisement

+
VIPA System 300S
Example OB1
Diagnostics data
Name:
ERR_A
MODTYP
ERR_C
ERR_D
CHTYP
NUMBIT
NUMCH
CHERR
CH0ERR
CH1ERR...CH7ERR
DIAG_US
HB140 | CPU | 317-4PN23 | en | 18-01
PROFINET diagnostics > Diagnostics during runtime in the user program
For the cyclic access to the diagnostics data of the system SLIO module 050-1BA00 the
following example may be used in the OB 1:
AN M10.3 'If the reading terminated (BUSY=0) and
AN M10.1 'there is no job triggered (REQ=0) then
S
M10.1 'start transfer of record (REQ:=1)
L
W#16#4000 'Number of record set (0x4000)
T
MW12
CALL SFB 52, DB52 'Call SFB 52 with Instance DB
REQ :=M10.1
ID :=DW#16#0018 'Smaller addr. of mixed module
INDEX :=MW12
MLEN :=14
VALID :=M10.2
BUSY :=M10.3
ERROR :=M10.4
STATUS :=MD14
LEN :=MW16
RECORD :=P#M 100.0 Byte 40
U M10.1
R M10.1
The system SLIO module 050-1BA00 serves for 20 byte diagnostics data. The diagnos-
tics data of the system SLIO module 050-1BA00 have the following structure:
Bytes
Function
1
Diagnostics
1
Module information
1
reserved
1
Diagnostics
1
Channel type
1
Number diagnostics bits per channel
1
Number channels of the module
1
Channel error
1
Channel-specific error
7
reserved
4
µs ticker
More information about the diagnostics data may be found in the system
SLIO manual HB300_FM_050-1BA00.
Deployment Ethernet communication - PROFINET
'Trigger flag
'Length record set 0x4000
'with 1 entry
'Validity of the record set
'Flag job just running
'Error bit during read access
'Error codes
'Length of the read record set
'Target (MB100, 40byte)
'Reset REQ
Default
00h
18h
00h
00h
76h
08h
01h
00h
00h
00h
00h
147

Advertisement

Table of Contents
loading

Table of Contents