1 main function, 1 main function -13 – Spectrum Controls 2080sc-BAC User Manual

Page 31

Advertising
background image

Chapter 3: Configuring the Module

3-13

User’s Manual Pub. 0300274-01 Rev. A.0

This function block does not need to change when you make a tag mapping
change.

NOTE

There is no defined behavior for the module when the controller
enters Program Mode, remotely or manually. When placed in
Program Mode, the module will still respond to BACnet requests
with the same functionality as exists in normal operation, with the
exception that PLC will not receive updated Output values from
the module, nor will it update Input values to the module. Once
the controller leaves Program mode and re-enters Run mode, the
PLC's tags mapped to Output objects get updated to match the
module's stored value, and the module updates Input values to be
consistent with the PLC.

3.5.1 Main function

Below is an example of generated Main function structured text.

This example shows how an analog output variable is read from module, and an
analog input variable is written to the module from CCW. Review the following
example for information about how to implement this.

Advertising