5-12
● Code event
Several events are used as one group and the number of output points are output
as one parallel code number. Assigning code numbers to event outputs has the
same effect as increasing the number of physical output points.
•Code event
Set event type to code event and set the number of output points (1 to 8) in
auxiliary setting 1. An output code value (0 to 255) can be set for each segment.
A binary coded low-order bit for the set number of output points is output.
The previous setting is valid until the program reaches a segment with a new
setting.
Note, however, that unless a setting is made in the first segment, the program will
assume that a set value of 0 is set in the first segment.
Chapter 5. FUNCTIONS
Segment
Set value
Code value
1 in event 3
Code value
2 in event 4
Code value
4 in event 5
Output code
12 543
Not set 3 Not set 6 0
OFF
ON ON
OFF
OFF
OFF
ON ON ON
OFF
OFF OFF OFF
ON
OFF
0
OFF,OFF,OFF
0, 0, 0
3
OFF,ON,ON
0, 1, 1
3
OFF,ON,ON
0, 1, 1
6
ON,ON,OFF
1, 1, 0
0
OFF,OFF,OFF
0 , 0, 0
Example: Setting a code event involving 3 output points in event 3
The table below shows the output state when a value of 3 is set in segment 2, a value of 6
is set in segment 4 and a value of 0 is set in segment 5.