Mitsubishi Electric MELSEC iQ-R Series User Manual page 170

Serial communication module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

CPU module side countermeasures against unauthorized access from a target device
The following is an example of performing, on the programmable controller CPU side, the line disconnect processing against
the target device and prohibiting receive via a modem when the number of "remote password mismatch" detected by the C24
remote password check function exceeds the number set by the user.
• Determine at the user side the count and accumulated count for notification when a remote password mismatch occurs in
the unlock processing from external devices with respect to the remote password set in the CPU module.
(Page 165 Details of buffer memory (for the remote password function))
• Set the above counts to the items below for the module parameters in order for C24 to operate, and register them in C24.
Set in "Remote password mismatch notification count."
Set in "Remote password mismatch notification accumulated count."
• In addition to initialization commands used in normal modem initialization, specify "No automatic receive" and additionally
register the modem initialization command for this step to C24. (No automatic receive: This is the setting to prohibit line
connection from the target device.)
• Constantly monitor the rise (OFF  ON) of the 'CH Error occurrence' (XE/ XF) when connecting the line to the target
device using the modem function after the system begins operating.
• Monitor the following buffer memory when the error occurred signal turns ON.
'MC protocol send error code' (Un\G602)
• Perform the line disconnect processing to the target device when the error code stored in the above buffer memory is
7FE8H.
(Use the 'Modem disconnection request' (Y12).)
• After the above line disconnection processing is completed, specify the modem initialization command for which "No
automatic receive" has been specified and perform modem initialization only. (Page 199 Data communication)
• Describe the above occurrence to the system manager and take necessary measures.
■Program example
When the number of times a remote password mismatch occurred exceeds the notification accumulated count setting value
during the remote password unlock processing in communication using MC protocol with the C24 CH1 side interface used.
Category
Label name
Module label
C24_1.stnCH1.bSts_Error
C24_1.bSts_ModemInitializationCompletion
C24_1.bSts_ConnectionProcessing
C24_1.bSts_Initialization_Connection_AbnormalCompletion
C24_1.bSts_DisconnectionCompletion
C24_1.bSts_UnitReady
C24_1.bSts_WatchdogTimerError
C24_1.bSet_Req_ModemInitialization
C24_1.bSet_Req_Disconnection
C24_1.uSet_DataNum_Initialization_ModemFunction1_D
C24_1.uErrorCode_ModemFunction_D
C24_1.stnCH1.uErrorCode_MC_ProtocolTransmissionErrCode_
D
C24_1.wnForUserRegistrationNo8005H_D[0]
C24_1.uCount_RemotePasswordAccumulatedUnlockProcNormal
_D
Label to be defined
Define the global label as shown below.
7 COMMUNICATIONS BY THE MODEM FUNCTION
168
7.3 Specifications of Modem Function
Description
CH1 Error occurrence
Modem initialization completion
Connection
Initialization/connection abnormal
completion
Modem disconnection completion
Module READY
Watchdog timer error
Modem initialization request
Modem disconnection request
Data No. for initialization designation
Modern function error code
Protocol transmission error code
User registration number 8005H
Accumulated count of unlock process
normal completion
Device
X0E
X10
X12
X13
X14
X1E
X1F
Y10
Y12
U0\G52
U0\G545
U0\G602
U0\G7076
U0\G8955

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents