Ref.
017001001200
Rev.0: 06-04-20
14
4.
Software interface
Industrial Shields PLC are programmed using Arduino IDE, which is a software based on the C
language. They can also be programmed using directly C but it is much easier working with
Arduino IDE as it provides lots of libraries that helps in the programming.
Furthermore Industrial Shields provides boards for programming the PLCs much easier.
Basically it is no needed to define the pins and if that pins are inputs or outputs. Everything is
set up automatically if using the boards.
In order to install Industrial Shields boards, these are the steps that must be followed.
Requirements:
Arduino IDE 1.8.0 or above (better to have always the latest version).
Steps:
1.
Open Arduino IDE and go to: “File -> Preferences” located in the top left corner.
2.
In Additional Boards URLs write the following:
http://apps.industrialshields.com/main/arduino/boards/package_industrialshields_index.json
3.
Press OK to save the changes.
Содержание 017001001200
Страница 1: ...SPARTAN ARDUINO PLC PLC ARDUINO SPARTAN...
Страница 2: ...Ref 017001001200 Rev 0 06 04 20 1...
Страница 16: ...Ref 017001001200 Rev 0 06 04 20 15 4 Go to Tools Board Boards Manager 5 Search for industrialshields...
Страница 28: ...Ref 017001001200 Rev 0 06 04 20 27 10 I 0 technical details Digital Output Waveform Digital Output Turn off...
Страница 29: ...Ref 017001001200 Rev 0 06 04 20 28 PWM Waveform Analog Out Turn on Analog Out Turn off...
Страница 30: ...Ref 017001001200 Rev 0 06 04 20 29 Analog Digital Input Turn on Analog Digital Input Turn off...
Страница 31: ...Ref 017001001200 Rev 0 06 04 20 30 11 Typical Connections...
Страница 32: ...Ref 017001001200 Rev 0 06 04 20 31...
Страница 33: ...Ref 017001001200 Rev 0 06 04 20 32...
Страница 34: ...Ref 017001001200 Rev 0 06 04 20 33...
Страница 36: ...Ref 017001001200 Rev 0 06 04 20 35 13 Spartan Arduino PLC Dimensions 45mm width DIN rail mounting...