Vicking electronics
Pag. 29
27
122
Input line transition
This function code is transmitted on every change of the input lines when the ‘Input
port message mode’ is set to ‘always active’.
The data transmitted with this function can be:
10
when input line 1 is 0 ,current flows through the opto-coupler.
11
when input line 1 is 1 ,no current flows through the opto-coupler.
20
when input line 2 is 0 ,current flows through the opto-coupler.
21
when input line 2 is 1 ,no current flows through the opto-coupler.
27
122
Serial data is transmitted.
This code is send when the data to the extra serial line is completely transmitted.
This is the same code as the one for ‘input line transition’, the difference is that for
the serial line the data part is always empty and not for the input line.
50
18
Data received on serial line 2
The data must be terminated with carriage return.
Only ASCII characters from 32 to 126 are accepted, all the others are ignored.
This can be used to connect for example a serial barcode scanner.
49
17
Keyboard input Time -out.
Transmitted after the time-out timer has counted to its end, see the ‘Time-out’
command. If data in enter in the keyboard or with the readers the time-out is aborted
and this codes will not be transmitted.
This code is also transmitted when the time of the timed relay and the timed output is
elapsed, this time is not aborted by entering data on the WORKmate.
A number in the data field indicates the source of the time-out
If the data is empty the time-out is from the keyboard timer
If the data is ‘1’ the time-out is from relay 1
If the data is ‘2’ the time-out is from relay 2
If the data is ‘3’ the time-out is from output 3
If the data is ‘4’ the time-out is from output 4
28
123
Counter event.
A data character is also transmitted with this function
If the data is ‘1’, downcounter 1 has counted beyond zero.
If the data is ‘3’, downcounter 2 has counted beyond zero.
If the data is ‘6’, upcounter 1 has given a time-out.
If the data is ‘7’, upcounter 1 has more pulses per minute that set.
32
127
Condition on input line 1 reached.
With control code 4 and 5 you let the WORKmate wait till a change occurs on input
line 1. This function code is transmitted when the previously programmed condition
occurs on the input line.
See ‘Input 1 active/inactive detect‘ commands
31
126
Condition on input line 2 reached.
With control code 14 and 15 you let the WORKmate wait till a change occurs on
input line 2. This function code is transmitted when the previously programmed
condition occurs on the input line.
See ‘Input 2 active/inactive detect‘ commands