4 PRECAUTIONS FOR USE OF SAFETY PROGRAMMABLE CONTROLLER
4.2 Precautions for Programming
41
4
For details, refer to the following.
MELSEC iQ-R CPU Module User's Manual (Application)
■Program example
The program for handling the error detection for the first module of the CC-Link IE Field Network of CC-Link IE Field Network
master/local module connected on the following base unit. Check safety refresh communication status with safety connection
number 1 using SA\SD1008.0. The following is the program example that is used when outputting to the safety connection
No.1.
Safety refresh status of each safety
connection (7th module)
SA\SD1056 to SA\SD1063 Description of bits of the following table
0: Safety communications normal, safety connection not used
1: Safety communication error
1 to 120: Safety connection numbers
: Fixed to 0.
Safety refresh communication status of
each safety connection (8th module)
SA\SD1064 to SA\SD1071 Description of bits of the following table
0: Safety communications normal, safety connection not used
1: Safety communication error
1 to 120: Safety connection numbers
: Fixed to 0.
Name No. Description of bits of the special register areas (safety refresh
communication status)
16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81
112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97
120 119 118 117 116 115 114 113
SA\SD1056
SA\SD1057
SA\SD1058
SA\SD1059
SA\SD1060
SA\SD1061
SA\SD1062
SA\SD1063
16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81
112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97
120 119 118 117 116 115 114 113
SA\SD1064
SA\SD1065
SA\SD1066
SA\SD1067
SA\SD1068
SA\SD1069
SA\SD1070
SA\SD1071
Other
safety states
SA\SD1008.0
Safety refresh communication
status of the safety connection No.1
Output to the safety
connection No.1
Output