CONPROSYS VTC 脚本程序例

常用的监视和控制任务的脚本语言程序例

CONPROSYS M2M控制器和M2M网关控制器内置的任务脚本功能的示例程序。 这些示例程序是一些常用的测量处理和控制处理。

任务脚本功能“CONPROSYS VTC(视觉任务控制)”的特长
  • 不需要编程语言方面的专业知识。
  • 将工具箱中的功能图标(如计算,条件分支,云数据传输等)拖放到脚本任务的网格区域。
  • 编写任务脚本程序可以像绘制过程程序的流程图一样简单。

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