
EXAMPLES OF THE USE OF DIGITAL I/O’s AND ANALOGUE OUTPUTS
The examples below are written using PDL2 programming language and may be used in the context of a
programme.
·
DIGITAL INPUTS (e.g. IOM module)
WAIT FOR $DIN[1] = ON
-- The programme stops waiting for the condition
IF $DIN[1] = ON THEN
-- If the condition is true the movement is
MOVE LINEAR TO PNT0001P
executed on point PNT0001P.
ENDIF
If the condition is false point PNT0001P
is skipped.
CONDITION[1] :
-- Test in multitasking an input
WHEN $DIN[1] = ON DO
$BIT[1]: = ON
END CONDITION
·
DIGITAL OUTPUTS (e.g. IOM module)
$DOUT[17]: = ON
-- Output activation
$DOUT[17]: = OFF
-- Output deactivation
·
ANALOGUE OUTPUTS (e.g. ADM module)
Notes on ADM MODULE I/O MAP
If the ADM module is the first I/O module in the rack starting from the left, the digital inputs take on num-
bering from $DIN[33] to $DIN[40], the digital outputs from $DOUT[41] to $DOUT[48], the analogue out-
puts from $AOUT[49] and $AOUT[50].
The I/O module inserted in the following slot will take the number $DIN[57] or $DOUT[57] for the first
channel and following for all the others.
If the ADM module is not the first I/O module in the rack, the numbering follows the standard one of the
modules before it.
Notes on the Write Modes of ADM MODULE Analogue Outputs
The resolution of the analogue outputs is 11 bits (from 0 to +10 Vdc) justified at the left with 4 bits there-
fore the word writing mask is the following.
Where the WORD writing mask has value 7FF0 in hexadecimal and 32752 in decimal. Requiring, for exam-
ple, to write a voltage value it is necessary to allocate a decimal number to the analogue output required as
in the following example:
$AOUT[57]: = 32572 -- Output activated 10 Vdc
$AOUT[57]: = 0
-- Output deactivated 0 Vdc
$AOUT[57]: = 7800
-- Output activated 2.381 Vdc
A fall in the supply voltage of the system in which the ADM module is inserted causes ana-
logue output reset at hardware level. Repositioning the output to the value prior to the failure
is made by the software in the blackout restarting environment.
MAIN OPERATIONS FOR SYSTEM USE
C3G
Plus
5-12
02/1198
USE
OF
DIGITAL
I/O’S
AND
ANALOGUE
OUTPUTS
bit 15
0
WORD
segno
- 1 1 1 1 1 1 1 1 1 1 1 -
-
-
-
bit considerati
bit
non considerati
sign
considered bits
not considered
bits
Содержание C3G Plus
Страница 6: ...This page has been intentionally blank UPDATING LIST C3G Plus D 08 0702 ...
Страница 7: ...C3G Plus PREFACE 05 1199 i PREFACE C3G Plus VERSIONS SDLP SDMP SDHP C3G Plus VERSIONS DDMP DDHP ...
Страница 14: ...This page has been intentionally blank Operations and Maintenance Manual C3G Plus ...
Страница 22: ...This page has been intentionally blank SAFETY REGULATIONS C3G Plus 1 8 02 1299 SAFETY REGULATIONS ...
Страница 24: ...This page has been intentionally blank Operations and Maintenance Manual C3G Plus ...
Страница 26: ...This page has been left intentionally blank INSTALLATION C3G Plus 2 ii 01 0498 SUMMARY ...
Страница 48: ...This page has been intentionally blank Operations and Maintenance Manual C3G Plus ...
Страница 61: ...SAMPLE CONNECTION OF C3G EMC2 C3G Plus OPERATOR INTERFACE 07 1200 3 13 EMERGENCY CONTROL C3G EMC2 ...
Страница 120: ...This page has been left intentionally blank OPERATOR INTERFACE C3G Plus 3 72 05 1199 C3G Plus KIT IVECO ...
Страница 122: ...This page has been intentionally blank Operations and Maintenance Manual C3G Plus ...
Страница 127: ...C3G Plus INTEGRATION GUIDE 06 0400 4 5 SYSTEM I O ...
Страница 143: ...Additional I O modules C3G Plus INTEGRATION GUIDE 01 0498 4 21 parallel i o additional modules ...
Страница 158: ...This page has been intentionally blank INTEGRATION GUIDE C3G Plus 4 36 06 0400 SERIAL I O AND PDL2 TOOLS ...
Страница 160: ...This page has been intentionally blank Operations and Maintenance Manual C3G Plus ...
Страница 182: ...This page has been intentionally blank Operations and Maintenance Manual C3G Plus ...
Страница 188: ...This page has been intentionally blank Operations and Maintenance Manual C3G Plus ...
Страница 190: ...This page has been left intentionally blank MAINTENANCE C3G Plus 7 ii 00 1097 GENERAL RULES ...
Страница 192: ...This page has been left intentionally blank MAINTENANCE C3G Plus 7 2 00 1097 PREVENTIVE MAINTENANCE ...
Страница 195: ...Main C3G Plus Connections C3G Plus MAINTENANCE 08 0702 7 5 FUNCTIONAL LAYOUTS C3G Plus sdlp sdmp sdhp VERSIONS ...
Страница 198: ...Axes Control Circuit MAINTENANCE C3G Plus 7 8 00 1097 FUNCTIONAL LAYOUTS C3G Plus sdlp sdmp sdhp VERSIONS ...
Страница 205: ...Power Supply Distribution Page 1 of 2 C3G Plus MAINTENANCE 01 0498 7 15 FUNCTIONAL LAYOUTS C3G Plus ddmp VERSIONS ...
Страница 206: ...Power Supply Distribution Page 2 of 2 MAINTENANCE C3G Plus 7 16 01 0498 FUNCTIONAL LAYOUTS C3G Plus ddmp VERSIONS ...
Страница 207: ...Machine 1 Axes Control Circuit C3G Plus MAINTENANCE 01 0498 7 17 FUNCTIONAL LAYOUTS C3G Plus ddmp VERSIONS ...
Страница 208: ...Machine 2 Axes Control Circuit MAINTENANCE C3G Plus 7 18 04 0799 FUNCTIONAL LAYOUTS C3G Plus ddmp VERSIONS ...
Страница 209: ...Serial and Parallel Line Connections C3G Plus MAINTENANCE 04 0799 7 19 FUNCTIONAL LAYOUTS C3G Plus ddmp VERSIONS ...
Страница 221: ...SAFETY CIRCUIT TEST DEVICES Connector X113 test device C3G Plus MAINTENANCE 04 0799 7 31 diagnostic C3G Plus ...
Страница 225: ...X30 connector test device C3G Plus MAINTENANCE 01 0498 7 35 diagnostic ...
Страница 232: ...This page has been left intentionally blank MAINTENANCE C3G Plus 7 42 00 1097 CIRCUIT DIAGRAMS ...
Страница 255: ...SOFTWARE OPERATIONS FOR CONTROLLER REPLACEMENT 2 2 C3G Plus MAINTENANCE 01 0498 7 65 SYSTEM SOFTWARE ...
Страница 264: ...This page has been intentionally blank 7 74 08 0702 MAINTENANCE C3G Plus LIST OF SPARE PARTS ...
Страница 265: ...OPERATOR S NOTES C3G Plus NOTES ...
Страница 266: ...C3G Plus NOTES ...