1 FUNCTIONS
1.8 Event Interaction Function
157
1
Creation of a program
Create a program that reads Event notification data from the access block for Event interaction assigned to the buffer
memory.
■ Values to be stored to an access block for Event interaction
For details on the format of access blocks for Event interaction, refer to the following section.
Page 295 Format of access blocks for Event interaction
■ Devices to be used
■ Program example
Offset
(Decimal address)
Name Value to be set
+0
(700)
STATUS (No settings)
+1
(701)
EventType/Priority (No settings)
+2 to +5
(702 to 705)
ProcessID (No settings)
Device name Device Description
Data register D500 A device for storing the Status of an access block for Event interaction
D501 A device for storing the EventType/Priority of an access block for Event
interaction
D502 to D504 Devices for storing the Process ID of an access block for Event interaction
Buffer memory U0\G700 For details, refer to the following section.
Page 157 Values to be stored to an access block for Event interaction
U0\G700.F
U0\G701
U0\G702
(0) When the CONTROL (b15) of a Status is '1' (Event notification reception complete), the Status of an access block for Event interaction is stored to
D500.
The EventType/Priority of the access block for Event interaction is stored to D501.
The ProcessID of the access block for Event interaction is stored to D502 to D505.
'0' (idling) is stored to the CONTROL (b15) to reset.