beautypg.com

Spectrum Controls 1746sc-NI8u User Manual

Page 73

background image

Chapter 5: Ladder Program Examples

61

Rung 2:3

This rung will copy the channel sensor data into registers N7:0 through
N7:7, about 2 seconds after the configuration word has been changed to
send sensor data.

Timing is important here. Because the channels are multiplexed, it can
take the module some amount of time to update the channel input word
with sensor data it has been sending channel status information. That
amount of time is determined by the module update time and the worst
case autocalibration time that could occur based on the filter frequencies
and input types selected.

COP
COPY FILE
Source #I:2.0
Dest

#N7:0

Length 8

LIM
LIMIT TEST
Low Lim

200

Test

T4:0.ACC
0

High Lim

750

Rung 2:4

This rung will set the channel configuration words for sending sensor
data, each time the timer completes a cycle. It also resets the timer.

FLL
FILL FILE
Source -32617
Dest

#O2:0

Length 8

T4:0
(RES)

T4:0
] [
DN

Rung 2:5

|END|