beautypg.com

Horner APG SmartStix Analog Programming Guide User Manual

Page 3

background image

MAN0703-01

24 SEP 2003

PAGE 3


Num Words – This is the number of words to receive from the remote I/O device. The functions of these
words are described in Table 1.


2.1.3

Put Remote I/O Function Block


This function handles sending data to a remote I/O device block obtained from a set of registers specified
by the user. This function passes power flow if the remote I/O device is behaving normally. This function
does not pass power flow if the remote I/O device has not sent a heartbeat in 2000 milliseconds. This
function sends heartbeat messages to the output device every 1000 milliseconds. The default remote I/O
operation is to expect heartbeat messages at least every 2000 milliseconds; otherwise the outputs are
turned off (or their configured default state). Data is normally transmitted on change of state or if the
remote I/O device is power-cycled.

A remote I/O device consists of a CsCAN device such as SmartStix Modules that transmit global data and
receive directed network data.











Figure 2 - Put Remote I/O Function Block and Parameter Screen


2.1.4

Put Remote Parameter Description:


ID – This is the network ID of the remote I/O to direct the sent data. This can be a constant from 1 to 253
or can be a 16-bit register.

Digital / Analog – These radio buttons allow choosing digital or analog network data. Remote I/O
devices with discrete inputs/outputs normally require digital data. Remote I/O devices such as voltage,
current or thermocouple require analog data.

Source Data Address – This is the starting location to get data to send to the remote I/O device. When
this data changes state, it is sent to the remote I/O device. The number of registers used is defined by the
Num Words parameter in this section. Any valid OCS reference types can be used (%R, %AQ, %Q, %M,
etc.).

Status – this 16-bit register is used internally. It must not be written by any other function block.

Bit 1-12 – reserved or internal use only
Bit 13 – Remote I/O OK and in sync with supplied data
Bit 14 – the Remote I/O detected a heartbeat error
Bit 15 – the Remote I/O has just powered up
Bit 16 – the function is forcing a send (unit just power cycled or first scan)

Num Words – This is the number of words to send to the remote I/O device. The functions of these
words are described in Table 1.