INPUTS can Control the Logic of the OUTPUTs
Each product version of the RAZN and has a Programmable Logic Controller (PLC) feature.
To set the PLC’s rule-based programming, the PLCL command configures inputs to control outputs locally or remotely. If you setup Programmable Logic Control (PLC) programmed with the PLCL command, this will control things the way you want them to, and if something else tries to take over the same output, this PLC logic is the main controller for output terminals.
All INPUT pins are heavily protected against noise and ESD. OUTPUT terminal ports are heavily protected also, and many output types are available.
Most General Purpose IO (GPIO) terminal pins on the RAZN have Flexable IO pins(FIO) that are often used as inputs for Programmable Logic Controllers.
A pair of RAZNs are available presetup to remotely control things. One can have button inputs, and another outputs to control things like pumps, valves, lights,…
Buttons pressed can control things miles away using a pair or Raveon’s RAZNs, and a computer, network, or IoT server can connect to a RAZN and pass along the control commands
to the remote thing. The RAZN Automated Peripherals use the PLC logic to remotely control things.
Long Range Wireless PLC Connections
To set the PLC’s rule-based programming, the RAZN has the PLCL command to configure inputs to control outputs locally or remotely. If you setup Programmable Logic Control (PLC) programmed with the PLCL command, this will control things the way you want them to, and if something else tries to take over the same output, this PLC logic is the main controller for output terminals.
Command PLCL X BBBB CCCC SS setups the Programmable Logic. Programmable Logic can setup inputs to trigger outputs, and many other ways for logic to take place within this RAZN, or event have it send out to another RAZN to do something. Every RAZN can have up to 16 different PLCL features setup, so 8 input can control 8 outputs on one RAZN, or 16 inputs on a RAZN can control 16 outputs on a remote RAZN or it can control one outputs on 16 different remote RAZNs. To have this PLC ladder logic executed internally in a single RAZN, the code in SS is 0. 0 (Zero) sets this logic completely in the RAZN is it setup in, so all input/output PLC features take place in the RAZN.
For remotely controlling other RAZNs you can specify which remote RAZN to control by specifying the terminal number of the RAZN to control in SS. Communication is via MODBUS, so it can also control other SCADA RTU or PLCs if you want.
If you setup Programmable Logic Control (PLC) programmed with this PLCL command, this will control things the way you want them to, and if something else tries to take over the same output, this PLCL logic is the main controller so this PLCL logic will work. For example, if you control a terminal port via an input using this PLCL feature, and then also some remote MODBUS message comes in and changes that same terminal port, it won’t change the terminal because this PLCL feature is the main controller. Because this PLCL logic always is running quickly and updated fast, so other commands or messages will not take over the terminal ports you wanted to control via this Programmable Logic Control.
BI Button Input Monitoring
IOPIN: S is the character to use to specify this type of GPIO.
The Input state is 0 if BM is not grounded, and if a button or switch or relay connects BM to GND, the input state is 1 (ON).
- Input with large pull-up resistor.
- Button ON is when input is shorted to ground connection by a button.
- Button OFF is when input open circuit, not connects, button OPEN.
- Pull-up resistor R(PU): 2.4k or
- Max input voltage: 0-3.3V DC
- On Threshold: >2.8V and Open source input.
- Off Threshold: <.5V Connect BM to GND
- Current draw to short input to ground. 1mA.
FIO Flexible Digital Input / Output
IOPIN: A(In) B(Out) is the character used to specify the IO mode
- User configurable TTL digital IO pins configurable as In or Out.
- Max DC input Voltage: Vcc
- “ON” DC input voltage Range: (0.8 × Vcc) to Vcc
- “OFF” DC input voltage Range: 0V – (0.12 × Vcc)
- Input Current: <2uA
- CAP: 220pF Res: 1K Diodes for ESD protection.
- Default IO mode from factory: A (digital Input).
PLC Program the Logic to Control the way you want
A RAZN Input Terminal can be logically configure to remotely control an Output Terminal or even control an local Output Terminal.
The input logic to control can be programmed in any of these ways using the PLCL command or GUI. Many RAZN products default to 7, and you can configure the logic control the way you want to.
Here is a list of the input Logic Control features the RAZN has.
1: When input terminal ON, set the output terminal ON
2: When input terminal OFF, set the output terminal ON
3: When input terminal ON, turn the output terminal OFF.
4: When input terminal OFF, clear the output terminal to OFF.
5: Output terminal follows this Input terminal. ON=ON, OFF=OFF
6: Output terminal is opposite if Input terminal. ON=OFF, OFF=ON
7: Input terminal changed ON inverts the output. Every time Input goes ON, the output will change.
Many RAZN input terminals can be used for PLCL logical Input Control. Here is a list:
DI Digital Input.
FIO Flexible Digital Input / Output
BI Button Input
BM Button Monitor
OIDI Optically Isolated Digital Input
LI LED, Optically Isolated Digital Input
See the Technical overview of RAZN IO Terminal Options.
TIME ON Time-On limitations can be setup in the RAZN
If your system wants to limit ON-Time, you can configure the maximum ON-Time with the TIMEON command.
Set the Maximum Time-On using the parameters Hours, Minutes, Seconds, milliseconds. If TIMEON is disabled, then the output terminals can be on as long as you want, or even forever.
And if you setup a Time-On limitation, the RAZN will autonomously turn-off some terminal that is On, if the On-Time exceeded the Time-On Limitation you wanted. This makes systems reliable and safe because if someone does something wrong, or forgets to turn something off, or if a disaster happens (PC fails, Network fails, Lightning hits, Fire happens,..) the RAZN will automatically turn something off the way you really would love it to do.
And there is a Timer Operations Actions Alerts TOAA feature to turn things ON autonomously the way you want to for security and safety.