CONPROSYS VTC Script sample programs

Sample programs of task script language for monitoring and controlling routines.

Sample script progams make user easily use the built-in task script function of a CONPROSYS M2M controller or a M2M Gateway controller. These sample programs / routines are frequently used in measurement processing and control processing.

Feasures of task script functions, the "CONPROSYS VTC (Visual Task Control)"
  • Not necessary to have expertise of programming languages.
  • Drag and drop function block icons such as calculation, conditional branch, cloud data transmission, etc. from the tool box to the grid area.
  • Writing a task script program can be as easy as drawing a process program's flow chart.

Communication

Script Description How to use Download
(need a myCONTEC ID)
FIT Protocol Communication Sample A sample program for acquiring IO data using FIT protocol in which two CONPROSYS units are connected via a LAN cable. Read Document Download

LoRa Transmission and Reception

Script Description How to use Download
(need a myCONTEC ID)
LoRa Transmission and Reception routine Transmit data that is received by LoRa Reception and Transmission. After transmitting, receive a response from transmission destination. Read Document Download
LoRa Reception and Transmission routine Receive data that is transmitted by LoRa Transmission and Reception. After receiving, transmit data to the transmission source Read Document Download

Sensor Connection

Script Description How to use Download
(need a myCONTEC ID)
Getting and display states of the AirGRID series indicator lights of PATLITE Corporation. Getting on/off information of an indicator light from the AirGRID series receiver via Ethernet. Read Document Download
Send lighting pattern information to LA6-POE series manufactured by PATLITE CO., LTD CONPROSYS M2M Gateway's analog input (AI0) is judged and the lighting pattern information is transmitted to the LA6-POE series via Modbus/TCP. Read Document Download
Send lighting information to NH-FV series manufactured by PATLITE CO., LTD. Determine the current value input to the analog input (AI 0) of CONPROSYS Then I will transmit the lighting information to the NH - FV series via Ethernet. Read Document Download
Pulses Count and Storage (1 Minute Interval) Measure increment of counter value at 1 minute interval. Read Document Download

Control

Script Description How to use Download
(need a myCONTEC ID)
Self-holding Circuit An ON state of one input turns the output of this circuit to be ON. Then the output keeps its ON state. An On state of another input resets this output. Read Document Download
Self-holding Circuit
(Buzzer Circuit)
One contact input is used as abnormal signal input. Once the input state sets to ON, the buzzer output keeps being ON. Another input is connected to "buzzer off" push button. When the button is pushed, the buzzer output is turned to OFF. Read Document Download
Flashing Circuit ON state of input blinks the lamp connected to the output. Read Document Download
Digital Switch Input
(4-bit)
Read four digital switch inputs, DI0 to DI3 into the tag as one digit decimal number. Read Document Download
7-segment Display
(Two Digits)
Use 8 bits of digital output, DO0 to DO7 to drive a 7-segment display (two digits). Read Document Download
7-segment Display
(With Strobe)
Use 8 bits of digital output, DO0 to DO7 to drive a strobe type 7-segment display (four digits). Read Document Download
Counter Setting
(Two digits)
Use 8 bits of digital input, DI0 to DI7 to set counter (two digits)
The count data is desplayed on a 7-segment display (two digits) through the 8 bits of digital output, DO0 to DO7.
Read Document Download
Anti-chattering Circuit
(Four-digit Up Down Counter)
Anti-chattering ciucuits of DI0 to DI3 digital inputs.
A 4-digit up / down counter is used as an application example.
Read Document Download

Monitoring

Script Description How to use Download
(need a myCONTEC ID)
Monitor Upper Limit of Analog Input Monitor the analog input value and turn the output ON if it is over the upper limit value. Read Document Download
Monitor Lower Limit of Analog Input Monitor the analog input value and turn the output ON if it is less than the lower limit value. Read Document Download
Monitor Upper and Lower Limits of Analog Input Monitor the analog input value and turn the output ON if it is outside the upper and lower limit values. Read Document Download

Data Operation / Conversion

Script Description How to use Download
(need a myCONTEC ID)
Industrial Value Conversion Convert analog input data to industrial value. Read Document Download
Maximum, Minimum and Average of Analog Input Values Calculate the maximum, minimum and average values within 1minute of analog inputs, with an input interval of 1 second. Read Document Download

Back to top

To PageTop