Copyright: Created with EasyHelp (Tel: 0973 209667)


inkCard/DNet SInt - RG354683
LinkCard/DNet SInt - RG354683

Description

This function block maps 16 input Values to 16 produced signed integers on the DeviceNet bus and 16 consumed signed integers from the bus to 16 output Values. The inputs and outputs are separate (ie: non-transparent) and no scaling is performed. Full negative Link value maps to $8001, zero to $0000 and full scale Link positive to $7FFF. The signed integer $8000 is never generated and if consumed from the bus is converted to $8001.

Each instance of this block should appear by name exactly once in the Registers list of one LinkCard/L5351 DeviceNet block.

Configured Parameters

Instance Number	Configured to be an ordinal from 1 to 255, specifies this block's DeviceNet instance number which must be unique within the vendor-specific Signed Int class (number 102) for the owning LinkCard's MacID.

Value Data 1 ... 16	Configured as a percentage -100.0 to +100.0, specifies the initial content for each integer of produced data for this block on the bus.

Runtime Parameters

Input 1 ... Input 16	Accepts a standard Link Value signal for the associated signed integer produced on the bus.

Get Input 1 ... 16	SAM Get function which returns the current associated produced data (which will be from the most recent Input since the host module started-up, or if none, then the associated preset Value Data as configured).

Output 1 ... Output 16	Produces a standard Link Value signal whenever the associated consumed signed integer changes.

Get Output 1 ... 16	SAM Get function which returns the associated consumed data, or zero if there has been none since the host module started-up.


Description

This function block maps 16 input Values to 16 produced signed integers on the DeviceNet bus and 16 consumed signed integers from the bus to 16 output Values. The inputs and outputs are separate (ie: non-transparent) and no scaling is performed. Full negative Link value maps to $8001, zero to $0000 and full scale Link positive to $7FFF. The signed integer $8000 is never generated and if consumed from the bus is converted to $8001.

Each instance of this block should appear by name exactly once in the Registers list of one LinkCard/L5351 DeviceNet block.


Configured Parameters

Instance Number	Configured to be an ordinal from 1 to 255, specifies this block's DeviceNet instance number which must be unique within the vendor-specific Signed Int class (number 102) for the owning LinkCard's MacID.

Value Data 1 ... 16	Configured as a percentage -100.0 to +100.0, specifies the initial content for each integer of produced data for this block on the bus.


Runtime Parameters

Input 1 ... Input 16	Accepts a standard Link Value signal for the associated signed integer produced on the bus.

Get Input 1 ... 16	SAM Get function which returns the current associated produced data (which will be from the most recent Input since the host module started-up, or if none, then the associated preset Value Data as configured).

Output 1 ... Output 16	Produces a standard Link Value signal whenever the associated consumed signed integer changes.

Get Output 1 ... 16	SAM Get function which returns the associated consumed data, or zero if there has been none since the host module started-up.