![Helmholz 700-651-CAN01 Скачать руководство пользователя страница 26](http://html1.mh-extra.com/html/helmholz/700-651-can01/700-651-can01_manual_2122266026.webp)
REQ
Activate
request
LADDR
Diagnostic address of DP slave - hexadezimal
RetVal
Error code or actual length of data in RECORD
RECORD
ANY pointer to the target area for the input buffer
in the PLC. The data are copied from the module
into this area. Length 10 bytes.
BUSY
Bit is 1 as long as data are fetched from the DP/CAN
coupler.
Example of call:
CALL SFC 13
REQ :=TRUE
LADDR :=W#16#3FE
// Diagnostic address 1022
RET_VAL:=MW100
RECORD :=P#DB13.DBX0.0 Byte 10
BUSY :=M7.0
Examples of the ANY pointer:
P#E 50.0 BYTE 10
copies the input data into the I/O input
image of the PLC from IB 50 to max. IB 59 (10 bytes). For this
purpose, the maximum memory size of the I/O image of the
selected PLC must be taken into consideration.
P#M 110.0 BYTE 10
copies the data into the marker memory
area from MB 110 to max. MB 119 (10 bytes). For this
purpose, the maximum memory size of the marker memory
of the selected PLC must be taken into consideration.
P#DB 13.DBX 0.0 BYTE 10
copies the data into the data block
13 from DBB 2 to max. DBB 9 (10 bytes).
The bytes in the target area of parameter RECORD have the
following meaning:
Byte
Content of RECORD:
0
1
2
3
see Siemens documentation
4,5
Station ID
6
Bit 0 – 7
7
Bit 8 – 15
The following bits are currently used as indicated below.
Bit 3 = Switch 8 not in 29-bit mode
Bit 4 = CAN ID error – double assignment
Bit 8 = Number of CAN modules
26
DP/CAN
Coupler
Содержание 700-651-CAN01
Страница 2: ......
Страница 14: ...You can assign a station address to the slave here 14 DP CAN Coupler ...
Страница 29: ...Notes DP CAN Coupler 29 ...