11 - 55 11 - 55
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
• <event number> is used as a number for specifying whether enabling or disabling the
defined event to occur, for creating an event, and for waiting for an event to occur. Treat
<event number> as the common number between the BASIC programs.
A value ranging 0 to 63 can be specified to <event number>, and <event number> is
shared with the event by the communication module’s expansion relay (EM).
• If an event number that has been already defined is specified, the contents of the previous
definition become invalid and the newly defined contents become valid.
Defining an event by the communication module’s expansion relay (EM)
• Defines an event that is generated when the communication module’s expansion relay
(EM) changes from OFF ON. In this case, be sure to specify <device> and <event
number>.
• The event defined by this method is generated by the ZSIGNAL instruction and by the
change of the target bit device (OFF ON). This event is used for resuming execution of
a program is waiting for the event to occur by the ZSIGNAL instruction or by a change of
the target bit device, after enabling the event to occur by the ZEVENT instruction.
• <event number> is used as a number for specifying whether enabling or disabling the
defined event to occur, for creating an event, and for waiting for an event to occur. Treat
<event number> as the common number between the BASIC programs.
A value ranging 0 to 15 can be specified to <event number>, and <event number> is
shared with the event for synchronization between the programs.
note
Only 0 to 15 can be specified for the event number of an event from the communication
module’s expansion relay (EM). An error occurs if 16 to 63 is specified.
• Specify the communication module’s expansion relay (EM), which generates the defined
event at the transition of OFF to ON, to <device>. The following shows how to specify the
EM:
"EM "
Specify 0 to 1023 for the number of
the expansion relay.
Attach 0 at the beginning for the device
numbers 0 through 999 and always use
four digits.
"EM0001"
EM1
"EM0260"
EM260
Always
set 'EM'.
Содержание A1SD51S
Страница 183: ...11 13 11 13 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS RUN Before swap A 0 H924 A 1 H1159 After swap A 0 H1159 A 1 H924 OK...
Страница 331: ...11 161 11 161 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CON ON OFF STOP and ZOPEN functions and Section 7 4...
Страница 557: ...11 387 11 387 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CHR SPACE and SPC functions...
Страница 629: ...11 459 11 459 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZOPEN ZSEND and ZCNTL instructions and Section 7 3 4...
Страница 645: ...11 475 11 475 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZEVENT ZSIGNAL and DEF ZEVENT instructions...