GE Industrial Solutions 6KCV300WPD User Manual

Page 68

Advertising
background image

GEI-100340

il

Description

It performs a master

communication

This block gets

the input words (il, i2 and i3)

and sends them to the appropriate slave, retrieves the words received from

the slave and writes them to

output

words

and 03). It also manages the timeout

r

output) when the communication does not

occur for 1 cycle or for

tmo

cycles.

Input ports

Name

Type

il

int

i3

int

tmo

int

Executed

always
always
always
always

Function

1 st word to be transmitted

2nd word to be transmitted
3rd word to be transmitted

number of cycles after which the r output is set to 2.

Output ports

N a m e T y p e

01

int

0 2

int

03

int
int

1 st word received

2nd word received
3rd word received

communication status:

if 0 the block has found valid received words since previous
execution

if 1 the block has not found valid received words since

previous execution, but not for more than tmo cycles

Parameters

Name

Type

Function

slave-id

int

of the slave

len-w

int

number of words to be transmitted to the slave

index of slave

where to write the 1st words

transmitted by the master

len-r

int

number of words to be received from the slave

int

index of slave

where to read the 1 st words transmitted

by the slave

Alarm causes

Code Function

0

slave-id

must be positive and not greater than 63

1

len-w

must be positive and not greater than 3

2

must be positive and not greater than 47

4

must be positive and not greater than 3

5

must be positive and not greater than 47

the

sum of

len-w

and

exceeds 47

9

the

sum of

len-r

and

exceeds 47

200

the program contains more than 32

blocks

58

Advertising