Sm Devices - Mitsubishi Electric GT14 User Manual

Hide thumbs Also See for GT14:
Table of Contents

Advertisement

61.4.6 SM devices

The SM devices are bit devices into which interrupt outputs and clock data that turn ON/OFF at 1-second cycles.
List of SM devices
The following shows the SM devices (virtual devices inside the GOT).
Address
Interrupt output
SM0 to 49
1-second cycle clock
SM50
2-second cycle clock
SM51
Interrupt code output disable flag
SM52
SM53 to 63
*1
*2
POINT
POINT
POINT
(1) The side where virtual devices are set
System: Set on the system side.
User: Set on the user side (by sending request messages from host or using the touch switches, etc. on the GOT).
(2) Interrupt outputs (SM0 to 49)
• To disable the interrupt output, turn ON SM52 (interrupt code output disable flag). (
• To issue interrupts, set the data length to "8 bits" at "Communication Detail Settings".
(
• When "7 bits" is set, the MSB (8th bit) is ignored. (Example: FF
61 - 16
61. MICROCOMPUTER CONNECTION (SERIAL)
61.4 Device Data Area
When the ON/OFF state of SM0 to 49 is changed by a touch switch on the GOT, for example, the interrupt
codes shown below are transmitted (interrupt output) to the host side.
The data amount (number of bytes) to be interrupt-output is set at "Interrupt Data Byte" in "Communication
Detail Settings". (
61.6.1 Setting communication interface (Communication settings))
Address
Changed from OFF to ON
SM0
Changed from ON to OFF
Changed from OFF to ON
SM1
Changed from ON to OFF
Changed from OFF to ON
SM2
Changed from ON to OFF
Changed from OFF to ON
SM48
Changed from ON to OFF
Changed from OFF to ON
SM49
Changed from ON to OFF
Turns ON/OFF at a 1-second cycle.
0.5
0.5
Turns ON/OFF at a 2-second cycle.
1
1
Enables or disables the output of the interrupt code.
OFF: Interrupt code output enabledON: Interrupt code output disabled
When set to disable the interrupt code output, no interrupt data are output to the host.
(Relevant devices: D13, D14, SM0 to 49)
After the ON/OFF state is changed, the interrupt data are output within a period of 1 to 10ms.
When the ON/OFF state of SM0 to 49 is changed from the host side, interrupt output is not performed.
61.6.1 Setting communication interface (Communication settings))
Description
*1*2
Event type
Interrupt code
Unused
50
H
51
H
52
H
53
H
54
H
55
H
B0
H
B1
H
B2
H
B3
H
61.4.6 SM devices)
7F
)
H
H
Set side
User
System
User
-

Advertisement

Table of Contents
loading

Table of Contents