Advant Controller AC 31 / Issued: 01.99 5 – 19 Programming
3
5.4.2 Configuration with the CS31CO function block
The CS31CO function block enables certain remote units to be configured and their
configuration to be obtained.
The description of each unit indicates whether a remote unit or extension requires
configuration with the CS31CO block.
The possible configurations, depending on the units, are:
- Configuration for detecting a cut wire on an input or digital output
- Configuration for configurable I/O units, of a channel as an input or an output
- Configuration of analog input/outputs as power or voltage
- Configuration of the filtering time of a digital input.
A detailed description of the function block can be found in the online help and documentation
of the programming software.
5.4.3 Configuration with the MAIL command
In this case, use is made of the fact that the AC31 40 and 50 series basic units use a dialog
language at the programming interface which allows the execution and querying of the I/O
configuration with simple protocols.
The special function I/O configuration is usually present.
The following can be used as the terminal:
– A conventional terminal with the interface EIA-232, e.g. VT100.
– A PC with the programming software 907 PC 331. In the main menu item "PLC Commun.2“,
submenu item "Terminal emulation“, all the interface data is automatically set correctly.
Refer to the detailed description in the 907 PC 331 programming software documentation.
5.5 Software functions
• Information on programming the individual functions of the AC 31 40 and 50 series basic
units can be found in the documentation for the 907 PC 331 programming software. The
following functions may be used:
Functional group Call in
Name of connection element
FBD/LD,
ext. IL
IL
1)
Digital functions
AND &
2)
OR /
2)
Exclusive OR =1
2)
Allocation =
2)
Memory function
Allocation, set memory =S
2)
Allocation, reset memory =R
2)
Set memory, dominating
RS
2)
Rest memory, dominating SR
2)
Arithmetic functions, word
Addition +
2)
Subtraction -
2)
Multiplication *
2)
Division :
2)
Multiplication with division *:/MULDI
Multiplication by 2 to the power of N MUL2N
Absolute value generator BETR
1)
If a different call exists for IL than for FBD/LD and extended IL, it is additionally specified and separated by / .
2)
This function is generated in the IL by a sequence of commands and/or blocks.