YASKAWA CP 341 Manual page 74

Rs422/485
Table of Contents

Advertisement

Communication protocols
Modbus > Modbus Slave - Communication with the user program
6.4.7.1
Send data FB 80 - MODB_341
Parameter
Parameter
LADDR
START_TIMER
START_TIME
OB_MASK
CP_START
CP_START_FM
CP_START_NDR
CP_START_OK
CP_START_ERROR
ERROR_NR
ERROR_INFO
74
FB 80 - MODB_341 may be called cyclically in the user program. Here it receives the
request telegram from the Modbus master, assigns the Modbus address to the appro-
priate memory area of the CPU and sends the requested data to the master.
Declaration
Data type
Input
INT
Input
TIMER
Input
S5TIME
Input
BOOL
Input /
BOOL
Output
Input /
BOOL
Output
Input /
BOOL
Output
Input /
BOOL
Output
Input /
BOOL
Output
Input /
WORD
Output
Input /
WORD
Output
LADDR
n
Here type in the logical basic address of the CP.
This corresponds to the address of the hardware configuration of the CP.
n
START_TIMER, START_TIME
After PowerON the CP needs several seconds to get operational. Initialization
attempts of the FB during this time are completed with error. Because of this, the
FB repeats its initialization job several times during this check time preset by
START_TIME of the timer START_TIMER.
n
OB_MASK
By activating OB_MASK (=TRUE) access errors to the peripheral area of the CPU
may be masked. Here in an event of an access to non-existent I/Os, the CPU
does not go to STOP and neither does it call the error OB. The access error is,
however, recognized and the function is finished with an error message to the CP.
n
CP_START
After each complete restart or restart of the CPU you have to initialize the FB 80 -
MODB_341. The initialization is activated with a rising edge at input CP_START.
n
CP_START_FM, CP_START_NDR
CP_START_FM is the edge trigger flag of CP_START. This is set on a write
access of a CP.
Description
Logical basic address of the CP - corresponds to the
address of the hardware configuration of the CP.
Timer number for check time for initialization
Timer value for check time
Mask I/O access errors, delay alarms
Start FB initialization
Edge trigger flag CP_START
Info: Write request from the CP
Initialization is finished without error (time within check
time)
Initialization is finished with error (time longer than check
time)
Error number
Error addition information
HB130 | CP | 341-1CH01 | en | 18-40
VIPA System 300S

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vipa system 300s

Table of Contents