GE PACSystems RX7i Cpu Programmer's Reference Manual page 219

Hide thumbs Also See for PACSystems RX7i:
Table of Contents

Advertisement

Chapter 4. Ladder Diagram (LD) Programming
Operands for Call
Parameter
Block Name (????)
(Parameterized calls only)
Input parameters (0 – 7)
Output parameters (1 – 8)
Example 1 for Call
In the example at right, if Enable is
set, the C block named C_123 is
executed. C_123 operates on the
input data located at reference
addresses Data1, Data2, and Data
3, and produces values located at
reference addresses Data4, Data5,
and Data6. Logic within C_123
controls the power flow output.
204
PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual
Description
Block name; the name of the block to transfer to.
You cannot CALL the _MAIN block.
A program block or a parameterized block can call itself.
Notes for External (C) blocks:
You must define the TYPE, LENGTH, and NAME for each external C block
parameter.
The valid data type, value range, and memory area for each parameter are
stated in the external block's written documentation.
Data flow is permitted for any parameter.
For additional information, see the section on External Blocks in Chapter 2.
Notes for Parameterized Blocks:
You must define the TYPE, LENGTH, and NAME for each parameter. Valid
operands on the CALL instruction include variables, flow, and indirect
references. Input operands can also be constants.
If a formal parameter is an array of BOOL type and has a length evenly
divisible by 16, then a variable or array residing in word-oriented memory
can be passed on to the parameterized block as an operand. For example, if a
parameterized block has a formal parameter Y1 of data type BIT and length
48, you can pass a WORD array of length 3 to Y1.
The BOOL parameter Y0 is automatically defined for all parameterized
blocks and can be used in the parameterized block's logic. When the
parameterized block stops executing and Y0 is ON, the CALL passes power
flow to the right. If Y0 is OFF, the CALL passes no power flow.
A parameterized block is not required to have the same number of inputs
and outputs.
For additional information, refer to Using Parameters with a Parameterized
Block in Chapter 2.
GFK-2950C

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pacsystems rx3iPacsystems rsti-ep

Table of Contents